Cisco UCS B-Series CLI Firmware Management Guide, Release 2.1
Downloading and Managing Firmware in Cisco UCS Central
Downloads: This chapterpdf (PDF - 1.3MB) The complete bookPDF (PDF - 2.89MB) | The complete bookePub (ePub - 281.0KB) | Feedback

Downloading and Managing Firmware in Cisco UCS Central

Downloading and Managing Firmware in Cisco UCS Central

This chapter includes the following sections:

Firmware Download from Cisco

You can configure firmware downloads in Cisco UCS Central to communicate with Cisco website at specified intervals and 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 you do the following to download firmware from Cisco into Cisco UCS Central.

  • You must enable Cisco UCS Central to access Cisco.com either directly or using a proxy server.
  • You must configure valid Cisco user credentials and enable download state in Cisco UCS Central.

Firmware Library of Images

Image Library in Cisco UCS Central displays a list of all firmware images downloaded into Cisco UCS Central from Cisco.com, local file system and remote file system.

The source for images downloaded from Cisco.com is Cisco and for images downloaded from local or remote file system is local. These firmware images are available for creating firmware policies.

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 using the delete option.
  • 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 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 the actual 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: ucs-catalog.2.1.0.475.T.bin    
        Protocol: Ftp    
        Server:    
        Userid: User    
        Path: /automation/delmar/catalog    
        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.

           

          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
          ---------------------------------------- ---------- ---------------
          ucs-catalog.2.1.0.489.T.gbin             2.1(0.489)T	Downloaded
          ucs-k9-bundle-b-series.2.1.0.489.B.gbin  2.1(0.489)B Downloaded
          ucs-k9-bundle-infra.2.1.0.489.A.gbin     2.1(0.489)A Downloaded
          ucsCENTRAL-bundle.1.0.0.361.bin          1.0(0.361) Downloaded
          update.bin                               1.0(0.376) 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

            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