cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2431
Views
5
Helpful
8
Replies

Collector Upgrade from 2.9.0.2 to 2.9.1

tyler.solberg
Level 1
Level 1

I am attempting to upgrade our Collector from 2.9.0.2 to 2.9.1.  When I attempt to perform the upgrade using the GUI I select the Upgrade Now option, confirm the upgrade and the status changes from Not Scheduled to Initiated and then goes back to Not Scheduled.  I attempted the upgrade from the shell as well and get the response below when attempting to download the upgrade:

 

# download sp-30.2.1-0-0-lnx64
Attempting to download the requested package.....sp-30.2.1-0-0-lnx64

File could not be located on the server.
Please contact the release team.

 

Any suggestions?

8 Replies 8

neharani
Cisco Employee
Cisco Employee

Hi,

I hope you are doing well!

I will look into it and get back to you with an update!

 

 

Regards,

Neha

Hi,

I hope you are doing well!

I have shared some steps with you in a Personal message. Could you please check your PM and get back to us.

 

 

Regards,

Neha

 

 

neharani
Cisco Employee
Cisco Employee

Hi Tyler,

I hope you are doing well!

Do you have any updates on the shared steps to upgrade or any issues while performing the upgrade?? Please get to us for any queries.

Awaiting your quick response to proceed further.

 

 

Regards,

Neha Rani

Hi, I have the same issue. You know how fix that?

 

# download sp-30.2.1-0-0-lnx64
Attempting to download the requested package.....sp-30.2.1-0-0-lnx64

File could not be located on the server.
Please contact the release team.

 

Best regards

neharani
Cisco Employee
Cisco Employee

Hi,

Before going to upgrade please take snapshots/backup of your current VM.

 

Then you can follow the below steps to upgrade:

If the upgrade is not working on GUI, we would recommend upgrading it from CSPC CLI.

To upgrade from CSPC CLI we must have login as root user.

I would like to share steps to upgrade from CLI:

1. Download the Collector patch to the local system (Zip file) from https://software.cisco.com/download/home/286312935/type/286312958/release/2.9.1
2. Transfer the patch to the CSPC using the Collectorlogin home directory via WinSCP software. below are the steps to use WinSCP.

  • Download WinSCP or any other File transfer tool. WinSCP is recommended.
  • Once download then open WinSCP. The login page will pop up. Enter the hostname (IP address) of CSPC and login as collector login by entering the username and password.
  • After login, the left side will show your local machine’s data and the right side would be CSPC.
  • Transfer the downloaded CSPC upgrade patch file from local machine to CSPC by drag and drop. Then continue with the step no. 3 in upgrade steps.
    3. Log in to the console of CSPC as a root user.
    4. Unzip the patch file using the command unzip <Filename> and cd to the unzipped directory as a root user
    5. There will be 2 files under the unzipped directory which are JEOS and SP patch.
    6. First, we will execute JEOS using the command below:
  • ./install.sh JeOS <JeOS filename>
  • Then cd to the directory /opt/LCM/logs/ to check the logs using the commands tail -f install and tail -f apply
    Once a script is executed successfully, then continue with the step no. 7.

  1. Then follow the below steps for the SP patch as well:
  • ./install.sh SP <SP filename>
  • Monitor the installation by executing tail -f /opt/LCM/logs/apply
    After successfully applying the patch in /opt/LCM/logs/apply

The upgrade process will be done and check the version in CSPC GUI.

 

To know more about this upgrade, you can follow the CISCO CSPC upgrade guide as well.

CSPC Upgrade Guide (cisco.com)

 

 

 

 

Regards,

Neha Rani

 

Neha,

 

I was able to follow these steps and successfully upgraded my collector to 2.9.1. It would be very beneficial to be able to do this via the GUI, as designed.

 

Thanks,
Tyler

Works very good with your steps thanks a lot.

 

Neha thanks.

Hi

I am unable to apply the patch. Below is the error.

 

[Fri Oct 1 10:45:12 NZDT 2021] Apply TCL Called with arguments "SP" and "sp-30.2.1-1-0-lnx64.zip"
[Fri Oct 1 10:45:12 NZDT 2021] Inside existence of status db
[Fri Oct 1 10:45:27 NZDT 2021] Parsing package info
[Fri Oct 1 10:45:29 NZDT 2021] Validating package details
[Fri Oct 1 10:45:33 NZDT 2021] Parsing Component info
[Fri Oct 1 10:45:33 NZDT 2021] Validating Component info
[Fri Oct 1 10:45:33 NZDT 2021] Checking component dependency
[Fri Oct 1 10:45:33 NZDT 2021] Apply TCL returned 1
[Fri Oct 1 10:45:33 NZDT 2021] Executing pre-install scripts
[Fri Oct 1 10:49:10 NZDT 2021] Removing old Kernels
Inside preinstall script
Fetching Version info
Initializing SP Patch installation .....

Updated CASP
current CSPC version is : 2.9.0.2 and casp version is : 2.9.1.1
Current CSPC version 2.9.0.2
SP 2.9.1.1 can install on 2.9.1 and above only

child process exited abnormally

 

I believe the JeOS patch installed ok:

 

update next package to install
[Fri Oct 1 09:50:44 NZDT 2021] End of Script Execution
[Fri Oct 1 09:50:44 NZDT 2021] End of Procedure
[Fri Oct 1 09:50:44 NZDT 2021] Executing post-install scripts
Current SP :
Current JeOS :
Service Name : COLLECTOR
Hostname : nplcspc01.hiq.net.nz
Timezone : NZDT
Replaced scripts with Derby statements
[Fri Oct 1 09:52:24 NZDT 2021] Executed post-install scripts
[Fri Oct 1 09:52:24 NZDT 2021] Installation of software package of type "JeOS" completed successfully
[Fri Oct 1 09:52:25 NZDT 2021] --Component--CASP--CASP |Component |JeOS |2.9.1.1 |CASP component |1614307872--jeos-30.2.0-2-lnx64--
[Fri Oct 1 09:52:25 NZDT 2021] else block of status update
[Fri Oct 1 09:52:25 NZDT 2021] update version--2.9.1---CASP---Component-------
[Fri Oct 1 09:52:26 NZDT 2021] --Component--ConcsoTgw--ConcsoTgw |Component |JeOS |1.8.0 |Connectivity TGW component |1614307873--jeos-30.2.0-2-lnx64--
[Fri Oct 1 09:52:26 NZDT 2021] else block of status update
[Fri Oct 1 09:52:26 NZDT 2021] update version--1.8.0---ConcsoTgw---Component-------
[Fri Oct 1 09:52:27 NZDT 2021] --Component--AdminShell--AdminShell |Component |JeOS |1.9.4 |AdminShell component |1614307874--jeos-30.2.0-2-lnx64--
[Fri Oct 1 09:52:27 NZDT 2021] else block of status update
[Fri Oct 1 09:52:27 NZDT 2021] update version--1.9.4---AdminShell---Component-------
[Fri Oct 1 09:52:27 NZDT 2021] --Component--LCM--LCM |Component |JeOS |1.9.4 |LCM component |1614307875--jeos-30.2.0-2-lnx64--
[Fri Oct 1 09:52:27 NZDT 2021] else block of status update
[Fri Oct 1 09:52:27 NZDT 2021] update version--1.9.4---LCM---Component-------
[Fri Oct 1 09:52:28 NZDT 2021] --Component--Hardened CentOS--Hardened CentOS |Component |JeOS |8.1 patch#0 |Hardened CentOS |1614307876--jeos-30.2.0-2-lnx64--
[Fri Oct 1 09:52:28 NZDT 2021] else block of status update
[Fri Oct 1 09:52:28 NZDT 2021] update version--8.1 patch#0---Hardened CentOS---Component-------
[Fri Oct 1 09:52:29 NZDT 2021] --JeOS--JeOS--JeOS |JeOS | |jeos-30.2.1-1-lnx64 |Appliance Base Package patch update |1633034784--jeos-30.2.0-2-lnx64--
[Fri Oct 1 09:52:29 NZDT 2021] else block of status update
[Fri Oct 1 09:52:29 NZDT 2021] update version--jeos-30.2.1-1-lnx64---JeOS---JeOS-------
[Fri Oct 1 09:52:30 NZDT 2021] status db updation completed