Step 1 Log into the server with a user account that has the required privileges, as follows:
- For Microsoft Windows, the user account must be a member of the local administrators group.
- For RHEL, the user account must be root.
If you are uninstalling Cisco DCNM-LAN on Microsoft Windows and using Remote Desktop Connection (RDC) to access the Cisco DCNM-LAN server system, start RDC from a command prompt and use the /console option, as follows:
C:\>mstsc /console /v:server
where server is the DNS name or IP address of the Cisco DCNM-LAN server system.
Step 2 Start the uninstallation process, as applicable:
- For Microsoft Windows, from the desktop, choose Start > All Programs > Cisco DCNM Server > Uninstall DCNM. The location of shortcuts depends upon the choices you made when you installed the Cisco DCNM-LAN server.
Alternatively, you can run the following executable file:
INSTALL_DIR \dcm\dcnm\Uninstall_DCNM\Uninstall DCNM.exe
where the default INSTALL_DIR value is C:\Program Files\Cisco Systems.
- For RHEL, use the Uninstall_DCNM script, as follows:
You can find this script in your home folder or the folder that you specified when setting up the link folder during your installation of Cisco DCNM-LAN.
The uninstallation process removes the Cisco DCNM-LAN server software from the secondary server system.
Step 3 Monitor the DCNM_UninstallLog.log file to determine the status of the uninstall. The Cisco DCNM-LAN uninstaller writes the log file to the home directory of the current user account.
Uninstalling with Install Manager
DCNM-LAN Install Manager is a GUI tool for servers that run Linux. It is designed to assist in performing silent mode operations on secondary servers (remote nodes).
Note DCNM-LAN Install Manager does not support Windows servers.
Note Disable antivirus and instruction detection software on the server system. In general, disable any security software or feature that might interfere with the uninstallation of the Cisco DCNM-LAN server software. After you have completed the uninstallation, reenable the software or features.
Step 1 To access Install Manager, navigate to the dcnm-install-manager.sh file that is located in the bin folder where the DCNM-LAN server was installed.
The default bin folder location for servers that run Linux is /usr/local/Cisco/dcm/dcnm/bin.
Step 2 Double click the dcnm-install-manager.sh file to launch Install Manager.
Step 3 In the DCNM Installer Folder drop-down list, choose the path that contains the binary executable file for DCNM-LAN server installation.
Step 4 Click the New icon in the toolbar near the top of the Install Manager GUI for every secondary server.
A new row in the list of Server Nodes is created every time the New icon is clicked.
Note In the toolbar, click the Delete icon to delete a selected row in the list of Server Nodes. This action does not delete a secondary server from the clustered-server environment.
Step 5 For each secondary server represented by a row in the list of Server Nodes, enter the following:
- Server name or IP address in the Server Name/IP Address field.
- Protocol used for connectivity in the Protocol field.
The protocol is either Telnet or SSH.
- User credentials (user ID and password) used for connecting to the secondary server in the User Credentials field.
The user credentials are used for SSH connectivity to the server. Telnet connectivity to the server does not require user credentials.
Alternatively, default user credentials can be set by entering the credentials in the Default Credentials section of the GUI. The default credentials are used when the User Credential field is blank.
- (Optional) Comments that might be useful to identify the secondary server in the Comments field.
The Last Action Status column in the list of Server Nodes includes the success or failure status of the last performed action. Clicking the + icon for the Last Action Status expands the display to show the entire log of actions performed on the server.
Step 6 In the list of Server Nodes, select the secondary servers to perform the uninstallation.
Step 7 In the toolbar, click the Verify icon to verify the connectivity to the selected secondary servers.
Correct any connectivity issues before continuing the uninstallation.
Step 8 (Optional) In the DCNM Install Location field, enter the path on the secondary server for the uninstallation of the DCNM-LAN server.
If the DCNM Install Location field is blank, the Install Manager uses the default path, /usr/local/Cisco/dcm, for the uninstallation of the DCNM-LAN server.
Step 9 In the toolbar, click the Uninstall icon to begin the uninstall on the selected secondary servers.
Step 10 Monitor the Last Action Status column to determine the status of the uninstallation.
In addition, you can also review the DCNM_Installer_Manager.log file. This file, which is located at /root/.dcnm, contains the log for all the operations of the Install Manager.
If the uninstallation operation fails on a secondary server, review the DCNM_UninstallLog.log file to determine the status of the uninstall. The Cisco DCNM-LAN uninstaller writes the log file to the home directory of the current user account.