No relevant resource is found in the selected language.

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

Reminder

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

upgrade

FusionStorage 8.0.0 DSware Tool Command Reference 02

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Clearing Metadata Disk Information

Clearing Metadata Disk Information

Run the following command to clear the metadata disk information:

sh /opt/dsware/client/bin/dswareTool.sh --op Service nameCmd -subOp CleanMediaConfig -clusterId clusterId -nodeIps nodeIps

Parameter

Description

/opt/dsware/client/bin/dswareTool.sh

Specifies an executable program for the tool.

--op Service nameCmd

Self-defined based on the service.

For the replication service, the value is drCmd.

For the dgw service, the value is dgwCmd.

-subOp CleanMediaConfig

Clears metadata disk information.

-clusterId clusterId

Specifies the control cluster ID.

-nodeIps nodeIps

Specifies IP addresses of the nodes to be cleared.

An example is provided as follows:

dsware@s_root:~> sh /opt/dsware/client/bin/dswareTool.sh --op drCmd -subOp CleanMediaConfig -clusterId 0 -nodeIps 192.168.43.11,192.168.43.12,192.168.43.13
This operation is high risk,please input y to continue:y
[Mon Sep 11 12:26:33 CST 2017] DswareTool operation start.
Enter User Name:admin
Enter Password :
Operation finish successfully. Result Code:0
result    
----------
0         
----------
Total records : 1.
[Mon Sep 11 12:26:42 CST 2017] DswareTool operation end.
Translation
Download
Updated: 2019-07-12

Document ID: EDOC1100081411

Views: 4695

Downloads: 2

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