What does the netstat -a command show?

Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships
-l, --listening Show only listening sockets. (These are omitted by default.)
-p, --program Show the PID and name of the program to which each socket belongs.
-e, --extend Display additional information. Use this option twice for maximum detail.
--numeric , -n Show numerical addresses instead of trying to determine symbolic host, port or user names.

source manpages: netstat

Чтобы помочь вам лучше понять содержимое этого документа, компания Huawei перевела его на разные языки, используя машинный перевод, отредактированный людьми. Примечание: даже самые передовые программы машинного перевода не могут обеспечить качество на уровне перевода, выполненного профессиональным переводчиком. Компания Huawei не несет ответственность за точность перевода и рекомендует ознакомиться с документом на английском языке (по ссылке, которая была предоставлена ранее).

The netstat command is used to show information about the network connection, routing table, and socket status.

Parameter

Description

Value

parameter If you want to obtain the details and usage guide of parameters, run the "netstat --help" command.

-

Show information about the network connection and routing table.

Storage: minisystem> netstat Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 9.41.11.227:ssh 9.1.0.125:51863 ESTABLISHED tcp 0 0 9.41.11.227:ssh 9.1.0.252:55083 ESTABLISHED tcp 0 216 9.41.11.227:ssh 9.1.0.125:51633 ESTABLISHED tcp 0 0 9.41.11.227:ssh 9.1.0.210:59379 ESTABLISHED tcp 0 0 9.41.11.227:ssh 9.1.0.125:51663 ESTABLISHED tcp 0 0 9.41.11.227:ssh 9.1.0.132:53846 ESTABLISHED tcp 0 0 9.41.11.227:ssh 9.1.0.74:56196 ESTABLISHED tcp 0 0 9.41.11.227:ssh 9.1.0.124:63715 ESTABLISHED tcp 0 0 9.41.11.227:ssh 9.1.0.124:63784 ESTABLISHED Active UNIX domain sockets (w/o servers) Proto RefCnt Flags Type State I-Node Path unix 2 [ ] DGRAM 59997 @/org/kernel/udev/udevd unix 2 [ ] DGRAM 61303 /var/run/register unix 2 [ ] DGRAM 49104 /var/run/alarm unix 3 [ ] STREAM CONNECTED 77207 /dev/log unix 3 [ ] STREAM CONNECTED 79103 unix 2 [ ] DGRAM 60296 unix 3 [ ] DGRAM 60000 unix 3 [ ] DGRAM 59999 unix 3 [ ] STREAM CONNECTED 51542 /dev/log unix 3 [ ] STREAM CONNECTED 59994 unix 3 [ ] STREAM CONNECTED 61319 /dev/log unix 3 [ ] STREAM CONNECTED 61798 unix 3 [ ] STREAM CONNECTED 61305 /dev/log unix 3 [ ] STREAM CONNECTED 59942 unix 3 [ ] STREAM CONNECTED 59940 /dev/log unix 3 [ ] STREAM CONNECTED 61781 unix 3 [ ] STREAM CONNECTED 51495 /dev/log unix 3 [ ] STREAM CONNECTED 61302 unix 2 [ ] DGRAM 40891 unix 3 [ ] STREAM CONNECTED 50240 /dev/log unix 3 [ ] STREAM CONNECTED 40890 unix 3 [ ] STREAM CONNECTED 50222 /dev/log unix 3 [ ] STREAM CONNECTED 50208

The following table describes the parameter meanings.

Parameter

Meaning

Active Internet connections

Active TCP connections.

Proto

Protocol name.

Recv-Q

Queue of receiving packets.

Send-Q

Queue of sending packets.

Local Address

Local address.

Foreign Address

Remote address.

State

Connection status.

Active UNIX domain sockets

Active UNIX domain sockets.

RefCnt

ID of the process connected to the socket.

Type

Type of the socket.

State

Current status of the socket.

I-Node

Node quantity of the socket.

Path

Path of other processes connected to the socket.

This Document Applies to these Products


Page 2

Чтобы помочь вам лучше понять содержимое этого документа, компания Huawei перевела его на разные языки, используя машинный перевод, отредактированный людьми. Примечание: даже самые передовые программы машинного перевода не могут обеспечить качество на уровне перевода, выполненного профессиональным переводчиком. Компания Huawei не несет ответственность за точность перевода и рекомендует ознакомиться с документом на английском языке (по ссылке, которая была предоставлена ранее).

The xnet msgstat command is used to query messages sent from an instance to a node.

xnet msgstat -f [flags] -c [ctx_id] -n [dst_nid] <usermode>

Parameter

Description

Value

flags Start and end flags.

The value can be "0" or "1", where "0" indicates an end and "1" indicates a start.

idx Instance number.

-

nid Peer node number.

-

usermode This parameter is mandatory. It must be added to the end of a command as a suffix to query user state information.

The value can be:

  • '-osd_data' executes the commamd for the osd_data process.
  • '-osd_devm' executes the commamd for the osd_devm process.
  • '-ccdb_backup' executes the commamd for the ccdb_backup process.
  • '-dpsf_snm' executes the commamd for the dpsf_snm process.
  • '-dpsf_snm_daemon' executes the commamd for the dpsf_snm_daemon process.
  • '-osd_msg_server' executes the commamd for the osd_msg_server process.

  • Start collecting statistics.

    admin:/diagnose>xnet msgstat -f 1 -osd_data Set msg stat from 0->1.
  • Query messages sent from instance "3" to node "0".

    admin:/diagnose>xnet msgstat -c 3 -n 786432 -osd_data ---------------------------------------------------------------------------------------------------------------------------------------------------------------- index queue send_msg resend_msg send_success send_fail recv_msg ---------------------------------------------------------------------------------------------------------------------------------------------------------------- 0 0xffff26f3f640 0 0 0 0 0 ----------------------------------------------------------------------------------------------------------------------------------------------------------------
  • Stop collecting statistics.

    admin:/diagnose>xnet msgstat -f 0 -osd_data Set msg stat from 1->0.

The following table describes the parameter meanings.

Parameter

Meaning

index

Index number.

queue

Queue pointer.

send_msg

Count of sent messages.

resend_msg

Count of resent messages.

send_success

Count of successfully sent messages.

send_fail

Count of messages that fail to be sent.

recv_msg

Count of received messages.

This Document Applies to these Products


Page 3

Чтобы помочь вам лучше понять содержимое этого документа, компания Huawei перевела его на разные языки, используя машинный перевод, отредактированный людьми. Примечание: даже самые передовые программы машинного перевода не могут обеспечить качество на уровне перевода, выполненного профессиональным переводчиком. Компания Huawei не несет ответственность за точность перевода и рекомендует ознакомиться с документом на английском языке (по ссылке, которая была предоставлена ранее).

The xnet iopsstat command is used to query IOPS on the current instance.

xnet iopsstat -f / -s <usermode>

Parameter

Description

Value

-f Starts or stops collecting statistics.

The value can be "0" or "1", where "0" indicates an end and "1" indicates a start.

-s Displays statistics.

-

usermode This parameter is mandatory. It must be added to the end of a command as a suffix to query user state information.

The value can be:

  • '-osd_data' executes the commamd for the osd_data process.
  • '-osd_devm' executes the commamd for the osd_devm process.
  • '-ccdb_backup' executes the commamd for the ccdb_backup process.
  • '-dpsf_snm' executes the commamd for the dpsf_snm process.
  • '-dpsf_snm_daemon' executes the commamd for the dpsf_snm_daemon process.
  • '-osd_msg_server' executes the commamd for the osd_msg_server process.

  • Start collecting IOPS statistics of the current instance.

    admin:/diagnose>xnet iopsstat -f 1 -osd_data
  • Show the IOPS statistics of the current instance.

    admin:/diagnose>xnet iopsstat -s -osd_data ----------------------------------------------------------------------------------------------------------------------------------- dst_nid send success fail iops max_delay min_delay av_delay <16k <32k <64k >64 -----------------------------------------------------------------------------------------------------------------------------------
  • Stop collecting IOPS statistics of the current instance.

    admin:/diagnose>xnet iopsstat -f 0 -osd_data

The following table describes the parameter meanings.

Parameter

Meaning

dst_nid

Destination node number.

send

Count of sent I/Os.

success

Count of successfully sent I/Os.

fail

Count of I/Os that fail to be sent.

iops

Count of I/Os sent per second.

max_delay

Maximum latency.

min_delay

Minimum latency.

av_delay

Average latency.

<16k

Count of messages whose size is smaller than 16 KB.

<32k

Count of messages whose size is smaller than 32 KB.

<64k

Count of messages whose size is smaller than 64 KB.

>64

Count of messages whose size is greater than 64 KB.

This Document Applies to these Products


Page 4

Чтобы помочь вам лучше понять содержимое этого документа, компания Huawei перевела его на разные языки, используя машинный перевод, отредактированный людьми. Примечание: даже самые передовые программы машинного перевода не могут обеспечить качество на уровне перевода, выполненного профессиональным переводчиком. Компания Huawei не несет ответственность за точность перевода и рекомендует ознакомиться с документом на английском языке (по ссылке, которая была предоставлена ранее).

The xnet iodis command is used to collect statistics on I/O interval distribution.

xnet iodis s a=? n=? f=? <usermode>

Parameter

Description

Value

-a An interval for collecting statistics.

-

-f Start and end flags.

-

-n Destination node LSID.

-

-s Displays statistics.

-

usermode This parameter is mandatory. It must be added to the end of a command as a suffix to query user state information.

The value can be:

  • '-app_data' executes the commamd for the app_data process.
  • '-devm' executes the commamd for the devm process.
  • '-djobmaster' executes the commamd for the djobmaster process.
  • '-dpsf_snm' executes the commamd for the dpsf_snm process.
  • '-ccdb_server' executes the commamd for the ccdb_server process.
  • '-ccdb_backup' executes the commamd for the ccdb_backup process.
  • '-msg_server' executes the commamd for the msg_server process.
  • '-sys_app' executes the commamd for the sys_app process.
  • '-cfg_app' executes the commamd for the cfg_app process.
  • '-servicectrl' executes the commamd for the servicectrl process.
  • '-sa' executes the commamd for the sa process.
  • '-alarm' executes the commamd for the alarm process.
  • '-omsync' executes the commamd for the omsync process.
  • '-perf' executes the commamd for the perf process.
  • '-eagent' executes the commamd for the eagent process.
  • '-kmms' executes the commamd for the kmms process.
  • '-aa' executes the commamd for the aa process.
  • '-info_collector' executes the commamd for the info_collector process.
  • '-kmm_server' executes the commamd for the kmm_server process.
  • '-omales' executes the commamd for the omales process.
  • '-dha_scheduler' executes the commamd for the dha_scheduler process.

  • Start collecting statistics on I/Os with an interval of 100 us.

    admin:/diagnose>xnet iodis -a 100 -n 786433 -f 1 -app_data Start static iodis, step(100 us) dst nid(0xc0001).
  • Query statistics on I/Os with an interval of 100 us.

    admin:/diagnose>xnet iodis -s -app_data
  • Stop collecting statistics on I/Os with an interval of 100 us.

    admin:/diagnose>xnet iodis -a 100 -n 786433 -f 0 -app_data Stop static iodis success.

The following table describes the parameter meanings.

Parameter

Meaning

step

An interval for collecting statistics.

dst nid

Destination node LSID.

This Document Applies to these Products


Page 5

Чтобы помочь вам лучше понять содержимое этого документа, компания Huawei перевела его на разные языки, используя машинный перевод, отредактированный людьми. Примечание: даже самые передовые программы машинного перевода не могут обеспечить качество на уровне перевода, выполненного профессиональным переводчиком. Компания Huawei не несет ответственность за точность перевода и рекомендует ознакомиться с документом на английском языке (по ссылке, которая была предоставлена ранее).

The xnet showqueue command is used to query information about queues from a specified instance to a specified node.

xnet showqueue -n [nid] -c [ctx idx] <usermode>

Parameter

Description

Value

nid Peer node number.

-

ctx idx Instance number.

-

usermode This parameter is mandatory. It must be added to the end of a command as a suffix to query user state information.

The value can be:

  • '-osd_data' executes the commamd for the osd_data process.
  • '-osd_devm' executes the commamd for the osd_devm process.
  • '-ccdb_backup' executes the commamd for the ccdb_backup process.
  • '-dpsf_snm' executes the commamd for the dpsf_snm process.
  • '-dpsf_snm_daemon' executes the commamd for the dpsf_snm_daemon process.
  • '-osd_msg_server' executes the commamd for the osd_msg_server process.

Query information about queues from instance "3" to node "0".

admin:/diagnose>xnet showqueue -c 1 -n 0xc0001 -osd_data ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ index queue ref up down quota(c) quota(s) peer_qid state polling ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0 0xa023f0c49498 5 1 0 126 126 0 1 4 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

The following table describes the parameter meanings.

Parameter

Meaning

index

Index number.

queue

Queue pointer.

ref

Count of references.

up

Times when queues are up.

down

Times when queues are down.

quota(c)

Count of remaining connections that can be set up on the client.

quota(s)

Count of remaining connections that can be set up on the server.

peer_qid

Peer queue number.

state

Queue status.

polling

Number of active connections in the queue.

This Document Applies to these Products


Page 6

Чтобы помочь вам лучше понять содержимое этого документа, компания Huawei перевела его на разные языки, используя машинный перевод, отредактированный людьми. Примечание: даже самые передовые программы машинного перевода не могут обеспечить качество на уровне перевода, выполненного профессиональным переводчиком. Компания Huawei не несет ответственность за точность перевода и рекомендует ознакомиться с документом на английском языке (по ссылке, которая была предоставлена ранее).

The xnet showethdev command is used to query device information about a specified instance.

xnet showethdev -c [idx] <usermode>

Parameter

Description

Value

idx Instance number.

-

usermode This parameter is mandatory. It must be added to the end of a command as a suffix to query user state information.

The value can be:

  • '-osd_data' executes the commamd for the osd_data process.
  • '-osd_devm' executes the commamd for the osd_devm process.
  • '-ccdb_backup' executes the commamd for the ccdb_backup process.
  • '-dpsf_snm' executes the commamd for the dpsf_snm process.
  • '-dpsf_snm_daemon' executes the commamd for the dpsf_snm_daemon process.
  • '-osd_msg_server' executes the commamd for the osd_msg_server process.

Query device information about instance "3".

admin:/diagnose>xnet showethdev -c 3 -osd_data ==========path_mgr local_ip:10.216.2.2========== ********** eth device************** Show eth dev, num = 1 dev_idx : 0 dev_name : dev_status : XNET_NET_DEV_ACTIVE --------------eth port_info(0) begin------------- port_type : 10GE eth_port.uip : 10.216.2.2 port_no : 1 sl_cycle : 0 port_status : XNET_NET_DEV_ACTIVE port_speed : 0 port_latency : 0 total_qp_num : 0 --------------eth port_info(0) end*************** **********rdma device************** Show eth dev, num = 1 dev_idx : 0 dev_name : hnseth1 dev_status : 4 ports_num : 1 active_port_num : 1 --------------rdma port_info(0) begin------------- port_type : RoCE roce_port.avaliable_connect : 1 roce_port.port_gid : GID:0000:0000:0000:0000:0000:ffff:0ad8:0202 roce_port.port_index : 5 port_no : 1 sl_cycle : 0 port_status : XNET_NET_DEV_ACTIVE port_speed : 1 port_latency : 0 total_qp_num : 0 --------------rdma port_info(0) end--------------- ==========path_mgr local_ip:10.216.1.2========== ********** eth device************** Show eth dev, num = 1 dev_idx : 0 dev_name : dev_status : XNET_NET_DEV_ACTIVE --------------eth port_info(0) begin------------- port_type : 10GE eth_port.uip : 10.216.1.2 port_no : 1 sl_cycle : 0 port_status : XNET_NET_DEV_ACTIVE port_speed : 0 port_latency : 0 total_qp_num : 0 --------------eth port_info(0) end*************** **********rdma device************** Show eth dev, num = 1 dev_idx : 0 dev_name : hnseth0 dev_status : 4 ports_num : 1 active_port_num : 1 --------------rdma port_info(0) begin------------- port_type : RoCE roce_port.avaliable_connect : 1 roce_port.port_gid : GID:0000:0000:0000:0000:0000:ffff:0ad8:0102 roce_port.port_index : 5 port_no : 1 sl_cycle : 0 port_status : XNET_NET_DEV_ACTIVE port_speed : 1 port_latency : 0 total_qp_num : 0 --------------rdma port_info(0) end--------------- ==========path_mgr local_ip:172.31.0.2========== ********** eth device************** Show eth dev, num = 1 dev_idx : 0 dev_name : dev_status : XNET_NET_DEV_ACTIVE --------------eth port_info(0) begin------------- port_type : 10GE eth_port.uip : 172.31.0.2 port_no : 1 sl_cycle : 0 port_status : XNET_NET_DEV_ACTIVE port_speed : 0 port_latency : 0 total_qp_num : 0 --------------eth port_info(0) end*************** **********rdma device************** Show eth dev, num = 1 dev_idx : 0 dev_name : hrn0_0 dev_status : 4 ports_num : 1 active_port_num : 1 --------------rdma port_info(0) begin------------- port_type : RoCE roce_port.avaliable_connect : 1 roce_port.port_gid : GID:0000:0000:0000:0000:0000:ffff:ac1f:0002 roce_port.port_index : 3 port_no : 1 sl_cycle : 0 port_status : XNET_NET_DEV_ACTIVE port_speed : 32 port_latency : 0 total_qp_num : 0 --------------rdma port_info(0) end---------------

The following table describes the parameter meanings.

Parameter

Meaning

num

Number of devices.

dev_idx

Device index number.

dev_name

Device name.

dev_status

Device status.

port_type

Port type.

eth_port.uip

Port IP address.

port_no

Port number.

sl_cycle

Flow priority.

port_status

Port status.

port_speed

Port bandwidth.

port_latency

Port latency.

total_qp_num

Total port QP count.

ports_num

Count of ports.

active_port_num

Count of activated ports.

roce_port.avaliable_connect

Count of valid connections on the port.

roce_port.port_gid

Port IPv6 address.

roce_port.port_index

Port index number.

This Document Applies to these Products


Page 7

Чтобы помочь вам лучше понять содержимое этого документа, компания Huawei перевела его на разные языки, используя машинный перевод, отредактированный людьми. Примечание: даже самые передовые программы машинного перевода не могут обеспечить качество на уровне перевода, выполненного профессиональным переводчиком. Компания Huawei не несет ответственность за точность перевода и рекомендует ознакомиться с документом на английском языке (по ссылке, которая была предоставлена ранее).

The xnet showneg command is used to query negotiation information about all connections between an instance and a node.

xnet showneg -c [idx] -n [nid] <usermode>

Parameter

Description

Value

idx Instance number.

-

nid Peer node number.

-

usermode This parameter is mandatory. It must be added to the end of a command as a suffix to query user state information.

The value can be:

  • '-osd_data' executes the commamd for the osd_data process.
  • '-osd_devm' executes the commamd for the osd_devm process.
  • '-ccdb_backup' executes the commamd for the ccdb_backup process.
  • '-dpsf_snm' executes the commamd for the dpsf_snm process.
  • '-dpsf_snm_daemon' executes the commamd for the dpsf_snm_daemon process.
  • '-osd_msg_server' executes the commamd for the osd_msg_server process.

Query negotiation information about instance "3" from the current node to node "0".

admin:/diagnose>xnet showneg -c 3 -n 786432 -osd_data -------------------------------------------------------------------------------------------------------------------------------------------------------- conn dst_nid point type farm status local_seq peer_seq cur_neg next_neg -------------------------------------------------------------------------------------------------------------------------------------------------------- 0xfffe7d4562c0 0xc0000 1 server roce working 564d79a7 29755092 done done 0xfffe7d44d480 0xc0000 2307 client roce working 564d79b3 297550d6 done done 0xfffe7d44c280 0xc0000 2306 client roce working 564d79b1 297550d4 done done 0xfffe7d457480 0xc0000 2 server roce working 564d79a8 29755093 done done 0xfffe7d458640 0xc0000 3 server roce working 564d79a9 29755094 done done 0xfffe7d44e640 0xc0000 2308 client roce working 564d79b4 297550d7 done done 0xfffe7d459800 0xc0000 4 server roce working 564d79aa 29755095 done done 0xfffe7d44b0c0 0xc0000 2305 client roce working 564d79b2 297550d5 done done --------------------------------------------------------------------------------------------------------------------------------------------------------

The following table describes the parameter meanings.

Parameter

Meaning

conn

Connection pointer.

dst_nid

Peer node number.

point

Unique ID of a connection.

type

Connection service type.

farm

Protocol type.

status

Connection status.

local_seq

Sequence number pair of a local network connection.

peer_seq

Sequence number pair of a peer network connection.

cur_neg

Current negotiation status.

next_neg

Next negotiation status.

This Document Applies to these Products


Page 8

Чтобы помочь вам лучше понять содержимое этого документа, компания Huawei перевела его на разные языки, используя машинный перевод, отредактированный людьми. Примечание: даже самые передовые программы машинного перевода не могут обеспечить качество на уровне перевода, выполненного профессиональным переводчиком. Компания Huawei не несет ответственность за точность перевода и рекомендует ознакомиться с документом на английском языке (по ссылке, которая была предоставлена ранее).

The xnet showconn -c -n command is used to query information about connections between an instance and a node.

xnet showconn -n [nid] -c [ctx idx] <usermode>

Parameter

Description

Value

nid Peer node number.

-

ctx idx Instance number.

-

usermode This parameter is mandatory. It must be added to the end of a command as a suffix to query user state information.

The value can be:

  • '-osd_data' executes the commamd for the osd_data process.
  • '-osd_devm' executes the commamd for the osd_devm process.
  • '-ccdb_backup' executes the commamd for the ccdb_backup process.
  • '-dpsf_snm' executes the commamd for the dpsf_snm process.
  • '-dpsf_snm_daemon' executes the commamd for the dpsf_snm_daemon process.
  • '-osd_msg_server' executes the commamd for the osd_msg_server process.

Query information about connections between instance "3" and node "0".

admin:/diagnose>xnet showconn -c 3 -n 786432 -osd_data ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ queue type src_nid dst_nid point status peer_pv ccnt ref used_ms cpu (Q)down conn conn_type uri ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0 server 0xc0001 0xc0000 4 ACTIVE 0x0 1 0 0 0:0 0 0xfffe817272c0 L roce://10.216.2.1:41327 0 server 0xc0001 0xc0000 3 ACTIVE 0x0 1 0 0 0:0 0 0xfffe81726100 L roce://10.216.2.1:40977 0 server 0xc0001 0xc0000 8 ACTIVE 0x0 1 0 0 0:0 0 0xfffe81723d40 L roce://10.216.4.1:41469 0 server 0xc0001 0xc0000 7 ACTIVE 0x0 1 0 4 0:0 0 0xfffe81722b80 L roce://10.216.4.1:36397 0 server 0xc0001 0xc0000 5 ACTIVE 0x0 1 0 4 0:0 0 0xfffe817219c0 L roce://10.216.3.1:43953 0 server 0xc0001 0xc0000 6 ACTIVE 0x0 1 0 4 0:0 0 0xfffe81720800 L roce://10.216.3.1:43485 0 server 0xc0001 0xc0000 1 ACTIVE 0x0 1 0 0 0:0 0 0xfffe8171e480 L roce://10.216.1.1:46809 0 server 0xc0001 0xc0000 2 ACTIVE 0x0 1 0 0 0:0 0 0xfffe8171d2c0 L roce://10.216.1.1:34833 0 client 0xc0001 0xc0000 2312 ACTIVE 0x0 1 0 24952 0:0 0 0xfffe81719d40 L roce://10.216.4.1:7000 0 client 0xc0001 0xc0000 2311 ACTIVE 0x0 1 0 24952 0:0 0 0xfffe81718b80 L roce://10.216.4.1:7000 0 client 0xc0001 0xc0000 2310 ACTIVE 0x0 1 0 27084 0:0 0 0xfffe817179c0 L roce://10.216.3.1:7000 0 client 0xc0001 0xc0000 2309 ACTIVE 0x0 1 0 27084 0:0 0 0xfffe81716800 L roce://10.216.3.1:7000 0 client 0xc0001 0xc0000 2308 ACTIVE 0x0 1 0 29944 0:0 0 0xfffe81715640 L roce://10.216.2.1:7000 0 client 0xc0001 0xc0000 2307 ACTIVE 0x0 1 0 29944 0:0 0 0xfffe81714480 L roce://10.216.2.1:7000 0 client 0xc0001 0xc0000 2306 ACTIVE 0x0 1 0 19948 0:0 0 0xfffe81713280 L roce://10.216.1.1:7000 0 client 0xc0001 0xc0000 2305 ACTIVE 0x0 1 0 19944 0:0 0 0xfffe817120c0 L roce://10.216.1.1:7000 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

The following table describes the parameter meanings.

Parameter

Meaning

queue

Queue index number.

type

Connection service type.

src_nid

Source node.

dst_nid

Destination node.

netpoint

Unique ID of a connection.

status

Connection status.

peer_pv

Version of the peer process.

ccnt

Count of reconnection times.

ref

Count of references.

used_ms

Connection setup time.

cpu

Pinned CPU core number.

(Q)down

Times when queues are down.

conn

Connection pointer.

conn_type

Connection type.

uri

IP address and port number.

This Document Applies to these Products


Page 9

Чтобы помочь вам лучше понять содержимое этого документа, компания Huawei перевела его на разные языки, используя машинный перевод, отредактированный людьми. Примечание: даже самые передовые программы машинного перевода не могут обеспечить качество на уровне перевода, выполненного профессиональным переводчиком. Компания Huawei не несет ответственность за точность перевода и рекомендует ознакомиться с документом на английском языке (по ссылке, которая была предоставлена ранее).

The xnet showconn -c -n command is used to query information about connections between an instance and a node.

xnet showconn -n [nid] -c [ctx idx] <usermode>

Parameter

Description

Value

nid Peer node number.

-

ctx idx Instance number.

-

usermode This parameter is mandatory. It must be added to the end of a command as a suffix to query user state information.

The value can be:

  • '-osd_data' executes the commamd for the osd_data process.
  • '-osd_devm' executes the commamd for the osd_devm process.
  • '-ccdb_backup' executes the commamd for the ccdb_backup process.
  • '-dpsf_snm' executes the commamd for the dpsf_snm process.
  • '-dpsf_snm_daemon' executes the commamd for the dpsf_snm_daemon process.
  • '-osd_msg_server' executes the commamd for the osd_msg_server process.

Query information about connections between instance "3" and node "0".

admin:/diagnose>xnet showconn -c 3 -n 786432 -osd_data ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ queue type src_nid dst_nid point status peer_pv ccnt ref used_ms cpu (Q)down conn conn_type uri ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0 server 0xc0001 0xc0000 4 ACTIVE 0x0 1 0 0 0:0 0 0xfffe817272c0 L roce://10.216.2.1:41327 0 server 0xc0001 0xc0000 3 ACTIVE 0x0 1 0 0 0:0 0 0xfffe81726100 L roce://10.216.2.1:40977 0 server 0xc0001 0xc0000 8 ACTIVE 0x0 1 0 0 0:0 0 0xfffe81723d40 L roce://10.216.4.1:41469 0 server 0xc0001 0xc0000 7 ACTIVE 0x0 1 0 4 0:0 0 0xfffe81722b80 L roce://10.216.4.1:36397 0 server 0xc0001 0xc0000 5 ACTIVE 0x0 1 0 4 0:0 0 0xfffe817219c0 L roce://10.216.3.1:43953 0 server 0xc0001 0xc0000 6 ACTIVE 0x0 1 0 4 0:0 0 0xfffe81720800 L roce://10.216.3.1:43485 0 server 0xc0001 0xc0000 1 ACTIVE 0x0 1 0 0 0:0 0 0xfffe8171e480 L roce://10.216.1.1:46809 0 server 0xc0001 0xc0000 2 ACTIVE 0x0 1 0 0 0:0 0 0xfffe8171d2c0 L roce://10.216.1.1:34833 0 client 0xc0001 0xc0000 2312 ACTIVE 0x0 1 0 24952 0:0 0 0xfffe81719d40 L roce://10.216.4.1:7000 0 client 0xc0001 0xc0000 2311 ACTIVE 0x0 1 0 24952 0:0 0 0xfffe81718b80 L roce://10.216.4.1:7000 0 client 0xc0001 0xc0000 2310 ACTIVE 0x0 1 0 27084 0:0 0 0xfffe817179c0 L roce://10.216.3.1:7000 0 client 0xc0001 0xc0000 2309 ACTIVE 0x0 1 0 27084 0:0 0 0xfffe81716800 L roce://10.216.3.1:7000 0 client 0xc0001 0xc0000 2308 ACTIVE 0x0 1 0 29944 0:0 0 0xfffe81715640 L roce://10.216.2.1:7000 0 client 0xc0001 0xc0000 2307 ACTIVE 0x0 1 0 29944 0:0 0 0xfffe81714480 L roce://10.216.2.1:7000 0 client 0xc0001 0xc0000 2306 ACTIVE 0x0 1 0 19948 0:0 0 0xfffe81713280 L roce://10.216.1.1:7000 0 client 0xc0001 0xc0000 2305 ACTIVE 0x0 1 0 19944 0:0 0 0xfffe817120c0 L roce://10.216.1.1:7000 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

The following table describes the parameter meanings.

Parameter

Meaning

queue

Queue index number.

type

Connection service type.

src_nid

Source node.

dst_nid

Destination node.

netpoint

Unique ID of a connection.

status

Connection status.

peer_pv

Version of the peer process.

ccnt

Count of reconnection times.

ref

Count of references.

used_ms

Connection setup time.

cpu

Pinned CPU core number.

(Q)down

Times when queues are down.

conn

Connection pointer.

conn_type

Connection type.

uri

IP address and port number.

This Document Applies to these Products


Page 10

Чтобы помочь вам лучше понять содержимое этого документа, компания Huawei перевела его на разные языки, используя машинный перевод, отредактированный людьми. Примечание: даже самые передовые программы машинного перевода не могут обеспечить качество на уровне перевода, выполненного профессиональным переводчиком. Компания Huawei не несет ответственность за точность перевода и рекомендует ознакомиться с документом на английском языке (по ссылке, которая была предоставлена ранее).

The xnet showunbindconn command is used to query unpinned connections.

xnet showunbindconn <usermode>

Parameter

Description

Value

usermode This parameter is mandatory. It must be added to the end of a command as a suffix to query user state information.

The value can be:

  • '-app_data' executes the commamd for the app_data process.
  • '-devm' executes the commamd for the devm process.
  • '-djobmaster' executes the commamd for the djobmaster process.
  • '-dpsf_snm' executes the commamd for the dpsf_snm process.
  • '-ccdb_server' executes the commamd for the ccdb_server process.
  • '-ccdb_backup' executes the commamd for the ccdb_backup process.
  • '-msg_server' executes the commamd for the msg_server process.
  • '-sys_app' executes the commamd for the sys_app process.
  • '-cfg_app' executes the commamd for the cfg_app process.
  • '-servicectrl' executes the commamd for the servicectrl process.
  • '-sa' executes the commamd for the sa process.
  • '-alarm' executes the commamd for the alarm process.
  • '-omsync' executes the commamd for the omsync process.
  • '-perf' executes the commamd for the perf process.
  • '-eagent' executes the commamd for the eagent process.
  • '-kmms' executes the commamd for the kmms process.
  • '-aa' executes the commamd for the aa process.
  • '-info_collector' executes the commamd for the info_collector process.
  • '-kmm_server' executes the commamd for the kmm_server process.
  • '-omales' executes the commamd for the omales process.
  • '-dha_scheduler' executes the commamd for the dha_scheduler process.

Query unpinned connections.

admin:/diagnose>xnet showunbindconn -app_data ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ctx conn uri(l->r) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

The following table describes the parameter meanings.

Parameter

Meaning

ctx

Instance number.

conn

Connection pointer.

uri

IP address and port number.

This Document Applies to these Products


Page 11

Чтобы помочь вам лучше понять содержимое этого документа, компания Huawei перевела его на разные языки, используя машинный перевод, отредактированный людьми. Примечание: даже самые передовые программы машинного перевода не могут обеспечить качество на уровне перевода, выполненного профессиональным переводчиком. Компания Huawei не несет ответственность за точность перевода и рекомендует ознакомиться с документом на английском языке (по ссылке, которая была предоставлена ранее).

The xnet showunbindconn command is used to query unpinned connections.

xnet showunbindconn <usermode>

Parameter

Description

Value

usermode This parameter is mandatory. It must be added to the end of a command as a suffix to query user state information.

The value can be:

  • '-osd_data' executes the commamd for the osd_data process.
  • '-osd_devm' executes the commamd for the osd_devm process.
  • '-ccdb_backup' executes the commamd for the ccdb_backup process.
  • '-dpsf_snm' executes the commamd for the dpsf_snm process.
  • '-dpsf_snm_daemon' executes the commamd for the dpsf_snm_daemon process.
  • '-osd_msg_server' executes the commamd for the osd_msg_server process.

Query unpinned connections.

admin:/diagnose>xnet showunbindconn -osd_data ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ctx conn uri(l->r) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

The following table describes the parameter meanings.

Parameter

Meaning

ctx

Instance number.

conn

Connection pointer.

uri

IP address and port number.

This Document Applies to these Products


Page 12

Чтобы помочь вам лучше понять содержимое этого документа, компания Huawei перевела его на разные языки, используя машинный перевод, отредактированный людьми. Примечание: даже самые передовые программы машинного перевода не могут обеспечить качество на уровне перевода, выполненного профессиональным переводчиком. Компания Huawei не несет ответственность за точность перевода и рекомендует ознакомиться с документом на английском языке (по ссылке, которая была предоставлена ранее).

The xnet showka command is used to query heartbeat information about connections between an instance and a node.

xnet showka -c [idx] -n [nid] <usermode>

Parameter

Description

Value

idx Instance number.

-

nid Peer node number.

-

usermode This parameter is mandatory. It must be added to the end of a command as a suffix to query user state information.

The value can be:

  • '-osd_data' executes the commamd for the osd_data process.
  • '-osd_devm' executes the commamd for the osd_devm process.
  • '-ccdb_backup' executes the commamd for the ccdb_backup process.
  • '-dpsf_snm' executes the commamd for the dpsf_snm process.
  • '-dpsf_snm_daemon' executes the commamd for the dpsf_snm_daemon process.
  • '-osd_msg_server' executes the commamd for the osd_msg_server process.

Query heartbeat information about connections between instance "3" and node "0".

admin:/diagnose>xnet showka -c 1 -n 0xc0001 -osd_data ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ conn dst_nid point type farm status interval_s t_times count interval_ms ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0x4025f0474440 0xc0001 263841server tcpip working 1 9 0 24 0x4025f04c6b00 0xc0001 263840server tcpip working 1 9 0 452 0x4025f047c680 0xc0001 116385client tcpip working 1 9 0 0 0x4025f047a5c0 0xc0001 116384client tcpip working 1 9 0 4 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

The following table describes the parameter meanings.

Parameter

Meaning

conn

Connection pointer.

dst_nid

Peer node number.

point

Unique ID of a connection.

type

Connection service type.

farm

Protocol type.

status

Connection status.

interval_s

Heartbeat interval.

t_times

Timeout interval.

count

Count of timeout heartbeats.

interval_ms

Heartbeat interval.

This Document Applies to these Products


Page 13

Чтобы помочь вам лучше понять содержимое этого документа, компания Huawei перевела его на разные языки, используя машинный перевод, отредактированный людьми. Примечание: даже самые передовые программы машинного перевода не могут обеспечить качество на уровне перевода, выполненного профессиональным переводчиком. Компания Huawei не несет ответственность за точность перевода и рекомендует ознакомиться с документом на английском языке (по ссылке, которая была предоставлена ранее).

The xnet showibvwr command is used to query information about work queues from a specified instance to a specified node.

xnet showibvwr -c [idx] -n [nid] <usermode>

Parameter

Description

Value

idx Instance number.

-

nid Peer node number.

-

usermode This parameter is mandatory. It must be added to the end of a command as a suffix to query user state information.

The value can be:

  • '-osd_data' executes the commamd for the osd_data process.
  • '-osd_devm' executes the commamd for the osd_devm process.
  • '-ccdb_backup' executes the commamd for the ccdb_backup process.
  • '-dpsf_snm' executes the commamd for the dpsf_snm process.
  • '-dpsf_snm_daemon' executes the commamd for the dpsf_snm_daemon process.
  • '-osd_msg_server' executes the commamd for the osd_msg_server process.

Query information about work queues from instance "3" to node "0".

admin:/diagnose>xnet showibvwr -c 3 -n 786432 -osd_data ------------------------------------------------------------------------------------------------------- conn dst_nid point type farm status recv_wr send_wr read_wr dcc_wr ------------------------------------------------------------------------------------------------------- 0xfffde94c63c0 0xc0000 1 server roce working 112 64 64 0 1321400 0xfffde94bd4c0 0xc0000 2307 client roce working 112 64 64 0 1321400 0xfffde94bc2c0 0xc0000 2306 client roce working 112 64 64 0 1321400 0xfffde94c7580 0xc0000 2 server roce working 112 64 64 0 1321400 0xfffde94ce0c0 0xc0000 3 server roce working 112 64 64 0 1321400 0xfffde94be680 0xc0000 2308 client roce working 112 64 64 0 1321400 0xfffde94cf2c0 0xc0000 4 server roce working 112 64 64 0 1321400 0xfffde94bb100 0xc0000 2305 client roce working 112 64 64 0 1321400 -------------------------------------------------------------------------------------------------------

The following table describes the parameter meanings.

Parameter

Meaning

conn

Connection pointer.

dst_nid

Peer node number.

point

Unique ID of a connection.

type

Connection service type.

farm

Protocol type.

status

Connection status.

recv_wr

Count of received work queues.

send_wr

Count of sent work queues.

read_wr

Count of read work queues.

dcc_wr

Count of DCC work queues.

This Document Applies to these Products


Page 14

Чтобы помочь вам лучше понять содержимое этого документа, компания Huawei перевела его на разные языки, используя машинный перевод, отредактированный людьми. Примечание: даже самые передовые программы машинного перевода не могут обеспечить качество на уровне перевода, выполненного профессиональным переводчиком. Компания Huawei не несет ответственность за точность перевода и рекомендует ознакомиться с документом на английском языке (по ссылке, которая была предоставлена ранее).

The xnet showibvwr command is used to query information about work queues from a specified instance to a specified node.

xnet showibvwr -c [idx] -n [nid] <usermode>

Parameter

Description

Value

idx Instance number.

-

nid Peer node number.

-

usermode This parameter is mandatory. It must be added to the end of a command as a suffix to query user state information.

The value can be:

  • '-app_data' executes the commamd for the app_data process.
  • '-devm' executes the commamd for the devm process.
  • '-djobmaster' executes the commamd for the djobmaster process.
  • '-dpsf_snm' executes the commamd for the dpsf_snm process.
  • '-ccdb_server' executes the commamd for the ccdb_server process.
  • '-ccdb_backup' executes the commamd for the ccdb_backup process.
  • '-msg_server' executes the commamd for the msg_server process.
  • '-sys_app' executes the commamd for the sys_app process.
  • '-cfg_app' executes the commamd for the cfg_app process.
  • '-servicectrl' executes the commamd for the servicectrl process.
  • '-sa' executes the commamd for the sa process.
  • '-alarm' executes the commamd for the alarm process.
  • '-omsync' executes the commamd for the omsync process.
  • '-perf' executes the commamd for the perf process.
  • '-eagent' executes the commamd for the eagent process.
  • '-kmms' executes the commamd for the kmms process.
  • '-aa' executes the commamd for the aa process.
  • '-info_collector' executes the commamd for the info_collector process.
  • '-kmm_server' executes the commamd for the kmm_server process.
  • '-omales' executes the commamd for the omales process.
  • '-dha_scheduler' executes the commamd for the dha_scheduler process.

Query information about work queues from instance "3" to node "0".

admin:/diagnose>xnet showibvwr -c 3 -n 786432 -app_data ------------------------------------------------------------------------------------------------------- conn dst_nid point type farm status recv_wr send_wr read_wr dcc_wr ------------------------------------------------------------------------------------------------------- 0xfffde94c63c0 0xc0000 1 server roce working 112 64 64 0 1321400 0xfffde94bd4c0 0xc0000 2307 client roce working 112 64 64 0 1321400 0xfffde94bc2c0 0xc0000 2306 client roce working 112 64 64 0 1321400 0xfffde94c7580 0xc0000 2 server roce working 112 64 64 0 1321400 0xfffde94ce0c0 0xc0000 3 server roce working 112 64 64 0 1321400 0xfffde94be680 0xc0000 2308 client roce working 112 64 64 0 1321400 0xfffde94cf2c0 0xc0000 4 server roce working 112 64 64 0 1321400 0xfffde94bb100 0xc0000 2305 client roce working 112 64 64 0 1321400 -------------------------------------------------------------------------------------------------------

The following table describes the parameter meanings.

Parameter

Meaning

conn

Connection pointer.

dst_nid

Peer node number.

point

Unique ID of a connection.

type

Connection service type.

farm

Protocol type.

status

Connection status.

recv_wr

Count of received work queues.

send_wr

Count of sent work queues.

read_wr

Count of read work queues.

dcc_wr

Count of DCC work queues.

This Document Applies to these Products


Page 15

Чтобы помочь вам лучше понять содержимое этого документа, компания Huawei перевела его на разные языки, используя машинный перевод, отредактированный людьми. Примечание: даже самые передовые программы машинного перевода не могут обеспечить качество на уровне перевода, выполненного профессиональным переводчиком. Компания Huawei не несет ответственность за точность перевода и рекомендует ознакомиться с документом на английском языке (по ссылке, которая была предоставлена ранее).

The xnet showroute command is used to query information about the routing table from a specified instance to a specified node.

xnet showroute -n dst_nid -q queue_index -c xnet_ctx_idx -i route_idx <usermode>

Parameter

Description

Value

dst_nid Peer node number.

-

queue_index Queue index number.

-

xnet_ctx_idx Instance number.

-

route_idx Route index number.

-

usermode This parameter is mandatory. It must be added to the end of a command as a suffix to query user state information.

The value can be:

  • '-osd_data' executes the commamd for the osd_data process.
  • '-osd_devm' executes the commamd for the osd_devm process.
  • '-ccdb_backup' executes the commamd for the ccdb_backup process.
  • '-dpsf_snm' executes the commamd for the dpsf_snm process.
  • '-dpsf_snm_daemon' executes the commamd for the dpsf_snm_daemon process.
  • '-osd_msg_server' executes the commamd for the osd_msg_server process.

Query the routing table from instance "3" to node "0".

admin:/diagnose>xnet showroute -n 786432 -q 0 -c 3 -i 0 -osd_data ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ idx priority hop cpu-L:P conn version src_nid dst_nid net_point hit pri_match pri_mismatch poll_group vcid ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0 H 0 0:0 0xfffe817120c0 1 0xc0001 0xc0000 2305 6846 6846 0 0xffff2019d0b8 0 1 H 0 0:0 0xfffe81713280 1 0xc0001 0xc0000 2306 6846 6846 0 0xffff2019d0b8 0 2 H 0 0:0 0xfffe8171d2c0 1 0xc0001 0xc0000 2 6843 6843 0 0xffff2019d0b8 0 3 H 0 0:0 0xfffe8171e480 1 0xc0001 0xc0000 1 6843 6843 0 0xffff2019d0b8 0 4 H 0 0:0 0xfffe81720800 1 0xc0001 0xc0000 6 6841 6841 0 0xffff2019d0b8 0 5 H 0 0:0 0xfffe817219c0 1 0xc0001 0xc0000 5 6841 6841 0 0xffff2019d0b8 0 6 H 0 0:0 0xfffe81718b80 1 0xc0001 0xc0000 2311 6841 6841 0 0xffff2019d0b8 0 7 H 0 0:0 0xfffe81719d40 1 0xc0001 0xc0000 2312 6841 6841 0 0xffff2019d0b8 0 8 H 0 0:0 0xfffe81722b80 1 0xc0001 0xc0000 7 6840 6840 0 0xffff2019d0b8 0 9 H 0 0:0 0xfffe81723d40 1 0xc0001 0xc0000 8 6840 6840 0 0xffff2019d0b8 0 10 H 0 0:0 0xfffe817179c0 1 0xc0001 0xc0000 2310 6839 6839 0 0xffff2019d0b8 0 11 H 0 0:0 0xfffe81716800 1 0xc0001 0xc0000 2309 6839 6839 0 0xffff2019d0b8 0 12 H 0 0:0 0xfffe81726100 1 0xc0001 0xc0000 3 6837 6837 0 0xffff2019d0b8 0 13 H 0 0:0 0xfffe817272c0 1 0xc0001 0xc0000 4 6837 6837 0 0xffff2019d0b8 0 14 H 0 0:0 0xfffe81714480 1 0xc0001 0xc0000 2307 6836 6836 0 0xffff2019d0b8 0 15 H 0 0:0 0xfffe81715640 1 0xc0001 0xc0000 2308 6836 6836 0 0xffff2019d0b8 0 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

The following table describes the parameter meanings.

Parameter

Meaning

idx

Connection index number.

priority

Connection priority.

hop

Hop count.

cpu-L:P

Local and peer CPU numbers.

conn

Connection pointer.

version

Process version.

src_nid

Source node.

dst_nid

Destination node.

net_point

Unique ID of a connection.

hit

Connection count.

pri_match

Count of connection hits.

pri_mismatch

Count of connection misses.

poll_group

Resource group.

vcid

Local CPU number.

This Document Applies to these Products


Page 16

Чтобы помочь вам лучше понять содержимое этого документа, компания Huawei перевела его на разные языки, используя машинный перевод, отредактированный людьми. Примечание: даже самые передовые программы машинного перевода не могут обеспечить качество на уровне перевода, выполненного профессиональным переводчиком. Компания Huawei не несет ответственность за точность перевода и рекомендует ознакомиться с документом на английском языке (по ссылке, которая была предоставлена ранее).

The xnet showtimeout command is used to query the count of messages with sending timeout.

xnet showtimeout <usermode>

Parameter

Description

Value

usermode This parameter is mandatory. It must be added to the end of a command as a suffix to query user state information.

The value can be:

  • '-osd_data' executes the commamd for the osd_data process.
  • '-osd_devm' executes the commamd for the osd_devm process.
  • '-ccdb_backup' executes the commamd for the ccdb_backup process.
  • '-dpsf_snm' executes the commamd for the dpsf_snm process.
  • '-dpsf_snm_daemon' executes the commamd for the dpsf_snm_daemon process.
  • '-osd_msg_server' executes the commamd for the osd_msg_server process.

Query the count of messages with sending timeout.

admin:/diagnose>xnet showtimeout -osd_data xnet send time out msg num: 0

The following table describes the parameter meanings.

Parameter

Meaning

num

Count of messages with sending timeout.

This Document Applies to these Products


Page 17

Чтобы помочь вам лучше понять содержимое этого документа, компания Huawei перевела его на разные языки, используя машинный перевод, отредактированный людьми. Примечание: даже самые передовые программы машинного перевода не могут обеспечить качество на уровне перевода, выполненного профессиональным переводчиком. Компания Huawei не несет ответственность за точность перевода и рекомендует ознакомиться с документом на английском языке (по ссылке, которая была предоставлена ранее).

The xnet showver command is used to query the XNET version.

Parameter

Description

Value

usermode This parameter is mandatory. It must be added to the end of a command as a suffix to query user state information.

The value can be:

  • '-osd_data' executes the commamd for the osd_data process.
  • '-osd_devm' executes the commamd for the osd_devm process.
  • '-ccdb_backup' executes the commamd for the ccdb_backup process.
  • '-dpsf_snm' executes the commamd for the dpsf_snm process.
  • '-dpsf_snm_daemon' executes the commamd for the dpsf_snm_daemon process.
  • '-osd_msg_server' executes the commamd for the osd_msg_server process.

Query the current version of XNET.

admin:/diagnose>xnet showver -osd_data xnet version: V600R001C10.SPC200.20190911.1 Process version: 0

The following table describes the parameter meanings.

Parameter

Meaning

xnet version

XNET version.

Process version

Process version.

This Document Applies to these Products


Page 18

Чтобы помочь вам лучше понять содержимое этого документа, компания Huawei перевела его на разные языки, используя машинный перевод, отредактированный людьми. Примечание: даже самые передовые программы машинного перевода не могут обеспечить качество на уровне перевода, выполненного профессиональным переводчиком. Компания Huawei не несет ответственность за точность перевода и рекомендует ознакомиться с документом на английском языке (по ссылке, которая была предоставлена ранее).

The net.sh command is used to run related commands of the IFM module.

net.sh { -h | -a | ifconfig [interface] | arp [-i] [<interface>] | arp -d <hostname> | ip [-4|6] <addr|link|rule|route show table <table_id>> | route [-4|6] | traceroute [-n] <hostname> | traceroute6 [-n] <hostname> | rdefip | iptables | ip6tables }

Parameter

Description

Value

-h Displays help information.

-

-a Displays the function of each subcommand of the IFM module.

-

ifconfig [interface] Displays the network interface information.

-

arp [-i] [<interface>] Displays information in the ARP cache.

-

arp -d <hostname> Deletes the information in the specified ARP cache.

-

ip [-4|6] <addr|link|rule|route show table <table_id>> Displays the IP address, device property, rule, and route.

-

route [-4|6] Displays routing information.

-

traceroute [-n] <hostname> Displays the route to the destination IPv4 address.

-

traceroute6 [-n] <hostname> Displays the route to the destination IPv6 address.

-

rdefip Restores the default IP address of the management port.

-

iptables DisPlays IPv4 firewall rules.

-

ip6tables DisPlays IPv6 firewall rules.

-

The "net.sh ifconfig" command is used to display the network interface information.

  • Display the function of each subcommand of the IFM module.

    Storage: minisystem> net.sh -a net.sh ifconfig [interface] : Display the network interface information. net.sh arp [-i] [<interface>] : Display information in the ARP cache. net.sh arp -d <hostname> : Delete the information in the specified ARP cache. net.sh ip [-4|6] <addr|link|rule|route show table <table_id>> : Display IP address, device property, IP rule and route. net.sh route [-4|6] : Display routing information. net.sh traceroute [-n] <hostname> : Display the route to the destination IPv4 address. net.sh traceroute6 [-n] <hostname> : Display the route to the destination IPv6 address. net.sh rdefip : Restore the default IP addresses of management ports. net.sh iptables : DisPlay IPv4 firewall rules. net.sh ip6tables : DisPlay IPv6 firewall rules.
  • Display the network interface information.

    Storage: minisystem> net.sh ifconfig bond0 Link encap:Ethernet HWaddr 70:7B:E8:C6:9E:C1 inet addr:127.127.127.10 Bcast:127.127.127.255 Mask:255.255.255.0 inet6 addr: fe80::727b:e8ff:fec6:9ec1/64 Scope:Link UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1 RX packets:1414943 errors:0 dropped:0 overruns:0 frame:0 TX packets:1463949 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:303689028 (289.6 Mb) TX bytes:265967994 (253.6 Mb) eth0 Link encap:Ethernet HWaddr 70:7B:E8:C6:9E:C1 UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1 RX packets:707473 errors:0 dropped:0 overruns:0 frame:0 TX packets:731976 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:151844614 (144.8 Mb) TX bytes:132984100 (126.8 Mb) Memory:dd800000-dd820000 eth1 Link encap:Ethernet HWaddr 70:7B:E8:C6:9E:C1 UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1 RX packets:707470 errors:0 dropped:0 overruns:0 frame:0 TX packets:731973 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:151844414 (144.8 Mb) TX bytes:132983894 (126.8 Mb) Memory:dd500000-dd520000 eth2 Link encap:Ethernet HWaddr 70:7B:E8:C6:9E:BF inet addr:100.160.201.12 Bcast:100.160.255.255 Mask:255.255.0.0 inet6 addr: fec0::10/10 Scope:Site inet6 addr: fe80::727b:e8ff:fec6:9ebf/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:52440 errors:0 dropped:0 overruns:0 frame:0 TX packets:3751 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:6574948 (6.2 Mb) TX bytes:414797 (405.0 Kb) Memory:dd300000-dd320000 eth3 Link encap:Ethernet HWaddr 70:7B:E8:C6:9E:BE inet addr:100.160.201.12 Bcast:100.160.255.255 Mask:255.255.0.0 inet6 addr: fe80::727b:e8ff:fec6:9ebe/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:49643 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:6273598 (5.9 Mb) TX bytes:468 (468.0 b) Memory:dd000000-dd020000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.255.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:40969 errors:0 dropped:0 overruns:0 frame:0 TX packets:40969 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:13025246 (12.4 Mb) TX bytes:13025246 (12.4 Mb)
  • Display information in the ARP cache.

    Storage: minisystem> net.sh arp Address HWtype HWaddress Flags Mask Iface 10.50.0.2 ether 2c:97:b1:7d:14:92 C bri1002 10.55.0.1 ether 04:bd:70:28:06:ee C bri1103 10.99.0.2 ether 2c:97:b1:7d:14:91 C bri2003 10.4.0.1 ether 04:bd:70:28:06:ee C bri300 10.48.0.1 ether 04:bd:70:28:06:ee C bri1000 10.13.0.1 (incomplete) bri501 10.54.0.2 ether 2c:97:b1:7d:14:92 C bri1102 8.46.0.1 ether d0:d0:4b:56:55:0d C eth3 10.53.0.2 ether 2c:97:b1:7d:14:92 C bri1101 10.14.0.1 (incomplete) bri502 10.52.0.1 ether 04:bd:70:28:06:ee C bri1100 10.51.0.2 ether 2c:97:b1:7d:14:91 C bri1003 192.168.0.2 ether 9c:7d:a3:28:6f:fa C vnic0 10.5.0.1 ether 04:bd:70:28:06:ef C bri301 10.11.0.1 (incomplete) bri403 10.49.0.2 ether 2c:97:b1:7d:14:92 C bri1001 10.8.0.1 (incomplete) bri400 10.15.0.1 (incomplete) bri503 8.46.12.60 ether d0:d0:4b:56:55:0d C eth3 10.7.0.1 ether 04:bd:70:28:06:ee C bri303 10.50.0.1 ether 04:bd:70:28:06:ef C bri1002 8.46.21.103 ether d0:d0:4b:56:55:0d C eth3 10.55.0.2 ether 2c:97:b1:7d:14:91 C bri1103 10.6.0.1 ether 04:bd:70:28:06:ef C bri302 10.48.0.2 ether 2c:97:b1:7d:14:91 C bri1000 10.3.0.1 ether 04:bd:70:28:06:ee C bri203 10.144.8.1 ether d4:b1:10:39:e2:84 C eth0.4004 10.53.0.1 ether 04:bd:70:28:06:ef C bri1101 10.48.4.106 ether 04:aa:40:e2:db:bb C bri1000 10.54.0.1 ether 04:bd:70:28:06:ef C bri1102 10.1.0.1 ether 04:bd:70:28:06:ef C bri201 10.9.0.1 (incomplete) bri401 10.52.0.2 ether 2c:97:b1:7d:14:91 C bri1100 10.0.0.1 ether 04:bd:70:28:06:ee C bri200 10.51.0.1 ether 04:bd:70:28:06:ee C bri1003 10.98.0.2 ether 2c:97:b1:7d:14:92 C bri2002 10.97.0.2 ether 2c:97:b1:7d:14:92 C bri2001 10.10.0.1 (incomplete) bri402 10.213.0.1 ether d4:b1:10:39:e2:84 C eth0.4003 10.2.0.1 ether 04:bd:70:28:06:ef C bri202 10.49.0.1 ether 04:bd:70:28:06:ef C bri1001 10.12.0.1 (incomplete) bri500 10.96.0.2 ether 2c:97:b1:7d:14:91 C bri2000 127.127.127.11 ether 04:aa:40:e2:db:bb C bond0
  • Delete the information in the specified ARP cache.

    Storage: minisystem> net.sh arp -d 8.46.6.199
  • Display the IP address, device property, rule, and route.

    Storage: minisystem> net.sh ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 inet 127.0.0.1/24 scope host lo valid_lft forever preferred_lft forever 2: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 127.127.127.10/28 brd 127.127.127.15 scope host bond0 valid_lft forever preferred_lft forever 14: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 inet 8.46.16.76/19 brd 8.46.31.255 scope global eth3 valid_lft forever preferred_lft forever 18: eth3.4081@eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 172.31.128.101/16 brd 172.31.255.255 scope global eth3.4081 valid_lft forever preferred_lft forever 19: vnic0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 inet 192.168.0.1/24 brd 192.168.0.255 scope global vnic0 valid_lft forever preferred_lft forever 20: bri200: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 10.0.4.105/16 brd 10.0.255.255 scope global bri200 valid_lft forever preferred_lft forever 21: bri300: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 10.4.4.105/16 brd 10.4.255.255 scope global bri300 valid_lft forever preferred_lft forever 22: bri400: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 10.8.4.105/16 brd 10.8.255.255 scope global bri400 valid_lft forever preferred_lft forever 23: bri500: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 10.12.4.105/16 brd 10.12.255.255 scope global bri500 valid_lft forever preferred_lft forever 24: bri201: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 10.1.4.105/16 brd 10.1.255.255 scope global bri201 valid_lft forever preferred_lft forever 25: bri301: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 10.5.4.105/16 brd 10.5.255.255 scope global bri301 valid_lft forever preferred_lft forever 26: bri401: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 10.9.4.105/16 brd 10.9.255.255 scope global bri401 valid_lft forever preferred_lft forever 27: bri501: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 10.13.4.105/16 brd 10.13.255.255 scope global bri501 valid_lft forever preferred_lft forever 28: bri202: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 10.2.4.105/16 brd 10.2.255.255 scope global bri202 valid_lft forever preferred_lft forever 29: bri302: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 10.6.4.105/16 brd 10.6.255.255 scope global bri302 valid_lft forever preferred_lft forever 30: bri402: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 10.10.4.105/16 brd 10.10.255.255 scope global bri402 valid_lft forever preferred_lft forever Storage: minisystem> net.sh ip link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000 link/ether 04:aa:40:e2:db:ab brd ff:ff:ff:ff:ff:ff 3: bond1: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether 52:9d:10:ae:ec:16 brd ff:ff:ff:ff:ff:ff 4: bond2: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether de:ee:67:ad:16:9a brd ff:ff:ff:ff:ff:ff 5: bond3: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether 12:61:56:43:a7:7d brd ff:ff:ff:ff:ff:ff 6: bond4: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether e6:42:8e:83:32:a2 brd ff:ff:ff:ff:ff:ff 7: bond5: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether 52:36:92:82:cd:85 brd ff:ff:ff:ff:ff:ff 8: bond6: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether 26:64:c9:dc:5b:81 brd ff:ff:ff:ff:ff:ff 9: bond7: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether 6a:5c:b4:ce:94:9a brd ff:ff:ff:ff:ff:ff 10: bond8: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether aa:81:8a:6a:e8:26 brd ff:ff:ff:ff:ff:ff 11: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 5500 qdisc mq state UP mode DEFAULT group default qlen 1000 link/ether 04:aa:40:e2:db:aa brd ff:ff:ff:ff:ff:ff 12: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 5500 qdisc mq state DOWN mode DEFAULT group default qlen 1000 link/ether 02:11:98:59:d4:57 brd ff:ff:ff:ff:ff:ff 13: eth2: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master bond0 state UP mode DEFAULT group default qlen 1000 link/ether 04:aa:40:e2:db:ab brd ff:ff:ff:ff:ff:ff 14: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether 06:11:98:59:d4:73 brd ff:ff:ff:ff:ff:ff Storage: minisystem> net.sh ip rule 0: from all lookup local 101: from 8.46.16.76 lookup 998 101: from 172.31.128.101 lookup 996 32766: from all lookup main 32767: from all lookup default Storage: minisystem> net.sh ip route default via 8.46.0.1 dev eth3 8.46.0.0/19 dev eth3 proto kernel scope link src 8.46.16.76 10.0.0.0/16 dev bri200 proto kernel scope link src 10.0.4.105 10.1.0.0/16 dev bri201 proto kernel scope link src 10.1.4.105 10.2.0.0/16 dev bri202 proto kernel scope link src 10.2.4.105 10.3.0.0/16 dev bri203 proto kernel scope link src 10.3.4.105 10.4.0.0/16 dev bri300 proto kernel scope link src 10.4.4.105 10.5.0.0/16 dev bri301 proto kernel scope link src 10.5.4.105 10.6.0.0/16 dev bri302 proto kernel scope link src 10.6.4.105 10.7.0.0/16 dev bri303 proto kernel scope link src 10.7.4.105 10.8.0.0/16 dev bri400 proto kernel scope link src 10.8.4.105 10.9.0.0/16 dev bri401 proto kernel scope link src 10.9.4.105 10.10.0.0/16 dev bri402 proto kernel scope link src 10.10.4.105 10.11.0.0/16 dev bri403 proto kernel scope link src 10.11.4.105 10.12.0.0/16 dev bri500 proto kernel scope link src 10.12.4.105 10.13.0.0/16 dev bri501 proto kernel scope link src 10.13.4.105 10.14.0.0/16 dev bri502 proto kernel scope link src 10.14.4.105 10.15.0.0/16 dev bri503 proto kernel scope link src 10.15.4.105 10.48.0.0/16 dev bri1000 proto kernel scope link src 10.48.4.105 10.49.0.0/16 dev bri1001 proto kernel scope link src 10.49.4.105 10.50.0.0/16 dev bri1002 proto kernel scope link src 10.50.4.105 10.51.0.0/16 dev bri1003 proto kernel scope link src 10.51.4.105 10.52.0.0/16 dev bri1100 proto kernel scope link src 10.52.4.105 10.53.0.0/16 dev bri1101 proto kernel scope link src 10.53.4.105 10.54.0.0/16 dev bri1102 proto kernel scope link src 10.54.4.105 10.55.0.0/16 dev bri1103 proto kernel scope link src 10.55.4.105 10.56.0.0/16 dev bri1200 proto kernel scope link src 10.56.4.105 10.57.0.0/16 dev bri1201 proto kernel scope link src 10.57.4.105 10.58.0.0/16 dev bri1202 proto kernel scope link src 10.58.4.105 10.59.0.0/16 dev bri1203 proto kernel scope link src 10.59.4.105 10.60.0.0/16 dev bri1300 proto kernel scope link src 10.60.4.105 10.61.0.0/16 dev bri1301 proto kernel scope link src 10.61.4.105
  • Display routing information.

    Storage: minisystem> net.sh route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default 8.46.0.1 0.0.0.0 UG 0 0 0 eth3 8.46.0.0 0.0.0.0 255.255.224.0 U 0 0 0 eth3 10.0.0.0 0.0.0.0 255.255.0.0 U 0 0 0 bri200 10.1.0.0 0.0.0.0 255.255.0.0 U 0 0 0 bri201 10.2.0.0 0.0.0.0 255.255.0.0 U 0 0 0 bri202 10.3.0.0 0.0.0.0 255.255.0.0 U 0 0 0 bri203 10.4.0.0 0.0.0.0 255.255.0.0 U 0 0 0 bri300 10.5.0.0 0.0.0.0 255.255.0.0 U 0 0 0 bri301 10.6.0.0 0.0.0.0 255.255.0.0 U 0 0 0 bri302 10.7.0.0 0.0.0.0 255.255.0.0 U 0 0 0 bri303 10.8.0.0 0.0.0.0 255.255.0.0 U 0 0 0 bri400 10.9.0.0 0.0.0.0 255.255.0.0 U 0 0 0 bri401 10.10.0.0 0.0.0.0 255.255.0.0 U 0 0 0 bri402 10.11.0.0 0.0.0.0 255.255.0.0 U 0 0 0 bri403 10.12.0.0 0.0.0.0 255.255.0.0 U 0 0 0 bri500 10.13.0.0 0.0.0.0 255.255.0.0 U 0 0 0 bri501 10.14.0.0 0.0.0.0 255.255.0.0 U 0 0 0 bri502 10.15.0.0 0.0.0.0 255.255.0.0 U 0 0 0 bri503 10.48.0.0 0.0.0.0 255.255.0.0 U 0 0 0 bri1000 10.49.0.0 0.0.0.0 255.255.0.0 U 0 0 0 bri1001 10.50.0.0 0.0.0.0 255.255.0.0 U 0 0 0 bri1002 10.51.0.0 0.0.0.0 255.255.0.0 U 0 0 0 bri1003 10.52.0.0 0.0.0.0 255.255.0.0 U 0 0 0 bri1100 10.53.0.0 0.0.0.0 255.255.0.0 U 0 0 0 bri1101 10.54.0.0 0.0.0.0 255.255.0.0 U 0 0 0 bri1102 10.55.0.0 0.0.0.0 255.255.0.0 U 0 0 0 bri1103 10.56.0.0 0.0.0.0 255.255.0.0 U 0 0 0 bri1200 10.57.0.0 0.0.0.0 255.255.0.0 U 0 0 0 bri1201 10.58.0.0 0.0.0.0 255.255.0.0 U 0 0 0 bri1202 10.59.0.0 0.0.0.0 255.255.0.0 U 0 0 0 bri1203
  • Display the route to the destination IPv4 address.

    Storage: minisystem> net.sh traceroute 8.46.6.199 traceroute to 8.46.6.199 (8.46.6.199), 30 hops max, 60 byte packets 1 8.46.0.1 (8.46.0.1) 10.233 ms 10.490 ms 10.692 ms 2 * * * 3 * * * 4 * * * 5 * * * 6 8.46.6.199 (8.46.6.199) 7.770 ms 0.484 ms 0.445 ms
  • Display the route to the destination IPv6 address.

    Storage: minisystem> net.sh traceroute6 2607:f8b0:400a:800::1010 traceroute to 2607:f8b0:400a:800::1010 (2607:f8b0:400a:800::1010), 30 hops max, 40 byte packets 1 2607:f740:e::2 1.944 ms 1.891 ms 1.845 ms 2 2001:418:0:5000::720 1.876 ms 1.866 ms 1.843 ms 3 2001:418:0:2000::1e1 2.459 ms 1.812 ms 2.588 ms 4 2001:504:0:4:0:1:5169:1 1.763 ms !X 1.736 ms !X 1.722 ms !X
  • Restore the default IP address of the management port.

    Storage: minisystem> net.sh rdefip
  • DisPlay IPv4 firewall rules.

    Storage: minisystem> net.sh iptables Chain INPUT (policy ACCEPT 136K packets, 15M bytes) pkts bytes target prot opt in out source destination 1141 112K ACCEPT all -- eth2 * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED 16 936 ACCEPT tcp -- eth2 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:22 state NEW limit: avg 100/min burst 100 0 0 ACCEPT tcp -- eth2 * 0.0.0.0/0 0.0.0.0/0 tcp dpts:24000:24900 state NEW limit: avg 100/min burst 100 0 0 ACCEPT tcp -- eth2 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:8088 0 0 ACCEPT udp -- eth2 * 0.0.0.0/0 0.0.0.0/0 multiport dports 123,161,20000:20100 0 0 ACCEPT all -- eth2.4081 * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED 0 0 ACCEPT tcp -- eth2.4081 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:22 state NEW limit: avg 100/min burst 100 0 0 ACCEPT tcp -- eth2.4081 * 0.0.0.0/0 0.0.0.0/0 tcp dpts:24000:24900 state NEW limit: avg 100/min burst 100 0 0 ACCEPT tcp -- eth2.4081 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:8088 0 0 ACCEPT udp -- eth2.4081 * 0.0.0.0/0 0.0.0.0/0 multiport dports 123,161,20000:20100 0 0 ACCEPT tcp -- vrf-srv * 0.0.0.0/0 0.0.0.0/0 multiport dports 3260,12001,12100,24924 0 0 ACCEPT tcp -- vrf-srv * 0.0.0.0/0 0.0.0.0/0 multiport sports 3260,12001,12100 0 0 ACCEPT tcp -- vrf-srv * 0.0.0.0/0 0.0.0.0/0 multiport dports 111,135,445,2049:2052 0 0 ACCEPT udp -- vrf-srv * 0.0.0.0/0 0.0.0.0/0 multiport dports 111,2049:2052 0 0 ACCEPT udp -- vrf-srv * 0.0.0.0/0 0.0.0.0/0 udp dpt:4791 14M 1758M ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED 0 0 ACCEPT all -- vrf-inner * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED 0 0 ACCEPT udp -- vrf-inner * 0.0.0.0/0 0.0.0.0/0 multiport dports 123,8083 0 0 ACCEPT tcp -- vrf-inner * 0.0.0.0/0 0.0.0.0/0 tcp dpt:22 state NEW limit: avg 100/min burst 100 0 0 ACCEPT tcp -- vrf-inner * 0.0.0.0/0 0.0.0.0/0 multiport sports 20,21 state NEW 0 0 ACCEPT tcp -- vrf-inner * 0.0.0.0/0 0.0.0.0/0 multiport dports 8083 0 0 ACCEPT tcp -- vrf-inner * 127.127.127.0/28 0.0.0.0/0 multiport dports 67,69 0 0 ACCEPT udp -- vrf-inner * 127.127.127.0/28 0.0.0.0/0 multiport dports 67,69 0 0 ACCEPT tcp -- vrf-inner * 0.0.0.0/0 0.0.0.0/0 multiport sports 1024:65535 0 0 ACCEPT tcp -- vrf-inner * 0.0.0.0/0 0.0.0.0/0 multiport dports 30000:30200 0 0 ACCEPT tcp -- vrf-inner * 0.0.0.0/0 0.0.0.0/0 tcp dpt:25678 0 0 ACCEPT tcp -- vrf-inner * 0.0.0.0/0 0.0.0.0/0 tcp spt:25678 0 0 ACCEPT tcp -- vrf-inner * 0.0.0.0/0 0.0.0.0/0 multiport dports 2525,8779,8089 0 0 ACCEPT tcp -- * * 127.0.0.1 127.0.0.1 tcp dpt:5555 0 0 ACCEPT tcp -- * * 127.0.0.1 127.0.0.1 tcp dpt:5432 0 0 ACCEPT tcp -- vrf-inner * 0.0.0.0/0 0.0.0.0/0 multiport dports 8777,8778 0 0 ACCEPT tcp -- * * 127.0.0.1 127.0.0.1 multiport dports 2049,2050 0 0 ACCEPT udp -- * * 127.0.0.1 127.0.0.1 multiport dports 2049,2050 0 0 ACCEPT tcp -- vrf-inner * 0.0.0.0/0 0.0.0.0/0 multiport dports 8888,8889,8198,8199 0 0 DROP icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 13 554 46536 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 36018 2274K ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0 0 0 ACCEPT all -- eth1 * 0.0.0.0/0 0.0.0.0/0 0 0 DROP icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 13 0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 Chain FORWARD (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination 0 0 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0 0 0 ACCEPT all -- eth1 * 0.0.0.0/0 0.0.0.0/0 Chain OUTPUT (policy ACCEPT 14M packets, 1656M bytes) pkts bytes target prot opt in out source destination
  • DisPlay IPv6 firewall rules.

    Storage: minisystem> net.sh ip6tables Chain INPUT (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination 0 0 ACCEPT all eth2 * ::/0 ::/0 state RELATED,ESTABLISHED 0 0 ACCEPT tcp eth2 * ::/0 ::/0 tcp dpt:22 state NEW limit: avg 100/min burst 100 0 0 ACCEPT tcp eth2 * ::/0 ::/0 tcp dpts:24000:24900 state NEW limit: avg 100/min burst 100 0 0 ACCEPT tcp eth2 * ::/0 ::/0 tcp dpt:8088 0 0 ACCEPT udp eth2 * ::/0 ::/0 multiport dports 123,161,20000:20100 0 0 ACCEPT all eth2.4081 * ::/0 ::/0 state RELATED,ESTABLISHED 0 0 ACCEPT tcp eth2.4081 * ::/0 ::/0 tcp dpt:22 state NEW limit: avg 100/min burst 100 0 0 ACCEPT tcp eth2.4081 * ::/0 ::/0 tcp dpts:24000:24900 state NEW limit: avg 100/min burst 100 0 0 ACCEPT tcp eth2.4081 * ::/0 ::/0 tcp dpt:8088 0 0 ACCEPT udp eth2.4081 * ::/0 ::/0 multiport dports 123,161,20000:20100 0 0 ACCEPT tcp vrf-srv * ::/0 ::/0 multiport dports 3260,12001,12100,24924 0 0 ACCEPT tcp vrf-srv * ::/0 ::/0 multiport sports 3260,12001,12100 0 0 ACCEPT tcp vrf-srv * ::/0 ::/0 multiport dports 111,135,445,2049:2052 0 0 ACCEPT udp vrf-srv * ::/0 ::/0 multiport dports 111,2049:2052 0 0 ACCEPT udp vrf-srv * ::/0 ::/0 udp dpt:4791 0 0 ACCEPT all vrf-inner * ::/0 ::/0 state RELATED,ESTABLISHED 0 0 ACCEPT udp vrf-inner * ::/0 ::/0 multiport dports 123,8083 0 0 ACCEPT tcp vrf-inner * ::/0 ::/0 tcp dpt:22 state NEW limit: avg 100/min burst 100 0 0 ACCEPT tcp vrf-inner * ::/0 ::/0 multiport sports 20,21 state NEW 0 0 ACCEPT tcp vrf-inner * ::/0 ::/0 multiport dports 8083 0 0 ACCEPT all * * ::/0 ::/0 state RELATED,ESTABLISHED 0 0 DROP icmpv6 * * ::/0 ::/0 ipv6-icmptype 13 165 11880 ACCEPT icmpv6 * * ::/0 ::/0 0 0 ACCEPT all lo * ::/0 ::/0 0 0 ACCEPT all eth1 * ::/0 ::/0 Chain FORWARD (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination 0 0 ACCEPT all lo * ::/0 ::/0 0 0 ACCEPT all eth1 * ::/0 ::/0 Chain OUTPUT (policy ACCEPT 12848 packets, 923K bytes) pkts bytes target prot opt in out source destination


Page 19

Чтобы помочь вам лучше понять содержимое этого документа, компания Huawei перевела его на разные языки, используя машинный перевод, отредактированный людьми. Примечание: даже самые передовые программы машинного перевода не могут обеспечить качество на уровне перевода, выполненного профессиональным переводчиком. Компания Huawei не несет ответственность за точность перевода и рекомендует ознакомиться с документом на английском языке (по ссылке, которая была предоставлена ранее).

The eam.sh command is used to run commands related to the EAM module.

eam.sh { -h | -a | deleteEnclosureInfo [SN] | showenclosure| showevent | showloopmap [mac] | showfastwriteportinfo [controller_id] | closeportfastwrite [port_number] | poweroncluster | showclsinfo | showcmview | showdeviceobj | showmutexrule | showdevmtrace | showfru | showmem | showmntmem [isShowDetail 0 or 1] | showpoweronstate | showtaskque}

Parameter

Description

Value

-h Shows help information.

-

-a Displays functions of each subcommand of the EAM module.

-

showenclosure Displays enclosure records.

-

showevent Displays enclosure events.

-

closeportfastwrite [port_number] Disables the fast write function of a port.

To obtain the value, run "eam.sh showfastwriteportinfo controller_id" command.

showfastwriteportinfo [controller_id] Shows the information about ports that have enabled the fast write function.

The value is in the format of "XA", "XB", "XC", or "XD", where the "X" is an integer ranging from 0 to 3.

poweroncluster Powers on the engines that are not powered on in the cluster.

-

showclsinfo Queries cluster information.

-

showcmview Queries EAM cluster information.

-

showdeviceobj Queries information about all RO devices.

-

showmutexrecord Displays mutual exclusion records.

-

showmutexrule Displays mutual exclusion rules.

-

showdevmtrace Queries loading time points at which each module is started by the DEVM process.

-

showfru Queries the FRU status reported by DMI.

-

showmem Queries the UMM memory usage.

-

showmntmem Queries whether the UMM memory is lent.

0 or 1.

showpoweronstate Obtains power-on failure status.

-

showtaskque Displays the current work queue.

-

The eam.sh command is used to view and delete the records of an enclosure. The functions are as follows:

  • View enclosure access events.
  • View enclosure records.
  • Show the information about ports that have enabled the fast write function.
  • Disable the fast write function of a port.
  • Power on the cluster.
  • Query cluster information.
  • Query EAM cluster information.
  • Query information about all RO devices.
  • Display mutual exclusion records.
  • Display mutual exclusion rules.
  • Query the loading time point of each module pulled by the DEVM process.
  • Query the status of FRU reported by DMI.
  • Query the UMM memory usage.
  • Query whether the UMM memory is lent.
  • Obtain power-on failure status.
  • Display the current work queue.

OceanStor Dorado 18000 V6, Dorado 3000 V6 and Dorado 8000 V6 storage systems support this command.

  • Display functions of each subcommand of the EAM module.

    Storage: minisystem> eam.sh -a eam.sh showenclosure : show record of enclosure. eam.sh showevent : show record of enclosure event. eam.sh showfastwriteportinfo [controll_id] : Show the information about ports that have enabled the fast write function. The [controll_id] value is in the format of "XA","XB","XC",or "XD", where the "X" is an integer ranging from 0 to 3. eam.sh closeportfastwrite [port_number] : Disable the fast write function of a port. To obtain the [port_number] value, run the "eam.sh showfastwriteportinfo [controller_id]" command. eam.sh poweroncluster : poweron no power-on engine in cluster. eam.sh showclsinfo : show cluster info. eam.sh showcmview : show eam cls view info. eam.sh showdeviceobj : eam showdeviceobj. eam.sh showmutexrecord : show mutex rule record. eam.sh showmutexrule : show mutex rule. eam.sh showdevmtrace : show devm load trace. eam.sh showfru : show record fru event info. eam.sh showmem : show reserve mem info. eam.sh showmntmem [isShowDetail 0 or 1] : show reserve mem mnt info. eam.sh showpoweronstate : show power on state. eam.sh showtaskque : show task quere tree.
  • Display enclosure records.

    Storage: minisystem> eam.sh showenclosure admin:/diagsh>eam showframe enclosure info: ------------------------------------------ frameId = 1 userFrameId = 0x100 frameType = 0 wwn = 0x5fce33caa5ceb03f 6903512224263745599 mac = 0xfce33caa5cee 278052905573614 fatherWwn = 0x807060504030201 578437695752307201 loopNum = 0 fatherWwn = 0x807060504030201 578437695752307201 loopNum = 0 frameName = DAE000 ------------------------------------------ frameId = 0 userFrameId = 0x200 frameType = 1 wwn = 0x807060504030201 578437695752307201 mac = 0x9c37f47fe2dc 171764139156188 fatherWwn = 0x102030405060708 72623859790382856 loopNum = 0 fatherWwn = 0xffffffffffffffff 18446744073709551615 loopNum = 0 frameName = CTE0 ------------------------------------------ admin:/diagsh>exit
  • Display enclosure events.

    Storage: minisystem> eam.sh showevent admin:/diagsh>eam showevent ALL enclosure event info: frame flag = 1 frame depth = 1 node Id = 0 frameType = 0 wwn = 0x5fce33caa5ceb03f 6903512224263745599 mac = 0xee5caa3ce3fc 262081760519164 fatherWwn = 0x807060504030201 578437695752307201 loopNum = 0 Is first = 1 time stamp = 53607 engid = 0 expBoard Id = 0 ------------------------------------------ frame flag = 1 frame depth = 0 node Id = 1 frameType = 1 wwn = 0x807060504030201 578437695752307201 mac = 0xdce27ff4379c 242865367431068 fatherWwn = 0x102030405060708 72623859790382856 loopNum = 0 Is first = 0 time stamp = 55623 engid = 0 expBoard Id = 0 ------------------------------------------ frame flag = 1 frame depth = 1 node Id = 1 frameType = 0 wwn = 0x5fce33caa5ceb03f 6903512224263745599 mac = 0xee5caa3ce3fc 262081760519164 fatherWwn = 0x807060504030201 578437695752307201 loopNum = 0 Is first = 1 time stamp = 55639 engid = 0 expBoard Id = 1 ------------------------------------------ current time stamp:181084 admin:/diagsh>exit
  • Show the information about ports that have enabled the fast write function on controller "0A".

    Storage: minisystem>eam.sh showfastwriteportinfo 0A admin:/diagsh>eam showfastwriteportinfo 0A Max fast write 1822 fc ports number per controller: 4 Port Number Port ID Fast Write Enable 139265 -- Yes
  • Disable the fast write function of port "139265" by user admin (10.255.255.255).

    Storage: minisystem>eam.sh closeportfastwrite 139265 admin:/diagsh>eam closeportfastwrite admin 10.255.255.255 139265 Close fast write function of port 139265 success.
  • Power on the engines that are not powered on in the cluster.

    Storage: minisystem>eam.sh poweroncluster admin:/diagsh>eam poweroncluster Power on the cluster successfully.
  • Query cluster information.

    Storage: minisystem> eam.sh showclsinfo admin:/diagsh>eam showclsinfo EAM cls info: Service normal node bitmap: 0x3 Cluster normal node bitmap: 0x3 Standby node bitmap: 0x0 Offline node bitmap: 0x0 Master node: 0 Alive node bitmap: 0x3 admin:/diagsh>
  • Query EAM cluster information.

    Storage: minisystem> eam.sh showcmview admin:/diagsh>eam showcmview Devm view info: Version : 37039104 LsNum : 2 --------------------------- LsId : 65537 Nid : 1 State : 0 --------------------------- --------------------------- LsId : 65536 Nid : 0 State : 0 --------------------------- admin:/diagsh>
  • Query information about all RO devices.

    Storage: minisystem> eam.sh showdeviceobj admin:/diagsh>eam showdeviceobj type: 213, devId: 1153202980398448640 type: 213, devId: 1153202980398448641 type: 213, devId: 1153202980398448896 type: 213, devId: 1153202980398448897 type: 213, devId: 281474976842752 type: 213, devId: 281474976842753 type: 213, devId: 281474976842754 type: 213, devId: 281474976842755 type: 213, devId: 281474976843520 type: 213, devId: 281474976843521 type: 213, devId: 281474976849920 type: 213, devId: 281474976849922 type: 214, devId: 1125899908874240 type: 214, devId: 1125899908874241 type: 214, devId: 1125899908874242 type: 214, devId: 1125899908874243 type: 214, devId: 2306969184276471808 type: 214, devId: 2306969184276471809 admin:/diagsh>
  • Display mutual exclusion records.

    Storage: minisystem> eam.sh showmutexrecord admin:/diagsh>eam showmutexrecord admin:/diagsh>
  • Display mutual exclusion rules.

    Storage: minisystem> eam.sh showmutexrule admin:/diagsh>eam showmutexrule Key: 213-55834591232-4-55834591232-0 resName: errCode:1077949798 Key: 213-55834583040-0-1-2 resName: errCode:1077674752 Key: 213-1-2-1-2 resName: errCode:1077674752 Key: 213-55834591232-4-1-2 resName: errCode:1077674752 Key: 213-55834583040-0-55834591232-4 resName: errCode:1073743391 Key: 213-55834583040-1-55834591232-4 resName: errCode:1073801986 Key: 213-1-2-55834591232-4 resName: errCode:1077674753 Key: 213-55834591232-9-55834591232-4 resName: errCode:1073743391 Key: 213-55834591232-4-55834595328-7 resName: errCode:1073801990 Key: 213-55834591232-4-55834591232-9 resName: errCode:1077949800 Key: 235-1-2-55834583040-0 resName: bond port errCode:1077674752 admin:/diagsh>
  • Query loading time points at which each module is started by the DEVM process.

    Storage: minisystem> eam.sh showdevmtrace admin:/diagsh>eam showdevmtrace id date time current trace consum time(ms) subsystem ---- ------------------- ------------------------------ ------------------- --------------------- 0000 2020-01-03 09:44:09 EAM_InitProductIni 3 -- 0001 2020-01-03 09:44:09 cmm_module_init 0 -- 0002 2020-01-03 09:44:09 UTIL_ModuleInit 0 -- 0003 2020-01-03 09:44:09 OC_InitModule 1 -- 0004 2020-01-03 09:44:09 IOD_Init 0 -- 0005 2020-01-03 09:44:09 upgrade_init 0 -- 0006 2020-01-03 09:44:09 app4eam_api_rpc_client_init 10 -- 0007 2020-01-03 09:44:09 ukapi_init 1 -- 0008 2020-01-03 09:44:09 fdsa_init 0 -- 0009 2020-01-03 09:44:09 BSP_DiagRegister 0 -- 0010 2020-01-03 09:44:09 DRV_Init 131 -- 0011 2020-01-03 09:44:09 DAL_ModuleInit 242 -- 0012 2020-01-03 09:44:09 MPA_Init 8 -- 0013 2020-01-03 09:44:09 BSPA_Init 28 -- 0014 2020-01-03 09:44:09 DMI_ModuleInit 9 -- 0015 2020-01-03 09:44:09 DMI_SrvInitRpc 0 -- 0016 2020-01-03 09:44:09 svc_initOmmClient 1 -- 0017 2020-01-03 09:44:09 PERF_ModuleInit 0 -- 0018 2020-01-03 09:44:09 initSysClientModule 16 -- 0019 2020-01-03 09:44:09 initRpcFilterHandle 0 -- 0020 2020-01-03 09:44:09 initCfgDdClient 0 -- 0021 2020-01-03 09:44:09 initCfgObjAgent 2 -- 0022 2020-01-03 09:44:09 initEamServiceCtrl 0 -- 0023 2020-01-03 09:44:26 EAM_InitModule 17257 -- 0024 2020-01-03 09:44:26 NET_InitModule 47 -- 0025 2020-01-03 09:44:26 NET_AdpX86_Init 0 -- 0026 2020-01-03 09:44:26 EAM_AdpX86_Init 0 -- admin:/diagsh>
  • Query the FRU status reported by DMI.

    Storage: minisystem> eam.sh showfru admin:/diagsh>eam showfru Total msg 339, fru 73 0 Type:207,id:0x0,wwn:0x807060504030201,count:46 0 time:25761,type:1 1 time:25761,type:1 2 time:25761,type:1 3 time:25761,type:1 4 time:25761,type:1 5 time:25761,type:1 6 time:25761,type:1 7 time:25761,type:1 8 time:25762,type:1 9 time:25831,type:1 10 time:26092,type:1 11 time:26231,type:1 12 time:27773,type:1 13 time:27841,type:1 14 time:25761,type:1 15 time:25761,type:1 1 Type:209,id:0x40,wwn:0x807060504030201,count:3 0 time:25760,type:0 1 time:25760,type:1 2 time:25760,type:1 admin:/diagsh>
  • Query the UMM memory usage.

    Storage: minisystem> eam.sh showmem admin:/diagsh>eam showmem Type PartId MaxNum MinNum Size UsedNum ReqNum HealType PartAttr Borrow Share Recover Des 32 70 1560 1560 32 0 0 0 0 1 0 0 tmp32Byte 37 75 8192 8192 64 0 0 0 0 0 0 0 fcTgtLinkTmp 26 65 9032 8032 64 255 255 0 0 1 0 0 tmp64Byte 33 71 16384 16384 64 0 0 0 0 0 0 0 fcTgtLink 35 73 80 80 128 0 0 0 0 0 0 0 tgtLinkPort 20 59 2048 512 128 0 0 0 0 1 0 0 fruState 12 52 256 200 128 2 2 0 0 0 0 0 frameRec 27 66 6144 6048 128 12 12 0 0 1 0 0 tmp128Byte 19 58 512 200 256 2 2 0 0 0 0 0 frameEvent 14 54 1 1 256 1 1 0 0 0 0 0 boardPortNum 21 60 6144 5129 256 51 51 0 0 1 0 0 tmp256 15 55 1 1 256 1 1 0 0 0 0 0 boardType 16 56 16 16 256 8 8 0 0 0 0 0 boardTypeArray 13 53 1 1 256 1 1 0 0 0 0 0 intfLoopStart 36 74 8192 0 512 0 0 0 0 0 0 0 iscsiTgtLinkTmp 10 50 1152 1024 512 0 0 0 0 0 0 0 alarmInfo 34 72 8192 1024 512 0 0 0 0 0 0 0 iscsiTgtLink 28 67 4072 4072 512 56 56 0 0 1 0 0 tmp512Byte 29 68 2048 2041 1024 9 9 0 0 1 0 0 tmp1K 3 44 6144 5120 1024 0 0 0 0 0 0 0 smallRpc 7 47 1024 64 2048 17 17 0 0 1 0 0 tmp2K 1 43 2048 1536 2048 12 12 0 0 1 0 0 eamTask 22 61 300 272 4096 0 0 0 0 1 0 0 tmp4K 11 51 1 1 10240 1 1 0 0 0 0 0 alarmRec 8 48 36 32 10240 0 0 0 0 1 0 0 tmp10K 18 57 17 17 20480 0 0 0 0 1 0 0 tmp20K 5 45 72 64 20480 0 0 0 0 0 0 0 bigRpc 24 63 26 26 65536 0 0 0 0 1 0 0 tmp64K 25 64 2 2 65536 2 2 0 0 0 0 0 mntMem 23 62 1 1 65536 0 0 0 0 0 0 0 ethInfo 30 69 16 16 131072 2 2 0 0 1 0 0 tmp128K 9 49 20 20 524288 0 0 0 0 1 0 0 tmp512K 6 46 6 6 1048576 0 0 0 0 1 0 0 superRpc admin:/diagsh>
  • Query whether the UMM memory is lent.

    Storage: minisystem> eam.sh showmntmem 0 admin:/diagsh>eam showmntmem 0 Eam module memory manage info: mnt memBlockNum=4096 show mem mnt by pool index useCnt minCnt maxCnt peakReq rsvSize peakSize change rsvMem 1 12 1536 2048 31 2048 1768 0 [eamTask] 3 0 5120 6144 0 1024 0 0 [smallRpc] 5 0 64 72 0 20480 0 0 [bigRpc] 6 0 6 6 0 1048576 0 0 [superRpc] 7 17 64 1024 25 2048 2048 0 [tmp2K] 8 0 32 36 11 10240 10240 0 [tmp10K] 9 0 20 20 2 524288 524288 0 [tmp512K] 10 0 1024 1152 102 512 512 0 [alarmInfo] 11 1 1 1 1 10240 10008 0 [alarmRec] 12 2 200 256 3 128 104 0 [frameRec] 13 1 1 1 1 256 256 0 [intfLoopStart] 14 1 1 1 1 256 192 0 [boardPortNum] 15 1 1 1 1 256 128 0 [boardType] 16 8 16 16 9 256 92 0 [boardTypeArray] 18 0 17 17 0 20480 0 0 [tmp20K] 19 2 200 512 2 256 144 0 [frameEvent] 20 0 512 2048 122 128 108 0 [fruState] 21 57 5129 6144 117 256 216 0 [tmp256] 22 0 272 300 0 4096 0 0 [tmp4K] 23 0 1 1 1 65536 7040 0 [ethInfo] 24 0 26 26 3 65536 65536 0 [tmp64K] 25 2 2 2 2 65536 960 0 [mntMem] 26 255 8032 9032 391 64 56 0 [tmp64Byte] 27 12 6048 6144 12 128 80 0 [tmp128Byte] 28 56 4072 4072 57 512 224 0 [tmp512Byte] 29 9 2041 2048 12 1024 1024 0 [tmp1K] 30 2 16 16 2 131072 131048 0 [tmp128K] 32 0 1560 1560 2 32 16 0 [tmp32Byte] 33 0 16384 16384 0 64 0 0 [fcTgtLink] 34 0 1024 8192 0 512 0 0 [iscsiTgtLink] 35 0 80 80 0 128 0 0 [tgtLinkPort] 36 0 0 8192 0 512 0 0 [iscsiTgtLinkTmp] 37 0 8192 8192 0 64 0 0 [fcTgtLinkTmp] admin:/diagsh>
  • Obtain power-on failure status.

    Storage: minisystem> eam.sh showpoweronstate admin:/diagsh>eam showpoweronstate Current node id: 0 , state: normal Power on state: power on success admin:/diagsh>
  • Display the current work queue.

    Storage: minisystem> eam.sh showtaskque admin:/diagsh>eam showtaskque taskNum:0 taskNum:0 taskNum:0 taskNum:0 taskNum:0 taskNum:0 taskNum:0 taskNum:0 taskNum:0 taskNum:0 taskNum:0 taskNum:0 taskNum:0 taskNum:0 taskNum:0 taskNum:0 taskNum:0 taskNum:0 taskNum:0 taskNum:0 admin:/diagsh>


Page 20

Чтобы помочь вам лучше понять содержимое этого документа, компания Huawei перевела его на разные языки, используя машинный перевод, отредактированный людьми. Примечание: даже самые передовые программы машинного перевода не могут обеспечить качество на уровне перевода, выполненного профессиональным переводчиком. Компания Huawei не несет ответственность за точность перевода и рекомендует ознакомиться с документом на английском языке (по ссылке, которая была предоставлена ранее).

The stream.sh command is used to run commands related to the STREAM module.

Parameter

Description

Value

-h Shows help information.

-

-a Shows functions of each subcommand of the STREAM module.

-

deletedb Deletes all persistent metadata of the STREAM module.

-

diag Diagnoses a stream.

-

repair Repairs a stream.

-

preallocall Forces to set the parameters of stream preallocation.

-

The stream.sh deletedb command is used to delete all persistent metadata of the STREAM module.

  • Show the function of each subcommand of the STREAM module.

    Storage: minisystem> stream.sh -a stream.sh deletedb : Force to clear the info about stream from ccdb. stream.sh diag <stream name> : Diagnose the stream. stream.sh repair <stream name> : Repair the stream.
  • Delete all persistent metadata of the STREAM module.

    Storage: minisystem> stream.sh deletedb all admin:/diagnose>attach 12 Attach AppId<12> success admin:/diagnose>stream meta deletedb all ===================================================================== stream delete db success. ===================================================================== admin:/diagnose>exit
  • Repair a stream.

    Storage: minisystem> stream.sh repair test admin:/diagnose>attach 12 Attach AppId<12> success admin:/diagnose>stream meta repair test ===================================================================== Stream(test) has been repaired successfully. ===================================================================== admin:/diagnose>stream meta ===================================================================== admin:/diagnose>exit
  • Diagnose a stream.

    Storage: minisystem> stream.sh diag test admin:/diagnose>attach 12 Attach AppId<12> success admin:/diagnose>stream meta diag test ===================================================================== There is something wrong with stream(test), result(0x10000), version(257). |item |status | |----------------------------------------|----------| |STREAM_DB_ROOT_LOSS |0 | |STREAM_DB_ROOT_DATA_INVALID |0 | |STREAM_ROOT_PLOG_LOSS |0 | |STREAM_ROOT_PLOG_DATA_INVALID |0 | |STREAM_META_PLOG_LOSS |1 | |STREAM_META_PLOG_DATA_BASE_INVALID |0 | |STREAM_META_PLOG_DATA_DELTA_INVALID |0 | |STREAM_DB_META_LOSS |0 | |STREAM_DB_META_DATA_INVALID |0 | Query plogs from DSM, plogNum(10::1:0:9). |index |ptid |plogid |type |seqno | |--------|--------------------|--------------------|--------|--------------------| |0 |0x3e7 |0x5 |2 |2 | |1 |0x3e7 |0xa |2 |7 | |2 |0x3e7 |0x7 |2 |4 | |3 |0x3e7 |0x4 |2 |1 | |4 |0x3e7 |0x9 |2 |6 | |5 |0x3e7 |0x1 |0 |1 | |6 |0x3e7 |0x6 |2 |3 | |7 |0x3e7 |0xb |2 |8 | |8 |0x3e7 |0x3 |2 |0 | |9 |0x3e7 |0x8 |2 |5 | Query plog successfully, num(10). This stream can be repaired. ===================================================================== admin:/diagnose>exit
  • Force to set the parameters of stream preallocation.

    Storage: minisystem> stream.sh preallocall 1 2 1 admin:/diagnose>attach 12 Attach AppId<12> success admin:/diagnose>stream io preallocall 1 2 1 ===================================================================== ForcePrealloc: isEnable(1) prealloc(2, 1). =====================================================================

This Document Applies to these Products


Page 21

Чтобы помочь вам лучше понять содержимое этого документа, компания Huawei перевела его на разные языки, используя машинный перевод, отредактированный людьми. Примечание: даже самые передовые программы машинного перевода не могут обеспечить качество на уровне перевода, выполненного профессиональным переводчиком. Компания Huawei не несет ответственность за точность перевода и рекомендует ознакомиться с документом на английском языке (по ссылке, которая была предоставлена ранее).

The sshtoremote command is used to log in to the peer controller in a remote way. This command can be used to log in to the peer controller as the super administrator only. You are required to enter the login password of the super administrator.

Log in to the peer controller in a remote way. The version of storage system replace by X.

Storage: minisystem> sshtoremote Ssh to peer via bond0 with admin...... Warning: Permanently added '127.127.127.11' (ECDSA) to the list of known hosts. Authorized users only. All activities may be monitored and reported. 's password:

None.

Parameter

Meaning

password

Password of the super administrator. After correctly entering the password, the user can log in to the system.

This Document Applies to these Products


Page 22

Чтобы помочь вам лучше понять содержимое этого документа, компания Huawei перевела его на разные языки, используя машинный перевод, отредактированный людьми. Примечание: даже самые передовые программы машинного перевода не могут обеспечить качество на уровне перевода, выполненного профессиональным переводчиком. Компания Huawei не несет ответственность за точность перевода и рекомендует ознакомиться с документом на английском языке (по ссылке, которая была предоставлена ранее).

The sshtoremoteExt command is used by the super administrator to login to a controller of a cluster through the bond0 network port.

Parameter

Description

Value

SlotId Slot ID of a controller.

The value ranges from 0 to N – 1. N is the maximum number of controllers supported by the storage system.

Login to other controllers or the current controller by running the "sshtoremoteExt" command with the controller slot ID at the end of the command. This command cannot be nested on the controller node.

Login to controller B from controller C.

Storage: minisystem> sshtoremoteExt 1 Ssh to controller(SlotId=1) with admin...... Warning: Permanently added '127.127.127.11' (ECDSA) to the list of known hosts. Authorized users only. All activities may be monitored and reported. password:

The following table describes the parameter meanings.

Parameter

Meaning

password

Password of the super administrator. After correctly entering the password, the user can login to the system.

This Document Applies to these Products


Page 23

Чтобы помочь вам лучше понять содержимое этого документа, компания Huawei перевела его на разные языки, используя машинный перевод, отредактированный людьми. Примечание: даже самые передовые программы машинного перевода не могут обеспечить качество на уровне перевода, выполненного профессиональным переводчиком. Компания Huawei не несет ответственность за точность перевода и рекомендует ознакомиться с документом на английском языке (по ссылке, которая была предоставлена ранее).

The ws show command is used to show all types of background worker service tasks.

Parameter

Description

Value

type Background task type.

To obtain the type, run the "ws show" command.

Show all background worker service tasks or all background tasks of a single type.

ibc_os_hs:/diagnose>ws show ===================================================================== generate token time cycle: 100 ms change lwt switch : off change lwt priority : 3 service id idx es addr status resrc clnt finish --------------- ---- ---------------- ------ ----- ---- ---------- service type(0, pool reblance task) service type(4, replication rio_log task) service type(16, dsm catchup rebalance task) 4503599627370497 1 0x5005f51aa700 1 0 0 0 service type(24, space hypercopy cousumer) service type(28, dus fppuge collect) service type(32, fs_adel_recycle_task) service type(36, fcpy read) service type(40, sfp analyze evict) service type(44, postddp promote task) service type(48, rnn recovery fsp) service type(1, replication task) service type(17, dsm catchup rebalance cpy data) service type(25, space_stream_gc) service type(29, lun share recycle task) service type(33, fs_snap_recycle_task) service type(37, pool post ddp task) service type(41, pool data cleanup task) service type(45, dirdel task) service type(49, dnn recovery) service type(57, space dif scan) service type(14, snap rollback producer task) service type(18, fullcopy task) service type(26, space_extend_bgr_copy) service type(30, vol rep) service type(34, fs_snap_copy_task) service type(38, AI cache belief IO analysis) service type(42, pool reblance task on dst node) service type(46, hdfs log consume task) service type(50, dnn recovery fs) service type(3, replication bgr task) service type(7, del lun recycle task) service type(15, snap rollback consumer task) service type(23, space hypercopy producer) service type(27, p layer crb) service type(31, fs_truncate_recycle_task) service type(35, fs_tx_trim_task) service type(39, AI cache belief matrix manage) service type(47, rnn recovery) service type(51, trash task) service type(59, rep migration bgr task) =====================================================================

The following table describes the parameter meanings.

Parameter

Meaning

generate token time cycle

Interval for issuing tokens.

idx

Index ID of a background task.

service id

ID of the background work service.

es addr

Executor address corresponding to the worker service.

status

Worker service status.

resrc

Number of resources associated with QoS.

clnt

Number of clients associated with QoS.

finish

Number of tasks completed by the worker service.

node min flowrate

Minimum node bandwidth.

node max flowrate

Maximum node bandwidth.

node burst flowrate

Burst bandwidth of a node.

node flowrate quota

Node bandwidth quota.

node min concur

Minimum number of concurrent I/Os of a node.

node max concur

Maximum number of concurrent I/Os of a node.

node concur quota

I/O concurrency quota of a node.

remain concur

Number of remaining concurrent tokens.

waiting cnt

Number of worker services to be scheduled.

scheduling

Whether the worker service is being scheduled.

exist retry

Whether there is are rescheduled worker services.

exist active

Whether there are active worker services to be scheduled.

gen token epoch

Epoch when the token is generated.

stat epoch

Epoch for statistics collection.

running_task

Number of running tasks.

finish_task

Number of tasks completed by the worker service.

current traffic

Bandwidth of the current task.

previous traffic

Bandwidth in the last period.

total traffic

Total bandwidth of the worker service.

traffic token

Number of bandwidth tokens.

latency

Average latency of a task.


Page 24

Чтобы помочь вам лучше понять содержимое этого документа, компания Huawei перевела его на разные языки, используя машинный перевод, отредактированный людьми. Примечание: даже самые передовые программы машинного перевода не могут обеспечить качество на уровне перевода, выполненного профессиональным переводчиком. Компания Huawei не несет ответственность за точность перевода и рекомендует ознакомиться с документом на английском языке (по ссылке, которая была предоставлена ранее).

The rsf showrms command is used to query information about RMS objects.

rsf showrms [rmsNodeId] [minObjIndex] [maxObjIndex]

Parameter

Description

Value

rmsNodeId Node ID.

-

minObjIndex Minimum index value.

-

maxObjIndex Maximum index value.

-

Query information about RMS objects.

root:/diagnose>rsf showrms The maximum pair sequence: 5. The maximum cg sequence: 0. The maximum 3dc sequence: 0. The number of rms view node: 2. -------------------------------------------------------------------------------------------------------------------------------------------------- rmsNodeId : 786432 type(0)totalObjNum : 0 type(1)totalObjNum : 0 type(2)totalObjNum : 3 type(3)totalObjNum : 0 type(4)totalObjNum : 0 type(5)totalObjNum : 0 |modifyFlag| columnMofifyFlag| dsId| lowOjId| highOjId| objIndex| objStatus| cgIndex| objSeqNum| rmsNodeId| objType| ringM0Id|ringM0Type| ringM1Id|ringM1Type| groupId| |0 | 0,0,0,0,0,0| 60| 200000004| 21007B0203040506| 4| 2| FFFFFFFFFFFFFFFF| 5| 786432| 2|4294967295| 65535|4294967295| 65535| 5| |0 | 0,0,0,0,0,0| 57| 200000001| 21007B0203040506| 1| 2| FFFFFFFFFFFFFFFF| 2| 786432| 2|4294967295| 65535|4294967295| 65535| 2| |0 | 0,0,0,0,0,0| 59| 200000003| 21007B0203040506| 3| 2| FFFFFFFFFFFFFFFF| 4| 786432| 2|4294967295| 65535|4294967295| 65535| 4| -------------------------------------------------------------------------------------------------------------------------------------------------- rmsNodeId : 786433 type(0)totalObjNum : 0 type(1)totalObjNum : 0 type(2)totalObjNum : 2 type(3)totalObjNum : 0 type(4)totalObjNum : 0 type(5)totalObjNum : 0 |modifyFlag| columnMofifyFlag| dsId| lowOjId| highOjId| objIndex| objStatus| cgIndex| objSeqNum| rmsNodeId| objType| ringM0Id|ringM0Type| ringM1Id|ringM1Type| groupId| |0 | 0,0,0,0,0,0| 56| 200000000| 21007B0203040506| 0| 2| FFFFFFFFFFFFFFFF| 1| 786433| 2|4294967295| 65535|4294967295| 65535| 1| |0 | 0,0,0,0,0,0| 58| 200000002| 21007B0203040506| 2| 2| FFFFFFFFFFFFFFFF| 3| 786433| 2|4294967295| 65535|4294967295| 65535| 3|


Page 25

Чтобы помочь вам лучше понять содержимое этого документа, компания Huawei перевела его на разные языки, используя машинный перевод, отредактированный людьми. Примечание: даже самые передовые программы машинного перевода не могут обеспечить качество на уровне перевода, выполненного профессиональным переводчиком. Компания Huawei не несет ответственность за точность перевода и рекомендует ознакомиться с документом на английском языке (по ссылке, которая была предоставлена ранее).

The rsf showgroup command is used to query group information about all RMS objects.

Parameter

Description

Value

nodeID Node ID.

-

Query group information about all RMS objects.

root:/diagnose>rsf showgroup The groupNum: 5. The maxGroupNum: 10241. -------------------------------------------------------------------------------------------------------------------------------------------------- rmsNodeId : 786432 ------------------------------------------------------------------------------------------ groupId: 5, usedStatus: 1, memberNum: 1 ------------------------------------------------------------------------------------------ | dsId| lowOjId| highOjId| objIndex| cgIndex| objType| | 60| 200000004| 21007B0203040506| 4| FFFFFFFFFFFFFFFF| 2| ------------------------------------------------------------------------------------------ groupId: 2, usedStatus: 1, memberNum: 1 ------------------------------------------------------------------------------------------ | dsId| lowOjId| highOjId| objIndex| cgIndex| objType| | 57| 200000001| 21007B0203040506| 1| FFFFFFFFFFFFFFFF| 2| ------------------------------------------------------------------------------------------ groupId: 4, usedStatus: 1, memberNum: 1 ------------------------------------------------------------------------------------------ | dsId| lowOjId| highOjId| objIndex| cgIndex| objType| | 59| 200000003| 21007B0203040506| 3| FFFFFFFFFFFFFFFF| 2| -------------------------------------------------------------------------------------------------------------------------------------------------- rmsNodeId : 786433 ------------------------------------------------------------------------------------------ groupId: 1, usedStatus: 1, memberNum: 1 ------------------------------------------------------------------------------------------ | dsId| lowOjId| highOjId| objIndex| cgIndex| objType| | 56| 200000000| 21007B0203040506| 0| FFFFFFFFFFFFFFFF| 2| ------------------------------------------------------------------------------------------ groupId: 3, usedStatus: 1, memberNum: 1 ------------------------------------------------------------------------------------------ | dsId| lowOjId| highOjId| objIndex| cgIndex| objType| | 58| 200000002| 21007B0203040506| 2| FFFFFFFFFFFFFFFF| 2|

This Document Applies to these Products


Page 26

Чтобы помочь вам лучше понять содержимое этого документа, компания Huawei перевела его на разные языки, используя машинный перевод, отредактированный людьми. Примечание: даже самые передовые программы машинного перевода не могут обеспечить качество на уровне перевода, выполненного профессиональным переводчиком. Компания Huawei не несет ответственность за точность перевода и рекомендует ознакомиться с документом на английском языке (по ссылке, которая была предоставлена ранее).

The rsf showgroupbyid command is used to query information about a specified group.

Parameter

Description

Value

ID Group ID.

-

Query information about the group whose ID is "5".

root:/diagnose>rsf showgroupbyid 5 groupId: 5, rmsNodeId: 786432, memberNum: 1 | dsId| lowOjId| highOjId| objIndex| cgIndex| objType| | 60| 200000004| 21007B0203040506| 4| FFFFFFFFFFFFFFFF| 2|

This Document Applies to these Products