DCNM Server
The DCNM Server menu includes the following submenus:
Starting, Restarting, and Stopping Services
Procedure
Step 1 |
Choose Administration > DCNM Server > Server Status. You see a table of services per server and the status of each as shown in the below image. |
Step 2 |
In the Actions column, use the Start or Stop icons to start or stop services, or the Delete icon to clean up PM DB stale entries. You can see the latest status in the Status column. |
What to do next
Using the Commands Table
The commands table contains links to commands that will launch new dialog boxes to provide information about the server status and server administrative utility scripts. These can be directly executed on the server CLI as well.
-
ifconfig—click this link to view information about interface parameters, IP address and netmask used on the Cisco DCNM server.
-
appmgr status all—click this link to view the DCNM server administrative utility script that checks the status of different services currently running.
-
clock—click this link to view information about the server clock details such as time, zone information.
Note |
The commands section is applicable only for the OVA/ISO installations. |
Viewing Log Information
You can view the logs for performance manager, SAN management server, SME server, web reports, web server, and web services. These processes have no corresponding GUI that allows you to view information about these log files. If you see errors, preserve these files for viewing.
Note |
Logs cannot be viewed from a remote server in a federation. |
To view the logs from the Cisco DCNM Web UI, perform the following steps:
Procedure
Step 1 |
Choose Administration > DCNM Server > Logs. You see a tree-based list of logs in the left column. Under the tree, there is a node for every server in the federation. The log files are under the corresponding server node. |
Step 2 |
Click a log file under each node of the tree to view it in the right column. |
Step 3 |
Double-click the tree node for each server to download a zip file containing those log files from that server. |
Step 4 |
Click the Print icon on the upper right corner of the right column to print the logs page. |
Server Properties
This page allows you to set common parameters, which are populated as default values in the DCNM server.
Specify the parameters in the following fields according to the corresponding description.
Procedure
Command or Action | Purpose | |
---|---|---|
Step 1 |
Choose Administration > DCNM Server > Server Properties. |
|
Step 2 |
After finishing all the property fields, click Apply Changes to save the server settings. |
Modular Device Support
To support any new hardware which doesn't require many major changes, a patch can be delivered instead of waiting for the next DCNM release. Modular Device Support helps to deliver and apply the DCNM patch releases. An authorized DCNM administrator can apply the patch to the production setup. Patch releases are applicable for the following scenarios:
-
Support any new hardware (Chassis or Line cards).
-
Support latest NX-OS versions.
-
Support critical fixes as patches.
Procedure
Step 1 |
Choose Administration > DCNM Server > Modular Device Support to view the patch details. You see the DCNM Servers column on the left in the window and Modular Device support information window on the right. |
Step 2 |
You can view all the DCNM servers under the DCNM Servers window. It includes the list of patch installed along with the version number, corresponding platforms supported, chassis supported, NX-OS version supported, PID supported, backup directory and the last patch deployment time in the Modular Device support information table. |
What to do next
Managing Licenses
This section includes the following topics:
Viewing Licenses Using the Cisco DCNM Wizard
You can view the existing Cisco DCNM licenses by choosing Administration > DCNM Server > License.
Note |
By default, the License Assignments tab appears. |
License Assignments
The following table displays the License Assignments for every switch.
Field |
Description |
||
---|---|---|---|
Group |
Displays if it is a fabric or LAN group. |
||
Switch Name |
Displays the name of the switch. |
||
WWN/Chassis ID |
Displays the World Wide Name or Chassis ID. |
||
Model |
Displays the model of the device. For example, DS-C9124 or N5K-C5020P-BF. |
||
License State |
Displays the license state of the switch that can be one of the following:
|
||
License Type |
Displays if the license is a switch-based embedded license or a server-based license. |
||
Eval Expiration |
Displays the expiry date of the license.
|
||
Assign License |
Select a row and click this option on the toolbar to assign the license. |
||
Unassign License |
Select a row and click this option on the toolbar to unassign the license. |
||
Assign All |
Click this option on the toolbar to refresh the table and assign the licenses for all the items in the table. |
||
Unassign All |
Click this option on the toolbar to refresh the table and unassign all the licenses. |
Server License Files
The following table displays the Cisco DCNM server license fields.
Field |
Description |
||
---|---|---|---|
Filename |
Specifies the license file name. |
||
Feature |
Specifies the licensed feature. |
||
PID |
Specifies the product ID. |
||
LAN (Free/Total) |
Displays the number of free versus total licenses for LAN. |
||
Eval Expiration |
Displays the expiry date of the license.
|
Automatic License Assignment
When the fabric is first discovered if the switch does not have a valid switch-based license, a license is automatically assigned to the fabric from the file license pool until no more licenses are left in the pool. Also, if you have an existing fabric and a new switch is added to the fabric, the new switch is assigned a license if one is available in the file license pool and if it does not already have a switch-based license.
Adding Cisco DCNM Licenses
To add Cisco DCNM licenses from the Cisco DCNM Web UI, perform the following steps:
Before you begin
Procedure
Step 1 |
Choose Administration > DCNM Server > License to start the license wizard. |
||
Step 2 |
Choose the Server License Files tab. The valid Cisco DCNM-LAN license files are displayed. Ensure that the security agent is disabled when you load licenses. |
||
Step 3 |
Download the license pack file that you received from Cisco into a directory on the local system. |
||
Step 4 |
Click Add License File and then select the license pack file that you saved on the local machine. The file is uploaded to the server machine, which is saved into the server license directory, and then loaded on to the server.
|
Assigning Licenses
Before you begin
You must have network administrator privileges to complete the following procedure.
Procedure
Step 1 |
Choose Administration > DCNM Server > License to start the license wizard. The licenses table appears. |
Step 2 |
From the table, choose the switch that you want to assign the license to. |
Step 3 |
Click Assign License . |
Unassigning Licenses to a Switch
Before you begin
You must have network administrator privileges to complete the following procedure.
Procedure
Step 1 |
Choose Administration > DCNM Server > License to start the license wizard. The licenses table appears. |
Step 2 |
From the table, choose the switch that you want to unassign the license. |
Step 3 |
Click Unassign License. |
Native HA
Procedure
Step 1 |
By default, DCNM is bundled with an embedded database engine PostgreSQL. The native DCNM HA is achieved by two DCNMs running as Active / Warm Standby, with their embedded databases synchronized in real time. So once the active DCNM is down, the standby takes over with the same database data and resume the operation. The standby host database down scenario is documented after this procedure. |
Step 2 |
From the menu bar, choose Administration > DCNM Server > Native HA. You see the Native HA window. |
Step 3 |
You can allow manual failover of DCNM to the standby host by clicking the Failover button, and then click OK.
|
Step 4 |
You can allow manual syncing database and disk files to standby host by clicking Force Sync, and then click OK. |
Step 5 |
You can test or validate the HA setup by clicking Test and then click OK. |
What to do next
Some HA troubleshooting scenarios are noted in this sub section.
The standby host database is down: Typically, the DCNM database (PostgreSQL) is up on the active and standby hosts. In DCNM 10.1 and earlier versions, the standby database can be down due to a database synchronization failure.
-
Enter “ps -ef | grep post”. You should see multiple postgres processes running. If not, it indicates that the database is down.
-
Restore database data from a backup file that is created at the beginning of database synchronization. Change directory to “/usr/local/cisco/dcm/db”
-
Check existence of file replication/ pgsql-standby-backup.tgz. If the file exists, restore database data files:
rm -rf data/* tar -zxf replication/ pgsql-standby-backup.tgz data /etc/init.d/postgresql-9.4 start ps -ef | grep post
The active DCNM host will synchronize the two databases.
-
Enter “grep bind /etc/xinetd.d/tftp” to check if the TFTP configuration file has the right bind address. If the displayed IP address is not the eth1 VIP address, then change the bind address to the VIP address. Repeat the procedure for the standby host. Update the bind address to the VIP address.
-
Enter " " /etc/init.d/xinetd restart” on the active host to restart TFTP.
Note |
The TFTP server can be started or stopped with the “appmgr start/stop ha-apps” command. |