cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
10453
Views
5
Helpful
22
Replies

Upgrade cisco prime 3.4 to 3.7

Nadia Bbz
Level 1
Level 1

Dear Team ;

 

i'm looking for any experience , upgrading PI3.4 to PI 3.7 (Physical Appliance)

what the best recommendation to do it , it's the first time that i do it

anyone here has done this upgrade , any suggestion 

Thanks in advance

1 Accepted Solution

Accepted Solutions

 

 - It must be hampering the upgrade and is located somewhere ; to find out - become root on  the appliance as was also shown to remove the logwatch files, then run the command, as root updatedb. Then use the locate command followed by one of the long-backup-filenames to find their 'native-linux-location' on the appliance , then you also have the option to transfer/remove them from the appliance which simpler means such as ftp and or scp.  rm command can then be used to remove them from the particular directory.

 M.



-- ' 'Good body every evening' ' this sentence was once spotted on a logo at the entrance of a Weight Watchers Club !

View solution in original post

22 Replies 22

balaji.bandi
Hall of Fame
Hall of Fame

PI 3.4 to 3.7 straight upgrade. is this HA or standalone?

 

check the checklist :

1. take the complete back up and store out of the box.

2. Make sure read the release notes :

https://www.cisco.com/c/en/us/td/docs/net_mgmt/prime/infrastructure/3-7/release/notes/bk_Cisco_Prime_Infrastructure_3_7_0_Release_Notes.html

 

3.- Make sure you check the device matrix compatibility and upgrade guide.

 

https://www.cisco.com/c/en/us/td/docs/net_mgmt/prime/infrastructure/3-7/quickstart/guide/bk_Cisco_Prime_Infrastructure_3_7_0_Quick_Start_Guide.html#con_1070125

 

it takes a long time and you need to have physical kit access.

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Leo Laohoo
Hall of Fame
Hall of Fame

The most "painless" method:  

  1. Backup all your data
  2. Stand up a new PI 3.7
  3. Patch-and-pack the new PI 3.7
  4. Import all the data

Nadia Bbz
Level 1
Level 1

Dear Team ;

thanks for all for your help

i start the upgrade but unfortunately i get this error

Initiating Application Upgrade...
Stage 1 of 7: Transferring file ...
-- complete.
Stage 2 of 7: Unpacking file ...
-- complete.
Stage 3 of 7: Executing pre-install ...

ERROR : Please run the application upgrade from the system console to
monitor upgrade progress. Use system monitor, serial terminal or a virtual console
to initiate the upgrade.

WARNING : It is strongly recommended to copy the latest backups to an
external repository before proceeding with the upgrade.

% Pre-install step failed. Please check the logs for more details.

 

2020-09-15T09:21:10.583411+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[245] [admin]: Install initiated with bundle - PI-Upgrade-31x_32x_33x_34x_to_3.7.0.0.159.tar
.gz, repo - defaultRepo
2020-09-15T09:21:10.619580+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[271] [admin]: Stage area - /storeddata/Installing/.1600158070
2020-09-15T09:21:10.620199+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[275] [admin]: Getting bundle to local machine
2020-09-15T09:21:10.620217+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: locks:file: lock.c[431] [admin]: Absolute path of the SemaFile: /tmp/adeos-repos-mgr.semafile
2020-09-15T09:21:10.620223+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: locks:file: lock.c[432] [admin]: Creating a non blocking exclusive lock on /tmp/adeos-repos-mgr.semafile
2020-09-15T09:21:10.620249+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: transfer: cars_xfer.c[68] [admin]: local copy in of PI-Upgrade-31x_32x_33x_34x_to_3.7.0.0.159.tar.gz requested
2020-09-15T09:21:18.941123+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[290] [admin]: Got bundle at - /storeddata/Installing/.1600158070/PI-Upgrade-31x_32x_33x_34x
_to_3.7.0.0.159.tar.gz
2020-09-15T09:21:18.941437+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[300] [admin]: Unbundling package PI-Upgrade-31x_32x_33x_34x_to_3.7.0.0.159.tar.gz
2020-09-15T09:23:11.413783+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[336] [admin]: Unbundling done. Verifying input parameters...
2020-09-15T09:23:11.413827+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[358] [admin]: Manifest file is at - /storeddata/Installing/.1600158070/manifest.xml
2020-09-15T09:23:11.414078+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[368] [admin]: Manifest file appname - NCS
2020-09-15T09:23:11.414300+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[462] [admin]: Manifest file pkgtype - CARS
2020-09-15T09:23:11.414346+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[474] [admin]: Verify dependency list -
2020-09-15T09:23:11.414389+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[486] [admin]: Verify app license -
2020-09-15T09:23:11.414435+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[496] [admin]: Verify app RPM's
2020-09-15T09:23:11.414477+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[504] [admin]: No of RPM's - 1
2020-09-15T09:23:11.414517+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[515] [admin]: Disk - 50
2020-09-15T09:23:11.414562+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install ci_util.c[325] [admin]: Disk requested = 51200 KB
2020-09-15T09:23:11.414697+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install ci_util.c[345] [admin]: More disk found Free = 1302122496, req_disk = 51200
2020-09-15T09:23:11.414733+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[526] [admin]: Mem requested by app - 300
2020-09-15T09:23:11.414777+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install ci_util.c[369] [admin]: Mem requested = 307200
2020-09-15T09:23:11.415155+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install ci_util.c[384] [admin]: Found MemFree = MemFree: 41429924 kB
2020-09-15T09:23:11.415199+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install ci_util.c[390] [admin]: Found MemFree value = 41429924
2020-09-15T09:23:11.415239+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install ci_util.c[393] [admin]: Found Inactive = Inactive: 8258560 kB
2020-09-15T09:23:11.415280+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install ci_util.c[399] [admin]: Found Inactive MemFree value = 8258560
2020-09-15T09:23:11.415349+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install ci_util.c[409] [admin]: Sufficient mem found
2020-09-15T09:23:11.415386+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install ci_util.c[415] [admin]: Done checking memory...
2020-09-15T09:23:11.415440+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[539] [admin]: Verifying preinstall zip...
2020-09-15T09:23:11.415489+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[548] [admin]: Verifying RPM's...
2020-09-15T09:23:11.415536+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[557] [admin]: Verifed all RPM's in bundle and manifest
2020-09-15T09:23:11.415572+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[560] [admin]: Verifying postinstall zip...
2020-09-15T09:23:11.415618+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[577] [admin]: Executing preinstall steps...
2020-09-15T09:23:11.424022+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[603] [admin]: Executing preinstall script preinstall.sh from preinstall.zip
2020-09-15T09:23:13.006838+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install cars_install.c[611] [admin]: App (NCS) Preinstall script preinstall.sh failed; /storeddata/Installing/.160
0158070/preinstall.sh: line 57: $OUTPUTFILE: ambiguous redirect#012/storeddata/Installing/.1600158070/preinstall.sh: line 58: $OUTPUTFILE: ambiguous redirect#012
2020-09-15T09:23:14.725188+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install install_cli.c[214] [admin]: error message: Pre-install step failed. Please check the logs for more details
.
2020-09-15T09:23:14.725202+01:00 SRP-01-PRIM010 debugd[2638]: [2976]: application:install install_cli.c[218] [admin]: Error while Installing - Application bundle: PI-Upgrade-31x_32x_33x_34x_to_3.7
.0.0.159.tar.gz Repository: defaultRepo ErrorCode: -635
2020-09-15T09:23:49.984661+01:00 SRP-01-PRIM010 debugd[2638]: [3079]: logging: logutils_cli.c[369] [admin]: Got cfg: Server localhost location /var/log/ade/ADE.log loglevel 6 islocal 1

 

 

 - Start by applying and or executing this advisory :

                Please run the application upgrade from the system console to.....

 M.



-- ' 'Good body every evening' ' this sentence was once spotted on a logo at the entrance of a Weight Watchers Club !

hi @marce1000 

i get the same issue when trying to upgrade  from console

 

 - Exactly which issue ?

  M.



-- ' 'Good body every evening' ' this sentence was once spotted on a logo at the entrance of a Weight Watchers Club !

@marce1000 

% Pre-install step failed. Please check the logs for more details.

2020-09-15T15:01:46.521432+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[245] [admin]: Install initiated with bundle - PI-Upgrade-31x_32x_33x_34x_to_3.7.0.0.159.ta
r.gz, repo - defaultRepo
2020-09-15T15:01:46.529175+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[271] [admin]: Stage area - /storeddata/Installing/.1600178506
2020-09-15T15:01:46.529207+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[275] [admin]: Getting bundle to local machine
2020-09-15T15:01:46.529306+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: locks:file: lock.c[431] [admin]: Absolute path of the SemaFile: /tmp/adeos-repos-mgr.semafile
2020-09-15T15:01:46.529340+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: locks:file: lock.c[432] [admin]: Creating a non blocking exclusive lock on /tmp/adeos-repos-mgr.semafile
2020-09-15T15:01:46.529580+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: transfer: cars_xfer.c[68] [admin]: local copy in of PI-Upgrade-31x_32x_33x_34x_to_3.7.0.0.159.tar.gz requested
2020-09-15T15:01:52.049063+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[290] [admin]: Got bundle at - /storeddata/Installing/.1600178506/PI-Upgrade-31x_32x_33x_34
x_to_3.7.0.0.159.tar.gz
2020-09-15T15:01:52.049087+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[300] [admin]: Unbundling package PI-Upgrade-31x_32x_33x_34x_to_3.7.0.0.159.tar.gz
2020-09-15T15:03:37.274412+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[336] [admin]: Unbundling done. Verifying input parameters...
2020-09-15T15:03:37.274463+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[358] [admin]: Manifest file is at - /storeddata/Installing/.1600178506/manifest.xml
2020-09-15T15:03:37.274720+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[368] [admin]: Manifest file appname - NCS
2020-09-15T15:03:37.274943+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[462] [admin]: Manifest file pkgtype - CARS
2020-09-15T15:03:37.274991+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[474] [admin]: Verify dependency list -
2020-09-15T15:03:37.275035+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[486] [admin]: Verify app license -
2020-09-15T15:03:37.275081+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[496] [admin]: Verify app RPM's
2020-09-15T15:03:37.275124+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[504] [admin]: No of RPM's - 1
2020-09-15T15:03:37.275163+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[515] [admin]: Disk - 50
2020-09-15T15:03:37.275210+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install ci_util.c[325] [admin]: Disk requested = 51200 KB
2020-09-15T15:03:37.275334+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install ci_util.c[345] [admin]: More disk found Free = 1302433792, req_disk = 51200
2020-09-15T15:03:37.275372+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[526] [admin]: Mem requested by app - 300
2020-09-15T15:03:37.275416+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install ci_util.c[369] [admin]: Mem requested = 307200
2020-09-15T15:03:37.275533+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install ci_util.c[384] [admin]: Found MemFree = MemFree: 41709132 kB
2020-09-15T15:03:37.275578+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install ci_util.c[390] [admin]: Found MemFree value = 41709132
2020-09-15T15:03:37.275619+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install ci_util.c[393] [admin]: Found Inactive = Inactive: 8022264 kB
2020-09-15T15:03:37.275668+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install ci_util.c[399] [admin]: Found Inactive MemFree value = 8022264
2020-09-15T15:03:37.275731+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install ci_util.c[409] [admin]: Sufficient mem found
2020-09-15T15:03:37.275801+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install ci_util.c[415] [admin]: Done checking memory...
2020-09-15T15:03:37.275839+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[539] [admin]: Verifying preinstall zip...
2020-09-15T15:03:37.275870+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[548] [admin]: Verifying RPM's...
2020-09-15T15:03:37.275900+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[557] [admin]: Verifed all RPM's in bundle and manifest
2020-09-15T15:03:37.275923+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[560] [admin]: Verifying postinstall zip...
2020-09-15T15:03:37.275952+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[577] [admin]: Executing preinstall steps...
2020-09-15T15:03:37.282882+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[603] [admin]: Executing preinstall script preinstall.sh from preinstall.zip
2020-09-15T15:03:38.724771+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install cars_install.c[611] [admin]: App (NCS) Preinstall script preinstall.sh failed; /storeddata/Installing/.16
00178506/preinstall.sh: line 57: $OUTPUTFILE: ambiguous redirect#012/storeddata/Installing/.1600178506/preinstall.sh: line 58: $OUTPUTFILE: ambiguous redirect#012
2020-09-15T15:03:40.445150+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install install_cli.c[214] [admin]: error message: Pre-install step failed. Please check the logs for more detail
s.
2020-09-15T15:03:40.445216+01:00 SRP-01-PRIM010 debugd[2638]: [27208]: application:install install_cli.c[218] [admin]: Error while Installing - Application bundle: PI-Upgrade-31x_32x_33x_34x_to_3.
7.0.0.159.tar.gz Repository: defaultRepo ErrorCode: -635
2020-09-15T15:03:57.739151+01:00 SRP-01-PRIM010 debugd[2638]: [27305]: logging: logutils_cli.c[530] [admin]: ADE Got cfg: Server localhost location /var/log/ade/ADE.log loglevel 6 islocal 1

 

 

 

 - As stated earlier by provided error message(s0 -> make sure  the upgrade is tried from the appliance console  2) make sure to stop Prime first with ncs stop  command before trying your  upgrade command.

 M.



-- ' 'Good body every evening' ' this sentence was once spotted on a logo at the entrance of a Weight Watchers Club !

@marce1000 

1) i was used the keyboard and monitor to access appliance

2) i type the command ncs stop

3) i type command application upgrade PI-Upgrade-31x_32x_33x_34x_to_3.7.0.0.159.tar.gz defaultRepo

 

unfortunately upgrade fails

 

 - Make sure that no disk partitions especially defaultRepo are nearly full , check with show disk command , if not have sanity reboot (also) and try again. But after reboot don't forget to issue ncs stop command first.

 M.



-- ' 'Good body every evening' ' this sentence was once spotted on a logo at the entrance of a Weight Watchers Club !

From ssh:

run ncs stop
ncs clean

it takes a while but clears this error. You will need to upload all the .GZ and .UBFs but, it works

 

Nadia Bbz
Level 1
Level 1

@marce1000 

thank you  for help

show disks
disk: 6% used (12942944 of 259255604)
temp. space 2% used (36372 of 2031952)

Internal filesystems:
  all internal filesystems have sufficient free space

also after reboot the upgrade fails

 

  - Make sure to logon as asmin (ssh) then issue the following :

 

shell

sudo su -

 

cd /var/cache/logwatch/

rm -rf logwatch.*

 

Afterwards, try again, 

M.



-- ' 'Good body every evening' ' this sentence was once spotted on a logo at the entrance of a Weight Watchers Club !

@marce1000 

 

After using this command the upgrade fails as show in attached

 

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: