Cisco Cisco Prime Central 1.5 Installation Guide

Page of 94
chown R primeusr:ncoadmin /opt/primecentral_1.4.1.0_backupchown R primeusr:ncoadmin
/opt/primecentral_1.5.0.0_backup
Step 3
Stop all Prime Central processes:
su - primeusr
itgctl stop
portalctl stop
exit
For distributed server environment (portal and IL are in different servers):
• Execute above portalctl stop command on Portal server as primeusr.
• Execute above itgctl stop command on IL server as primeusr.
Step 4
Move the primecentral folder to the tmp folder:
mv /opt/primecentral/ /tmp/primecentral
Step 5
Rename the /opt/primecentral_1.4.1.0 1.5.0.0_backup folder:
mv /opt/primecentral_1.4.1.0_backup/ /opt/primecentral
Step 6
Restore /var/.com.zerog.registry.xml file with the file:
/var/.com.zerog.registry.xml_backup_for_1.4.1/var/.com.zerog.registry.xml_backup_for_1.5 which was created
during Prime Central upgrade process.
mv /var/.com.zerog.registry.xml /var/.com.zerog.registry.xml_backup_for_1.5
mv /var/.com.zerog.registry.xml_backup_for_1.4.1 /var/.com.zerog.registry.xmlmv
/var/.com.zerog.registry.xml_backup_for_1.5 /var/.com.zerog.registry.xml
Step 7
To find the exact time to restore database, back to the timestamp before upgrade.
Login to the database as sysdba and execute the below query to get the RMAN backup history:
SELECT status, to_char(START_TIME,'mm/dd/yy hh24:mi') start_time,
to_char(END_TIME,'mm/dd/yy hh24:mi') end_time
FROM V$RMAN_BACKUP_JOB_DETAILS
ORDER BY end_time DESC;
Step 8
Restore database (from the backup taken before upgrading to Prime Central 1.5 )
If it is embedded database:
su – oracle
$ORACLE_HOME/prime_scripts/restore_db.sh 'MM-DD-YYYY' 'MI:SS'
Restore time should be the time of the full backup taken just before the start of upgrade and should be taken from
the result of the query executed in Step 7.
Note
If it is Remote database:
Login to remote database server as root
su – oracle
$ORACLE_HOME/prime_scripts/restore_db.sh 'MM-DD-YYYY' 'MI:SS'
Restore time should be the time of the full backup taken just before the start of upgrade and should be taken from
the result of the query executed in Step 7.
Note
72