Upgrading Prime Infrastructure: Difference between revisions
From Mike Beane's Blog
(Created page with "This was a rather painful journey upgrading Cisco Prime Infrastructure. Along the way the drive needed to be expanded and the love of vm snapshots was made even more solid th...") |
mNo edit summary |
||
Line 187: | Line 187: | ||
** Step 3 Click Sync. | ** Step 3 Click Sync. | ||
[[Category: | [[Category:Networking]] |
Revision as of 18:54, 14 September 2016
This was a rather painful journey upgrading Cisco Prime Infrastructure. Along the way the drive needed to be expanded and the love of vm snapshots was made even more solid that before. The following is not intended to be gospel, only a detail of getting from Prime 2.2.0.0.158 up to 3.1.3 that had it's "fun"
References
- http://www.cisco.com/c/en/us/td/docs/net_mgmt/prime/infrastructure/3-0/quickstart/guide/cpi_qsg.html#pgfId-124831
- https://mrncciew.com/2014/01/12/upgrade-prime-using-cli/
- http://www.cisco.com/c/en/us/td/docs/net_mgmt/prime/infrastructure/3-1/quickstart/guide/cpi_qsg.html#pgfId-133088
General Approach
- Backup the VM \ Create a copy of VM \ turn off source
- Working from the VM copy and do thing ala the following:
- download and verify PI-Upgrade-3.0.0.0.78.tar.gz.zip - 678c86f1d9d36a74daafcdf483845c4b
- extract PI-Upgrade-3.0.0.0.78.tar.gz.zip and verify checksum: 03446c34f1a4ffd5d445c070ee17bfb9
- Copy file to VM copy
- CLI: admin# ncs stop
- CLI: admin# application upgrade PI-Upgrade-3.0.0.0.78.tar.gz defaultRepo
- Get Coffee & await completion
- CLI: admin# ncs start
- verify Prime is running
- double check RADIUS auth
- Resync WLC configurations
- Synchronize devices
- If fail, turn off VM and revert to copy
Random
- enable ftp
- set ftp user password: ncs password ftpuser admin password password
- ftp to prime, upload file
- disable ftp
- CLI: root
- CLI: mv /ftp/<name of file> ../defaultRepo
- CLI: exit
- OR
- Prime root does wget! (well, apparently it did do root until 3.1.x)
- CLI: cd /localdisk/defaultRepo
- CLI: wget http://<url>/PI_3_1_3-1.0.16.ubf
- Drive Space - if you run into optvol drive space issues after going to 3.0x from 2.x, revert back to the snapshot, add the drive in 2.x, then go forward. A happy Prime is what we want here. In my instance, many NCS CLEANUPs were done to squeeze drive space and eventually the 3.x database appeared to eat itself to the point that TAC could not rescue it. Reverted to snapshot and all things went well following the better path.
- Compatibility
- Make sure you've checked your WLC code compatibility - it is possible to upgrade the WLC to the point where it is not compatible with Prime. This occurred with new 2800 APs requiring the latest WLC code and then loads of fun ensued.
Preparation
- VMWare Copied Prime01 to Prime01_1
- Verified 2.2 was operable
- On Prime01_1
- reverted to snapshot v2.2.0
- ncs stop
- halt
- VMWare
- REF: https://supportforums.cisco.com/document/9871606/adding-disk-space-prime-infrastructure
- Prime01_1 -> Edit Settings
- Add
- Hard Disk
- Create a new virtual disk
- added 100GB drive
- SCSI 0:1
- Finish
- powering on host
- Verified 2.2 was operable
- verify df shows new drive space
- root df
- /dev/mapper/smosvg-optvol 295801392 147598280 53% /opt
- Prime UI Administration -> Appliance
- /dev/mapper/smosvg-optvol 132937592 147598280 53
- root df
- snapshot (VM)
Install PI-Upgrade-3.0.0.0.78.tar.gz.zip
- Copy file to VM copy (enable ftp, et al)
- CLI: admin# ncs stop
- CLI: admin# application upgrade PI-Upgrade-3.0.0.0.78.tar.gz defaultRepo
- Get Coffee & await completion
- CLI: admin# ncs start
- verify Prime is running
- double check RADIUS auth
- Resync WLC configurations
- Step 1 Choose Configuration > Network > Network Devices, then select Device Type > Wireless Controller.
- Step 2 Select the check box(es) of the applicable controller(s).
- Step 3 Click Sync.
- Step 4 Click Yes to proceed.
- Verify operability
- snapshot (VM)
Install pi302-16.ubf patch
- WLC - Wireless Global Conf
- set Login Credentials (see password vault)
- Apply
- Save Configuration
- Prime - Resync WLC configurations
- Install pi302-16.ubf patch
- https://cisco.app.box.com/s/mi07sahlzn14mt2f7mv00uctky05wscp
- Upload via PI
- Install via PI
- ncs stop
- ncs start
- est wait: 15 minutes
- verify operability
- snapshot (VM)
- WLC - Wireless Global Conf
Notes
- 3.0.0.0.78
- PI 3.0.2
- Prime Insight Agent 1.0.0
Install pi_technology_package-3.0.2-1.0.56.ubf patch
- https://software.cisco.com/download/release.html?mdfid=286285348&reltype=latest&relind=AVAILABLE&dwnld=true&softwareid=284272933&rellifecycle=&atcFlag=N&release=3.0.2&dwldImageGuid=B00B2C878E43EB8A4DD4FB16F1CA5298ABA0D7D7&flowid=76142
- Download via PI (warning received "Tech Pack 1.0.3" unknown origin)
- Install via PI
- ncs stop
- ncs start
- est wait: 15 minutes
- verify operability
- snapshot (VM)
Notes
- 3.0.0.0.78
- PI 3.0.2 2.0.0
- Prime Insight Agent 1.0.0
- PI 3.0 TECH PACK 1.0.3
Install pi303-10.ubf patch
- Download via PI (warning received unknown origin)
- Install via PI
- ncs stop
- ncs start
- est wait: 15 minutes
- verify operability
- snapshot (VM)
Install pi303_update_02-1.0.10.ubf patch
pi303_update_03-1.0.8.ubf
- Going with pi303_update_03-1.0.8.ubf from the download list in PI
- PI download
- PI install
- ncs stop
- ncs start
- est wait: 15 minutes
- verify operability
- snapshot (VM)
PI-Upgrade-3.0.X_to_3.1.0.0.132.tar.gz
- Copy file to VM
- CLI: admin# ncs stop
- CLI: admin# application upgrade PI-Upgrade-3.0.X_to_3.1.0.0.132.tar.gz defaultRepo
- Get Coffee & await completion (est wait: 7 hours)
- CLI: admin# ncs start
- verify Prime is running
- double check RADIUS auth
- Resync WLC configurations
- Synchronize devices
- snapshot (VM)
Notes
- Have patience with 3.1 installing - power cycling the VM can result in a damaged system (ex: grub menu appeared after one such attempt). Snapshot at each successful point.
- There appears to be no 'root' enabled in 3.1.x, not that it was entirely needed but it had come in handy prior.
Install PI_3_1_3-1.0.16.ubf patch
- https://software.cisco.com/download/release.html?mdfid=286304360&flowid=79748&softwareid=284272933&release=3.1.3&relind=AVAILABLE&rellifecycle=&reltype=latest
- PI gui install
- GUI forces restart
- Note: there appears to be no visible indicator of what the system is doing once the GUI intitiates the reboot. I kept the VM console up and was logged in to the account. "ncs status" would sometimes work, but with no good information. Eventually (30+ minutes) I saw the OS indicator that services were being shutdown and then it took NCS STOPPING roughly 15 more minutes to finish out. After that, the system came up fine.
- GUI forces restart
- est wait: 45 minutes
- verify operability
- snapshot (VM)
Install Device-Pack-3-PI3.1-14.ubf
- https://software.cisco.com/download/release.html?mdfid=286304360&flowid=79748&softwareid=286208063&release=3.1.3&relind=AVAILABLE&rellifecycle=&reltype=latest
- PI gui install
- GUI forces restart
- Note: Did not see any noticeable reboot of Prime at the CLI. Eventually I put in an NCS STOP and then NCS START (and the NCS STOP took nearly 5 minutes to show a response at the CLI).
- GUI forces restart
- est wait: 20 minutes
- verify operability
- snapshot (VM)
Configure NTP
- PRIME01/admin(config)# ntp server 10.10.2.170
- PRIME01/admin(config)# exit
- PRIME01/admin# wri me
- ncs stop
- reload
- Verify NTP & Time
Resync
- Resync WLC configurations
- Step 1 Choose Configuration > Network > Network Devices, then select Device Type > Wireless Controller.
- Step 2 Select the check box(es) of the applicable controller(s).
- Step 3 Click Sync.
- Step 4 Click Yes to proceed.
- Synchronize devices (devices will not show the correct software until this patch has been applied)
- Step 1 Choose Inventory > Device Management > Network Devices.
- Step 2 Select the device whose configuration you want synchronized with the configuration stored in the Prime Infrastructure database.
- Select WLC first, then do APs
- Step 3 Click Sync.