fpd auto-upgrade enable on ASR9K (ASR9910) e verifica

Home » Blog » Application » clustering and upgrade hw-sw » router » fpd auto-upgrade enable on ASR9K (ASR9910) e verifica

fpd auto-upgrade enable on ASR9K (ASR9910) e verifica

20.09 2020 | by massimiliano

fpd auto-upgrade enable on ASR9K (ASR9910) e verifica   Dalla release 6xx verso versioni successive è possibile utilizzare la configurazione […]



fpd auto-upgrade enable on ASR9K (ASR9910) e verifica

 

Dalla release 6xx verso versioni successive è possibile utilizzare la configurazione fpd auto-upgrade enable on ASR9K

Nel mio caso passo dalla versione 6.5.3 alla 7.0.2

 

In ADMIN Status eseguire

 

sysadmin-vm:0_RP0# config t 

sysadmin-vm:0_RP0(config)# fpd auto-upgrade enable

sysadmin-vm:0_RP0(config)# commit

 

e procedere con l’upgrade software secondo i seguenti step:

 

  • Verifica preliminare versione software:
  • Show version
  • Show install repository
  • Show install active
  • inserimento harddisk on usb RSP0 con package + smu

RP/0/RSP0/CPU0:router#RP/0/RSP0/CPU0:Jul 22 15:06:26.446 CEST: usb_disk[66085]: %OS-SYSLOG-6-LOG_INFO : mounted device to /disk2:

  • copy disk:2 harddisk:

Source filename [/disk2:]?asr9k*

Destination directory [/harddisk:]?

Copy disk2:/asr9k-9000v-nV-x64-1.0.0.0-r702.x86_64.rpm to harddiska:/asr9k-9000v-nV-x64-1.0.0.0-r702.x86_64.rpm[confirm]

CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

 

Idem per le altre package + smu

       Copy operation success

In caso di successo dello step sopra si procede con la procedura di installazione del nuovo package+smu attraverso il seguente comando:

 

  • install add source harddisk: asr9k-9000v-nV$

Tue Jul 28 09:42:51.705 UTC

Jul 28 09:42:53 Install operation 38 started by cisco:

install add source harddisk: asr9k-9000v-nV-x64-1.0.0.0-r702.x86_64.rpm asr9k-bng-x64-1.0.0.0-r702.x86_64.rpm asr9k-eigrp-x64-1.0.0.0-r702.x86_64.rpm asr9k-isis-x64-1.2.0.0-r702.x86_64.rpm asr9k-k9sec-x64-2.1.0.0-r702.x86_64.rpm asr9k-li-x64-1.1.0.0-r702.x86_64.rpm asr9k-m2m-x64-2.0.0.0-r702.x86_64.rpm asr9k-mcast-x64-2.0.0.0-r702.x86_64.rpm asr9k-mgbl-x64-2.0.0.0-r702.x86_64.rpm asr9k-mini-x64-7.0.2.iso asr9k-mpls-te-rsvp-x64-2.1.0.0-r702.x86_64.rpm asr9k-mpls-x64-2.0.0.0-r702.x86_64.rpm asr9k-optic-x64-1.0.0.0-r702.x86_64.rpm asr9k-ospf-x64-1.0.0.0-r702.x86_64.rpm asr9k-services-x64-1.0.0.0-r702.x86_64.rpm

Jul 28 09:42:54 Install operation will continue in the background

RP/0/RSP0/CPU0:router#Jul 28 09:44:18 Install operation 38 finished successfully

RP/0/RSP0/CPU0:Jul 28 09:44:18.432 UTC: sdr_instmgr[1215]: %INSTALL-INSTMGR-2-OPERATION_SUCCESS : Install operation 38 finished successfully

 

 

  • show install log 38

Tue Jul 28 09:45:10.084 UTC

Jul 28 09:42:53 Install operation 38 started by cisco:

install add source harddisk: asr9k-9000v-nV-x64-1.0.0.0-r702.x86_64.rpm asr9k-bng-x64-1.0.0.0-r702.x86_64.rpm asr9k-eigrp-x64-1.0.0.0-r702.x86_64.rpm asr9k-isis-x64-1.2.0.0-r702.x86_64.rpm asr9k-k9sec-x64-2.1.0.0-r702.x86_64.rpm asr9k-li-x64-1.1.0.0-r702.x86_64.rpm asr9k-m2m-x64-2.0.0.0-r702.x86_64.rpm asr9k-mcast-x64-2.0.0.0-r702.x86_64.rpm asr9k-mgbl-x64-2.0.0.0-r702.x86_64.rpm asr9k-mini-x64-7.0.2.iso asr9k-mpls-te-rsvp-x64-2.1.0.0-r702.x86_64.rpm asr9k-mpls-x64-2.0.0.0-r702.x86_64.rpm asr9k-optic-x64-1.0.0.0-r702.x86_64.rpm asr9k-ospf-x64-1.0.0.0-r702.x86_64.rpm asr9k-services-x64-1.0.0.0-r702.x86_64.rpm

Jul 28 09:42:54 Action 1: install add action started

Jul 28 09:42:54 Install operation will continue in the background

Jul 28 09:44:16 Packages skipped as they are already in the repository:

Jul 28 09:44:16     asr9k-9000v-nV-x64-1.0.0.0-r702.x86_64

Jul 28 09:44:16     asr9k-bng-x64-1.0.0.0-r702.x86_64

Jul 28 09:44:16     asr9k-eigrp-x64-1.0.0.0-r702.x86_64

Jul 28 09:44:16     asr9k-isis-x64-1.2.0.0-r702.x86_64

Jul 28 09:44:16     asr9k-mini-x64-7.0.2

Jul 28 09:44:16     asr9k-optic-x64-1.0.0.0-r702.x86_64

Jul 28 09:44:16 Packages added:

Jul 28 09:44:16     asr9k-k9sec-x64-2.1.0.0-r702.x86_64

Jul 28 09:44:16     asr9k-li-x64-1.1.0.0-r702.x86_64

Jul 28 09:44:16     asr9k-m2m-x64-2.0.0.0-r702.x86_64

Jul 28 09:44:16     asr9k-mcast-x64-2.0.0.0-r702.x86_64

Jul 28 09:44:16     asr9k-mgbl-x64-2.0.0.0-r702.x86_64

Jul 28 09:44:16     asr9k-mpls-te-rsvp-x64-2.1.0.0-r702.x86_64

Jul 28 09:44:17     asr9k-mpls-x64-2.0.0.0-r702.x86_64

Jul 28 09:44:17     asr9k-ospf-x64-1.0.0.0-r702.x86_64

Jul 28 09:44:17     asr9k-services-x64-1.0.0.0-r702.x86_64

Jul 28 09:44:17 Action 1: install add action completed successfully

Jul 28 09:44:18 Install operation 38 finished successfully

Jul 28 09:44:18 Ending operation 38

 

 

  • install prepare id 38 #                 L’ID è un identificativo creato in modo dinamico dal router

Tue Jul 28 09:45:45.527 UTC

Jul 28 09:45:46 Install operation 39 started by cisco:

 install prepare id 38

Jul 28 09:45:46 Package list:

Jul 28 09:45:46     asr9k-9000v-nV-x64-1.0.0.0-r702.x86_64

Jul 28 09:45:46     asr9k-bng-x64-1.0.0.0-r702.x86_64

Jul 28 09:45:46     asr9k-eigrp-x64-1.0.0.0-r702.x86_64

Jul 28 09:45:46     asr9k-isis-x64-1.2.0.0-r702.x86_64

Jul 28 09:45:47     asr9k-mini-x64-7.0.2

Jul 28 09:45:47     asr9k-optic-x64-1.0.0.0-r702.x86_64

Jul 28 09:45:47     asr9k-k9sec-x64-2.1.0.0-r702.x86_64

Jul 28 09:45:47     asr9k-li-x64-1.1.0.0-r702.x86_64

Jul 28 09:45:47     asr9k-m2m-x64-2.0.0.0-r702.x86_64

Jul 28 09:45:47     asr9k-mcast-x64-2.0.0.0-r702.x86_64

Jul 28 09:45:47     asr9k-mgbl-x64-2.0.0.0-r702.x86_64

Jul 28 09:45:47     asr9k-mpls-te-rsvp-x64-2.1.0.0-r702.x86_64

Jul 28 09:45:47     asr9k-mpls-x64-2.0.0.0-r702.x86_64

Jul 28 09:45:47     asr9k-ospf-x64-1.0.0.0-r702.x86_64

Jul 28 09:45:47     asr9k-services-x64-1.0.0.0-r702.x86_64

This install operation will reload the system, continue?

 [yes/no]:[yes] yes

Jul 28 09:45:52 Install operation will continue in the background

 

 

NOTA: in caso di errore il router ci avverte con un log abbastanza significativo quale:

Only “install prepare clean” operation or “install activate” operation with no package specified are allowed.

 

RP/0/RSP0/CPU0:router#install activate

Tue Sep 8 13:29:18.700 UTC

Sep 08 13:29:20 Install operation 18 started by Root:

 install activate

This install operation will reload the system, continue? [yes/no]:[yes] yes

Sep 08 13:29:25 Install operation will continue in the background RP/0/RSP0/CPU0:router#

 

 

RP/0/RSP0/CPU0:router#install commit

RP/0/RSP0/CPU0:router#install remove inactive

 

 

 

Con il comando di FPD AUTO_UPGRADE INIZIALE il router ci mostra una sequenza di log come questi e ci permette di evitare cosi di seguito un eventuale upgrade FPD manuale:

 

RP/0/RSP0/CPU0:router#0/0/ADMIN0:Sep  8 13:30:59.861 UTC: fpd_agent[3537]: %INFRA-FPD_Driver-1-UPGRADE_ALERT : FPD Primary-BIOS@0/0 image programming completed with UPGRADE DONE state Info: [image from 18.27 to 18.30 version.]

0/0/ADMIN0:Sep  8 13:30:59.861 UTC: fpd_agent[3537]: %INFRA-FPD_Driver-1-UPGRADE_ALERT : FPD Primary-BIOS @location 0/0 upgrade completed.

0/1/ADMIN0:Sep  8 13:31:03.393 UTC: fpd_agent[3402]: %INFRA-FPD_Driver-1-UPGRADE_ALERT : FPD Primary-BIOS @0/1 image programming completed with UPGRADE DONE state Info: [image from 18.27 to 18.30 version.]

0/1/ADMIN0:Sep  8 13:31:03.395 UTC: fpd_agent[3402]: %INFRA-FPD_Driver-1-UPGRADE_ALERT : FPD Primary-BIOS @location 0/1 upgrade completed.

0/RSP0/ADMIN0:Sep  8 13:31:04.934 UTC: fpd_agent[3776]: %INFRA-FPD_Driver-1-UPGRADE_ALERT : FPD Primary-BIOS @0/RSP0 image programming completed with UPGRADE DONE state Info: [image from 31.21 to 31.34 version.]

0/RSP0/ADMIN0:Sep  8 13:31:04.935 UTC: fpd_agent[3776]: %INFRA-FPD_Driver-1-UPGRADE_ALERT : FPD Primary-BIOS @location 0/RSP0 upgrade completed.

0/RSP1/ADMIN0:Sep  8 13:31:05.293 UTC: fpd_agent[3857]: %INFRA-FPD_Driver-1-UPGRADE_ALERT : FPD Primary-BIOS @0/RSP1 image programming completed with UPGRADE DONE state Info: [image from 31.21 to 31.34 version.]

0/RSP1/ADMIN0:Sep  8 13:31:05.293 UTC: fpd_agent[3857]: %INFRA-FPD_Driver-1-UPGRADE_ALERT : FPD Primary-BIOS @location 0/RSP1 upgrade completed.

0/0/ADMIN0:Sep  8 13:31:19.454 UTC: fpd_agent[3537]: %INFRA-FPD_Driver-1-UPGRADE_ALERT : FPD IPU-Linux @0/0 image programming completed with UPGRADE DONE state Info: [image from 1.110 to 1.113 version. Please make sure all 3 IPU’s upgraded to latest before reload]

0/0/ADMIN0:Sep  8 13:31:19.455 UTC: fpd_agent[3537]: %INFRA-FPD_Driver-1-UPGRADE_ALERT : FPD IPU-Linux @location 0/0 upgrade completed.

0/RSP0/ADMIN0:Sep  8 13:31:20.640 UTC: fpd_agent[3776]: %INFRA-FPD_Driver-1-UPGRADE_ALERT : FPD Zenith-FPGA @0/RSP0 image programming completed with UPGRADE DONE state Info: [image from 0.7 to 0.9 version.]

0/RSP0/ADMIN0:Sep  8 13:31:20.640 UTC: fpd_agent[3776]: %INFRA-FPD_Driver-1-UPGRADE_ALERT : FPD Zenith-FPGA @location 0/RSP0 upgrade completed.

0/RSP1/ADMIN0:Sep  8 13:31:21.255 UTC: fpd_agent[3857]: %INFRA-FPD_Driver-1-UPGRADE_ALERT : FPD Zenith-FPGA @0/RSP1 image programming completed with UPGRADE DONE state Info: [image from 0.7 to 0.9 version.]

0/RSP1/ADMIN0:Sep  8 13:31:21.256 UTC: fpd_agent[3857]: %INFRA-FPD_Driver-1-UPGRADE_ALERT : FPD Zenith-FPGA @location 0/RSP1 upgrade completed.

0/RSP1/ADMIN0:Sep  8 13:31:22.747 UTC: fpd_agent[3857]: %INFRA-FPD_Driver-1-UPGRADE_ALERT : FPD Orion-FPGA @0/RSP1 image programming completed with UPGRADE DONE state Info: [image from 0.22 to 0.23 version.]

0/RSP1/ADMIN0:Sep  8 13:31:22.748 UTC: fpd_agent[3857]: %INFRA-FPD_Driver-1-UPGRADE_ALERT : FPD Orion-FPGA @location 0/RSP1 upgrade completed.

0/1/ADMIN0:Sep  8 13:31:22.833 UTC: fpd_agent[3402]: %INFRA-FPD_Driver-1-UPGRADE_ALERT : FPD IPU-Linux @0/1 image programming completed with UPGRADE DONE state Info: [image from 1.110 to 1.113 version. Please make sure all 3 IPU’s upgraded to latest before reload]

0/1/ADMIN0:Sep  8 13:31:22.835 UTC: fpd_agent[3402]: %INFRA-FPD_Driver-1-UPGRADE_ALERT : FPD IPU-Linux @location 0/1 upgrade completed.

0/RSP0/ADMIN0:Sep  8 13:31:23.137 UTC: fpd_agent[3776]: %INFRA-FPD_Driver-1-UPGRADE_ALERT : FPD Orion-FPGA @0/RSP0 image programming completed with UPGRADE DONE state Info: [image from 0.22 to 0.23 version.]

0/RSP0/ADMIN0:Sep  8 13:31:23.137 UTC: fpd_agent[3776]: %INFRA-FPD_Driver-1-UPGRADE_ALERT : FPD Orion-FPGA @location 0/RSP0 upgrade completed.

 RP/0/RSP0/CPU0:router#                              

0/RSP1/ADMIN0:Sep  8 13:34:05.248 UTC: fpd_agent[3857]: %INFRA-FPD_Driver-1-UPGRADE_ALERT : FPD IPU-DDR4 @0/RSP1 image programming completed with UPGRADE DONE state Info: [image from 0.18 to 0.19 version.]

0/RSP1/ADMIN0:Sep  8 13:34:05.249 UTC: fpd_agent[3857]: %INFRA-FPD_Driver-1-UPGRADE_ALERT : FPD IPU-DDR4 @location 0/RSP1 upgrade completed.

0/RSP0/ADMIN0:Sep  8 13:34:06.636 UTC: fpd_agent[3776]: %INFRA-FPD_Driver-1-UPGRADE_ALERT : FPD IPU-DDR4 @0/RSP0 image programming completed with UPGRADE DONE state Info: [image from 0.18 to 0.19 version.]

0/RSP0/ADMIN0:Sep  8 13:34:06.637 UTC: fpd_agent[3776]: %INFRA-FPD_Driver-1-UPGRADE_ALERT : FPD IPU-DDR4 @location 0/RSP0 upgrade completed.

 

RP/0/RSP0/CPU0:router#Sep 08 13:35:58 Some config lost as part of current operation

Sep 08 13:35:58 To see lost config use cli: “show configuration removed 20191127164225.cfg”

Sep 08 13:35:58 To load lost config use cli: “load configuration removed 20191127164225.cfg”

Sep 08 13:36:00 Install operation 18 finished successfully

 

RP/0/RSP0/CPU0:Sep  8 13:36:00.209 UTC: sdr_instmgr[1215]: %INSTALL-INSTMGR-2-OPERATION_SUCCESS : Install operation 18 finished successfully

RP/0/RSP0/CPU0:Sep  8 13:36:00.210 UTC: sdr_instmgr[1215]: %INSTALL-INSTMGR-2-SYSTEM_RELOAD_INFO : The whole system will be reloaded to complete install operation 18

 

Preparing system for backup. This may take a few minutes especially for large configurations.

        Status report: node0_RSP0_CPU0: BACKUP INPROGRESS

0/RSP1/ADMIN0:Sep  8 13:37:02.976 UTC: vm_manager[3885]: %INFRA-VM_MANAGER-4-INFO : Info: vm_manager brought down VM default-sdr–1

        Status report: node0_RSP0_CPU0: BACKUP HAS COMPLETED SUCCESSFULLY

[Done]

RP/0/RSP0/CPU0:Sep  8 13:37:04.875 UTC: rmf_svr[382]: %PKT_INFRA-FM-3-FAULT_MAJOR : ALARM_MAJOR :RP-RED-LOST-ADMINNR :DECLARE :0/RSP0/CPU0:

 

Il risultato finale ci deve portare ad avere una condizione in cui tutti i device package aggiornati alla release 7.0.2 con i package FPD nella condizione di CURRENT.

 

Esempio di verifica si ottiene attraverso il seguente comando:

 

RP/0/RSP0/CPU0:router#show hw-module fpd

Tue Aug  4 07:37:34.083 UTC

                                                               FPD Versions

                                                               =================

Location   Card type             HWver FPD device       ATR Status   Running Programd

—————————————————————————————————————

 

 

 

 

 

 

 

 

 

 

 

 

 

Torna in alto