Scenario 2: Switch with Only Active Supervisor Module

Use this information for a nondisruptive migration from the active Supervisor-1 Module to a Supervisor-4 Module in a switch that has only the active supervisor module installed.

About this task

Either there is no standby supervisor module, or the standby module is not in the HA-standby state.

Procedure

To migrate without disruption from a Supervisor-1 Module to a Supervisor-4 Module in a switch that has only the active supervisor module installed, complete the following steps.

  1. Use the show module command to view the active and standby supervisor modules.
    Note: In the following system message, Supervisor-1 Module is listed as Supervisor-4 Module.
    switch# show module
    
    
    Mod   Ports  Module-Type                            Mode                 Status
    ---   -----  -----------------------------------   ------------------   ----------
    1     48     1/10 Gbps Ethernet Module              DS-X9848-480K9      ok
    2     48     4/8/10/16 Gbps Advanced FC Module      DS-X9448-768K9      ok
    3     24     40 Gbps FCoE Module                    DS-X9824-960K9      ok
    4     48     4/8/16/32 Gbps Advanced FC Module      DS-X9648-1536K9     ok
    5     0      Supervisor-4 Module                    DS-X97-SF1-K9	active *
    7     34     1/10/40G IPS, 4/8/10/16G FC Module     DS-X9334-K9         ok
    8     48     4/8/16/32 Gbps Advanced FC Module      DS-X9648-1536K9     ok
    10    48     4/8/10/16 Gbps Advanced FC Module      DS-X9448-768K9      ok
    
    Mod      Sw          Hw
    ---   ---------    ------	
    1       8.4(1)       1.1
    2       8.4(1)       1.3
    3       8.4(1)       1.0
    4       8.4(1)       1.0
    5       8.4(1)       1.3
    6       8.4(1)       1.1
    7       8.4(1)       1.0
    8       8.4(1)       1.0
    10      8.4(1)       1.1
    
    
    Mod       MAC-Address(es)                         Serial-Num
    ---     --------------------------------------    ----------
    1       84-78-ac-1b-3d-58 to 84-78-ac-1b-3d-8b    JAF1718AAAD
    2       f4-cf-e2-7c-cd-30 to f4-cf-e2-7c-cd-33    JAE1847038X
    3       04-6c-9d-32-36-aa to 04-6c-9d-32-37-1b    JAE19330ASN
    4       00-76-86-bf-58-23 to 00-76-86-bf-58-57    JAE203901ZG
    5       9c-57-ad-fd-0d-cb to 9c-57-ad-fd-0d-dd    JAE194005JC
    6       e8-ed-f3-e5-9a-4d to e8-ed-f3-e5-9a-5f    JAE17440HVB
    7       00-da-55-a2-25-00 to 00-da-55-a2-25-0f    JAE195004XM
    8       74-86-0b-33-c6-70 to 74-86-0b-33-c6-a4    JAE213101Q3
    10      3c-0e-23-c5-53-d0 to 3c-0e-23-c5-53-d3    JAE180605X3
    
    Mod  Online Diag Status
    ---  ------------------
    1       Pass
    2       Pass
    3       Pass
    4       Pass
    5       Pass
    6       Pass
    7       Pass
    8       Pass
    10      Pass
    
    Xbar Ports     Module-Type        Model          Status
    ---  -----    ----------------    -------------  -------------- 
    1     0       Fabric Module 1     DS-X9710-FAB1   ok
    2     0       Fabric Module 1     DS-X9710-FAB1   ok
    3     0       Fabric Module 1     DS-X9710-FAB1   ok
    4     0       Fabric Module 1     DS-X9710-FAB1   ok
    5     0       Fabric Module 1     DS-X9710-FAB1   ok
    6     0       Fabric Module 1     DS-X9710-FAB1   ok
    
    Xbar    Sw       Hw
    ---    -----    ------
    1       NA       1.0
    2       NA       1.0
    3       NA       1.0
    4       NA       1.0
    5       NA       1.0
    6       NA       1.0
    
    Xbar   MAC-Address(es)       Serial-Num
    ---   ---------------       ----------------- 
    1       NA                   JAE222305VS
    2       NA                   JAE2217096X
    3       NA                   JAE222305V5
    4       NA                   JAE2217096L
    5       NA                   JAE2217096J
    6       NA                   JAE222305V8
    
  2. Ensure that the required space is available in the bootflash: directory for the image files to be copied using the dir bootflash: command. Use the delete bootflash: filename command to remove any unnecessary files.
  3. Copy the Supervisor-4 Module NX-OS kickstart and system images to the active supervisor module bootflash, using an FTP, TFTP, SCP, SFTP, or a USB flash drive.
    The Supervisor-4 images contain the string sf4 to identify them. Do not rename the images, use the standard image names.
    switch# copy
    tftp://tftpserver.cisco.com/MDS/m9700-sf4ek9-kickstart-mz.8.4.1.bin
    bootflash:m9700-sf4ek9-kickstart-mz.8.4.1.bin
    switch# copy tftp://tftpserver.cisco.com/MDS/m9700-sf4ek9-mz.8.4.1.bin
    bootflash:m9700-sf4ek9-mz.8.4.1.bin
  4. Initiate the migration process of the active Supervisor-1 Module, using the migrate sup kickstart <supervisor4-kickstart-image> system <supervisor4-system-image> command in global config mode.
    Note: The migrate sup kickstart <supervisor4-kickstart-image> system <supervisor4-system-image> command is supported on NX-OS Release 8.4(1) or later. Invalid command message is displayed, if this command is executed on other versions of NX-OS release.
    Note: This command will verify if the images are compatible with the current system and the kickstart images. If the images are not compatible, the following error message is displayed:
    ERROR !! Version of kickstart image provided (8.x.x) does not 
    match running version. 
    switch# configure terminal
    switch(config)# migrate sup kickstart m9700-sf4ek9-kickstart-mz.8.4.1.bin
    system m9700-sf4ek9-mz.8.4.1.bin
    
    Kickstart image file is /bootflash/m9700-sf4ek9-kickstart-mz.8.4.1.bin 
    System image file is /bootflash/m9700-sf4ek9-kickstart-mz.8.4.1.bin
    
  5. During the migration, enter y when prompted.
    Note: After this point, the migration process will be locked and you cannot cancel the migration process. The migrate sup kickstart <supervisor4-kickstart-image> system <supervisor4-system-image> command will then check if it has to initiate a single supervisor or dual supervisor migration process by checking if there a standby Supervisor-1 Module is installed in the switch.
    Note: In the following system message, Supervisor-1 Module is listed as Supervisor-4 Module.
    This will start the Supervisor-1 to Supervisor-4 migration. 
    Configuration will be locked until migration is complete.
    Do you wish to continue (y/n) [n] y
    

    The following syslog is displayed:

    <Tue Jun 25 15:06:56 2019> Starting migration, Please do not remove 
    any linecards or fabric cards until migration is complete
    
  6. Insert the new Supervisor-4 Module, as explained in Installing supervisor modules and Removing supervisor modules. When the Supervisor-4 Module is detected in the standby supervisor slot, a boot from a network (TFTP) server is initiated with the image that is provided by using the migrate sup kickstart <supervisor4-kickstart-image> system <supervisor4-system-image> command.
    Note: You have to insert the Supervisor-4 Module into the switch within a period of 30 minutes after initiating the migrate sup kickstart <supervisor4-kickstart-image> system <supervisor4-system-image> command. In case you have not inserted the Supervisor-4 Module within the 30 minutes after executing the command, you have to execute the command again and re-initiate the migration process.
    <Tue Jun 25 15:06:57 2019> Manual-boot is enabled for Standby Supervisor
    <Tue Jun 25 15:06:57 2019> Please insert Supervisor-4 in slot number: 
    6 within 30 minutes
    
    Note: After the Supervisor-4 Module is inserted in the slot, a timeout of 45 minutes is triggered for the Supervisor-4 Module to power up and come online. If the Supervisor-4 Module fails to power up and come online at the first attempt, a retry is initiated every 15 minutes. In case the Supervisor-4 Module fails to come online after three retries or 45 minutes, you have to remove the Supervisor-4 Module and restart the migration process by using the migrate sup kickstart <supervisor4-kickstart-image> system <supervisor4-system-image> command

    The following system message is displayed:

    <Tue Jun 25 15:08:07 2019> 
    Supervisor-4 detected in slot 6.
    <Tue Jun 25 15:08:12 2019> 
    Reloading standby. This might take up to 15 minutes. 
    Please wait..
    2019 Jun 25 15:08:13 switch %PLATFORM-2-PFM_STANDBY_MODULE_RESET_MIGRATION: 
    Reloading Standby Supervisor as part of Supervisor migration
    
  7. Wait for approximately 20 minutes for the new Supervisor-4 Module to come up in HA-standby state.

    The following messages are displayed on the active Supervisor-1 Module:

    <Tue Jun 25 15:10:13 2019> Standby supervisor not yet online. 
    This will take some time
    Please wait ...
    <Tue Jun 25 15:12:13 2019> Standby supervisor not yet online. 
    This will take some time
    Please wait ...
    2019 Jun 25 15:12:18 switch %SYSMGR-2-ACTIVE_LOWER_MEM_THAN_STANDBY: 
    Active supervisor in
    slot 5 is running with less memory than standby supervisor in slot 6
    2019 Jun 25 15:12:18 switch %USBHSD-STANDBY-2-MOUNT: logflash: online
    2019 Jun 25 15:12:18 switch %BOOTVAR-5-NEIGHBOR_UPDATE_AUTOCOPY: 
    auto-copy supported by 
    neighbor supervisor, starting...
    
    <Tue Jun 25 15:14:13 2019> Standby supervisor not yet online. 
    This will take some time. 
    Please wait ...
    2019 Jun 25 15:14:05 switch %PLATFORM-1-PFM_ALERT: 
    Disabling ejector based shutdown on sup 
    in slot 6
    <Tue Jun 25 15:14:13 2019> Standby supervisor not yet online. 
    This will take some time. Please wait ...
    
    Note: If you see the following failure message, ignore the message, the active Supervisor-1 Module will bring up the standby Supervisor-4 Module to HA-standby supervisor state in some time.
    2019 Jun 25 15:15:06 switch %SYSMGR-2-STANDBY_BOOT_FAILED: 
    Standby supervisor failed to boot up.
  8. System will automatically do a copy running-config to startup-config.

    The following message is displayed:

    <Tue Jun 25 15:15:33 2019> Saving configuration now. Please wait ... 
    [########################################] 100%
    Copy complete.
    /mnt/plog/migration.log:	2.91 kB	74.67 kB/s
    <Tue Jun 25 15:15:46 2019> Supervisor-1 will switchover to Supervisor-4 
    <Tue Jun 25 15:15:47 2019> Switchover is successful, 
    Supervisor-4 is now active
  9. Once the standby module comes online, a system switchover happens and the new Supervisor-4 Module becomes the current active supervisor. This process moves the Supervisor-4 Module from the HA-standby mode to active mode. The SSH/telnet session is disconnected during the switchover. You have to reconnect to the SSH/telnet session. Also, ensure that the console link and the management link are connected to the newly inserted Supervisor-4 Module.

    The following syslog message is displayed on the active Supervisor-4 Module:

    Supervisor-4 Module syslogs
    
    2019 Jun 25 15:15:47 switch %SYSMGR-2-HASWITCHOVER_PRE_START: 
    This supervisor is becoming 
    active (pre-start phase).
    2019 Jun 25 15:15:48 switch %SYSMGR-2-HASWITCHOVER_START: 
    Supervisor 6 is becoming active. 
    2019 Jun 25 15:15:48 switch %IPS-5-IPS_MGR_FEATURE_ENABLE: 
    Restore cond runtime ips:0 
    iscsi:0 fcip:0 iscsi-intf-vsan:0 ips-lc:1
    2019 Jun 25 15:15:48 switch %ASCII-CFG-6-INFORMATION: 
    Reading ACFG Runtime information 
    2019 Jun 25 15:15:48 switch %SYSMGR-2-SWITCHOVER_OVER: 
    Switchover completed.
    2019 Jun 25 15:15:48 switch %PLATFORM-1-PFM_ALERT: 
    Disabling ejector based shutdown on 
    sup in slot 6
    2019 Jun 25 15:15:50 switch %BOOTVAR-2-SUP_MIGRATION_CONFIG_STARTED: 
    Setting boot parameters for supervisor migration process. 
    It might take some time. 
    Please do not set any config parameters during this time.
    
    
    2019 Jun 25 15:15:52 switch %PLATFORM-2-SUP_UNSUPPORTED: 
    Unsupported card detected in 
    supervisor slot 5 powered down
    2019 Jun 25 15:15:52 switch %PLATFORM-2-MOD_PWRDN: 
    Module 5 powered down (Serial number )
    2019 Jun 25 15:15:52 switch %PLATFORM-5-MOD_STATUS: 
    Module 5 current-status is 
    MOD_STATUS_CONFIGPOWERED_DOWN
    2019 Jun 25 15:15:53 switch %PLATFORM-5-MOD_STATUS: 
    Module 5 current-status is 
    MOD_STATUS_POWERED_DOWN
    
    Note: The old active Supervisor-1 Module will be powered down. The supervisor Status LED will be blinking red, when the supervisor module is powered down by the migration command. If the Status LED is not blinking red, then check the migration status using the show logging onboard migration status command on any management session.
  10. After the successful completion of the system switchover, the following syslog message is displayed:
    2019 Jun 25 15:16:39 switch %BOOTVAR-2-SUP_MIGRATION_CONFIG_COMPLETE: 
    Migration process is complete now. 
    Supervisor-3 in standby slot can now be replaced with Supervisor-4.
    2019 Jun 25 15:18:00 switch %SYSMGR-2-SBY_SUP_LESS_MEMORY_SLOT: 
    Supervisor in slot 6 is running with less memory than 
    active supervisor in slot 5
    2019 Jun 25 15:18:00 switch %SYSMGR-2-CONVERT_STARTUP_ABORTED: 
    Conversion of startup-config failed.
    2019 Jun 25 15:18:00 switch %PLATFORM-2-MOD_PWRDN: Module 6 powered down 
    (Serial number JAE17440HVB)
    2019 Jun 25 15:18:00 switch %PLATFORM-5-MOD_STATUS: 
    Module 6 current-status is 
    MOD_STATUS_CONFIGPOWERED_DOWN
    2019 Jun 25 15:18:00 switch %PLATFORM-5-MOD_STATUS: 
    Module 6 current-status is 
    MOD_STATUS_POWERED_DOWN
    2019 Jun 25 15:18:00 switch %PLATFORM-2-MOD_REMOVE: 
    Module 6 removed (Serial number JAE17440HVB)
    
    Warning: A mix of different Supervisor-4 Modules and Supervisor-1 Modules outside a maintenance window is not supported. This mix of modules is supported only while you are migrating from a Supervisor-1 Module to a Supervisor-4 Module.
  11. After the switchover to the Supervisor-4 Module is completed, the boot parameters are set for the supervisor migration process. Do not set any configuration parameters until the boot parameters are set. After the boot parameters are set, the migration process is complete. Use the show boot command to display the current boot variables and the show module command to display the modules installed in the switch.
    Supervisor-4 module outputs 
    
    switch# show boot
    
    kickstart variable = bootflash:/m9700-sf4ek9-kickstart-mz.8.4.1.bin 
    system variable = bootflash:/m9700-sf4ek9-mz.8.4.1.bin
    Boot POAP Disabled
    
    
    switch# show module
    
    Mod Ports  Module-Type	                    Model	      Status
    --- -----  -----------------------------------  ----------------- ----------
    1   48     4/8/16/32 Gbps Advanced FC Module    DS-X9648-1536K9    ok
    2   48     4/8/16/32 Gbps Advanced FC Module    DS-X9648-1536K9    ok
    3   48     4/8/10/16 Gbps Advanced FC Module    DS-X9448-768K9     ok
    4   48     4/8/16/32 Gbps Advanced FC Module    DS-X9648-1536K9    ok
    5   0      Supervisor Module-1                  DS-X97-SF1-K9      powered-dn
    6   0      Supervisor Module-4                  DS-X97-SF4-K9      active *
    7   48     4/8/10/16 Gbps Advanced FC Module    DS-X9448-768K9     ok
    8   48     1/10 Gbps Ethernet Module            DS-X9848-480K9     ok
    10  34     1/10/40G IPS, 4/8/10/16G FC Module   DS-X9334-K9        ok
    
    Mod  Power-Status  Reason
    ---  ------------  ---------------------------
    6    powered-dn    Policy trigger initiated reset: 
                       Stdby has lower mem than active
    
    Mod    Sw        Hw
    ---    -------  -------	
    1       8.4(1)   1.1
    2       8.4(1)   1.3
    3       8.4(1)   1.0
    4       8.4(1)   1.0
    5       8.4(1)   1.0
    6       8.4(1)   1.1
    7       8.4(1)   1.0
    8       8.4(1)   1.0
    10      8.4(1)   1.1
    
    Mod    MAC-Address(es)                            Serial-Num
    ---    --------------------------------------     ----------
    1      84-78-ac-1b-3d-58 to 84-78-ac-1b-3d-8b     JAF1718AAAD
    2      f4-cf-e2-7c-cd-30 to f4-cf-e2-7c-cd-33     JAE1847038X
    3      04-6c-9d-32-36-aa to 04-6c-9d-32-37-1b     JAE19330ASN
    4      00-76-86-bf-58-23 to 00-76-86-bf-58-57     JAE203901ZG
    5      00-2f-5c-fc-54-0a to 00-2f-5c-fc-54-1d     JAE22440CB1
    6      00-00-00-00-00-00 to 00-00-00-00-00-00     NA
    7      00-da-55-a2-25-00 to 00-da-55-a2-25-0f     JAE195004XM
    8      74-86-0b-33-c6-70 to 74-86-0b-33-c6-a4     JAE213101Q3
    10     3c-0e-23-c5-53-d0 to 3c-0e-23-c5-53-d3     JAE180605X3
    
    Mod  Online Diag Status
    ---  ------------------
    1       Pass
    2       Pass
    3       Pass
    4       Pass
    5       Pass
    7       Pass
    8       Pass
    10      Pass
    
    Xbar   Ports     Module-Type          Model             Status
    ----   -----    -----------------    --------------    ----------
    1       0       Fabric Module 1       DS-X9710-FAB1      ok
    2       0       Fabric Module 1       DS-X9710-FAB1      ok
    3       0       Fabric Module 1       DS-X9710-FAB1      ok
    4       0       Fabric Module 1       DS-X9710-FAB1      ok
    5       0       Fabric Module 1       DS-X9710-FAB1      ok
    6       0       Fabric Module 1       DS-X9710-FAB1      ok
    
    Xbar    Sw      Hw
    ---    -----   -------
    1       NA      1.0
    2       NA      1.0
    3       NA      1.0
    4       NA      1.0
    5       NA      1.0
    6       NA      1.0
    
    Xbar  MAC-Address(es)      Serial-Num
    ---   ----------------    ----------------- 
    1       NA                 JAE222305VS
    2       NA                 JAE2217096X
    3       NA                 JAE222305V5
    4       NA                 JAE2217096L
    5       NA                 JAE2217096J
    6       NA                 JAE222305V8
    
    
  12. Reinstall the license files on the new Supervisor-4 Module.
    switch(config)# 
       copy usb1:licenses_archive_file_name.tar bootflash:switch_license.tar
    
    Copy progress 100% 10KB
    Copy complete, now saving to disk (please wait)...
    
    switch(config)# 
       copy bootflash:switch_license.tar bootflash:switch_license.lic
    
    Copy progress 100% 10KB
    Copy complete, now saving to disk (please wait)... 
    switch(config)# install license bootflash:switch_license.lic 
    Installing license ...........................done
    
    switch# show license usage
    Feature          Ins         Lic      Status      Expiry Date       Comments 
                     Count
    -------------- ----------- --------- ------------ ---------------- -------------
    IOA_X9334          No          0      In use                        Grace 115D 2H
    FM_SERVER_PKG      No          -      Unused                        -
    MAINFRAME_PKG      No          -      Unused                        -
    ENTERPRISE_PKG     Yes         -      Unused        never           -
    SAN_ANALYTICS_PKG  No          -      In use                       Grace 119D 20H
    SAN_TELEMETRY_PKG  No          -      Unused                       Grace 109D 1H
    
    
  13. (Optional) If the standby Supervisor-1 Module is not in the powered down state, then put the standby Supervisor-1 Module to out of service, using the out-of-service module slot command .

    Where a slot indicates the chassis slot number in which the standby supervisor module resides.

    switch(config)# out-of-service module 6

    Refer the Verification to verify that the Supervisor-1 Module configurations are successfully applied to the Supervisor-4 Module.

    To view the inventory information for modules from the DCNM Web UI, select Inventory > View > Modules. The Modules window is displayed with a list of all the switches and its details for a selected scope.

    For more information, see the DCNM SAN Management Configuration Guide.

What to do next

Migrate the Crossbar Fabric-1 Switching Modules to Crossbar Fabric-3 Switching Modules. For more information, see the Nondisruptive migration from crossbar fabric-1 switching modules to crossbar fabric-3 switching modules

.