Getting Started Guide for Cisco UCS E-Series Servers, Release 1.0
Recovering from Corrupt CIMC Firmware
Downloads: This chapterpdf (PDF - 475.0KB) The complete bookPDF (PDF - 3.66MB) | Feedback

Recovering from Corrupt CIMC Firmware

Recovering from Corrupt CIMC Firmware

This chapter includes the following sections:

CIMC Firmware Image Overview

The E-Series Server is shipped with two identical copies of the CIMC firmware image. You can choose from which image copy the E-Series Server should boot. The image copy from which the E-Series Server boots, is the current image and the other image copy is the backup image.

If you have problems booting the E-Series Server, it could be that the current CIMC firmware image is corrupted, or the SD card is faulty, or the CIMC firmware installation did not complete successfully. To recover from a corrupt CIMC firmware image, do one of the following as appropriate:

Booting the E-Series Server from the Backup Image

If the current CIMC firmware image is corrupted and you have a backup image, use that backup image to boot the E-Series Server.

Before You Begin
  • Depending on the type of E-Series Server, do one of the following as appropriate:
    • Double-wide—Connect one end of the Serial cable to the E-Series Server's Serial port and the other end to your PC.
    • Single-wide—First, connect a KVM connector to the E-Series Server's KVM port; and then connect one end of a Serial cable to the DB9 port of the KVM connector, and the other end to your PC.
  • To view the serial output, do one of the following as appropriate:
    • Microsoft Windows—Start Hyper Terminal.
    • Linux—Start Minicom.
  • Make sure that the communications settings are configured as: 9600 baud, 8 bits, No parity and 1 stop bit.

Procedure
      Command or Action Purpose
    Step 1 Router# hw-module sm slot oir-stop  

    Shuts down the power to the specified E-Series Server.

    Note   

    This command is only applicable for Cisco 3900 series routers. For all other routers, you must manually power cycle the router.

     
    Step 2 Router# hw-module sm slot oir-start  

    Restarts the specified E-Series Server.

    Note   

    This command is only applicable for Cisco 3900 series routers. For all other routers, you must manually power cycle the router.

     
    Step 3 ***
     

    From the Hyper Terminal or Minicom, enter the *** command to enter the bootloader prompt.

     
    Step 4 ucse-cimc > boot backup  

    Boots the E-Series Server from the backup image and the login prompt appears.

     
    Step 5 unknown login: admin  

    Enter admin for the username and if you have configured a password, enter that password, otherwise, enter the default password, which is password.

    The CIMC CLI appears.

     

    This example boots the E-Series Server from the backup image:

    Router# hw-module sm 2 oir-stop
    Router# hw-module sm 2 oir-start 
    
    ***
    
    ucse-cimc >  boot backup 
    unknown login: admin 
    password: password
       
    

    Recovering from Corrupted Current and Backup Images

    If both the current and the backup images are corrupted, use this procedure to recover the CIMC firmware image.
    Before You Begin
    • Depending on the type of E-Series Server, do one of the following as appropriate:
      • Double-wide—Connect one end of the Serial cable to the E-Series Server's Serial port and the other end to your PC.
      • Single-wide—First, connect a KVM connector to the E-Series Server's KVM port; and then connect one end of a Serial cable to the DB9 port of the KVM connector, and the other end to your PC.
    • Attach an Ethernet cable into the Management (dedicated) port of the E-Series Server.
    • To view the serial output, do one of the following as appropriate:
      • Microsoft Windows—Start Hyper Terminal.
      • Linux—Start Minicom.
    • Make sure that the communications settings are configured as: 9600 baud, 8 bits, No parity and 1 stop bit.

    Procedure
        Command or Action Purpose
      Step 1 Router# hw-module sm slot oir-stop  

      Shuts down the power to the specified E-Series Server.

      Note   

      This command is only applicable for Cisco 3900 series routers. For all other routers, you must manually power cycle the router.

       
      Step 2 Router# hw-module sm slot oir-start  

      Restarts the specified E-Series Server.

      Note   

      This command is only applicable for Cisco 3900 series routers. For all other routers, you must manually power cycle the router.

       
      Step 3 ***
       

      From the Hyper Terminal or Minicom, enter the *** command to enter the bootloader prompt.

       
      Step 4 ucse-cimc > boot current recovery  

      Boots the E-Series Server from the current image.

      or

      You can choose to boot the E-Series Server from the backup image. See Step 5.

       
      Step 5 (Optional) ucse-cimc > boot backup recovery 

      Boots the E-Series Server from the backup image.

      or

      You can choose to boot the E-Series Server from the current image. See Step 4.

       
      Step 6 Recovery-shell # dedicated-interface management-interface-ip-address netmask gateway-ip-address  

      Specifies the IP address, subnet mask, and the gateway ip address of the E-Series Server's Management (dedicated) interface.

       
      Step 7 Recovery-shell # ping tftp-ip-address  

      Pings the remote tftp server in which the CIMC firmware is located to verify network connectivity.

       
      Step 8 Recovery-shell # update tftp-ip-address image-filename  

      Installs the CIMC firmware image, which is located on a remote tftp server.

       
      Step 9 Recovery-shell # reboot  

      Reboots CIMC.

       

      This example recovers the CIMC firmware from the current image:

      Router# hw-module sm 2 oir-stop
      Router# hw-module sm 2 oir-start
      
      ***
      
      ucse-cimc > boot current recovery 
      recovery-shell# dedicated-interface 192.168.0.138 255.255.255.0 192.168.0.1
      Network configuration:
              IP config: addr: 192.168.0.138 Mask: 255.255.255.0
              Gateway: 192.168.0.1
      recovery-shell# ping 10.20.34.56
      PING 10.20.34.56 (10.20.34.56): 56 data bytes
      64 bytes from 10.20.34.56: seq=0 ttl=60 time=10.000 ms
      64 bytes from 10.20.34.56: seq=1 ttl=60 time=0.000 ms
      --- 10.20.34.56 ping statistics ---
      10 packets transmitted, 10 packets received, 0% packet loss
      round-trip min/avg/max = 0.000/1.000/10.000 ms
      recovery-shell# update 10.20.34.56 update_pkg-cimc.combined.bin
      downloading firmware image "update_pkg-cimc.combined.bin" from " 10.20.34.56 "
      download firmware image done, size in bytes: 22384144
      installing firmware image, please wait ...
      activating installed image
      done
      Stage: NONE
      Status: SUCCESS
      Error: Success
      recovery-shell# reboot
      

      Recovering from a Faulty SD Card

      If you have problems booting the E-Series Server, it could be because the SD card is faulty. Use this procedure to recover the CIMC firmware image on a new SD card.
      Before You Begin
      • Depending on the type of E-Series Server, do one of the following as appropriate:
        • Double-wide—Connect one end of the Serial cable to the E-Series Server's Serial port and the other end to your PC.
        • Single-wide—First, connect a KVM connector to the E-Series Server's KVM port; and then connect one end of a Serial cable to the DB9 port of the KVM connector, and the other end to your PC.
      • Attach an Ethernet cable into the Management (dedicated) port of the E-Series Server.
      • To view the serial output, do one of the following as appropriate:
        • Microsoft Windows—Start Hyper Terminal.
        • Linux—Start Minicom.
      • Make sure that the communications settings are configured as: 9600 baud, 8 bits, No parity and 1 stop bit.

      Procedure
          Command or Action Purpose
        Step 1 Router# hw-module sm slot oir-stop  

        Shuts down the power to the specified E-Series Server.

        Note   

        This command is only applicable for Cisco 3900 series routers. For all other routers, you must manually power cycle the router.

         
        Step 2 Remove the faulty SD card and insert a new one.  

        Replaces the faulty SD card.

         
        Step 3 Router# hw-module sm slot oir-start  

        Restarts the specified E-Series Server.

        Note   

        This command is only applicable for Cisco 3900 series routers. For all other routers, you must manually power cycle the router.

         
        Step 4 ***
         

        From the Hyper Terminal or Minicom, enter the *** command to enter the bootloader prompt.

         
        Step 5 ucse-cimc > boot current recovery  

        Boots the E-Series Server from the current image.

        or

        You can choose to boot the E-Series Server from the backup image. See Step 6.

         
        Step 6 (Optional) ucse-cimc > boot backup recovery 

        Boots the E-Series Server from the backup image.

        or

        You can choose to boot the E-Series Server from the current image. See Step 5.

         
        Step 7 Recovery-shell # dedicated-interface management-interface-ip-address netmask gateway-ip-address  

        Specifies the IP address, subnet mask, and the gateway ip address of the E-Series Server's Management (dedicated) interface.

         
        Step 8 Recovery-shell # ping tftp-ip-address  

        Pings the remote tftp server in which the CIMC firmware is located to verify network connectivity.

         
        Step 9 Recovery-shell # update tftp-ip-address image-filename  

        Installs the CIMC firmware image, which is located on a remote tftp server.

         
        Step 10 Recovery-shell # reboot  

        Reboots CIMC.

         

        This example recovers the CIMC firmware from the current image:

        Router# hw-module sm 2 oir-stop
        Router# hw-module sm 2 oir-start 
        
        ***
        
        ucse-cimc > boot current recovery 
        recovery-shell# dedicated-interface 192.168.0.138 255.255.255.0 192.168.0.1
        Network configuration:
                IP config: addr: 192.168.0.138 Mask: 255.255.255.0
                Gateway: 192.168.0.1
        recovery-shell# ping 10.20.34.56
        PING 10.20.34.56 (10.20.34.56): 56 data bytes
        64 bytes from 10.20.34.56: seq=0 ttl=60 time=10.000 ms
        64 bytes from 10.20.34.56: seq=1 ttl=60 time=0.000 ms
        --- 10.20.34.56 ping statistics ---
        10 packets transmitted, 10 packets received, 0% packet loss
        round-trip min/avg/max = 0.000/1.000/10.000 ms
        recovery-shell# update 10.20.34.56 update_pkg-cimc.combined.bin
        downloading firmware image "update_pkg-cimc.combined.bin" from " 10.20.34.56 "
        download firmware image done, size in bytes: 22384144
        installing firmware image, please wait ...
        activating installed image
        done
        Stage: NONE
        Status: SUCCESS
        Error: Success
        recovery-shell# reboot