Thursday 28 August 2014

Cisco Prime infrastructure upgrade procedure from 2.0 to 2.1

Step 1. Check the Version of code already running and please read the release notes carefully.

CPI20/admin# show ver

Cisco Application Deployment Engine OS Release: 2.0
ADE-OS Build Version: 2.0.6.003-px-build
ADE-OS System Architecture: x86_64

Copyright (c) 2005-2010 by Cisco Systems, Inc.
All rights reserved.
Hostname: CPI20


Version information of installed applications
---------------------------------------------

Cisco Prime Infrastructure
------------------------------------------
Version : 2.0.0.0.294  --------------------------<<< Current version


Step 3. Transfer Patch file into the CPI defaultRepo.


CPI20/admin#  copy tftp://10.x.x.x/PI-Upgrade-2.1.0.0.87.tar.gz disk:/defaultRepo


Step 4. Check the defaultRepo.


CPI20/admin# show repository defaultRepo
CPI20-140806-0330.tar.gpg
CPI20-140813-0330.tar.gpg
PI-Upgrade-2.1.0.0.87.tar.gz  -------------------<<< This file should be present in the defaulRepo before starting the Upgrade


Step 5. Stoping NCS Services before upgrade. 


CPI20/admin# ncs stop

Stopping Network Control System...

This may take a few minutes...

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




Step 7. Initiate the upgrade.
  
CPI20/admin# application upgrade PI-Upgrade-2.1.0.0.87.tar.gz defaultRepo
Save the current ADE-OS running configuration? (yes/no) [yes] ?
Generating configuration...
Saved the ADE-OS running configuration to startup successfully

Please ensure you have a backup of the system before proceeding.
Proceed with the application upgrade ? (yes/no) [yes] ?

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

Initiating Application Upgrade...
  Stage 1 of 7: Transferring file ...
  -- complete.
  Stage 2 of 7: Unpacking file ...
  -- complete.

*** System will reboot after a successful installation of this package ***
After reboot, please login again into the server to check status

  Stage 3 of 7: Executing pre-install ...

[WARNING] System will reboot after a successful installation of this package (after Stage 7).
After reboot, please login again into the server to check status.
No action required at this time. Continuing with Stage 3.

% Repository not found  -- complete.
  Stage 4 of 7: Upgrading binaries ...
  -- complete.
  Prime Infrastructure Application installation completed
         

  Stage 5 of 7: Retrieving system version ...
  -- complete.
  Stage 6 of 7: Updating Database Schema ...
              : This could take long time based on the existing data size.
                  Stage 1 of 5: Pre Migration Schema Upgrade ...
                                        -- completed at: 2014-08-15 00:21:25.162, Time Taken : 0 hr, 0 min, 17 sec
                  Stage 2 of 5: Schema Upgrade ...
                                : This could take long time based on the existing data size.
                                        -- completed at: 2014-08-15 00:24:56.716, Time Taken : 0 hr, 3 min, 31 sec
                  Stage 3 of 5: Post Migration Schema Upgrade ...
                                        -- completed at: 2014-08-15 00:26:34.534, Time Taken : 0 hr, 1 min, 37 sec
                  Stage 4 of 5: Enabling DB Constraints ...
                                        -- completed at: 2014-08-15 00:34:31.834, Time Taken : 0 hr, 7 min, 56 sec
                  Stage 5 of 5: Finishing Up ...
                                        -- completed at: 2014-08-15 00:34:44.867, Time Taken : 0 hr, 0 min, 13 sec
  -- complete.
  Stage 7 of 7: Re-enabling Database Settings ...
  -- complete.
Upgrade Finished. Server is  restarting . Please wait ..

% This application Install or Upgrade requires reboot, rebooting now...

Broadcast message from root (pts/0) (Fri Aug 15 00:38:13 2014):

The system is going down for reboot NOW!

Application upgrade successful


Checking the Code after upgrading


Step 8. Verify the OS after reboot.
  
CPI20/admin# show version

Cisco Application Deployment Engine OS Release: 2.0
ADE-OS Build Version: 2.0.6.003-px-build
ADE-OS System Architecture: x86_64

Copyright (c) 2005-2010 by Cisco Systems, Inc.
All rights reserved.
Hostname: CPI20


Version information of installed applications
---------------------------------------------

Cisco Prime Infrastructure
------------------------------------------
Version : 2.1.0.0.87   -----------------------------<<<<< Upgraded Version





No comments:

Post a Comment