03-27-2018 06:48 AM - edited 03-12-2019 07:43 AM
Currently used the GUI to upgrade and have let it sit for 24 hours. After that I have logged in to the admin shell and get the following output when running a "show download progress"
admin# show download progress
Package Name Package Status Downloaded Percentage
-----------------------------------------------------------------------------
sp-30.0.4-0-0-lnx64 Downloading 1
admin# download sp-30.0.4-0-0-lnx64
Requested package is already downloaded and applied.
I saw in https://www.cisco.com/c/dam/en/us/support/docs/cloud-systems-management/common-services-platform-collector-cspc/CSPC-ReleaseNotes-2732.pdf that there is a way to reset the status but I'm not sure if the carriage returns carry over from the doc and am wondering if this is still a process I can use to cancel the download and try to start it from the CLI.
03-27-2018 02:42 PM
03-27-2018 03:03 PM - edited 03-27-2018 03:04 PM
You are correct the PDF file has some formatting issued for this reason to avoid the problems in the document I attached the following file which shows the line by line. But that above command should still be valid depending on the present version since older versions use a different database than Derby. The command it is a derby database tool command and you would had to connect to it from a derby prompt once you apply the line commands that are delineated on the release notes document for 2.7.3.2 prior to issue the command. If successful you should had given you a prompt like ij>.
In any case prior to attempt that command in specific
Issue the following commands and send the output to us.
FROM ROOT USER
# tail -150 /opt/LCM/logs/install
and
# env | grep proxy
and
# ls -lart /opt/LCM/tmp/
and
# ls -lart /opt/LCM/tmp/downloads
FROM ADMIN USER
admin# show version -d ( already asked by Jarrett above)
admin# show downloads
admin# show apply
03-29-2018 09:07 AM
===========Admin Output=============
admin# show version -d
Build-name : Collection Platform Software 2.7.3.2
Package-type : ServicePack
Version : sp-30.0.3-1.2-0-lnx64
Component : CSPC Base
Version : 2.7.3.2
Package-type : JeOS
Version : jeos-30.0.3-1.2-lnx64
Component : AdminShell
Version : 1.6
Component : LCM
Version : 1.6
Component : CASP
Version : 2.7.3.2
Component : ConcsoTgw
Version : 1.7
Component : Hardened CentOS
Version : 6.8 patch#0
admin# show download
Version : sp-30.0.3-0-0-lnx64
Download Location : /opt/LCM/tmp/sp-30.0.3-0-0-lnx64-package.zip
Status : Downloaded
Start Time : Jan/16/2018 15:17:04
End Time : Jan/16/2018 15:29:44
Reason For Failure : -
Version : sp-30.0.3-1-0-lnx64
Download Location : /opt/LCM/tmp/sp-30.0.3-1-0-lnx64-package.zip
Status : Downloaded
Start Time : May/25/50060 05:43:55
End Time : Feb/06/2018 14:08:50
Reason For Failure : -
Version : sp-30.0.3-2-0-lnx64
Download Location : /opt/LCM/tmp/sp-30.0.3-2-0-lnx64-package.zip
Status : Downloaded
Start Time : Nov/28/50166 17:26:00
End Time : Mar/13/2018 09:39:29
Reason For Failure : -
Version : sp-30.0.4-0-0-lnx64
Download Location : -
Status : Downloading
Start Time : Aug/19/50202 04:26:49
End Time : -
Reason For Failure : -
admin# show apply
Version Number : sp-30.0.3-0-0-lnx64
Status : Applied
Start Time : Jan/16/2018 15:30:14
End Time : Jan/16/2018 16:17:55
Version Number : sp-30.0.3-1-0-lnx64
Status : Apply-in-progress
Start Time : Feb/07/2018 08:44:44
End Time : -
Version Number : sp-30.0.3-2-0-lnx64
Status : Apply-in-progress
Start Time : Mar/13/2018 09:50:45
End Time : -
admin#
================================================================
===========Root output======================================
[root@cspc ~]# tail -150 /opt/LCM/logs/install
2: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/discovery/properties/buggy_device_versions.txt 100
3: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/discovery/properties/.. 77
4: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/discovery/properties/discovery-cso-build.properties 105
5: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/discovery/properties/. 76
6: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/discovery/properties/discovery-module-registry.xml 104
7: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/discovery/properties/discovery_mask.properties 100
8: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/discovery/properties/discovery-cso-log4j.properties 105
9: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/discovery/properties/cli_discovery_os_mapping.properties 110
10: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/discovery/properties/discovery-cso-startup.properties 107
11: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/discovery/properties/discovery_ping.properties 100
12: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/discovery/properties/snmpinfo.dat 87
3: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/discovery/. 65
4: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/discovery/idu 67
1: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/discovery/idu/.. 70
2: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/discovery/idu/feature-mapping.xml 87
3: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/discovery/idu/idu-mapping.xml 83
4: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/discovery/idu/. 69
3: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/kernel 60
1: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/kernel/.. 63
2: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/kernel/tg 63
1: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/kernel/tg/.. 66
2: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/kernel/tg/ASNLP00000211ks 79
3: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/kernel/tg/aesencryption.properties 88
4: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/kernel/tg/proxyconfig.config.update 89
5: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/kernel/tg/aesnewencryption.properties 91
6: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/kernel/tg/tg.properties 77
7: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/kernel/tg/encryption.properties 85
8: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/kernel/tg/connectivity_service_feature_mapping.properties 111
9: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/kernel/tg/. 65
10: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/kernel/tg/desencryption.properties 88
11: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/kernel/tg/proxyconfig.properties 86
12: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/kernel/tg/distlist 72
13: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/kernel/tg/datatransfer.properties 87
3: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/kernel/snmp 65
1: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/kernel/snmp/.. 68
2: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/kernel/snmp/. 67
3: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/kernel/snmp/snmponjava.properties 87
4: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/kernel/snmp/snmp_physical_address_oids.txt 96
5: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/kernel/snmp/snmpinfo.dat 78
4: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/kernel/. 62
5: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/kernel/osnames 68
1: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/kernel/osnames/.. 71
2: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/kernel/osnames/replacement_os_names_mapping.txt 101
3: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/kernel/osnames/. 70
4: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/. 55
5: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/server 60
1: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/server/.. 63
2: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/server/tranport_mapping.properties 88
3: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/server/. 62
4: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/server/syslogparser 73
1: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/server/sysNumber of arguments = 2
Argument array2: [/opt/cisco/ss/adminshell/applications/CSPC/ppm/cspc_cp_2.7.3.2_Build3_linux.zip, apply]
Number of arguments to the class 'com.pari.patch.PatchMain is 1
ARGS[0] =/opt/cisco/ss/adminshell/applications/CSPC/ppm/cspc_cp_2.7.3.2_Build3_linux.zip
ARGS[1] =apply
server/kernel/server.jar .. unpacked
catalog.xml .. unpacked
patch.xml .. unpacked
PASSED BASE DIR = /opt/cisco/ss/adminshell/applications/CSPC/ppm/bin/../patches/cspc_cp_2.7.3.2
BASE DIR = /opt/cisco/ss/adminshell/applications/CSPC/ppm/patches/cspc_cp_2.7.3.2
----End of init----
----Begining of setProperties----
----End of setProperties----
----Begining of runTarget----
----log file location :/opt/cisco/ss/adminshell/applications/CSPC/logs/ppm_logging_cspc_cp_2732_1520963598972.log
----Please wait for few mins for installation to complete......
Getting process exit code
WARN |
Getting process exit code
INFO | Cspc Helper Server : Waiting to make sure that main process is started.............
INFO | Cspc Helper Server : Connection to main server established.
----End of runTarget----
logparser/.. 76
2: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/server/syslogparser/syslogparser.properties 97
3: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/server/syslogparser/. 75
4: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/server/syslogparser/ReadMe.txt 84
5: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/server/external_services.properties 89
6: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/server/mainserver 71
1: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/server/mainserver/.. 74
2: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/server/mainserver/helperlog4jconf.properties 98
3: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/server/mainserver/mainserver.properties 93
4: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/server/mainserver/. 73
7: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/server/datastore 70
8: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/server/tftp 65
1: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/server/tftp/.. 68
2: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/server/tftp/tftphost.properties 85
3: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/server/tftp/. 67
9: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/server/backup_resource_config.properties 94
10: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/server/appVisibilityConfig.properties 91
6: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/connectivity 66
1: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/connectivity/.. 69
2: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/connectivity/properties 77
1: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/connectivity/properties/.. 80
2: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/connectivity/properties/build.properties 94
3: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/connectivity/properties/. 79
4: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/connectivity/properties/messages_en_US.properties 103
5: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/connectivity/properties/pubsub.properties 95
3: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/connectivity/. 68
4: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/connectivity/resources 76
1: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/connectivity/resources/.. 79
2: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/connectivity/resources/. 78
7: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/applicationdiscovery 74
1: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/applicationdiscovery/appdiscovery_conf.xml 96
2: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/applicationdiscovery/.. 77
3: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/applicationdiscovery/. 76
8: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/sshserver 63
1: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/sshserver/ssh_server.properties 85
2: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/sshserver/.. 66
3: Directory Entry is /opt/cisco/ss/adminshell/applications/CSPC/resources/sshserver/. 65
Number of JVM Arguments 2:RETURN VALUE IS : 0
CSPC is upgraded to 2.7.3.2
Checking CSPC Service status
CSPC server started
Inside CSPC base install script
============================================================================
Started execution of post-install scripts in package sp-30.0.3-2-0-lnx64 ...
============================================================================
============================================================================
Finished execution of post-install scripts in package sp-30.0.3-2-0-lnx64 ...
============================================================================
jeos-30.0.4-0-lnx64.zip ==========
[Mon Mar 26 09:33:11 CDT 2018] Starting download operation
jeos-30.0.4-0-lnx64.zip ++++++++++++
~~~~~~~~
ASD-DOWNLOAD: Getting File details from the server
-==https://concsoweb-prd.cisco.com/lcmdownload/?dwnld_code=xhMnkw8Z-oGUCa0SF-5fpsoPHQD-_fY4L1TguMo0sQIuV3FwE5HcUw30rmt6tKY2e0lt_vjwoCmrsi5hvN0JaUmAfYTG_B8n9fBtWltEsDxCOpdmWwSNQ6Jm3uo-JSvNhrhRFUAq1enppVY0JpYWQW63DK--qx05GlirEaf_AwfoREQptiA-PHkpLNJorq8S&a...>>>>>
/opt/LCM/tmp/downloads/jeos-30.0.4-0-lnx64.zip~~~~~~~~~~~~~~~~~~
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
107 859 107 859 0 0 2560 0 --:--:-- --:--:-- --:--:-- 14316
ASD-DOWNLOAD: Removing temporary files...
sp-30.0.4-0-0-lnx64.zip ==========
[Mon Mar 26 09:33:12 CDT 2018] Starting download operation
sp-30.0.4-0-0-lnx64.zip ++++++++++++
~~~~~~~~
ASD-DOWNLOAD: Getting File details from the server
-==https://concsoweb-prd.cisco.com/lcmdownload/?dwnld_code=xhMnkw8Z-oGUCa0SF-5fpsoPHQD-_fY4L1TguMo0sQIuV3FwE5HcU4KLZ9Evon8ZkIjGesyhfCS0Uqw_H7hKZ2UdN892MYM1exFh6E01Nbj_783RH8mEN5mojZ_rREynGKMvCbjl4MDOQo0JiIwfSFVdpMSwpWa_sB01M7bieTROYL_vo2BOluz8ZGNtY7k9&a...>>>>>
/opt/LCM/tmp/downloads/sp-30.0.4-0-0-lnx64.zip~~~~~~~~~~~~~~~~~~
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
107 859 107 859 0 0 3215 0 --:--:-- --:--:-- --:--:-- 16519
ASD-DOWNLOAD: Removing temporary files...
[root@cspc ~]# env | grep proxy
[root@cspc ~]# ls -lart /opt/LCM/tmp/
total 1388188
-rw-r--r--. 1 casuser casusers 1001002317 Jan 16 15:29 sp-30.0.3-0-0-lnx64-package.zip
drwxr-xr-x. 9 casuser casusers 4096 Jan 16 15:55 ..
-rw-r-----. 1 casuser casusers 164225387 Feb 6 14:06 sp-30.0.3-1-0-lnx64-package.zip
-rw-r--r--. 1 root root 707093 Feb 7 08:45 sp-30.0.3-1-0-lnx64.zip
-rw-r-----. 1 casuser casusers 246380898 Mar 13 09:36 sp-30.0.3-2-0-lnx64-package.zip
-rw-r--r--. 1 root root 9158909 Mar 13 09:51 sp-30.0.3-2-0-lnx64.zip
drwxr-xr-x. 3 casuser casusers 4096 Mar 26 09:33 .
drwxr-x---. 2 casuser casusers 4096 Mar 26 09:33 downloads
[root@cspc ~]# ls -lart /opt/LCM/tmp/downloads/
total 16
drwxr-xr-x. 3 casuser casusers 4096 Mar 26 09:33 ..
-rw-r-----. 1 casuser casusers 859 Mar 26 09:33 jeos-30.0.4-0-lnx64.zip
drwxr-x---. 2 casuser casusers 4096 Mar 26 09:33 .
-rw-r-----. 1 casuser casusers 859 Mar 26 09:33 sp-30.0.4-0-0-lnx64.zip
[root@cspc ~]#
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide