User Guide for Device Fault Manager 2.0.6 (With LMS 2.6)
Using Device Management

Table Of Contents

Using Device Management

Getting Started with Device Management

Types of Devices and Device Elements that DFM Monitors

Ports and Interfaces that DFM Manages

Listing Ports and Interfaces in the DFM Inventory

Understanding the Device and Credentials Repository

Events That Trigger DCR and DFM Synchronization

DCR Masters and Slaves

Understanding the Device Summary and Device States

Importing Devices into DFM

Importing Devices from the DCR

How DFM Identifies Devices Imported from the DCR

How DFM Handles Containing and Contained Devices

Automatically Importing DCR Devices

Manually Importing DCR Devices Using the Device Selector

Determining Which Devices Are in DCR But Not in DFM

Importing Devices from DFM 1.2.x

Viewing Alias (Duplicate) Devices

Verifying Device Import Using Discovery Status

Troubleshooting Device Import and Discovery

Exporting Devices

Editing Device Configuration and Credentials

Rediscovering and Deleting Devices

Rediscovering Devices

Deleting Devices

Viewing Device Details

Understanding the Device Details Display

Modifying SNMP Timeout and Retries


Using Device Management


These topics explain how to use Device Fault Manager (DFM) Device Management:

Getting Started with Device Management

Understanding the Device and Credentials Repository

Understanding the Device Summary and Device States

Importing Devices into DFM

Exporting Devices

Editing Device Configuration and Credentials

Rediscovering Devices

Deleting Devices

Viewing Device Details

Modifying SNMP Timeout and Retries

Getting Started with Device Management

For DFM to monitor a device, you must first add the device to the Device and Credentials Repository (DCR). Use the DCR to perform the following operations:

Adding devices

Importing devices

Exporting devices

Changing device credentials

Once a device is added to the DCR, you can then add it to the DFM inventory, which is separate from the DCR. You can add devices from the DCR to DFM automatically by activating automatic synchronization (the default), or you can add them selectively by deactivating using the Device Selector. For more information on how DFM is affected by the DCR, refer to Understanding the Device and Credentials Repository.

DFM is the front-end for performing the following operations on devices in the DFM inventory:

Deleting devices (local delete)

Viewing device details

Rediscovering devices

Suspending and resuming DFM device management

As DFM discovers devices, they pass through various device states until they are fully recognized by DFM (see Verifying Device Import Using Discovery Status for details). Once a device is discovered, DFM manages the device and its components according to the polling and threshold settings that apply to the device group (when it is added to the DCR, the DCR assigns the device to a device group).

Technically, DFM manages a device when the device's management state is set to True; conversely, DFM is not managing a device when its management state is set to False. A device with a management state set to False is also called a suspended device. You can also selectively unmanage device components (see Suspending/Resuming a Device Component, page 3-19).


Note If the DFM server is using Access Control Server (ACS) mode, ACS may limit the devices you are permitted to view. For more information, refer to Device-Based Filtering, page 11-8.


For information on how many devices DFM can manage, refer to Installation and Setup Guide for Device Fault Manager 2.0.3. If the DFM inventory exceeds your device limit, you will see a warning message. For more information, see Responding to Messages About Device Limits, page 2-11.

Types of Devices and Device Elements that DFM Monitors

When devices are added to the DCR, they are assigned to Common Services System Defined Groups. The group to which the DCR assigns the device depends on the device type users specify when they add the device. If a user does not select a device type, or selects the wrong device type, the DCR designates the device as Unknown, and it is assigned to the Common Services Unknown group. (For devices with no specified device type, DFM assigns a device type when it discovers the device.) See Table 4-1 for more information.

Figure 4-1 shows an example of the Common Services System Defined Groups, as seen in the DFM Object Selector.

Figure 4-1 Common Services System Defined Groups

When devices are imported into CiscoWorks, Common Services assigns each device to the appropriate CiscoWorks Common Services system defined group. These groups are listed in Common Services System Defined Groups, page 8-3. When a device is added to the DFM inventory, DFM assigns the device components to the appropriate DFM system defined port and interface groups. These groups are listed in DFM System Defined Groups, page 8-4. Figure 4-1 shows the DFM system defined groups, as shown in the DFM object selector.

Figure 4-2 DFM System Defined Groups

DFM manages many device components: chassis, cards, fans, interfaces, memory, Multilayer Switch Feature Cards (MSFCs), Multilayer Switch Modules (MSMs), ports, power supplies, processors, Route Switch Feature Cards (RSFCs), Route Switch Modules (RSMs), SNMP agents, temperature sensors, VLANs, and voltage sensors. For a detailed list of specific device families and models that DFM supports, refer to Supported Device Table for Device Fault Manager at http://www.cisco.com/univercd/cc/td/doc/product/rtrmgmt/cw2000/dfm/dev_sup/index.htm.


Note The Alerts and Activities display does not report alerts generated on VLANs. However, you can view VLAN information on the Event properties page and in the Detailed Device View. (Refer to Viewing Event Properties, page 3-13 and Starting the Detailed Device View, page 3-14.)


Ports and Interfaces that DFM Manages

DFM manages device ports and interfaces, as described in the following:

Ports (on switches)—By default, DFM manages trunk ports but does not manage access ports.

A trunk port is a port that is connected to another Layer 2 device (such as a switch, bridge, or hub).

An access port is a port that is either not connected to any device, or is connected to a non-Layer 2 device (such as a router).

Interfaces (on routers)—By default, DFM manages all interfaces listed in a device ifTable.

When a device is added to DFM, DFM assigns the device interfaces and ports to DFM system defined groups depending on their type. For more information on port and interface groups, see DFM System Defined Groups, page 8-4.

Listing Ports and Interfaces in the DFM Inventory

To find out how many trunk and access ports are currently in the DFM inventory, use the sm_tpmgr command:

# NMSROOT\objects\smarts\bin\sm_tpmgr.exe --server=DFM --sizes

Locate the line that is similar to the following:

Number of Ports: 761 [92/92]

In this example, 761 represents the number of discovered ports, out of which 92 are managed. Unless you have reconfigured DFM to manage access ports, you can assume these 92 ports are trunk ports.

For interfaces, locate the line that is similar to the following:

Number of Interfaces: 351 [322/280]

In this example, 351 represents the number of discovered interfaces, out of which 322 are managed.

To list specific ports and interfaces by their types, names, group membership, or managed state, use the sm_adapter command in conjunction with the getNetworkAdapters.asl script. The syntax is as follows (this command is one line):

# NMSROOT\objects\smarts\bin\sm_adapter.exe --server=DFM [-Dargument] 
utils\getNetworkAdapters.asl

The arguments to the -D option are described in the following table.

-DNetworkAdapterType=Interface | Port | all

List interfaces, ports, or both (all). The default is all.

-DPortType=ACCESS | TRUNK | all

(Ports only.) List access ports, trunk ports, or all ports. The default is all.

-DGroupName="device" | CFG-"group/type"

List ports or interfaces for a specified device, or for a specified DFM trunk port, access port, or interface group. Use the following formats:

   

device

List information for a device, using name or IP address.

   

CFG-"group/type"


List information for a port or interface group. group can be Interface Groups, Access Port Groups, or Trunk Port Groups. type can be any subgroup under the port or interface group. For example:

"CFG-Interface Groups/1GB 
Ethernet"

-DManagedState=managed | unmanaged | all

List managed or unmanaged ports or interfaces. The default is managed.


The following examples show how you can use the getNetworkAdapters.asl script.

To list all managed interfaces and ports:

sm_adapter -s DFM utils/getNetworkAdapters.asl

To list all managed and unmanaged ports and interfaces on the lab-gw.cisco.com device:

sm_adapter -s DFM -DNetworkAdapterType=all -DPortType=all 
-DGroupName="lab-gw.cisco.com" -DManagedState=all utils/getNetworkAdapters.asl

To list all managed ports and interfaces on the lab-gw.cisco.com device:

sm_adapter -s DFM -DGroupName="lab-gw.cisco.com" utils/getNetworkAdapters.asl

To list all managed interfaces on the lab-gw.cisco.com device:

sm_adapter -s DFM -DNetworkAdapterType=Interface -DGroupName="lab-gw.cisco.com" 
-DManagedState=managed utils/getNetworkAdapters.asl

T o list all unmanaged interfaces on the lab-gw.cisco.com device:

sm_adapter -s DFM -DNetworkAdapterType=Interface -DGroupName="lab-gw.cisco.com" 
-DManagedState=unmanaged utils/getNetworkAdapters.asl

To list all unmanaged 1-GB Ethernet interfaces:

sm_adapter -s DFM -DNetworkAdapterType=all -DPortType=all -DGroupName="CFG-Interface 
Groups/1 Gb Ethernet" -DManagedState=unmanaged utils/getNetworkAdapters.asl

To list all managed 10/100-MB Ethernet ports (access ports):

sm_adapter -s DFM -DNetworkAdapterType=all -DPortType=all -DGroupName="CFG-Port Groups 
- Access Ports/10/100 Mb Ethernet" -DManagedState=managed utils/getNetworkAdapters.asl

To list all managed 10/100-MB Ethernet ports (trunk ports):

sm_adapter -s DFM -DNetworkAdapterType=all -DPortType=all -DGroupName="CFG-Port Groups 
- Trunk Ports/10/100 Mb Ethernet" -DManagedState=managed utils/getNetworkAdapters.asl

Understanding the Device and Credentials Repository

The DCR is a centralized device repository for sharing device information across applications. It provides a single place for managing device credentials and attributes, ensuring consistency across applications. Individual applications can query the DCR for a device list, device attributes, and device credentials. Changes to the DCR are propagated to all applications. Thus, you should use the DCR to add, import, and export devices, and to change device credentials.


Note A device must be added to the DCR before it can be added to the DFM inventory.


Once a device is added to the DCR, you can add it to the DFM inventory (the DFM inventory is separate from the DCR). When a device is added to the DCR, the DCR assigns a DCR ID to every managed component.The DCR maps components to devices using either the device name or IP address. When the DCR device is added to DFM, DFM maps the DCR ID to a device name during discovery (see How DFM Determines Device Names).

DFM also uses the DCR ID to verify if the device or component already exists in the DFM inventory (in which case it is not added but is designated as an alias device). (Further information on how DFM identifies devices—such as whether DFM uses an IP address or DNS name as the device name—is provided in Importing Devices from the DCR.)

You can add devices from the DCR to DFM automatically by activating automatic synchronization (which is the default), or you can add them selectively by deactivating using the Device Selector. When a device is deleted locally (from the DFM inventory), the DCR is not affected. The device is added to the Device Selector list, which shows which devices are in the DCR but not in DFM. (In this way, you can easily add the device back to DFM, if desired.)

If a device is deleted from the DCR (global delete), it is deleted from DFM (and all other applications that use that DCR). (For information on deleting components of aggregate devices, see How DFM Handles Containing and Contained Devices.)

All synchronization between the DCR and the DFM inventory is controlled from the Device Selector page. You can access this page from DFM or the CiscoWorks home page, select Device Management > Device Selector.

For automatic synchronization, the Synchronize with Device and Credentials Repository check box must be selected. Refer to Automatically Importing DCR Devices.

For manual synchronization (in which you selectively add devices from the DCR to the DFM inventory), the Synchronize with Device and Credentials Repository check box must not be selected. Refer to Manually Importing DCR Devices Using the Device Selector. (However, if a device is deleted from the DCR, it is deleted from DFM.)


Note Do not confuse the DFM discovery process with the DCR synchronization process. DFM discovery/rediscovery is a process that affects only the DFM inventory.


For more information on the DCR, refer to the Common Services online help.

Events That Trigger DCR and DFM Synchronization

The following events will trigger synchronization between the DFM inventory and the DCR:

Devices are added or deleted, or their credentials (IP address, SNMP credentials, MDF type) are changed in the DCR. (This also triggers a device rediscovery in DFM).

DCR is changed from:

Master to slave

Standalone (single server) to slave

DCR is restored from a different domain.

See these topics for more information:

Importing Devices from the DCR

Rediscovering Devices

DCR Masters and Slaves

By default, the DCR mode is standalone (single server), and CiscoWorks supports one DCR per CiscoWorks server. However, you can configure the DCR to use a master/slave model. In this model, the master DCR is the primary repository residing on a CiscoWorks server. Slave DCRs reside on other CiscoWorks servers, and replicate the DCR master. Any change in the master DCR is propagated to slave DCRs. This allows applications on different servers to use a synchronized device inventory. Using the master/slave model is transparent to DFM.

If the DCR used by your instance of DFM is changed from master to slave, or from standalone to slave, the DCR device list is synchronized with the DFM inventory. First, all devices are removed from the DFM inventory (regardless of DCR synchronization mode). If DFM is configured to use manual synchronization, all DCR devices will appear in the Device Selector (as devices not in DFM). For automatic synchronization, all DCR devices are added to the DFM inventory.

For more information on the DCR Master/Slave model, refer to the Common Services online help.

Understanding the Device Summary and Device States

The Device Summary lists the device states for all devices in the DFM inventory. The device summary appears when you select Device Management > Device Summary from DFM or the CiscoWorks home page. Figure 4-3 shows an example of the Device Summary page.

Figure 4-3 Device Summary Page

Table 4-1 describes the information displayed on the Device Summary page.

Table 4-1 Device Summary and Device States 

Heading
Description

Status

Lists the state the devices are in, from the following possibilities:

Known

The device has been successfully imported, and is fully managed by DFM.

Learning

DFM is discovering the device. This is the beginning state, when the device is first added or is being rediscovered. Some of the data collectors1 may still be gathering device information.

Questioned

DFM cannot manage the device. See Troubleshooting Device Import and Discovery.

Pending

The device is being deleted. (DFM is waiting for confirmation from all of its data collectors before purging the device and its details.)

Unknown

The device is not supported by DFM.

Number of Devices

The number of devices that are in each device state.

1 Data collector is a term used to refer to all back-end applications that are involved in device rediscovery and device data collection.


Importing Devices into DFM

A device must be in the DCR before you can add it to the DFM inventory. DFM supports three methods of device import from the DCR:

Using automatic synchronization between the DCR and DFM (see Automatically Importing DCR Devices)

Using manual synchronization between the DCR and DFM (see Manually Importing DCR Devices Using the Device Selector)

Importing DFM 1.2.x devices (see Importing Devices from DFM 1.2.x)

Importing Devices from the DCR

Once a device has been added to the DCR, it can be added to the DFM inventory:

Automatically (whenever there is an addition or change), if you activate the Synchronize with Device and Credentials Repository check box in the Device Selector.

Manually (on a device-by-device basis), if you do not activate the Synchronize with Device and Credentials Repository check box in the Device Selector.

To verify which setting you are using, from the CiscoWorks home page or DFM, select Device Management > Device Selector, and check the synchronization setting.


Note Your login determines whether you can import devices into DFM.


How DFM Identifies Devices Imported from the DCR

When a device is added to DFM from the DCR, DFM attempts to resolve the DNS name (hostname). DFM does not use the DCR Display Name. Table 4-2 shows how DFM names devices, depending on how the devices are added to the DCR.

Table 4-2 How DFM Determines Device Names 

When device is added to DCR with...
DFM does the following:

IP address and hostname (DNS name)

Uses the DNS name, if DFM can resolve it
Uses the IP address, if DFM cannot resolve the DNS name

IP address only

Uses the DNS name, if DFM can resolve the IP address
Uses the IP address, if DFM cannot resolve the DNS name

DNS name only

Uses the DNS name, even if not resolvable

IP address, and the IP address was already added to the DCR (this is allowed in the DCR)

Chooses one IP address and makes the other an alias (duplicate)

IP address, and the IP address corresponds to two interfaces of the same physical device

Chooses one IP address and make the other an alias (duplicate)



Note Once a device is added to the DCR with a specified MDF type and sysObjectID, no one can overwrite it, even if it is incorrect. The only exception is if no sysObjectID is supplied, as described in the previous table.


For information on how DFM performs polling and discovery, refer to Appendix E, "Polling—SNMP and ICMP."

How DFM Handles Containing and Contained Devices

DFM supports contained and containing devices (also referred to as aggregate devices). These are devices that have a parent/child relationship with another device, such as a Catalyst switch (parent) containing an MSFC (child). The switch is considered the containing device, and the MSFC is the contained device.

Table 4-3 How DFM Handles Containing and Contained Devices 

Action
Effect on Device
Containing
Contained
Adding to DFM (regardless of DCR synchronization mode)
 

Containing

Added

Added1

 

Contained

N/A

N/A

Rediscovering in DFM
 

Containing

Rediscovered

Rediscovered

 

Contained

No effect

Rediscovered

Removing from DFM
 

Containing

Deleted

Deleted from DFM (but not deleted from DCR)

 

Contained

No effect

Deleted

Removing from DCR
 

Containing

Deleted

Deleted

 

Contained

No effect

Deleted

Suspending in DFM
 

Containing

Suspended

Suspended

 

Contained

No effect

Suspended

Resuming in DFM
 

Containing

Resumed

Resumed

 

Contained

No effect

Resumed only if containing device is resumed

1 When a containing device is added to the DCR, the DCR does not recognize the contained devices. However, when the device is added to DFM, the contained devices are discovered by DFM and added to the DFM inventory.


Automatically Importing DCR Devices

DFM uses automatic synchronization by default. Use the following procedure to change manual synchronization to automatic synchronization.


Note If you are running the synchronization process for the first time, it may take several hours for DFM to discover all of the devices, depending on how many devices are being added to DFM.



Step 1 From the CiscoWorks home page or DFM, select Device Management > Device Selector. (If you previously removed any devices from DFM, these devices will be listed in the Devices Not in Device Fault Manager field.)

Step 2 Activate the Synchronize with Device and Credentials Repository check box.

Step 3 Click OK. DFM will be synchronized with the DCR; any DCR devices currently not in DFM will be added. The new devices that are added to DFM will be discovered.

Step 4 Verify whether any aliases exist by selecting Device Management > Device Aliases. If you do not require the alias for your deployment, remove it using Common Services > Device and Credentials > Device Management.



Note If you exceed your device limit, DFM will continue to operate, but you will notice that devices are not being added to DFM. Check the license log as described in Viewing and Maintaining Log Files, page 11-12. For information on device-based licensing, see Responding to Messages About Device Limits, page 2-11.


For information on the rediscovery schedule, refer to Configuring Rediscovery Schedules, page 7-5.

Manually Importing DCR Devices Using the Device Selector

Use the following procedure to change automatic synchronization to manual synchronization.


Step 1 From the CiscoWorks home page or DFM, select Device Management > Device Selector. (If you previously removed any devices from DFM, these devices will be listed in the Devices Not in Device Fault Manager field.)

Step 2 Make sure the Synchronize with Device and Credentials Repository check box is not activated.

Step 3 Click OK.

Step 4 To move devices from the DCR into DFM, select the DCR device (or devices) you want to add to DFM, and click Add.

Step 5 Click Summary to verify your changes. (If any devices are listed as Duplicate Devices, you can get more information about those devices by selecting Device Management > Device Aliases.)

Step 6 Click OK. The new devices that are added to DFM will be discovered.

Step 7 Verify whether any aliases exist by selecting Device Management > Device Aliases. If you do not require the alias for your deployment, delete it from the DFM inventory using Common Services > Device and Credentials > Device Management.



Note If you exceed your device limit, DFM displays a warning message. You can get more information from the license log as described in Viewing and Maintaining Log Files, page 11-12. For information on device-based licensing, see Responding to Messages About Device Limits, page 2-11.


For information on how to handle duplicate devices, refer to Viewing Alias (Duplicate) Devices.

Determining Which Devices Are in DCR But Not in DFM

To identify devices that are in the DCR but not in DFM, use the Device Selector. The Device Selector lists devices that are not in DFM for these reasons:

The devices have not been added to DFM because DFM is using manual DCR synchronization.

The devices were deleted from DFM. (Devices you delete from DFM are not deleted from the DCR.)

You can start the Device Selector by selecting Device Management > Device Selector from the CiscoWorks home page or DFM.

Figure 4-4 DFM Device Selector

When you click Summary, DFM will display a total of devices in the following categories:

Devices in DFM inventory

Devices in DCR

Duplicate Devices

Devices in Device Credential Repository and not in Device Fault Manager

For information on moving devices from the DCR into DFM, refer to Manually Importing DCR Devices Using the Device Selector. For information on duplicate devices, refer to Viewing Alias (Duplicate) Devices.

Importing Devices from DFM 1.2.x

You can import a list of DFM 1.2.x devices into DFM, but first you must add those DFM 1.2.x devices to the DCR. These are the steps you must perform:

1. From the DFM 1.2.x server, use the command line to create a DCR-format list of your DFM 1.2.x devices and perform the bulk import into the DCR. This procedure is described in Installation and Setup Guide for Device Fault Manager 2.0.3.

2. Once the devices are in the DCR, add them to DFM using one of these methods:

Automatically Importing DCR Devices

Manually Importing DCR Devices Using the Device Selector

Viewing Alias (Duplicate) Devices

The Alias Devices page lists all devices for which DFM has found duplicates. DFM considers a device to be an alias when the device is added to DFM using its IP address, device name, or host name; and the IP address, device name, or host name already exists in the DCR.


Step 1 From DFM, select Device Management > Device Aliases.

Step 2 Select the device from the Normal Devices field and click Show Alias Devices. DFM displays all alias devices for the selected device in the Alias Devices field.

Step 3 If you want to delete the alias device, use Common Services > Device and Credentials > Device Management.


Verifying Device Import Using Discovery Status

After adding a device, you can verify that it has been imported by using the Discovery Status page.


Step 1 From the CiscoWorks home page or DFM, select Device Management > Discovery Status. The Discovery Status page opens.

Figure 4-5 Discovery Status Page

Step 2 In the Device Name column, locate the device you added.

Step 3 In the Status column, verify that your device is in the Known state. (The Last Discovered column displays the time it was fully discovered.) A Known state on the device indicates that it was imported successfully.


Note For a complete explanation of the device states, see Understanding the Device Summary and Device States.


Step 4 If the device is not in the Known state, refer to Troubleshooting Device Import and Discovery.


Troubleshooting Device Import and Discovery


Step 1 From DFM, select Device Management > Rediscover/Delete. The Rediscover/Delete Devices page opens. (This page is described in Rediscovering and Deleting Devices.)

Figure 4-6 Rediscover/Delete Devices Page

Step 2 Expand the folder that contains your device (according to its discovery status; refer to Verifying Device Import Using Discovery Status).

Step 3 Click the device name or IP address. This will populate the Item Information field.

Step 4 Proceed as follows:

To troubleshoot problems with Learning devices, proceed to Step 5.

To troubleshooting problems with Questioned devices, proceed to Step 6.

To troubleshoot problems with Pending devices, proceed to Step 7.

Step 5 For Learning Devices, locate the Data Collector Status information at the bottom of the Item Information field. If the Discovery Progress percentage does not change in a reasonable amount of time (10 minutes for a single device import and 3 hours for a 1,500-device bulk import), do the following:

a. Verify that the Common Services EssMonitor process (which handles distribution of events between processes) is running:

From the Common Services home page, selecting Server > Reports > Process Status, and click Generate.

Verify that the ESSMonitor process is running normally. If it is not, stop and start it using Server > Admin > Processes.

b. If the device is in the DCR but not in DFM, do the following:

Verify that the DFM InventoryCollector process is running by selecting Server > Reports > Process Status from the Common Services home page, and clicking Generate.

Verify that the TISServer process is running normally. If it is not, stop and restart it using Server > Admin > Processes.

c. Check the Discovery Progress percentage on the Rediscover/Delete Devices page, and select Server > Admin > Processes from the Common Services home page. The Process Management page opens.

If the percentage is equal to or less than 69%, stop and start the inventory Interactor process.

If the percentage is equal to or greater than 70%, stop and start the DFMOGSServer process.

Step 6 For Questioned Devices, locate your device in one of the following folders:

SNMP Timeout—The device has timed out. The following are some possible causes:

Wrong or insufficient credentials (such as SNMP read-only community string)—Update the device credentials (as described in Editing Device Configuration and Credentials), and readd the device.

Wrong SysObjectID or MDF type was used when the device was added to the DCR. (Devices that were added to the DCR with no specified device type are assigned their appropriate device type when DFM discovers them.) You can verify this problem by selecting Device Management > Rediscover/Delete, clicking the device link, and checking the Error Message in the Item Information panel. It will say MDFIdmismatch. Fix the MDF type by reconfiguring the Device Type filed using Common Services > Device and Credentials > Device Management.

Device not operational during import—Verify that the device is operational.

Device does not support MIB II.

Data collector timeout—One of the data collectors did not respond in time. This can occur when the system is under a heavy load. To rediscover the device, see Rediscovering Devices.

The SNMP Timeout may be too short. This may be the problem if a device rediscovery times out for several devices. Increase the timeout setting, as described in Modifying SNMP Timeout and Retries.

Others—In the right pane of the Rediscover/Delete Devices page, error codes and error messages are displayed. Act accordingly to fix the problem.

Step 7 For Pending devices (devices in the process of being deleted), if the device has been in the Pending state for more than ten minutes, stop and restart the InventoryCollector process using the Common Services Process Management page (Server > Admin > Processes).


Exporting Devices

You can export devices to create a backup of your devices list, or to import DFM devices into another CiscoWorks server that accepts DCR-format import files. The export file will contain a list of all managed devices, along with their credentials.

You can export devices using either of the following methods:

For a list of all devices in the Device and Credentials Repository, use CiscoWorks Common Services. During export, CiscoWorks creates a DCR-format CSV or XML file that contains all of the devices in the DCR. For more information, from the Common Services home page select Device and Credentials > Device Management and click the Help button.

For a list of all devices in DFM, use the DfmExport command (which is explained in the following procedure). During export, DFM creates a DCR-format CSV or XML file that contains all of the devices in the DFM inventory.


Note For information on exporting the DFM 1.2.x device list to DFM 2.0.3, refer to Installation and Setup Guide for Device Fault Manager 2.0.3, which contains all of the migration instructions.


Use the following procedure to create a file containing the DFM 2.0.3 devices. Log information is written to NMSROOT\log\dfmLogs\TIS\DeviceManagement.log.


Step 1 Verify that the DFM 2.0.3 installation has completed by checking the status of the TISServer process:

a. From the Common Services home page, select Server > Reports > Process Status and click Generate Report. The Process Status report appears.

b. Locate the TISServer process and verify that Running Normally is listed in the State column.


Note If you are connecting to the DFM server for the first time, a Security Alert window is displayed after you select nearly any option. Do not proceed without viewing and installing the security certificate. For more information, see Responding to Security Alerts, page 2-10.


Step 2 From the command prompt on the DFM server, run the export script:

For Solaris:

NMSROOT/bin/dfmexport fn=fileName ft=CSV|XML

For Windows:

NMSROOT\bin\dfmexport.bat fn=fileName ft=CSV|XML

where fn indicates the output filename and ft indicates the format. The export file is saved to the NMSROOT/importfiles directory. You should use a unique name for file name so that previous export files are not overwritten.


Editing Device Configuration and Credentials

After you add devices, you can change their configuration setup using CiscoWorks Common Services. From the CiscoWorks home page, select Device and Credentials > Device Management. From the Device Properties page, you can edit the following credentials:

Basic information, IP address, and domain names.

Device type (MDF group)

Credentials information such as usernames, passwords, and community strings.

User-defined fields that store additional user-defined data for a device.


Note If you are changing credentials for a device that also has an alias, be sure to change the credentials on both devices in case the primary device is deleted.


Click the Help button to view more information on the device credentials you can change using Common Services.

Rediscovering and Deleting Devices

Rediscovering and deleting specific devices is controlled by the Rediscover/Delete Devices page. Figure 4-6 shows the Rediscover/Delete Devices page.


Note If at any time while using the Rediscover/Delete Devices page, you want to refresh the view, click the Refresh button.


The Rediscover/Delete Devices page contains two panes. The left pane displays a device selector, from which you select the device or group that you want to rediscover or delete. The right pane displays the information for the selected object.

The left pane includes a search option. For more information, see Searching for Objects Using the Device Selector, page 2-8.

The devices that appear in the device selector are organized in folders by device state. (For a description of device states, see Understanding the Device Summary and Device States.) The folders appear only if there is a device to go in the folder. Figure 4-7 shows an example of the device selector.

Figure 4-7 Rediscover/Delete Devices Device Selector

Devices are displayed in four possible states: Known, Learning, Pending, and Questioned. DFM creates the following folders:

All Known Devices in Inventory Services—This folder is created when there are fully discovered devices in the DFM inventory.

All Learning Devices in Inventory Services—This folder is created when there are devices in the process of being discovered.

All Pending Devices in Inventory Services—This folder is created when devices are being deleted from the DFM inventory.

All Questioned Devices in Inventory Services—Two subfolders are also created, the first listing devices that encountered the SNMP Timeout error, and the second listing devices that encountered other errors. Descriptions of the errors are displayed in the right pane, next to Error Message.

Details about and procedures for rediscovering or deleting devices using this page are provided in these topics:

Rediscovering Devices

Deleting Devices

Rediscovering Devices

Through the Rediscover/Delete Devices page, you can rediscover devices or device groups. When rediscovery takes place, if there are any changes to a device or group configuration, the new settings will overwrite any previous settings.

Rediscovery occurs only for active devices. Suspended devices do not go through rediscovery. If some of the devices you are selecting for rediscovery are suspended devices, DFM displays messages indicating that only the active devices will go through rediscovery.

The following events will also trigger rediscovery:

Inventory collection occurs (when the entire DFM inventory is polled). This is controlled by the Rediscovery Schedule. (Refer to Configuring Rediscovery Schedules, page 7-5.)

DFM is using automatic synchronization with the DCR, and a device is added, or a change is made to a device in the DCR. Such DCR changes include a device being deleted or having its credentials (IP address, SNMP credentials, MDF type) changed in the DCR.

DFM is using manual synchronization with the DCR, and a device is added to DFM using the Device Selector.


Note Do not confuse the DFM discovery process with the DCR synchronization process. DFM discovery/rediscovery is a process that affects only the DFM inventory.



Step 1 From DFM, select Device Management > Rediscover/Delete. The Rediscover/Delete Devices page appears.


Note If you are connecting to the DFM server for the first time, a Security Alert window is displayed after you select nearly any option. Do not proceed without viewing and installing the security certificate. For more information, see Responding to Security Alerts, page 2-10.


Step 2 Select the device or group that you want to rediscover.


Note With many devices in DFM, it can sometimes be difficult to locate the devices you are interested in. To assist you in locating devices, use the search option in the device selector. For more information, see Searching for Objects Using the Device Selector, page 2-8.


Step 3 Click Rediscover.

Rediscovery is started. To view rediscovery status, select Device Management > Discovery Status.


Deleting Devices

The DFM Rediscover/Delete Devices page allows you to delete devices from the DFM inventory (local deletion). It does not affect the DCR (all DCR device management is performed from the Common Services home page).

When a device is deleted from the DCR (which can only be done from the Common Services home page), it is automatically deleted from DFM, regardless of the synchronization setting. If you want to delete an alias device, use Common Services > Device and Credentials > Device Management.

When you delete a device from the DFM inventory and DFM is configured to use manual synchronization, the deleted device will appear in the Device Selector (in the Devices Not in Device Fault Manager field). A deleted device will not be readded when DFM inventory collection is performed.

Local deletions are disabled when DFM is configured to use automatic synchronization.

While a device is being deleted, DFM will not allow any rediscovery, suspend, or resume operations to be performed on the device. When you delete a containing device, all of the contained devices are deleted.


Note If you only want to suspend the managed state of a device, you do not need to delete the device from DFM. You can suspend and resume the managed state of a device through the Detailed Device View page. For more details on suspending and resuming the managed state of a device, see the following:

Suspending Device Monitoring, page 3-18

Suspending/Resuming a Device Component, page 3-19



Note Depending upon the load that exists on the system, DFM takes approximately 15 to 40 seconds to delete a device.



Note Your login determines whether you can perform this operation.



Step 1 From DFM, select Device Management > Rediscover/Delete. The Rediscover/Delete Devices page appears.


Note If you are connecting to the DFM server for the first time, a Security Alert window is displayed after you select nearly any option. Do not proceed without viewing and installing the security certificate. For more information, see Responding to Security Alerts, page 2-10.


Step 2 Select the device or group that you want to delete.


Note With many devices in DFM, it can sometimes be difficult to locate the devices you are interested in. To assist you in locating devices, use the search option in the device selector. For more information, see Searching for Objects Using the Device Selector, page 2-8.


Step 3 Click Delete.

Step 4 In the confirmation box, click Yes.


Viewing Device Details

On the Device Details page, you select the devices for which you want to see device details. The Device Details display opens and displays the information for the devices. You can also start a Detailed Device View (DDV) from this page, which is useful when you want to view details about a device that has no current alerts.

The Device Details display provides basic information about the device such as name, IP address, when it was added, and so on. (For a description of the Device Details display, see Understanding the Device Details Display.)

Devices are organized in folders according to their device state. (For a description of device states, see Understanding the Device Summary and Device States.)


Step 1 From the CiscoWorks home page or DFM, select Device Management > Device Details. The Device Details page appears.

Step 2 For each device for which you want to view details, expand the folders where the device is located.

Step 3 Select a device by clicking the box next to it. Do this for each device for which you want to view details. If you want to view details for all of the devices in a group, click the box next to the group.


Note With many devices in DFM, it can sometimes be difficult to locate the devices you are interested in. To assist you in locating devices, use the search option in the device selector. For more information, see Searching for Objects Using the Device Selector, page 2-8.


Step 4 Click View. The Device Details display appears.

Step 5 To start a DDV for the device, click the Device Name link. The DDV appears. (For information on the DDV, refer to Understanding the Layout of the Detailed Device View, page 3-16.


Understanding the Device Details Display

The Device Details display shows details for the devices that you select. See Viewing Device Details for information on selecting devices.

Figure 4-8 shows an example of the Device Details display.

Figure 4-8 Device Details Display

Table 4-4 describes the information displayed in the Device Details display.

Table 4-4 Device Details Display 

Heading/Button
Description

Device Name

Device name. Click this link to launch a Detailed Device View.

IP Address

Device IP address.

Status

Current state the device is in.

Function

Description or function of the device.

First Added

The first time the device was added into DFM.

Last Discovered

The time and date the device was last discovered.

Downloads the Device Details display to a file on your computer.

Displays the report in a printer-friendly format.


Modifying SNMP Timeout and Retries

If an SNMP query does not respond in time, DFM will time out. It will then retry contacting the device for as many times as displayed when you select Device Management > SNMP Config.

The timeout period is doubled for every subsequent retry. For example, if the timeout value is 4 seconds and the retries value is 3, DFM waits for 4 seconds before the first retry, 8 seconds before the second retry, and 16 seconds before the third retry.

The SNMP timeout and retries are global settings.

The default values are:

Timeout—4 seconds

Retries—3

Figure 4-9 shows an example of the SNMP Configuration page.


Note Changing the settings on this page will modify the settings on all devices managed by DFM.


Figure 4-9 SNMP Configuration Page


Note Your login determines whether you can perform this operation.



Step 1 From DFM, select Device Management > SNMP Config. The SNMP Configuration page appears.


Note If you are connecting to the DFM server for the first time, a Security Alert window is displayed after you select nearly any option. Do not proceed without viewing and installing the security certificate. For more information, see Responding to Security Alerts, page 2-10.


Step 2 Select a new SNMP timeout setting.

Step 3 Select a new Number of Retries setting.

Step 4 Click Apply.

Step 5 In the confirmation box, click Yes.