Installing Software Maintenance Update on Cisco DCNM OVA/ISO Deployment
This section provides instructions to install Software Maintenance Update (SMU) on OVA/ISO deployments in Cisco DCNM Release 11.5(4) to address CVE-2022-22965 issue.
This section contains the following topics:
Installing SMU on DCNM Standalone Deployment
This section provides instructions to install Software Maintenance Update (SMU) on OVA/ISO deployments in Cisco DCNM Release 11.5(4) to address CVE-2022-22965 issue.
To apply the Software Maintenance Update (SMU) on Cisco DCNM OVA/ISO in Standalone deployment mode, perform the following steps:
Before you begin
-
Take a backup of the application data using the appmgr backup command on the DCNM appliance.
dcnm# appmgr backup
Copy the backup file to a safe location outside the DCNM server.
-
If Cisco DCNM appliance is installed in VMware environment, ensure that you take VM snapshots for all nodes. For instructions, refer to VMware Snapshot Support section in your Cisco DCNM Release Notes.
-
Ensure that you plan for a maintenance window to install SMU.
-
Ensure that Cisco DCNM 11.5(4) is up and running.
Note
Only a root user can install the SMU on the Cisco DCNM Release 11.5(4) appliance
Procedure
Step 1 |
Download the SMU file. |
||
Step 2 |
Unzip the dcnm-va-patch.11.5.4-p1.iso file and upload the file to the /root/ folder in the DCNM node. |
||
Step 3 |
Log on to the Cisco DCNM appliance using SSH as a sysadmin user. Run the su command to enable root user.
|
||
Step 4 |
Run the following command to create a screen session.
This creates a session which allows you to execute the commands. The commands continue to run even when the window is not visible or if you get disconnected. |
||
Step 5 |
Create a folder named iso using the mkdir /mnt/iso command.
|
||
Step 6 |
Mount the DCNM 11.5(4) SMU file in the /mnt/iso folder.
|
||
Step 7 |
Navigate to /scripts/ directory.
|
||
Step 8 |
Run the ./inline-upgrade.sh script.
The progress is displayed on the screen. When the installation of SMU is complete, a successful message appears.
|
||
Step 9 |
Ensure the DCNM application is functional, by using the appmgr status all command.
|
||
Step 10 |
Terminate the screen session, by using the exit command.
|
||
Step 11 |
Unmount the dcnm-va-patch.11.5.4-p1.iso file from the DCNM setup.
|
Installing SMU on DCNM Native HA Deployment
This section provides instructions to install Software Maintenance Update (SMU) on OVA/ISO deployments in Cisco DCNM Release 11.5(4) to address CVE-2022-22965 issue.
To apply the Software Maintenance Update (SMU) on Cisco DCNM OVA/ISO in Native HA deployment mode, perform the following steps:
Before you begin
-
Check and ensure that the Active and Standby servers are operational, using the appmgr show ha-role command.
Example:
On the Active node: dcnm1# appmgr show ha-role Native HA enabled. Deployed role: Active Current role: Active
On the Standby node: dcnm2# appmgr show ha-role Native HA enabled. Deployed role: Standby Current role: Standby
-
Take a backup of the application data using the appmgr backup command on both Active and Standby appliances.
dcnm1# appmgr backup
dcnm2# appmgr backup
Copy the backup file to a safe location outside the DCNM server.
-
If Cisco DCNM appliance is installed in VMware environment, ensure that you take VM snapshots for all nodes. For instructions, refer to VMware Snapshot Support section in your Cisco DCNM Release Notes.
-
Ensure that you plan for a maintenance window to install SMU.
-
Ensure that both the Cisco DCNM 11.5(4) Active and Standby peers are up and running.
To apply this software maintenance update on Cisco DCNM Virtual Appliance in Native HA Mode, apply this update on the Active and Standby appliance. Wait until the role of the Active appliance is Active again. Apply the update on the Standby appliance, later.
For Native HA cluster deployments, install the SMU on Active and Standby appliances, before installing SMU on the compute nodes.
Note
Only a root user can install the SMU on the Cisco DCNM Release 11.5(4) appliance.
Procedure
Step 1 |
Download the SMU file. |
||
Step 2 |
Unzip the dcnm-va-patch.11.5.4-p1.iso file and upload the file to the /root/ folder in both Active and Standby node of the DCNM setup.
|
||
Step 3 |
Log on to the Cisco DCNM appliance using SSH as a sysadmin user. Run the su command to enable root user.
|
||
Step 4 |
Run the following command to create a screen session.
This creates a session which allows you to execute the commands. The commands continue to run even when the window is not visible or if you get disconnected. |
||
Step 5 |
On the Active node, install the SMU. |
||
Step 6 |
On the Standby node, install the SMU. |
||
Step 7 |
Terminate the screen session, by using the exit command.
|
||
Step 8 |
Unmount the dcnm-va-patch.11.5.4-p1.iso file in both Active and Standby node of the DCNM setup.
|
Installing SMU on Cisco DCNM 11.5(4) Compute Nodes
This section provides instructions to install Software Maintenance Update (SMU) on OVA/ISO deployments in Cisco DCNM Release 11.5(4) to address CVE-2022-22965 issue.
To apply the Software Maintenance Update (SMU) on compute nodes in Cisco DCNM clustered setup, perform the following steps:
Before you begin
-
You must install the SMU on Cisco DCNM Servers in Native HA mode, before upgrading the DCNM compute nodes.
-
If Cisco DCNM appliance is installed in VMware environment, ensure that you take VM snapshots for all nodes. For instructions, refer to VMware Snapshot Support section in your Cisco DCNM Release Notes.
-
Ensure that you plan for a maintenance window to install SMU.
-
Ensure that Cisco DCNM 11.5(4) is up and running.
Note
Only a root user can install the SMU on the Cisco DCNM Release 11.5(4) appliance.
Procedure
Step 1 |
Download the SMU file. |
Step 2 |
Unzip the dcnm-va-patch.11.5.4-p1.iso file and upload the file to the /root/ folder in all three compute nodes of the DCNM setup. For example, let us indicate the three Compute Nodes as Compute1, Compute2, and Compute3. |
Step 3 |
Log on to the Cisco DCNM appliance using SSH as a sysadmin user. Run the su command to enable root user.
|
Step 4 |
Run the following command to create a screen session.
This creates a session which allows you to execute the commands. The commands continue to run even when the window is not visible or if you get disconnected. |
Step 5 |
On Compute1 node, install the SMU. |
Step 6 |
Install the SMU on the other two Compute nodes also. Follow the instructions as explained in Step Step 5. |
What to do next
After the installation is complete, each compute node joins the cluster automatically. On the Web UI, choose Applications > Compute to verify if the compute node appears as Joined.
Note |
If you try to install the SMU again, an error message appears stating that the patch is already applied on the Cisco DCNM/Compute. |