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

Compare with Current View Page History

« Previous Version 2 Next »

Prerequisites

The new version will need to be downloaded and this tutorial assumes you have put it in ~, it can be anywhere you like but you will have to adjust the command to untar.

Upgrade Steps

All commands will be run out of /usr/local/omk, change their now 

cd /usr/local/omk
  1. Backup old configuration 

    mkdir conf_date_here
    cp -r conf/* conf_date_here/ 
  2. Stop the current service 

    service omkd stop 
    # if that does not work try
    kill `cat /tmp/prefork.pid`
    
    # verify it omkd is stopped
    ps aux | grep opman
    
    # if they are still running kill them
    killall opmantek.exe        
  3. Untar the new version 

    cd /usr/local
    tar -zxvf ~/opExport-New-Version.tar.gz 
  4. Upgrade the configuration 

    cd /usr/local/omk
    cp install/opCommon.nmis conf/
    cp install/users.dat conf/  
    cd conf  

    *if you are upgrading the MySQL server daemon, you will need new schemas: 

    cp install/*.json conf/
  5. Start the service back up 

    service omkd start
  6. Load the GUI in web browser http://your.upgraded.server.name.or.ip:3000/omk/opExport, this is required to accept the EULA, if this is not done schemas will not be saved in the next step!

  7. Push schema to NMIS server from MySQL (only if the upgraded server is NMIS server) .
  • No labels