Cisco Cisco Prime Central 1.5.2 Installation Guide

Page of 98
• 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.5.1.0_backup folder:
mv /opt/primecentral_1.5.1.0_backup/ /opt/primecentral
Step 6
Restore the /var/.com.zerog.registry.xml file with the backup file: /var/.com.zerog.registry.xml_backup_for_1.5.1 that
was created during Prime Central upgrade process.
Execute the below commands:
mv /var/.com.zerog.registry.xml /var/.com.zerog.registry.xml_backup_for_1.5.2
mv /var/.com.zerog.registry.xml_backup_for_1.5.1 /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
Change the permissions of ssh key files as below:
For primeusr user:
su - primeusr
cd ~/local/prime_secured
chmod 600 id_dsa id_dsa.pub authorized_keys
For oracle user:
su - [oracle_user]
cd ~/prime_secured
chmod 600 id_dsa id_dsa.pub authorized_keys
Step 9
Restore database (from the backup taken before upgrading to Prime Central 1.5.2)
If it is embedded database:
su - primeusr
emdbctl --restore
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
Database restore log location: /export/home/oracle/prime_logs/restore***_***.log
If it is External database:
• Login/ssh to external database as root
• Restore full database to the time of backup taken (manually) just before the start of PC upgrade. Use oracle commands:
Database restore log location: /export/home/oracle/prime_logs/restore***_***.log.
75