You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

Installation Prerequisites

  • The individual performing this installation has some Linux experience.
  • NMIS8 is installed on the same server where opHA will be installed
  • NMIS8 is installed in /usr/local/nmis8
  • opHA will be installed into /usr/local/nmis8
  • Root access is available (not always needed but much easier)
  • Perl 5.10 
  • RRDtool 1.4.7
  • NMIS 8.3.3G or later
  • opHA will be installed onto the Master and each Slave NMIS server

Installation Steps

This step will be repeated for each NMIS master and slave server

  • 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)
    1. 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
cd ~
tar xvf ~/opHA-<version>.tar.gz
cd opHA/
cp install/Servers.nmis /usr/local/nmis8/conf/
cp cgi-bin/connect.pl /usr/local/nmis8/cgi-bin/ 
/usr/local/nmis8/admin/fixperms.pl

 

opHA Slave Configuration

This configuration will be done on each NMIS Slave Server.  By default, the shared community for a slave is "secret" if you want to change this to something specific you can edit the NMIS Configuration item "slave_community" using your favourite text editor, edit this line and change secret to your desired opHA community string.

'slave_community' => 'secret',

opHA Master Configuration

Once the slaves have been setup, you can configure the master with each of its slaves.  This is done by editing the file /usr/local/nmis8/conf/Servers.nmis, and adding a section for each server.

A default entry looks like this:

 'nmis2' => {
   'community' => 'secret',
   'secure' => 'false',
   'name' => 'NMIS2',
   'config' => 'Config.nmis',
   'port' => '80',
   'host' => '10.3.2.1'
 }

Edit the entry to look like this, in this example the hostname of the slave is "vali":

 'vali' => {
   'community' => 'YOURNAMEHERE',
   'secure' => 'false',
   'name' => 'vali',
   'config' => 'Config.nmis',
   'port' => '80',
   'host' => 'vali'
 },

Multiple entries would look like this, note the comma between entries.

 'nmis2' => {
   'community' => 'secret',
   'secure' => 'false',
   'name' => 'NMIS2',
   'config' => 'Config.nmis',
   'port' => '80',
   'host' => '10.3.2.1'
 },
 'nmis3' => {
   'community' => 'secret',
   'secure' => 'false',
   'name' => 'NMIS3',
   'config' => 'Config.nmis',
   'port' => '80',
   'host' => '10.4.5.6'
 }

 

Access opMaps Web Page

The default URL to access opMaps is http://nmis.domain.com/cgi-omk/opMaps

Any authentication challenges will be the same as to login to your NMIS8 system.

  • No labels