Users Guide
Upgrading an Existing Installation | Installing Single-Server Deployment
44 OMNM 6.5.3 Installation Guide
6
Answer each prompt appropriately.
If you did not backup your database before starting the update, you are given one more
chance to do so. The database backup is stored in the
installPath
/backup.sql file by default.
If you elect not to rebuild the database, the update still re-seeds the system settings.
If you encounter port conflicts, resolve them before continuing.
The servers automatically start when the update finishes. You may need to reboot the server if
your performance monitor information does not appear.
If you are running either MySQL or Oracle as your database on a separate server, you must
also run
dbpostinstall
on the (primary) Application server before starting your system.
If your upgrade fails, see the install.log, db_setup.log or app_setup.log file in the destination
directory for messages that may help fix the failure.
Importing the OMNM MySQL Database
Upgrades sometimes fail, operating system upgrades could cause database issues, and you may
need to revert back to the database before the upgrade. Make sure that you back up your database
before doing any kind of an upgrade.
Import the OMNM MySQL database as follows.
1
Shutdown the Application server and Web server.
2
Confirm no running java process exists.
ps-ef | grep java
3
Kill any existing java processes.
4
Drop the database with the following command lines:
mysqladmin -u root --password=dorado drop owmetadb
mysqladmin -u root --password=dorado drop owbusdb
mysqladmin -u root --password=dorado drop lportal
5
Create a new database with the following command lines:
mysqladmin -u root --password=dorado create owmetadb
mysqladmin -u root --password=dorado create owbusdb
mysqladmin -u root --password=dorado create lportal
6
Import the backed up database:
mysql -u root --password=dorado owmetadb < owmetadb.mysql
mysql -u root --password=dorado owbusdb < owbusdb.mysql
mysql -u root --password=dorado lportal < lportal.mysql
7
Start the Application server by entering the
#service oware start
command.
8
Enter
service oware status
to verify that the Application server is ready.
9
Start the Web server by entering the
#service synergy start
command.
10
Enter service
synergy status
to verify that the Web server is ready.
11
Login to the Web client and confirm that the data imported correctly.