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

OceanStor 9000 V300R006C00 Object Storage Service (Compatible with OpenStack Swift APIs) Administrator Guide 07

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).
Connecting to the SNMP-based External NMS

Connecting to the SNMP-based External NMS

This section explains how to connect the OceanStor 9000 that serves as a network element to the Simple Network Management Protocol (SNMP)-based external network management system (NMS).

Prerequisites

The network management server (that refers to the server that has the SNMP-based storage management software installed) communicates normally with the management network of the OceanStor 9000.

Context

You can connect to the SNMP-based External NMS using CLI commands or DeviceManager in OceanStor 9000. For details about how to use DeviceManager to configure interconnection, see Managing the SNMP Service, Adding a USM User and Managing Trap Server Addresses. This section will introduce how to use the CLI to configure interconnection.

Figure 18-1 shows the network.

Figure 18-1  Connecting to the SNMP-based external NMS

OceanStor 9000 supports SNMPv1, SNMPv2c, and SNMPv3. The following uses SNMPv3 as an example. The italic parts in commands are alterable based on site requirements. For details about how to configure the SNMPv1- or SNMPv2c-based external NMS, refer to Appendix A Common Operations > Connecting to an SNMPv1- or SNMPv2c-Based External NMS.

SNMPv1 and SNMPv2c are not recommended because they are insecure. To protect system security, you are advised to configure SNMPv3 and the authentication and encryption protocols illustrated in this section.

Procedure

  1. On the OceanStor 9000 command-line interface (CLI), enable SNMP function.
    1. Log in to the CLI. For details about how to log in to the CLI, see "Appendix A Common Operations > Logging In to the CLI."
    2. Run add snmp usm to add SNMP USM user.

      The username is a 8- to 39- string and cannot be all spaces.

      admin:/>add snmp usm testuser ReadWrite SHA AES
      Please enter your authentication password:**********
      Please enter your authentication password again:**********
      Please input your private password:***********
      Please input your private password again:***********
      Command executed successfully.
      • user_name: The username is a 8- to 39- string and cannot be all spaces.
      • authentication password: The authentication password contains 8 to 16 characters. The value must contain any three character types of digits, uppercase and lowercase characters, and special characters, and be different from the user name or mirror writing of the user name. You can enter special characters and special characters does not need to be escaped. Special characters include: `~!@#$%^&*()-_=+|[{}];:'\",<.>/?. and space.
      • private password: The encryption password contains 8 to 16 characters. The value must contain any three character types of digits, uppercase and lowercase characters, and special characters, and be different from the user name or mirror writing of the user name. You can enter special characters and special characters does not need to be escaped. Special characters include: `~!@#$%^&*()-_=+|[{}];:'\",<.>/?. and space.

    3. Run change snmp status start, enable SNMP function.

      The SNMP agent service is disabled by default.

    4. Wait about 10 seconds then run show snmp status, check the status of SNMP function. Running status indicate that the status is normal.
    5. Run show snmp usm to view the user.

      admin:/>show snmp status 
                     
        Controller  Name  Status   Memory      CPU(%)  
        ----------  ----  -------  ----------  ------  
        26133       SNMP  Stopped     0.000KB  0       
        26137       SNMP  Stopped     0.000KB  0       
        26143       SNMP  Stopped     0.000KB  0       
        26147       SNMP  Running     0.000KB  1       
      admin:/>show snmp usm    
      
        ID  User Name  User Level  Authenticate Protocol  Private Protocol  
        --  ---------  ----------  ---------------------  ----------------  
        0   testuser   ReadWrite   SHA                    AES     
      NOTE:
      You can manage USM users using CLI commands in OceanStor 9000. For details, see section SNMP Management Commands > SNMP in Command Reference. In addition, you can also use DeviceManager to manage USM users. For details, see section Alarm Management > USM User Management in File System Administrator Guide.

  2. Run change snmp ip_style on the CLI to specify the IP type of SNMP functions.

    The SNMP management function supports either IPv4 or IPv6. Before using the SNMP protocol to manage the storage system, you need to specify the IP type of the SNMP function.

    admin:/>change snmp ip_style IPv4
    Command executed successfully.

  3. Notify the network administrator of discovery of OceanStor 9000 on the network management server.

    A Huawei network management software program is used as an example. The IP address used for discovering the NE is the OceanStor 9000 management IP address. Figure 18-2 shows the parameter configuration page. Port must be set to 161. Environment Name must be set to Array. Username, Authentication Protocol, Authentication Password, Encryption Protocol, and Encryption Password must be consistent with the settings in the preceding step.

    Figure 18-2  Adding the OceanStor 9000 NE

  4. On the OceanStor 9000 command-line interface (CLI), add new trap addresses for notifying alarms.
    1. Log in to the CLI.
    2. Run the add notification trap SNMPv3 trap_type x.x.x.x port user_name command. In the command, trap_type is trap type which can use Parsed, Original or All, x.x.x.x is the IP address of the NMS, port is the alarm listening port of the NMS and user_name is the usm user name.

      admin:/>add notification trap SNMPv3 Parsed 10.10.10.5 10162 user_name  
      Command executed successfully.
      NOTE:
      The value of trap_type needs to be chosen according to the implementation of the NMS:
      • OceanStor 9000 will send parsed alarms to a trap server(Trap OID:1.3.6.1.4.1.2011.2.91.10.2.1.0.1) when choosing Parsed.
      • OceanStor 9000 will send original alarms to a trap server(Trap OID:1.3.6.1.4.1.34774.4.1.4.2) when choosing Original.
      • OceanStor 9000 will send alarms in two formats when choosing All.

Translation
Download
Updated: 2019-04-28

Document ID: EDOC1000122524

Views: 11164

Downloads: 86

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