No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

CX11x, CX31x, CX710 (Earlier Than V6.03), and CX91x Series Switch Modules V100R001C10 Configuration Guide 13

The documents describe the configuration of various services supported by the CX11x&CX31x&CX91x series switch modules The description covers configuration examples and function configurations.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring Performance Management Functions

Configuring Performance Management Functions

You can collect system performance data by configuring a performance statistics collection task and binding it to instances.

Pre-configuration Tasks

Before configuring a performance statistics collection task, complete the following task:

  • Ensuring that the device can communicate with the NMS and performance management server at the network layer.

Configuring a Performance Statistics Collection Task

Context

To collect and analyze performance data of services in the system, configure a performance statistics collection task and bind the task to instances. In the performance statistics collection task, you can configure the performance statistics collection cycle and parameters for statistics file generation.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    pm

    The performance management (PM) view is displayed.

  3. Run:

    statistics enable

    The performance statistics collection function is enabled.

    By default, the performance statistics collection function is disabled.

  4. Run:

    statistics-task task-name

    A performance statistics collection task is created, and the performance statistics collection task view is displayed.

  5. Run:

    binding instance-type instance-type instance instance-name &<1-8>

    An instance is bound to the performance statistics collection task.

    After an instance is bound to a performance statistics collection task, the system collects the performance statistics about the instance.

  6. (Optional) Run:

    measure disable instance-type instance-type measure measure-name

    Measurement is disabled for a statistics counter of the instance bound to the performance statistics collection task.

    By default, all statistics counters of the instance bound to a performance statistics task are measured.

    To view statistics counters of the instance bound to a performance statistics task, run the display pm measure-info [ instance-type instance-type ] command. To deactivate a specific statistics counter of the instance bound to a performance statistics collection task, run the measure disable instance-type instance-type measure measure-name command to disable the measurement for the statistics counter.

  7. (Optional) Run:

    statistics-cycle cycle

    The performance statistics collection cycle is set.

    The default cycle is 15 minutes.

  8. (Optional) Run:

    sample-interval interval

    The sampling interval for a performance statistics collection task is set.

    By default, the sampling interval varies with the performance statistics collection cycle:

    • If the performance statistics collection cycle is 5 minutes, the default sampling interval is 1 minute.
    • If the performance statistics collection cycle is 10 minutes, the default sampling interval is 2 minutes.
    • If the performance statistics collection cycle is 15 minutes, the default sampling interval is 3 minutes.
    • If the performance statistics collection cycle is 30 minutes, the default sampling interval is 5 minutes.
    • If the performance statistics collection cycle is 60 minutes, the default sampling interval is 5 minutes.
    • If the performance statistics collection cycle is 1440 minutes, the default sampling interval is 15 minutes.

  9. (Optional) Configure statistics file generation.

    • Run the record-file disable command to disable the generation of a performance statistics file.

      By default, the system saves performance statistics in a performance statistics file automatic.

      Run this command when you do not want the system memory to be occupied by many performance statistics files. After disabling the generation of a performance statistics file, you still can run the display pm statistics task-name data-index index [ instance-type instance-type [ measure measure-name | instance instance-name &<1-8> ] * ] command to view performance statistics.

    • If the performance statistics file generation function is left enabled, you can run the record-interval interval command to set the number of performance statistics collection cycles after which the system generates a statistics file.

      By default, the interval at which the system generates performance statistics files is determined by the performance statistics collection cycle:
      • If a short performance statistics collection cycle (5, 10, 15, 30, or 60 minutes) is set, the system generates performance statistics files every four intervals.
      • If a long performance statistics collection cycle (1440 minutes) is set, the system generates performance statistics files at every one interval.

      After the command is executed, the system generates performance statistics files every cycle x interval minutes and automatically saves the performance statistics in the files. The system generates a maximum of four performance statistics files for each performance statistics collection task. If the system generates a new performance statistics file when four performance statistics files already exist, the latest performance statistics file will replace the earliest one.

      Run the file-format { text | xml } command to set the format for performance statistics files. By default, statistics files are in the .txt format.

  10. Run:

    commit

    The configuration is committed.

(Optional) Uploading Performance Statistics Files

Context

The system generates performance statistics files based on the collected performance statistics at a specified interval. To view the performance statistics on a performance management (PM) server, upload performance statistics files to the PM server.

The system uses FTP or SFTP to upload statistics files to a PM server. Statistics files can be uploaded in either of the following modes:
  • Active mode: The system periodically generates statistics files and automatically uploads the files to the PM server.

  • Passive mode: The system periodically generates statistics files. When the system receives a file uploading instruction from the network management system or a file uploading command is executed, the system uploads the statistics files to the PM server.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    pm

    The PM view is displayed.

  3. Run:

    pm-server server-name

    A process serving the PM server is created, and the PM server view is displayed.

  4. Run the following commands to configure parameters of the PM server to which a performance statistics file will be uploaded.

    • To configure the protocol, IP address, and port number to upload a performance statistics file to the PM server, run the protocol { ftp | sftp } ip-address ip-address [ port port-number | { net-manager-vpn | vpn-instance vpn-instance-name } ] * command.

      By default, the PM server port number is 21 (using FTP) or 22 (using SFTP).

      Using FTP to upload performance statistics files is insecure. Therefore, using SFTP is recommended.

    • To configure a user name and password for logging in to the PM server, run the username user-name password password command.
    • To specify the path to save performance statistics file on the PM server, run the path destination-path command.

      By default, performance statistics files are uploaded to the default path on a PM server.

    • To configure the number of retransmissions for a performance statistics file, run the retry retry-times command.

      The default number of retransmissions is 3.

  5. Run:

    quit

    Return to the PM view.

  6. Run:

    upload-config request-name server server-name

    A request for uploading performance statistics files to a specified PM server is created.

  7. Upload statistics files to a PM server.

    • Configure the device to automatically upload statistics files.

      1. Run:

        statistics-task task-name

        The performance statistics task view is displayed.

      2. Run:

        upload auto request-name

        The device is enabled to automatically upload performance statistics files to the PM server.

    • Manually upload statistics files.

      1. (Optional) Run:

        display pm statistics-file [ task-name ]

        The performance statistics file list is displayed.

      2. Run:

        upload request-name file filename &<1-16>

        Statistics files are uploaded to the PM server.

  8. Run:

    commit

    The configuration is committed.

Checking the Configurations

Procedure

  • Run the display pm command to check brief PM information.
  • Run the display pm statistics-task [ task-name ] command to check information about a specific performance statistics task.
  • Run the display pm measure-info [ instance-type instance-type ] command to check information about the statistics counters of the instances.
  • Run the display pm statistics task-name data-index index [ instance-type instance-type [ measure measure-name | instance instance-name &<1-8> ] * ] command to check the performance statistics.
  • Run the display pm statistics-file [ task-name ] command to check the list of performance statistics files.
Translation
Download
Updated: 2019-12-13

Document ID: EDOC1000041694

Views: 60712

Downloads: 3623

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next