Downloading and Managing Firmware in Cisco UCS Central

This chapter includes the following sections:

Downloading Firmware from Cisco.com

You can configure Cisco UCS Central to communicate with the Cisco website at specified intervals to fetch the firmware image list. After configuring Cisco credentials for image download, when you refresh, Cisco UCS Central fetches the available image data from Cisco.com and displays the firmware image in the firmware image library. You can download the actual firmware images when creating a policy using the firmware image version or when downloading the image using the Store Locally option.

Important:

Make sure that you create a Cisco.com account to download firmware from Cisco.com to Cisco UCS Central.


Note


If you change users in the Cisco.com account, this causes a full synchronization of the Image Library. Download operations are unavailable while it is synchronizing. This can take up to 15 minutes, depending on the size of the library.


Deleting Images from the Firmware Library

The following are the options to delete firmware images from the library:

  • Deleting the firmware image — You can delete any downloaded image in the firmware library by selecting it and clicking delete.

  • Purging the firmware image metadata — You can delete the image metadata using the purge option. Even after you delete the firmware image from the library, the metadata will still exist. You can use the metadata information to download the actual firmware image anytime from Cisco.com even after deleting the image. If you want to completely remove the firmware image and associated metadata from the firmware image library, make sure to delete the actual firmware image and purge the metadata from the library.

    Important:

    If you have already downloaded the image corresponding to the metadata into the firmware image library, you cannot purge the metadata without deleting the image.

Configuring Firmware Image Download from Cisco

Procedure
     Command or ActionPurpose
    Step 1UCSC# connect operation-mgr  

    Enters operations manager mode.

     
    Step 2UCSC(ops-mgr)# connect policy-mgr 

    Enters policy manager mode from operations manager mode.

     
    Step 3UCSC(policy-mgr) # scope domain-group domain-group  

    Enters domain group root mode and (optionally) enters a sub-domain group under the domain group root. To enter the domain group root mode, type / as the domain-group.

     
    Step 4UCSC(policy-mgr) /domain-group # scope download-policy cisco 

    Enters the configuration mode.

     
    Step 5UCSC(policy-mgr) /domain-group/download-policy # set 
    1. set admin-state

    2. set downloadintervaldayweekon-demand

    3. set http-proxyserver:port

    4. usernameusername

    5. set passwordpassword

    6. set proxy-passwordpassword

    7. set proxy-usernameusername

    Enters the configuration details to the system.

     
    Step 6UCSC(policy-mgr) /domain-group/download-policy/set # commit-buffer 

    Commits the transaction to the system.

     

    The following example shows how to configure firmware download to Cisco UCS Central from Cisco:

    UCSC# (ops-mgr)# connect policy-mgr
    UCSC(policy-mgr)# scope domain-group /
    UCSC(policy-mgr) /domain-group # scope download-policy cisco
    UCSC(policy-mgr) /domain-group/download-policy # set  
    admin-state  enable     
    downloadinterval 1 day 
    http-proxy  Server[:Port] 
    username          Username
    password          Password  
    proxy-password    HTTP Proxy Password  
    proxy-username    HTTP Proxy Username  
    UCSC(policy-mgr) /domain-group/download-policy # commit-buffer 
    UCSC(policy-mgr) /domain-group/download-policy* # 
    

    Downloading Firmware Image from Cisco

    Procedure
       Command or ActionPurpose
      Step 1UCSC# connect operation-mgr  

      Enters operations manager mode.

       
      Step 2UCSC(ops-mgr)# scope firmware  

      Enters the firmware management mode.

       
      Step 3UCSC(ops-mgr) /firmware# scope download-source cisco  

      Accesses the image metadata downloaded from Cisco website.

       
      Step 4UCSC(ops-mgr) /firmware/download-source# download list  

      Downloads the available firmware image metadata from Cisco.com.

       

      The following example shows how to download a firmware image from Cisco.com to Cisco UCS Central:

      UCSC# connect operation-mgr 
      UCSC(ops-mgr)# scope firmware 
      UCSC(ops-mgr) /firmware # scope download-source cisco 
      UCSC(ops-mgr) /firmware/download-source # download list 
      

      Viewing Image Download Status

      Procedure
         Command or ActionPurpose
        Step 1UCSC# connect operation-mgr  

        Enters operations manager mode.

         
        Step 2UCSC(ops-mgr)# scope firmware  

        Enters the firmware management mode.

         
        Step 3UCSC (ops-mgr)/firmware# show download-task detail  

        Displays the details of the download task.

         

        The following example shows how to view the download task details in Cisco UCS Central:

        UCSC# connect operation-mgr
        UCSC(ops-mgr)# scope firmware
        UCSC(ops-mgr) /firmware # show download-task detail
         Download task:    
        File Name: mini-ucs-k9-bundle-infra.3.0.0.106.A.gbin    
        Protocol: Ftp    
        Server:    
        Userid: User    
        Path: /automation/miniucs/    
        Downloaded Image Size (KB): 0    
        Image Url:    
        Image Url:    
        Proxy Userid:    
        State: Downloaded    
        Owner: Management    
        Current Task:

        Viewing Downloaded Firmware Image Bundles

        Procedure
           Command or ActionPurpose
          Step 1UCSC# connect operation-mgr  

          Enters operations manager mode.

           
          Step 2UCSC(ops-mgr)# scope firmware  

          Enters the firmware management mode.

           
          Step 3UCSC(ops-mgr) /firmware # show package  

          Displays the downloaded firmware image bundles. You can view the Cisco UCS Manager and Cisco UCS Central bundles.

          Note   

          The classic UCS Infra bundle is not provided as an option for auto-install.

           

          The following example shows how to view the downloaded firmware image bundles in Cisco UCS Central:

          UCSC# connect operation-mgr
          UCSC(ops-mgr)# scope firmware
          UCSC(ops-mgr) /firmware # show package
          
          
          Name                                      Version      Download Status
          ----------------------------------------  ----------  ---------------
          mini-ucs-k9-bundle-infra.3.0.0.106.A.gbin 3.0(0.106)A	 Downloaded
          mini-ucs-k9-bundle-infra.3.0.0.153.A.gbin 3.0(0.153)A  Downloaded
          mini-ucs-k9-bundle-infra.3.0.0.88.A.gbin  3.0(0.88)A   Downloaded
          ucs-central-bundle.1.2.0.98.debug.bin     1.2(0.98)    Downloaded
          ucs-k9-bundle-b-series.2.1.3a.B.gbin      2.1(3a)B     Downloaded
          ucs-k9-bundle-b-series.2.1.3b.B.bin       2.1(3b)B     Downloaded
          ucs-k9-bundle-infra.2.1.3a.A.gbin         2.1(3a)A     Downloaded
          ucs-k9-bundle-infra.2.2.1.236.A.gbin      2.2(1.236)A  Downloaded
          update.bin                                1.2(0.105)   Downloaded
          
          UCSC(ops-mgr) /firmware # 

          Configuring Firmware Image Download from a Remote File System

          You can download firmware image from one of the following remote file systems:

          • ftp

          • scp

          • sftp

          • tftp

          Procedure
             Command or ActionPurpose
            Step 1UCSC# connect operation-mgr  

            Enters operations manager mode.

             
            Step 2UCSC(ops-mgr)# scope firmware  

            Enters the firmware management mode.

             
            Step 3UCSC (ops-mgr)/firmware# download imageftpscpsftptftpimage file location 

            Enters firmware image download configuration and mode and specifies the remote location for firmware image.

             
            Step 4UCSC(ops-mgr) /firmware # download image ftp: image file location /Password: 

            Authenticates access to the remote file system.

             

            The following example shows how to configure firmware download to Cisco UCS Central from a remote file system:

            UCSC# connect operation-mgr
            UCSC(ops-mgr)# scope firmware
            UCSC(ops-mgr) /firmware # download image ftp:  Enter URL ftp:[//[username@]server][/path]
            UCSC(ops-mgr) /firmware # download image ftp://image download path/Password:
            UCSC(ops-mgr) /firmware #

            Deleting Image Metadata from the Library of Images

            You can only purge metadata through the CLI.

            Procedure
               Command or ActionPurpose
              Step 1UCSC# connect operation-mgr  

              Enters operations manager mode.

               
              Step 2UCSC(ops-mgr)# scope firmware  

              Enters the firmware management mode.

               
              Step 3UCSC(ops-mgr) /firmware# scope download-source cisco  

              Accesses the image metadata downloaded from Cisco website.

               
              Step 4UCSC(ops-mgr) /firmware/download-source# purge list  

              Deletes the firmware images metadata from the library of images.

               

              The following example shows how to delete the image metadata from the library of images:

              UCSC# connect operation-mgr 
              UCSC(ops-mgr)# scope firmware 
              UCSC(ops-mgr) /firmware # scope download-source cisco 
              UCSC(ops-mgr) /firmware/download-source # purge list