Cisco Cisco Prime Central 1.5.2 Installation Guide

Page of 36
 
2-5
Cisco Prime Central RHEL Operating System Upgrade Guide
OL-31019-01
Chapter 2      Upgrade RHEL Operating System in Disaster Recovery Configuration
  Upgrading from RHEL 5.8 to 6.5 in Prime Central Disaster Recovery Configuration
  
"[oracle-user]"  "[fullpath-of-export-folder]"
Example:
 su - oracle
./database_export_import.sh  "import"  "schema"  "PCDBImportSchema"  "oracle" 
 "/export/home/oracle/PCDBExportSchema"
Note
At the end of operation, folder-name given as input for the above command (like 
PCDBImportSchema in the above example) should be created in the oracle user home directory. 
The folder should contain below files:
  prime_dump_schemas.dmp
  prime_import.par
  prime_import_schemas.log
d.
Check the log: “prime_import_schemas.log” for any errors before proceeding to next step.
Note
Ignore warnings with Error code: ORA-39082.
For any other exceptions, please refer to the 
 section in this guide.
Step 5
Execute the following step on Prime Central server to stop database services. This is to ensure that no 
operations are permitted during OS upgrade process.
 su - primeusr
 emdbctl --stop
Step 6
Execute the following script to restore Prime Central and Fault Management application.
This script should be executed on both Prime Central and Fault Management servers if installed 
separately.
a.
Copy restorePrimeCentral.sh from OSUpgradeScripts.tar to “/root” directory. 
b.
Execute the following script:
 ./restorePrimeCentral.sh    backup_folder_full_path
Example
:
./restorePrimeCentral.sh   “/root/PCBACKUP151” (On Prime Central server)
./restorePrimeCentral.sh   “/root/FMBACKUP151” (On Fault Management server)
Step 7
Start Database services on the Prime Central server.
 su – primeusr
 emdbctl --start
Note
If there any exception related to known_hosts entries, you need to manually remove corrupted 
entry from known_hosts file. When you again start the emdbctl, it will prompt for authenticity. 
Select “Yes” to proceed.
Step 8
Start Portal, integration and fault management services by executing the below script.