Cisco Prime Infrastructure Rebuild

I was the fortunate soul that got tasked with assisting a customer with a Cisco Prime Infrastructure upgrade / backup / restore that went south.  My only experience with Prime was a 30 minute presentation at a Cisco Tech Day a couple of months ago!

RESOURCES:Cisco Prime Infrastructure 2.0 Administrator Guide

http://www.cisco.com/c/en/us/td/docs/net_mgmt/prime/infrastructure/2-0/administrator/guide/PIAdminBook/backup_restore.html

1. The first step is to host the backup file on your FTP server.

2.  The second step is to follow the procedure in the Admin Guide to configure a symbolic link (think mapping a drive) from the PI box back to the FTP server directory where the backup file is stored

3. I then ran the following restore command and experienced the error message “% Backup file does not match installed application(s)”

PRIME/admin# restore nms-maria-140221-1530.tar.gpg repository ftprepo application ncs
Restore will restart the application services. Continue? (yes/no) [yes] ? yes

DO NOT press ^C while the restoration is in progress
Aborting restore with a ^C may leave the system in a unrecoverable state

Initiating restore. Please wait…
Restore Started at 02/24/14 18:14:56
Stage 1 of 9: Transferring backup file …
— completed at 02/24/14 18:15:34
Stage 2 of 9: Decrypting backup file …
— completed at 02/24/14 18:17:06
Stage 3 of 9: Unpacking backup file …
— completed at 02/24/14 18:17:06
% Backup file does not match installed application(s)

RESOLUTION:

The syntax is case sensitive and if you notice above – “ncs” is lower case BUT IT NEEDS TO BE UPPERCASE! : )  

Command with correct syntax and no error message:

PRIME/admin# ncs stop

Stopping Network Control System…

This may take a few minutes…
Health Monitor is not running.

Network Control System successfully shutdown.

Plug and Play Gateway is being shut down….. Please wait!!!

Stop of Plug and Play Gateway Completed!!
SAM daemon process id does not exist
DA daemon process id does not exist
DA syslog daemon process id does not exist

PRIME/admin# restore nms-maria-140221-1530.tar.gpg repository ftprepo application NCS
Restore will restart the application services. Continue? (yes/no) [yes] ? yes

DO NOT press ^C while the restoration is in progress
Aborting restore with a ^C may leave the system in a unrecoverable state

Initiating restore. Please wait…
Restore Started at 02/25/14 10:18:51
Stage 1 of 9: Transferring backup file …
— completed at 02/25/14 10:19:26
Stage 2 of 9: Decrypting backup file …
— completed at 02/25/14 10:20:54
Stage 3 of 9: Unpacking backup file …
— completed at 02/25/14 10:20:54
Stage 4 of 9: Decompressing backup …
— completed at 02/25/14 10:21:15
Stage 5 of 9: Restoring Support Files …
— completed at 02/25/14 10:21:17
Stage 6 of 9: Restoring Database Files …
— completed at 02/25/14 10:22:18
Stage 7 of 9: Recovering Database …
— completed at 02/25/14 10:35:42
Stage 8 of 9: Updating Database Schema …
— completed at 02/25/14 10:35:42
Stage 9 of 9: Re-enabling Database Settings …
— completed at 02/25/14 10:35:42
Total Restore duration is: 00h:16m:51s

INFO: Restore completed successfully.
Starting PI Server… This may take some time

Starting Network Control System…

This may take a few minutes…

Network Control System started successfully.

PRIME/admin#

The final step was to access the Prime GUI and get a copy of the VUDI (virtual unique device identifier) from Administration >> Licenses and provide that to Global Licensing so they can rehost the license.  Once those licenses are received from Global Licensing – you simply need to explode the Base License and Software and install it first.  It prompts you to log out and then back in to take effect.  Lastly, you need to explode and install the Device Lic PAK.

 

Good Luck!

 

Advertisements

About Amir Safayan

I live with my family in beautiful Colorado. We have a basset / beagle named Cisco. We board / ski, ride dirtbikes, RV and enjoy living in the Western US. I've done R/S, security, wireless, IPT and am now focused on virtualization technologies on the High Touch Team for Shoregroup.com, a large Cisco reseller.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s