Versions Compared

Key

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

...

Code Block
languagetext
titleomk8_list.txt
collapsetrue
#Opmantek NMIS 9 downloads
#Comment out what you do not need
https://dl-nmis.opmantek.com/nmis8.7.2-1.run
https://dl-omk.opmantek.com/opCharts-Linux-x86_64-3.5.2.run
https://dl-omk.opmantek.com/opReports-Linux-x86_64-3.4.2.run
https://dl-omk.opmantek.com/opConfig-Linux-x86_64-3.5.3.run
https://dl-omk.opmantek.com/opEvents-Linux-x86_64-2.6.5.run
https://dl-omk.opmantek.com/opFlow-Linux-x86_64-3.1.3.run

...

Code Block
languagebash
titleomk8_downloader.sh
linenumberstruecollapsetrue
#!/bin/bash

upgrade_list=$(</installs/omk8_list.txt)

echo "starting downloads based on upgrade_list"
sleep 2
while read LINE; do `wget ${LINE}`; done < /installs/omk8_list.txt
echo "Downloads complete"
sleep 2
echo "##########"
echo "#"
echo "#		Starting installs"
echo "#"
echo "##########"

while IFS=/ read -r var1 var2 var3 var4 var5; do
	#echo $var1
	#echo $var2
	#echo $var3
	echo "Running install on $var4"
	`sh ./$var4 -- -y`
	sleep 2
	#echo $var5
done < /installs/omk8_list.txt

echo "##########"
echo "#"
echo "#		Installs Complete"
echo "#"
echo "##########"

...

Update your /etc/mongod.conf to reflect the current configuration from your old CentOS 6 Server, note that the dbpath could be different from your old environment.  

8) Check & Correct Config Files

After Files are migrated run "/usr/local/nmis8/bin/nmis.pl type=config" to fix any errors that could be there from migration.

9) Correct NMIS Hostname on the New CentOS 7 Server

In /usr/local/nmis8/conf put the correct hostname for 'server_name' attribute.

...

10) Restart Related Services on the New CentOS 7 Server

Restart the following services:

  • mongod
  • omkd
  • opeventsd
  • opconfigd
  • opflowd
  • opchartsd

...

11) Verification

Log into the GUI on the new CentOS 7 server and verify each application is functional and presents data from before the migration.