Guest

Cisco WAN Manager

How to Use scmproxy Script

Document ID: 29008



Contents

Introduction
Prerequisites
      Requirements
      Components Used
      Conventions
Script Usage
      Step-by-Step Instructions
Verify
Troubleshoot
NetPro Discussion Forums - Featured Conversations
Related Information

Introduction

The scmproxy script is a way for the Statistics Collection Manager (SCM) GUI to control the statistics collection. This document provides information on how to use that script.

Prerequisites

Requirements

There are no specific requirements for this document.

Components Used

The information in this document is based on these software and hardware versions:

  • Cisco WAN Manager 11.0

  • Cisco WAN Manager 10.5

The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.

Conventions

For more information on document conventions, refer to the Cisco Technical Tips Conventions.

Script Usage

The script /usr/users/svplus/scripts/scmproxy is a new script that version 10.5.10 introduced. The script allows you to start/stop and enable/disable statistics collection. The script is faster than the GUI, and you can use the script for quick and massive statistics configuration. This script calls the executable /usr/users/svplus/bin/scmproxymain.

Step-by-Step Instructions

To use scmproxy, you must have a statshostfile file that contains basic information about the collection server host, information about the statsparser host, and a list of specific nodes.

Perform these steps:

  1. Create a statshostfile with use of this statshostfile format and example:

     <CollParam:<BPXtemplate_name1><collectionhostname1><parserhostname1><routinginfo>> 
     bpxnode1 
     bpxnode2 
     ... 
     bpxnoden 
     <CollParam:<IGXtemplate_name1><collectionhostname1><parserhostname1><routinginfo>> 
     igxnode1 
     igxnode2 
     ... 
     igxnode3
    

    Example:

     <CollParam:<BPX_template><server1,server2><server1><inband>> 
     bpx1 
     bpx2 
     <CollParam:<BPX_template><server1,server2><server2><inband>> 
     bpx3
    

    Note: You must form the templates once for each platform from the SCM GUI, with your choice of statistics.

  2. When the file is ready, run the scmproxy script in this way:

    %scmproxy statshostfile
    
  3. If there are no format errors and logical errors in the statshostfile, you see a prompt to choose one of these five options:

     Welcome to SCM Proxy 
     MENU 
     --------- 
     1) Enable Statistics 
     2) Start Collection 
     3) Stop Collection 
     4) Disable Statistics 
     x) Exit
  4. Enter one of the numbers, or enter x to exit.

  5. Select any option.

    Note: You must select option 1 before you select options 2, 3, and 4.

    If you select each of these options, you can see the log files that correspond in the svplus/log directory. You can check to determine for which nodes the operation was successful and for which nodes the operation failed. This is a list of the five log files:

    • scmproxy.enable.log

    • scmproxy.disable.log

    • scmproxy.startcoll.log

    • scmproxy.stopcoll.log

    • Options 1, 4, 2, and 3, respectively, and another log file, scmproxy.failednodes.log

      Note: Options 1, 4, 2, and 3 and scmproxy.failednodes.log list the failed nodes for any operation you perform.

Verify

There is currently no verification procedure available for this configuration.

Troubleshoot

This section provides information you can use to troubleshoot your configuration.

You can turn on debug mode in ~svplus/config/scmproxy.conf to troubleshoot the script.

NetPro Discussion Forums - Featured Conversations

Networking Professionals Connection is a forum for networking professionals to share questions, suggestions, and information about networking solutions, products, and technologies. The featured links are some of the most recent conversations available in this technology.
NetPro Discussion Forums - Featured Conversations for Network Management
Network Infrastructure: Network Management
Virtual Private Networks: Network and Policy Management

Related Information



Updated: Jan 31, 2006Document ID: 29008