02-01-2013 07:14 AM
I have an open TAC case on this also....but it's taking longer than usual for them to get pertinent info back to me so figured I'd try here.
I'm in the process of migrating from WCS to Prime Infrastructure 1.2 I've already sucessfully completed the WCS -> NCS 1.0.x upgrade, and then the NCS 1.x to 1.1.1.24 upgrade with no issues. I've followed the suggested migration path to PI 1.2 of deploying a new OVF and them migrating the NCS data from the NCS virtual machine to the new PI virtual machine.
I have PI 1.2.1.012 installed in a new VM and up and running with correct licensing. I installed the "ncs_patch-1.1.1.24-upgrade-12.tar.gz" patch on my NCS install before exporting my data from NCS (and rebooted). NCS data was exported using:
backup ncs-backup repository remoteRepo application NCS
Now when I go to import that data into the PI 1.2.1.012 appliance I get the following:
pi-01/admin# restore ncs-backup-130131-1333.tar.gpg repository remoteRepo application NCS
Restore may require a restart of application services. Continue? (yes/no) [yes] ? yes
Initiating restore. Please wait...
Stage 1 of 9: Transferring backup file ...
-- complete.
Stage 2 of 9: Decrypting backup file ...
-- complete.
Stage 3 of 9: Unpacking backup file ...
--complete.
Stage 4 of 9: Decompressing backup ...
-- complete.
Stage 5 of 9: Restoring Support Files ...
-- complete.
Stage 6 of 9: Restoring Database Files ...
-- complete.
Stage 7 of 9: Recovering Database ...
Failed to restore the DB. Exception: java.lang.Exception: RMAN-00571: ===========================================================
pi-01/admin#
I found bugID CSCub35534 which shows the same "RMAN-00571" java exception error so I might be running into this bug. I followed step 1 in the bugID of stopping my NCS 1.1.1.24 services (ncs stop) and then exporting my data from NCS again, and re-import into PI. Still have the same problem.
Dumping the logs from PI to a remote repository and looking at them doesn't give me much more info. I can see the "Failed to restore the DB. Exception: java.lang.Exception: RMAN-00571:" error in the log file but not much more info that I can figure out around it to determine what's going on.
I've used the PI 1.2 upgrade docs as well as this document through this whole process:
https://supportforums.cisco.com/docs/DOC-26972
Anyone else run into this exact same problem? How were you able to work around this and get you data imported in PI 1.2?
--greg
02-02-2013 04:54 PM
Go back to the NCS 1.1.1.24 system that has patch 12 applied-
-do an ncs stop
-perform and ncs clean
-run an ncs start
-perform the backup again being sure to include application NCS as arguments to the backup script from the NCS 1.1 server
-take that .gpg file and try restoring it again to the new installed PI 1.2.1.012 VM
02-04-2013 03:43 PM
Nope. No go. Still get the same "Failed to restore the DB. Exception: java.lang.Exception: RMAN-00571" error when importing into PI a backup file made after running the "ncs cleanup" option on NCS.
--greg
02-04-2013 05:46 PM
Try an inline upgrade----
Follow these steps to perform an inline upgrade:
Step 1 Ensure that you have installed the appropriate point patch for your existing system, as explained in Patching Your Existing System.
Step 2 Open a console session and log in to the existing server as admin. Enter the password when prompted.
Step 3 Copy the upgrade file downloaded from cisco.com (see Downloading the Upgrade Image and Point Patch) to the default repository:
admin# copy source disk:/defaultRepo
Where:
•source is the application upgrade file's URL, path and filename (for example: FTP://
•disk is the disk and path to the local defaultRepo.
Step 4 Run the application upgrade:
admin# application upgrade PI-upgrade-bundle-1.2.1.12.tar.gz defaultRepo
This step can take 30 minutes or more to complete, depending on the size of the application database.
02-04-2013 06:10 PM
Are you sure patch 12 is applied to your NCS 1.1.1.24 system? Run show applicaiton to make sure. The reason I say that is because your migration is looking a lot like what's shown in the link below----
"Failed to restore the DB. Exception: java.lang.Exception: RMAN-00571"
02-05-2013 05:01 AM
Also. Are you backing up and restoring to like VM/OVAs?
02-10-2013 10:37 AM
Still no go with this. I've done "ncs db repairdb" on the PI1.2 VM and tried restoring the NCS backup, no go.
Ended up doing an in-line upgrade on my original NCS appliance, that worked. Tried backing up the data from the VM I did the in-line upgade on and importing it into the other PI 1.2 applaince. No go, still get the RMAN-00571 error.
I originally deployed the NCS 1.0 VM appliance with what I think was the "large" appliance as the provisioned disk size is 390.625gigs and 16gigs of RAM.
The PI1.2 VM appliance I believe I may have used the "medium" appliance due to storage space issues and vmware ESXi 4.1 Standard not supporting that many vCPU's on the host I had to deploy this on.
Should I re-deploy with the same size appliance as I used for NCS?
TAC has been zero help in any of this. They just referenced me to the same bug ID I already found (CSCub35534) and really have not been helpful at all (for a change -- usually they are great!).
--greg
02-10-2013 02:26 PM
Have you tried stopping your NCS 1.1.1.24 application that has patch 12 applied then run a backup from the CLI being sure to include application NCS with the backup command?
02-11-2013 05:53 AM
Finally got this working last evening! Not 100% sure exactly what I did but the restore was sucessful. I think it might have had something to do with making sure that NCS was not running when trying to restore the data. I didn't see any references in any of the documentation to make sure NCS was complete shut down (ncs stop, and ncs status to verify) before doing the restore. But after several db reinit's it appears to have restored everything properly now. For future reference here's what I ended up doing starting with WCS (Linux version):
If things go wrong these are some additional commands that might help:
Good luck to everyone in their quest to get to the latest version! Cisco definately did not make this process an easy one.
--greg
08-07-2013 06:47 AM
I am having the same issues.
I am going to attempt all of these steps (with the exception of step 16: Reboot the applicance)
I will post my results.. Thanks
08-08-2013 12:19 PM
I can confirm, doing the steps as stated above have worked with a fresh reload of the .OVA
Process took around 5 hours, local repository, 19GB db
Restore may require a restart of application services. Continue? (yes/no) [yes]
Initiating restore. Please wait...
Stage 1 of 9: Transferring backup file ...
-- complete.
Stage 2 of 9: Decrypting backup file ...
-- complete.
Stage 3 of 9: Unpacking backup file ...
--complete.
Stage 4 of 9: Decompressing backup ...
-- complete.
Stage 5 of 9: Restoring Support Files ...
-- complete.
Stage 6 of 9: Restoring Database Files ...
-- complete.
Stage 7 of 9: Recovering Database ...
-- complete.
Stage 8 of 9: Updating Database Schema ...
: This could take long time based on the existing data size.
Stage 1 of 5: Pre Migration Schema Upgrade ...
-- complete. Time Taken : 0 hr, 2 min, 50 sec
Stage 2 of 5: Schema Upgrade ...
: This could take long time based on the existing data size.
-- complete. Time Taken : 0 hr, 15 min, 15 sec
Stage 3 of 5: Post Migration Schema Upgrade ...
-- complete. Time Taken : 0 hr, 5 min, 39 sec
Stage 4 of 5: Enabling DB Constraints ...
-- complete. Time Taken : 0 hr, 1 min, 42 sec
Stage 5 of 5: Finishing Up ...
-- complete. Time Taken : 0 hr, 0 min, 24 sec
-- complete.
Stage 9 of 9: Re-enabling Database Settings ...
-- complete.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide