Required Role: None
Description
Enables or disables the configuration parameter setting mode.
Syntax
hsds [master command option] configuration_parameter_setting_mode --mode <str> (required) --system_configuration_file <file> (optional*) --targets <str> (optional*)
CAUTION:
-
If you include the --host option in this command line, do not specify the representative IP address for the storage cluster or the FQDN that corresponds to the representative IP address. Specify the control port IP address for a connected storage node or the FQDN that corresponds to that IP address.
-
* Either --system_configuration_file or --targets must be specified.
Options and parameters
- --mode {enable | disable}
- Enable or disable the configuration parameter setting mode.
- --system_configuration_file <configuration file>
- Specify a configuration file that provides the IP addresses of the control ports of the storage nodes to be enabled or disabled.
- Either --system_configuration_file or --targets must be specified.
- --targets <IP addresses or FQDNs>
- Specify the IP addresses or FQDNs, separated by commas (,), of the control ports of the storage nodes to be enabled or disabled.
- Either --system_configuration_file or --targets must be specified.
- This parameter is ignored if --system_configuration_file is specified.
Responses
- Normal termination
- Whether each of the specified storage nodes is in the configuration parameter setting mode is output.
-
Host-name-1[control-port-IP-address-1 | FQDN] Configuration parameter setting mode : {True | False} Host-name-2[control-port-IP-address-2 | FQDN] Configuration parameter setting mode : {True | False} Host-name-3[control-port-IP-address-3 | FQDN] Configuration parameter setting mode : {True | False} ...
- Abnormal termination
- For each of the storage nodes for which the status of the configuration parameter setting mode was changed successfully, the command outputs whether the mode status is "True."
- For each of the storage nodes for which the status of the configuration parameter setting mode could not be changed, the command outputs "Error" as the mode status. The command also outputs an error message, the cause of the error, and the solution for the error.
-
Host-name-1[control-port-IP-address-1 | FQDN] Configuration parameter setting mode : {True | False | Error} Message: <message> Cause: <cause> Solution: <action> Host-name-2[control-port-IP-address-2 | FQDN] Configuration parameter setting mode : {True | False | Error} Message: <message> Cause: <cause> Solution: <action> Host-name-3[control-port-IP-address-3 | FQDN] Configuration parameter setting mode : {True | False | Error} Message: <message> Cause: <cause> Solution: <action> ...Note:This CLI is output only in the text format.
If you use --targets to specify the storage nodes, the host names are not displayed in Normal termination.
Authentication schemes
-
ticket authentication