|
|
After installing the CFM server on your workstation and defining the Cisco server load balancing devices resources that you want CFM to monitor, you can begin monitoring those devices. For information on monitoring Cisco server load balancing devices using CFM, refer to the "Monitoring Cisco Server Load Balancing Devices" chapter.
Because the CFM application is comprised of a server component and a client component, the server component must be running before you can start the CFM client. The CFM server and client components can run on the same workstation or on two different workstations.
To start the CFM server:
cd /opt/CSCOcfm ./cfm start
The Server Administration window (Figure 2-1) is displayed.

Step 2 To add, modify, or delete devices to be monitored by CFM, click the Discovery Manager tab.
Step 3 To define the monitoring interval, click the Preferences tab.
![]() |
Note Selecting File > Close from the Server Administration window terminates the CFM server. Only use this option when you really want to shut down the CFM server. |
![]() |
Tips If you need to change the server port that CFM uses, edit the cfm.properties file located in the directory where CFM is installed. |
Before you can begin monitoring Cisco server load balancing devices, you must define the devices to CFM. There are two different methods for defining devices to CFM:
You can define devices by creating a seed file. A seed file is a text file that contains the information required to define a device or group of devices to CFM as Cisco server load balancing devices, including forwarding agents, services managers, and LocalDirectors, to monitor. Using a seed file to define devices enables you to define multiple devices at the same time instead of defining devices individually.
The following sections provide information on creating a seed file:
The seed file contains a comments section at the top for any information that you want to note about the file, followed by each device definition contained on a separate line. For each device, you must provide an IP address and read community string, separated by a colon.
A sample seed file is shown below:
#####################################!################################## # # Resource Seed File # # This file has definitions for MNLB resources. # # The format of the file is as follows: # # <ip_address>:<delimiter>:<read_community> # # The <delimiter> character is a colon(:) # # Lines that begin with character # will be considered a comment line # # Comments will not be saved and will be lost at next update # 172.18.12.20 :public 111.11.11.11 :public
Table 2-1 provides information about each of the components required for defining devices in a seed file.
| Component | Description |
|---|---|
IP Address | IP address of the device to be monitored. |
Read Community | SNMP community name for read access to the information maintained by the SNMP agent on the device. This value can be from 0 to 32 characters in length. This value is usually set to public. |
To create a seed file:
Step 2 Save the seed file as a text file named LoadBalancing.seed on the workstation where the CFM server is installed. For Windows, save the seed file in the /CSCOpx/htdocs/cfm directory. For Solaris, save the seed file in the /opt/CSCOcfm directory.
To load devices from a resource seed file into CFM:
Step 2 Start, or restart, the CFM server. The Server Administration window (Figure 2-1) is displayed.
Step 3 Verify that the devices that you defined in the seed file are displayed in the Discovery Manager window.
![]() |
Note After loading devices into CFM from a seed file, you can make changes to the device definitions from the Discovery Manager window. These changes are saved to the seed file. The CFM server reloads the seed file any time that the server is restarted. |
For information on accessing the CFM server's user interface, see the "Viewing a List of the Devices Defined to CFM" section.
To view a list of devices being monitored by CFM from the server interface:

The Discovery Manager window provides a list of all devices currently defined to CFM and includes their IP address or host name, read community string, and current discovery status.
From the Discovery Manager window, you can add a new device, modify setup information for an existing device, or delete a device.
To add a new device to monitor:
Step 2 Click Add. The Add Device window (Figure 2-3) is displayed.

Step 3 In the Name or IP Address field, type the host name or IP address for the device that you want to monitor.
Step 4 In the Read Community field, type the read community string for the device.
Step 5 Click OK. You return to the Discovery Manager window and the device that you added now appears in the list of devices to be monitored by CFM. The status field for the device will indicate "Discovering" while CFM tries to discover the device and determine its current status.
To modify the read community string for an existing device:
Step 2 Select the device from the list.
Step 3 Click Edit. The Edit Device window (Figure 2-4) is displayed.

Step 4 Enter the new read community string for the selected device.
Step 5 Click OK. Your changes are saved and you return to the Discovery Manager window.
Step 2 Select the device from the list.
Step 3 Click Remove. The Delete Device window (Figure 2-5) is displayed.

Step 4 Click Yes to confirm the deletion of the specified device. You return to the Discovery Manager window and the device has been removed.
To define the monitoring interval:

Step 2 In the Forwarding Agents field, type the value, in seconds, to use for the polling period for all forwarding agents being monitored by CFM. The default value is 600 seconds (10 minutes).
Step 3 In the Services Manager field, type the value, in seconds, to use for the polling period for all services managers being monitored by CFM. The default value is 600 seconds (10 minutes).
Step 4 To save your changes, click Apply.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Sun Apr 2 12:31:31 PDT 2000
Copyright 1989 - 2000©Cisco Systems Inc.