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).
Querying the Control Cluster Using the IP Address

Querying the Control Cluster Using the IP Address

Run the following command to query the control cluster using the IP address:

sh /opt/dsware/client/bin/dswareTool.sh --op Service nameCmd -subOp queryControlClusterByIp -ip(optional) ip

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 queryControlClusterByIp

Queries the control cluster using the IP address.

-ip ip

Specifies the control cluster IP address. This parameter is optional.

An IPv4 example is provided as follows:

dsware@KD182250132182:~> sh /opt/dsware/client/bin/dswareTool.sh --op drCmd -subOp queryControlClusterByIp -ip "192.168.35.11"
[Mon Sep 18 10:49:10 CST 2017] DswareTool operation start.
Operation finish successfully. Result Code:0
serviceType    controlClusterId    clusterName    powerStatus    createStatus    
---------------------------------------------------------------------------------
dr             0                   dr_cluster     0              1               
---------------------------------------------------------------------------------
Total records : 1.
[Mon Sep 18 10:49:13 CST 2017] DswareTool operation end.

An IPv6 example is provided as follows:

dsware@KD182250132182:~> sh /opt/dsware/client/bin/dswareTool.sh --op drCmd -subOp queryControlClusterByIp -ip "2016:8:40:160:c13:0:169:32"
[Mon Sep 18 10:49:10 CST 2017] DswareTool operation start.
Operation finish successfully. Result Code:0
serviceType    controlClusterId    clusterName    powerStatus    createStatus    
---------------------------------------------------------------------------------
dr             0                   dr_cluster     0              1               
---------------------------------------------------------------------------------
Total records : 1.
[Mon Sep 18 10:49:13 CST 2017] DswareTool operation end.
Translation
Download
Updated: 2019-07-12

Document ID: EDOC1100081411

Views: 4880

Downloads: 3

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