Updating the UCS Server Firmware
The SMI Cluster Manager allows updating the UCS server firmware remotely or locally in a data center. This section describes the procedures involved in updating the UCS Server firmware using the SMI Cluster Manager.
To update the UCS firmware, use the following configurations:
-
Setup the UCS configuration.
The following is a sample UCS configuration:
software ucs software_version url repo_url sha512 file_checksum exit software ucs software_version url repo_url sha512 ssh_key exit software upf software_version url repo_url sha256 ssh_key exit environments ucs ucs-server exit ... nodes node_name ssh-ip ipv4address type kvm vms node_name upf networking management ip ipv4address exit ucs-server cimc ip-address ipv4address ucs-server software software_version initial-boot netplan vlans vlan_name addresses ipv4address/subnet exit exit nodes node_name ssh-ip ipv4address type kvm vms node_name upf networking management ip ipv4address exit ucs-server cimc ip-address ipv4address initial-boot netplan vlans vlan_name addresses ipv4address/subnet exit exit
NoteCisco Integrated Management Controller (CIMC) manages the life cycle of all the components - including firmware updates - in UCS C Series servers. The UCS firmware is updated through the CIMC API.
-
Log in to SMI Cluster Manager CLI and enter the configuration mode.
-
Add the UCS firmware configuration.
NoteA sample UCS configuration is provided here.
-
Commit and exit the configuration.
-
-
Configure the UCS firmware.
-
To configure the firmware version for UCS servers inside a cluster, use the following configuration:
configure node-defaults ucs-server software software_version exit
-
To configure the firmware version for UCS servers at the node level, use the following configuration:
configure nodes node_name ucs-server software software_version exit
NoteAll the UCS firmware configuration parameters are applicable only for UCS based environments. You can add multiple versions of the firmware software under the software section in the UCS configuration. It is recommended to have a minimum of two versions (new and old) provisioned. You can download the UCS firmware software from https://software.cisco.com/
-
-
Trigger the cluster synchronization, using the following command.
clusters cluster_name actions sync run debug true
Example:SMI-CM# clusters test actions sync run debug true This will run sync. Are you sure? [no,yes] yes
-
Monitor the progress of the cluster synchronization, using the following command.
monitor sync-logs cluster_name
Note-
The cluster synchronization process time depends on the number of UCS servers planned for an upgrade. The average time taken for updating a single UCS server ranges from 30-50 minutes.
-
You can select the upgrade strategy manually using the following command:
clusters cluster_name actions sync run upgrade-strategy { rolling | concurrent }
-
NOTES:
-
node-defaults ucs-server software software_version - Specifies the default version of UCS firmware to be applied to all UCS servers inside a cluster.
-
nodes node_name ucs-server software software_version - Specifies the version of UCS firmware to be applied to all UCS servers at the node level.
-
clusters cluster_name - Specifies the name of the cluster.
-
actions sync run - Triggers the cluster synchronization
-
upgrade-strategy - Specifies the upgrade strategy. rolling specifies the rolling upgrade strategy. concurrent specifies the concurrent upgrade strategy. The default upgrade strategy is auto.