Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring Resource Manager Trace Options

    Resource management tracing operations record detailed messages about the operation of resource management clients and server on the MobileNext Broadband Gateway.

    Note: You do not configure the resource manager for the broadband gateway. The process runs automatically.

    Resource management trace options are divided into flags for the resource management server (the active Routing Engine) and the resource management client (the session Dense Port Concentrators [DPCs] and interface DPCs and Modular Port Concentrators [MPCs]). You can set server and client flags independently. You can specify which trace operations are logged by including specific tracing flags and levels.

    Table 1 describes the flags relating to the resource management server that you can include at the [edit unified-edge resource-management server traceoptions flag] hierarchy level.

    Table 1: Resource Management Server Trace Flags

    FlagDescription

    all

    Trace everything.

    communication

    Trace Infra code.

    config

    Trace configuration code.

    gres

    Trace GRES code.

    info-manager

    Trace information management code.

    init

    Trace events related to data path daemon initialization.

    memory

    Trace memory management code.

    packet-steering

    Trace packet-steering code.

    resource-manager

    Trace resource management code.

    signal

    Trace signal handling code.

    state

    Trace state handling code.

    timer

    Trace timer code.

    ui

    Trace user interface code.

    Table 2 describes the flags relating to the resource management client that you can include at the [edit unified-edge resource-management client traceoptions flag] hierarchy level.

    Table 2: Resource Management Client Trace Flags

    FlagDescription

    all

    Trace everything.

    communication

    Trace IPC code.

    info-tables

    Trace information table code.

    infra

    Trace FSM and Infra code.

    memory

    Trace memory management code.

    redundancy

    Trace GRES code.

    resource-tables

    Trace resource table code.

    Table 3 describes the levels you can include.

    Table 3: Trace Levels

    LevelDescription

    all

    Match all levels.

    error

    Match error conditions.

    info

    Match informational messages.

    notice

    Match conditions that should be specially handled.

    verbose

    Match verbose messages.

    warning

    Match warning messages.

    To configure tracing options for resource management operations:

    1. Specify that you want to configure tracing options for resource management client or server operations.
      [edit unified-edge resource-management server][edit unified-edge resource-management client]user@host# edit traceoptions
    2. Configure the filename for the trace file.
      [edit unified-edge resource-management server traceoptions][edit unified-edge resource-management client traceoptions]user@host# set file rm-log
    3. (Optional) Configure the maximum size of each trace file.
      [edit unified-edge resource-management server traceoptions][edit unified-edge resource-management client traceoptions]user@host# set file size 100m

      Note: When a trace file (for example, rm-log) reaches its maximum size, it is renamed rm-log.0, then rm-log.1, and so on, until the maximum number of trace files is reached. The oldest archived file is then overwritten.

    4. Configure the tracing flag.
      [edit unified-edge resource-management server traceoptions][edit unified-edge resource-management client traceoptions]user@host# set flag all

      Note: Use care when tracing all operations on a gateway. This can have a performance impact.

    5. Configure the tracing level.
      [edit unified-edge resource-management server traceoptions][edit unified-edge resource-management client traceoptions]user@host# set level error
    6. View the trace file.
      user@host# file show /var/log/rm-log

    Published: 2011-11-18