Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • NMIS8 should be patched or updated to the correct level.
  • Install mySQL (very brief steps)
    • yum install mysql
    • yum install mysql-server (this should install DBI and DBD::mysql for Perl as well)
    • chkconfig mysqld on
    • service mysqld start
    • /usr/bin/mysql_secure_installation
    • service mysqld start
  • If not already installed, install Install the Perl CPAN package DBD::mysql (which may require you to install DBI first)
  • Copy the opSLA tarball to the server (a tarball is a GZIP'd tar file, e.g. opsla-2012-05-09-1315.tar.gz)
    1. You may need to use SCP or FTP to get the file onto the server.
  • Change into the directory where the tarball was copied (the file will now likely be in the users home directory)
  • Untar the file and copy the contents to NMIS8

...

There are many configuration options in opSLA, but the following are essential to make it work correctly.

ipsla

This is the name of the IPSLA GUI which NMIS8 will use, change this to opsla.pl

'ipsla' => '<cgi_url_base>/opsla.pl',

daemon_ipsla_filename

This is the name of the IPSLA daemon which NMIS8 will use, change this to ipslad+.pl

'daemon_ipsla_filename' => 'ipslad+opslad.pl',

daemon_ipsla_active

This configuration option enables the ipSLA daemon in NMIS8, change it to true if it is not already set.

...

Access mysql from the command line and login as the root user

mysql -u root -p

When prompted, use the password you setup when you ran /usr/bin/mysql_secure_installation

Enter the following SQL commands to create the database.

createCREATE databaseDATABASE nmisdb character set utf8;
CREATE USER 'nmis'@'localhost' IDENTIFIED BY 'nmis';
GRANT ALL PRIVILEGES ON nmisdb.* TO 'nmis'@'localhost' WITH GRANT OPTION;

...