You can use the chnode command to change the name that is assigned to a node and other options. The name can then be used when running subsequent commands. All the parameters that are associated with this command are optional. However, you must specify one or more parameters with this command.
>>- svctask -- -- chnode -- --+------------------------+--------> +- -iscsialias -- alias -+ '- -noiscsialias --------' >--+-------------+-- --+--------------------------+-- ----------> '- -failover -' '- -name -- new_node_name -' >--+- node_name -+--------------------------------------------->< '- node_id ---'
If the failover parameter is not specified, this command changes the name or iSCSI alias of the node. The name can then be used to identify the node in subsequent commands.
The failover parameter is used to specify values that are normally applied to the partner node in the I/O group. When the partner node is offline, the iSCSI alias and IQN are assigned to the remaining node in the I/O Group. The iSCSI host data access is then preserved. If the partner node is offline when these parameters are set, the node they are set on handles iSCSI I/O requests to the iSCSI alias specified, or the IQN that is created using the node name. If the partner node in the I/O group is online when these parameters are set, the partner node handles iSCSI requests to the iSCSI alias specified, and its node name and IQN change.
An invocation example
svctask chnode -name testnodeone nodeone
The resulting output
No feedback