cc/td/doc/product/rtrmgmt/cw2000/cfm/cfm10
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Configuring CFM to Monitor Cisco Server Load Balancing Devices

Configuring CFM to Monitor Cisco Server Load Balancing Devices

Before you can use CFM to monitor Cisco server load balancing devices, you must define the devices to CFM. This chapter provides information on defining Cisco server load balancing devices resources to CFM. It includes the following sections:

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.

Starting the CFM Server

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:


Step 1 From the server where you installed CFM, do one of the following:

    cd /opt/CSCOcfm
    ./cfm start
     
    

The Server Administration window (Figure 2-1) is displayed.


Figure 2-1: Server Administration Window


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.

Defining Cisco Server Load Balancing Devices to CFM

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:

Defining Devices to CFM Using a Seed File

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:

Seed File Format

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.


Table 2-1: Seed File Components
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.

Creating a Seed File

To create a seed file:


Step 1 Using any text editor, create a seed file following the format described in the "Seed File Format" section.

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.


Loading Devices from a Seed File into CFM

To load devices from a resource seed file into CFM:


Step 1 Make sure the seed file that you created is named LoadBalancing.seed. For Windows, the seed file should be in the /CSCOpx/htdocs/cfm directory. For Solaris, the seed file should be in the /opt/CSCOcfm directory.

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.

Defining Devices to CFM from the Server's User Interface

The following sections provide information on using the CFM server's user interface to define devices to be monitored by CFM:

Viewing a List of the Devices Defined to CFM

To view a list of devices being monitored by CFM from the server interface:


Step 1 From the Server Administration window (Figure 2-1), click the Discovery Manager tab. The Discovery Manager window (Figure 2-2) is displayed.


Figure 2-2: Discovery Manager Window


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.


Adding a New Device

To add a new device to monitor:


Step 1 From the Server Administration window (
Figure 2-1) click the Discovery Manager tab. The Discovery Manager window (Figure 2-2) is displayed.

Step 2 Click Add. The Add Device window (Figure 2-3) is displayed.


Figure 2-3: Add Device Window


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.


Modifying the Read Community String for an Existing Device

To modify the read community string for an existing device:


Step 1 From the Server Administration window (
Figure 2-1) click the Discovery Manager tab. The Discovery Manager window (Figure 2-2) is displayed.

Step 2 Select the device from the list.

Step 3 Click Edit. The Edit Device window (Figure 2-4) is displayed.


Figure 2-4: Edit Device Window


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.


Deleting a Device

To delete an existing device:


Step 1 From the Server Administration window (
Figure 2-1) click the Discovery Manager tab. The Discovery Manager window (Figure 2-2) is displayed.

Step 2 Select the device from the list.

Step 3 Click Remove. The Delete Device window (Figure 2-5) is displayed.


Figure 2-5: Delete Device Window


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.


Defining the Monitoring Interval

CFM gathers information about the Cisco server load balancing devices by polling the forwarding agents and services managers. This allows CFM to collect status and statistical information about the forwarding agents and services managers as well as the real servers and virtual services that are associated with them. You can control how frequently CFM polls these two resources for information.

To define the monitoring interval:


Step 1 From the Server Administration window (
Figure 2-1), click the Preferences tab. The Preferences window (Figure 2-6) is displayed.


Figure 2-6: Preferences Window


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.



hometocprevnextglossaryfeedbacksearchhelp
Posted: Sun Apr 2 12:31:31 PDT 2000
Copyright 1989 - 2000©Cisco Systems Inc.