cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1919
Views
5
Helpful
2
Comments
Vinay Sharma
Level 7
Level 7

 

Introduction

In this document Cisco TAC engineer " Samson Aloor " has explained about issue "Licenses are not visible after migration from Wireless Control System (WCS) to Prime Infrastructure (PI)".

Problem Category

Wireless

Problem Subcategory

Cisco Prime Network Control System (NCS) Wireless

Problem Description

Customer upgraded the WCS to PI and lost the licenses after he restored the Oracle DB.

After migration to PI 2.0 old licenses are not detected and there is an error when adding new licenses:

"Your license has been applied. Please login logout into the system, to let licenses take effect."

Resolution

The issue is visible when migration to PI 2.0 is performed and when old WCS licenses were present on migrated PI

Workaround

Run the following commands in root mode (access using 'root' command from CLI, use root_enable to set password if needed)

root - Executes the root shell.
root_enable - Activates the root command.
- move WCS licenses (wcs*) out of the Prime Infrastructure License Directory to another location
e.g. mv /opt/CSCOlumos/licenses/wcs*.lic /localdisk

(/localdisk is the disk: directory accessible from normal CLI)
- Run the License Restore Script:
/opt/CSCOlumos/bin/license_post_restore.sh
- Logout and Login to GUI
- At this point the old licenses should be visible in GUI again and new licenses can be added as needed.

If the licenses are not visible yet, add them again.

More Information

Try to restore backup of the NCS, created before upgrade.

http://www.cisco.com/en/US/docs/net_mgmt/prime/infrastructure/1.2/quickstart/guide/cpi_qsg.html#wp57505 step.5 creates the backup. There is no mention about the restore, but until I didn't restore the backup, the HTTPS service was not enabled a NCS was not accessible via http/https. After restore everything works fine.

Please find below URL and hope you will find all the PATCHES:

Since you got 1.1.0.58 installed, you can upgrade straight to the new 1.3 PI

•1.       You need to download a point patch first
“ncs_patch-1.1.0.58-upgrade-12.tar.gz”

The point patches are located at the following location:

Prime Infrastructure Software download

•2.      Once the existing system is patched, we can upgrade to 1.3
“PI-upgrade-bundle-1.3.0.20.tar.gz”

You can download from

http://software.cisco.com/download/release.html?mdfid=284652876&flowid=38562&softwareid=284272932&release=1.3&relind=AVAILABLE&rellifecycle=&reltype=latest

Performing an Inline Upgrade to Prime Infrastructure 1.3

Cisco Prime Infrastructure 2.1​ - Installing Patches 

You may need to install patches to get your version of Prime Infrastructure to the level at which upgrade is supported. For example: If you are currently running Cisco Prime Infrastructure version 1.3.0, you must install the PI_1_3_0_20-Update.4-16 patch before attempting to upgrade. You can check the Prime Infrastructure version and patch version you are running by using the CLI commands show version and show application .

Different patch files are provided for each version of Prime Infrastructure and its predecessor products. Download and install only the patch files that match the version of your existing system and that are required before you upgrade to a higher version. You can find the appropriate patches by pointing your browser to the Cisco Download Software navigator .

Before installing a patch, you will need to copy the patch file to your Prime Infrastructure server’s default repository. Many users find it easy to do this by first downloading the patch file to a local FTP server, then copying it to the repository. You can also copy the patch file to the default repository using any of the following methods:

  • cdrom—Local CD-ROM drive (read only)
  • disk—Local hard disk storage
  • ftp—URL using an FTP server.
  • http—URL using an HTTP server (read only)
  • https—URL using an HTTPS server (read only)
  • nfs—URL using an NFS server
  • sftp—URL using an SFTP server
  • tftp—URL using a TFTP server

Step 1Description: http://www.cisco.com/c/dam/en/us/td/i/templates/blank.gif Download the appropriate point patch to a local resource in your environment:

a.Description: http://www.cisco.com/c/dam/en/us/td/i/templates/blank.gif With the Cisco Download Software navigator displayed in your browser, select Products > Cloud and Systems Management > Routing and Switching Management > Network Management Solutions > Cisco Prime Infrastructure .

b.Description: http://www.cisco.com/c/dam/en/us/td/i/templates/blank.gif Select the version of Cisco Prime Infrastructure that most closely matches the one you are currently using (e.g., Cisco Prime Infrastructure 1.2 ).

c.Description: http://www.cisco.com/c/dam/en/us/td/i/templates/blank.gif Click Prime Infrastructure Patches to see the list of available patches for that version of the product.

d.Description: http://www.cisco.com/c/dam/en/us/td/i/templates/blank.gif Next to each patch that is required, click Download , then follow the prompts to download the file.

Step 2Description: http://www.cisco.com/c/dam/en/us/td/i/templates/blank.gif Open a command-line interface session with the Prime Infrastructure server (see Connecting Via CLIin the Cisco Prime Infrastructure 2.1 Administrator Guide ).

Step 3Description: http://www.cisco.com/c/dam/en/us/td/i/templates/blank.gif Copy the downloaded patch file to the default local repository. For example:

admin# copy source path /defaultRepo

Where:

  • source is the downloaded patch file’s location and name (for example: ftp://MyFTPServer/pi_9.3.1.0_update.tar.gz).
  • path is the complete path to the default local backup repository, defaultRepo.

Step 4Description: http://www.cisco.com/c/dam/en/us/td/i/templates/blank.gif Install the patch:

admin# patch install patchFile defaultRepo

Where patchFile is the name of the patch file you copied to defaultRepo.

Source

Comments
MJU-NETDESIGN
Level 1
Level 1

Thanks for the good guide

That solved my lic problens

Vinay Sharma
Level 7
Level 7

That's Great Mickey. Thanks for sharing your exp :-).

Regards,

Vinay Sharma

Community Manager

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: