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

How Do I Check on the eSight Server Whether Links to Storage Are Connected and SNMP Parameters Are Correct?

Publication Date:  2019-04-24 Views:  59 Downloads:  0
Issue Description
When you connect the eSight server to a Huawei OceanStor V3 storage device, the server can properly ping the management port of the storage device but fails to add the storage device. You can use the snmpwalk tool on the eSight server to obtain the OID of the storage device. If the information can be obtained, the link between the eSight server and storage device is connected and parameter settings on the storage device are correct. This case uses the SNMPv2c protocol used by OceanStor V3 storage as an example.
Solution

1. The SNMPv2c function must be enabled on the storage device as it is disabled by default. Run the show snmp version command to check whether it is enabled. If not, run the change snmp version v1v2c_switch=on function to enable the function.

https://support.huawei.com/enterprisecase/product/images/2926b5fe0222489e85c38a309d862f23

2. Run the change snmp community read_community=XXXXXX write_community=XXXXXX command to configure read and write community strings on the storage device. The read and write community strings cannot be the same.

https://support.huawei.com/enterprisecase/product/images/644fc0b49ae64327a95008bf1179774a

3. Prepare the snmpwalk tool on eSight. If eSight is installed on a Windows server, you can download the uMate package and decompress it to obtain snmpwalk.

4. Switch to the directory where snmpwalk is located and run the following command to obtain the OID information. If the OID information can be obtained, the link between eSight and the storage device is connected and parameters are correct.

https://support.huawei.com/enterprisecase/product/images/6c89010c559d46548b8d25624cca6175

The instructions for using the snmpwalk tool are as follows:

The command is snmpwalk [option] agent [oid], where:

1. Common options

a) –h: shows help.

b) –v 1|2c|3: specifies the SNMP version.

c) –V: shows the current command-line version of snmpwalk.

d) –r RETRIES: specifies the maximum of retry attempts. The default value is 0.

e) –t TIMEOUT: specifies the timeout duration of waiting for each request. The unit is second and the default value is 3 seconds.

f) –Cc: specifies whether to continue the walk when the returned OIDs are decreasing.

2. V1 and V2C options

a) –c COMMUNITY: specifies the community string.

3. V3 options

a) –l LEVEL: specifies the security level. The value is noAuthNoPriv|authNoPriv|authPriv.

b) –u USER-NAME: indicates the security name.

c) –a PROTOCOL indicates an authentication protocol: MD5|SHA. This option is required only when -l is set to authNoPriv or authPriv.

d) –A PASSPHRASE indicates the verification character string. This option is required only when -l is set to authNoPriv or authPriv.

e) –x PROTOCOL indicates the encryption protocol: DES. This option is required only when -l is set to authPriv.

f) –X PASSPHRASE indicates the encrypted character string. This option is required only when -l is set to authPriv.

END