Advanced O&M Command Reference

OceanStor 5000, 5000F, 6000, and 6000F V5 Series V500R007

This document is applicable to OceanStor 5110 V5, 5110F V5, 5300 V5, 5500 V5, 5600 V5, 5800 V5, 6800 V5, 5300F V5, 5500F V5, 5600F V5, 5800F V5, and 6800F V5. Based on the CLI, this document describes how to use various commands classified by functionsand how to set the CLI and manage the storage system through these commands.

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).

change cluster general

change cluster general

Function

The change cluster general command is used to change the cluster IPv4 base address and IPv4 subnetting mode, or the networking mode of a cluster.

In C network segment division mode, the IP base address is a host address that starts with 10.253 or 172.17. By default, the C network segment division mode is adopted. In D network segment division mode, the IP base address is a host address in the network segment "*.*.*.1".

subnetting_mode=?

IPv4 subnetting mode.

The value can be:

"mask16_mode": C network segment division mode.

"mask24_mode": D network segment division mode.

Views

Developer view

Usage Guidelines

Before running the command, ensure that the values of the following to be changed are valid: IPv4 base address and IPv4 subnetting mode, or the networking mode.

After running the "change cluster general" command, run the "change cluster config_complete" command to make the configuration take effect.

Example

Change the networking mode of a cluster to the switch mode.

developer:/>change cluster general network_mode=switch_mode
DANGER: You are going to modify the networking mode of the cluster. This operation may interrupt services or cause service exceptions.
Suggestion: Before performing this operation, determine whether the modification is necessary.
Have you read danger alert message carefully?(y/n)y
Are you sure you really want to perform the operation?(y/n)y
Command executed successfully.

Change the cluster IPv4 base address to "172.17.1.1" and the IPv4 subnetting mode to "mask16_mode".

developer:/>change cluster general ipv4_base_address=172.17.1.1 subnetting_mode=mask16_mode
DANGER: You are about to change the cluster IPv4 base address, IPv4 subnetting mode, or cluster networking mode. This operation may affect service continuity.
Suggestion: Before performing this operation, confirm that the change is necessary.
Have you read danger alert message carefully?(y/n)y
Are you sure you really want to perform the operation?(y/n)y
Command executed successfully.