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 System Metadata Disk Information

Querying System Metadata Disk Information

Run the following command to query the system metadata disk information:

sh /opt/dsware/client/bin/dswareTool.sh --op Service name Cmd -subOp queryServiceServerMedia -controlClusterId controlClusterId -nodeIps(optional) ip1,ip2,ip3

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 queryServiceServerMedia

Queries system metadata disk information.

-controlClusterId controlClusterId

Specifies the control cluster ID.

-nodeIps ip1,ip2,ip3

Specifies the system node IP addresses. This parameter is optional.

An example is provided as follows:

dsware@KD182250132182:~> sh /opt/dsware/client/bin/dswareTool.sh --op drCmd -subOp queryServiceServerMedia -controlClusterId 0
[Fri Sep 15 21:19:50 CST 2017] DswareTool operation start.
Enter User Name:admin
Enter Password :
Operation finish successfully. Result Code:0
clusterId    serviceType    manageIp       volumeType        mediaKey
----------------------------------------------------------------------------
0            dr             192.168.35.14    physicalVolume    zk_volume
0            dr             192.168.35.14    physicalVolume    ccdb_volume
0            dr             192.168.35.12    physicalVolume    zk_volume
0            dr             192.168.35.12    physicalVolume    ccdb_volume
0            dr             192.168.35.11    physicalVolume    zk_volume
0            dr             192.168.35.11    physicalVolume    ccdb_volume
----------------------------------------------------------------------------
Total records : 6.
[Fri Sep 15 21:20:00 CST 2017] DswareTool operation end.
Translation
Download
Updated: 2019-07-12

Document ID: EDOC1100081411

Views: 4763

Downloads: 3

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