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).
Changing the FusionStorage Management IP Address

Changing the FusionStorage Management IP Address

This operation is risky. You must confirm whether to continue to execute the command.

Run the following command to change the management IP addresses of FusionStorage nodes, including the FSM and FSA nodes: When you modify the management IP address of the FSA node, only the IP address configured in the FSA node is modified, and the IP address of the physical server where the FSA node is deployed is not changed. You need to log in to the FSA node to manually modify the management IP address after the command is successfully delivered. If the network plane is a dual-plane network, set the network plane type to internal management network when modifying the internal management IP address.

NOTE:

If any alarms have been generated before modifications, clear the alarms before running the command. Otherwise, the alarms cannot be handled if the management IP address is changed.

If an alarm indicating an old IP address is reported, manually clear the alarm.

Command: ./dswareTool.sh --op modifyDSwareManagerIp -gw gateway -mask netmask -firstFsmNodeIp ip -secondFsmNodeIp(optional) ip -fsmFloatIp(optional) ip -hosts(optional) oldIp:newIp,oldIp:newIp,... -netPlaneType external/internal

Parameter

Description

./dswareTool.sh

Specifies an executable program for the tool.

--op modifyDSwareManagerIp

Changes the FusionStorage management IP address.

-gw gateway

Specifies the gateway of the node to be modified. There are three cases:

  • This parameter is mandatory, if the network plane type is external.
  • If the network plane type is internal, this parameter is invalid and does not need to be set.
  • If only the management IP address of the FSA node is modified, this parameter is invalid and does not need to be set.

-mask netmask

Specifies the subnet mask of the node to be modified. If only the management IP address of the FSA node is modified, this parameter is invalid and does not need to be set.

-firstFsmNodeIp ip

Specifies the IP address of the first FSM node. If only the management IP address of the FSA node is modified, this parameter is invalid and does not need to be set.

-secondFsmNodeIp ip

Specifies the IP address of the second FSM node. There are three cases:

  • This parameter is mandatory when FSM nodes are deployed in active/standby mode.
  • If the FSM node is deployed on a single node, this parameter is invalid and does not need to be set.
  • If only the management IP address of the FSA node is modified, this parameter is invalid and does not need to be set.

-fsmFloatIp ip

Specifies the floating IP address of the FSM node. There are three cases:

  • This parameter is mandatory when FSM nodes are deployed in active/standby mode.
  • If the FSM node is deployed on a single node, this parameter is invalid and does not need to be set.
  • If only the management IP address of the FSA node is modified, this parameter is invalid and does not need to be set.

-netPlaneType external/internal

Specifies the types of the network plane to be modified. There are two cases:

If the FSM node is deployed on a single plane, this parameter is invalid and does not need to be set.

This parameter is mandatory when FSM nodes are deployed in dual-plane mode. Enter internal to change the IP addresses on the internal management plane. Enter external to change the IP address on the external management plane.

-hosts(optional) oldIp:newIp,oldIp:newIp,...

Specifies the old and new IP addresses of the target node. This parameter is optional. If the FSM nodes are deployed in dual-plane mode, the network plane type must be set to internal.

NOTE:
  • You can run the following command on the management node of the FSM node to set the network plane type: cat /opt/dsware/manager/webapps/dsware/WEB-INF/manager-ha.properties | grep "double_plane". On the command output, if double_plane=false is displayed, the FSM node is deployed on a single plane. Otherwise, the FSM node is deployed in dual-plane mode.
  • If the FSM node is deployed in active/standby mode, run the following command to check whether the current FSM node is the first or second FSM node: cat /opt/omm/oms/workspace/webapps/dsware/web-inf/manager-ha.properties | grep local_name |awk -f "=" '{print $2}'. On the command output, if ha1 is displayed, the current node is the first FSM node. Otherwise, the node is the second FSM node.

An IPv4 example is provided as follows (only the IP address of the FSM node is modified):

dsware@FSM:/opt/dsware/client/bin> ./dswareTool.sh --op modifyDSwareManagerIp -netPlaneType internal -mask 255.255.254.0 -gw 192.168.60.1 -firstFsmNodeIp 192.168.61.2 -secondFsmNodeIp 192.168.61.3 
This operation is high risk,please input y to continue:y
[Wed Sep 23 00:21:03 CST 2015] DswareTool operation start.
Operation finish successfully. Result Code:0
[Wed Sep 23 00:21:12 CST 2015] DswareTool operation end.

An IPv4 example is provided as follows (only the IP address of the FSA node is modified):

dsware@FSM:/opt/dsware/client/bin> ./dswareTool.sh --op modifyDSwareManagerIp -netPlaneType internal -hosts 192.168.1.160:192.168.1.161,192.168.1.158:192.168.1.159
This operation is high risk,please input y to continue:y
[Wed Sep 23 00:21:03 CST 2015] DswareTool operation start.
Operation finish successfully. Result Code:0
[Wed Sep 23 00:21:12 CST 2015] DswareTool operation end.

An IPv6 example is provided as follows:

dsware@FSM:/opt/dsware/client/bin> ./dswareTool.sh --op modifyDSwareManagerIp -mask ffff:ffff:ffff:ffff:: -gw 2016:8:40:160:c13:0:169:1 -firstFsmNodeIp 2016:8:40:160:c13:0:169:34
This operation is high risk,please input y to continue:y
[Wed Sep 23 00:21:03 CST 2015] DswareTool operation start.
Operation finish successfully. Result Code:0
[Wed Sep 23 00:21:12 CST 2015] DswareTool operation end.
Translation
Download
Updated: 2019-07-12

Document ID: EDOC1100081411

Views: 4666

Downloads: 2

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