...
- Copy the opHA tarball to the slave or master NMIS server (a tarball is a GZIP'd tar file, e.g. opHA-1.1.tar.gz)
- You may need to use SCP or FTP to get the file onto the server.
- The file will now likely be in the users home directory.
- If the installation directory does not already exist
- Change into the directory where the tarball was copied
- Untar the file
Code Block | ||
---|---|---|
| ||
unalias cp
cd ~
tar xvf ~/opHA-<version>.tar.gz
cd opHA/
cp cgi-bin/connect.pl /usr/local/nmis8/cgi-bin/
cp lib/NMIS/Connect.pm /usr/local/nmis8/lib/NMIS
cp install/Access.nmis.opha /usr/local/nmis8/install
cp install/Tables.nmis.opha /usr/local/nmis8/install
cp install/BusinessServices.nmis /usr/local/nmis8/conf
cp install/Servers.nmis /usr/local/nmis8/conf
cp install/Customers.nmis /usr/local/nmis8/conf
cp install/ServiceStatus.nmis /usr/local/nmis8/conf
cp install/Tenants.nmis /usr/local/nmis8/conf
cp install/Table-* /usr/local/nmis8/conf
# Merge your current Access configuration with the opHA access configuration
/usr/local/nmis8/admin/updateconfig.pl /usr/local/nmis8/install/Access.nmis.opha /usr/local/nmis8/conf/Access.nmis
/usr/local/nmis8/admin/updateconfig.pl /usr/local/nmis8/install/Tables.nmis.opha /usr/local/nmis8/conf/Tables.nmis
/usr/local/nmis8/admin/fixperms.pl |
...
This will match all groups contain the sub-strings, Brisbane, Boston or Saratoga. A complete server entry would look like this.
Code Block |
---|
'demo' => { 'community' => 'secret', 'name' => 'demo', 'config' => 'Config', 'protocol' => 'http', 'port' => '80', 'host' => '192.168.1.42', 'group' => 'Brisbane|Boston|Saratoga', 'portal_protocol' => 'http', 'portal_port' => '80', 'portal_host' => 'demo.dev.opmantek.com', 'cgi_url_base' => '/cgi-nmis8', 'url_base' => '/nmis8', 'user' => 'nmismst', 'passwd' => 'C00kb00k' }, |
Test Master Collection
You can verify if the master is collecting data from the slaves by running this command
...