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).
Replacing a Metadata Disk in an Emergency Scenario

Replacing a Metadata Disk in an Emergency Scenario

Run the following command to replacing a metadata disk in an emergent scenario:

sh /opt/dsware/client/bin/dswareTool.sh --op Service nameCmd -subOp ReplaceMediaDisk -controlClusterId controlClusterId -processId processId -processType processType -nodeIps nodeIps

Parameter

Description

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

Specifies an executable program for the tool.

--op drCmd

Specifies the replication command.

-subOp ReplaceMediaDisk

Replaces a metadata disk in an emergency scenario.

-controlClusterId controlClusterId

Specifies the control cluster ID.

-processId processId

Specifies the process ID.

-processType processType

Specifies the DR service type, including cm and ccdb.

-nodeIps nodeIps

Specifies the IP address of the node on which the metadata disk is to be replaced.

An IPv4 example is provided as follows:

dsware@KD182250132182:~> sh /opt/dsware/client/bin/dswareTool.sh --op drCmd -subOp  ReplaceMediaDisk  -controlClusterId 0 -processType zk -processId 100  -nodeIps 192.168.35.12
[Mon Sep 18 21:44:41 CST 2017] DswareTool operation start.
Enter User Name:admin
Enter Password :
Operation finish successfully. Result Code:0
result    detail    
--------------------
0         --        
--------------------
Total records : 1.
[Mon Sep 18 21:47:30 CST 2017] DswareTool operation end.

An IPv6 example is provided as follows:

dsware@KD182250132182:~> sh /opt/dsware/client/bin/dswareTool.sh --op drCmd -subOp  ReplaceMediaDisk  -controlClusterId 0 -processType zk -processId 100  -nodeIps 2016:8:40:160:c13:0:169:32
[Mon Sep 18 21:44:41 CST 2017] DswareTool operation start.
Enter User Name:admin
Enter Password :
Operation finish successfully. Result Code:0
result    detail    
--------------------
0         --        
--------------------
Total records : 1.
[Mon Sep 18 21:47:30 CST 2017] DswareTool operation end.
Translation
Download
Updated: 2019-07-12

Document ID: EDOC1100081411

Views: 4846

Downloads: 3

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