Simulating the Agent to Set the OSD Node Status to DOWN

In emergency scenarios, OSD nodes may be restarted frequently, exerting impacts on services. Run the following command to se the OSD node status to DOWN:

This operation is risky. Exercise caution before command execution.

./dsware_insight [node_type] [dest_id] [dest_ip] [dest_port] [dest_mid] [command_type]

Parameter

Description

./dsware_insight

Specifies an executable program for the tool.

node_type

Value: 0

dest_id

The value can be obtained from the MDC configuration file.

dest_ip

Specifies the MDC IP address.

dest_port

Specifies the MDC port number.

dest_mid

Value: 8

command_type

Value: 1807

parameter1

Specifies the resource pool ID.

parameter2

Possible values are as follows:

0: cancels the DOWN status.

1: sets the DOWN status.

parameter3

Specifies the ID list of OSD nodes. IDs are separated using spaces.

An example is provided as follows:

NOTE:

Run the ./dsware_insight 0 1 10.2.3.11 10530 8 1807 0 1 65539 command to set the status of OSD 65539 in resource pool 0 to DOWN.


Copyright © Huawei Technologies Co., Ltd.