Upgrading from NMS v2.4 or Earlier
Prior to Oracle Utilities Network Management System 2.5.0.0.0, a single Oracle RDBMS schema was used for both Data Definition Language (DDL) and Data Manipulation Language (DML) purposes with a second (read-only) access schema used by Oracle NMS clients. Oracle Utilities Network Management System 2.5+ uses at least three Oracle RDBMS schemas.
1. An "admin" schema that owns all relevant tables and views and allows DDL (for installations and patching).
2. At least one read-write schema that is essentially a list of synonyms that provide DML access to "admin" schema tables and views. If the dual environment setup is chosen - there will be two (parallel) read-write schemas that can be used for access during expedited patching.
3. A read-only schema that is used by WebLogic to provide read-only access to a subset of "admin" schema tables and views. Like the read-write schema - the read-only schema is strictly a set of synonyms (no actual tables or views in this schema). This schema was not fundamentally changed in the 2.5.0.0.0 release and is only listed for completeness.
The "admin" schema essentially equates to the DDL portion of the "primary" schema for releases of Oracle Utilities Network Management System prior to 2.5.0.0.0. The new read-write schema (or schemas) equate to the DML portion of the older (single) "primary" schema. This is an important transition that must be worked through for an Oracle Utilities Network Management System upgrade.
Upgrading the Oracle Utilities Network Management System should be done on a test system prior to attempting an upgrade on a production system. Make a complete copy of the production system on a test system, including the file system and the database. Once the test system is running, follow the steps below to upgrade your test system to Oracle Utilities Network Management System Release 2.6.0.0.0. Follow the instructions based on what release you currently have implemented.
When satisfied with your test system, complete these same steps to upgrade your production system.
1. Log in as the administrative user (for example, nmsadmin).
2. Stop all services including Isis.
• For releases prior to NMS 2.5.0.0.0, use the following command:
sms_stop.ces –ai
• For systems running NMS 2.5.0.0.0 or later, use the following command:
sms-stop -ai
Note: If your system does not support the sms_stop.ces or sms-stop script, use:
Action -force any.any stop
cmd shutdown
3. Make sure the Naming Service is not running.
ps -ef | grep tao_cosnaming
If the Naming Service is running, the output will be similar to the following:
nmsadmin 348204 1 0 Aug 11 - 0:46 /opt/oms-9.1/bin/Naming_Service -p /users/oms1/logs/Naming_Service.pid iiop://server.example.com:17821 –ORBEndpoint
If a process is running (user = nmsadmin), kill it:
kill [PID]
From the example output above, the command would be:
kill 348204
4. Stop the currently running WebLogic application server.
Note: This release uses new templates to help properly configure the software. Please pay careful attention to ensure you use the new templates and their settings.
7. If your Oracle database version is supported by Oracle Utilities Network Management System 2.6.0.0.0, you can skip the
Create Database Environment section. Otherwise, do the following:
• Backup your current Oracle Utilities Network Management System database.
• Install the new version of the Oracle RDBMS.
• Import your current Oracle Utilities Network Management System database onto the new RDBMS installation.
8. If upgrading from a release prior to 2.5.0.0.0, drop the old read only schema and create new read only and read-write schemas based on $NMS_BASE/templates/nms.sql.template.
9. Complete setting up the project configuration directory and upgrading your model following the steps below:
• Execute the nms-install-config script, which will merge your project configuration with the product configuration and place the results in the runtime directory:
nms-install-config --nojava
11. Execute step 6 of
Validation Model Setup to enable write permissions for the user that runs the Java Application Server