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 Block Storage DSware Tool Command Reference 03

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).
Adding ZooKeeper Nodes

Adding ZooKeeper Nodes

Run the following command to add two ZooKeeper nodes to the ZooKeeper cluster:

NOTE:

Modify configuration file /opt/dsware/client/conf/manage_cluster.xml based on the actual environment before running this command.

sh dswareTool.sh --op addZookeeper -f /opt/dsware/client/conf/manage_cluster.xml

Parameter

Description

./dswareTool.sh

Specifies an executable program for the tool.

--op addZookeeper

Adds the ZooKeeper nodes.

An example is provided as follows:

[dsware@FSM01 bin]$ sh dswareTool.sh --op addZookeeper -f /opt/dsware/client/conf/manage_cluster.xml
This operation is high risk,please input y to continue:y
[Tue Feb 28 15:04:06 UTC 2017] DswareTool operation start.
Enter User Name:admin
Enter Password :
Operation finish successfully. Result Code:0
taskId: 11
[Tue Feb 28 15:04:16 UTC 2017] DswareTool operation end.

If the networking type is IPv4, the configuration file of the command is as follows:

<clusterInfo>
    <clusterName>cluster01</clusterName>
    <serverList>
        <server>
            <nodeMgrIp>192.168.12.23</nodeMgrIp>
            <zkType>sas_disk</zkType>
            <zkDiskSlot>2</zkDiskSlot>
            <zkPartition />
            <zkDiskEsn />
        </server>
        <server>
            <nodeMgrIp>192.168.12.24</nodeMgrIp>
            <zkType>sas_disk</zkType>
            <zkDiskSlot>2</zkDiskSlot>
            <zkPartition />
            <zkDiskEsn />
        </server>
    </serverList>
</clusterInfo>

If the networking type is IPv6, the configuration file of the command is as follows:

<clusterInfo>
    <clusterName>cluster01</clusterName>
    <serverList>
        <server>
            <nodeMgrIp>2016:8:40:160:c13:0:169:32</nodeMgrIp>
            <zkType>sas_disk</zkType>
            <zkDiskSlot>2</zkDiskSlot>
            <zkPartition />
            <zkDiskEsn />
        </server>
        <server>
            <nodeMgrIp>2016:8:40:160:c13:0:169:34</nodeMgrIp>
            <zkType>sas_disk</zkType>
            <zkDiskSlot>2</zkDiskSlot>
            <zkPartition />
            <zkDiskEsn />
        </server>
    </serverList>
</clusterInfo>
Translation
Download
Updated: 2019-08-19

Document ID: EDOC1100081411

Views: 5959

Downloads: 3

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