chcontroller

Use the chcontroller command to modify the attributes of a controller.

Syntax

Read syntax diagramSkip visual syntax diagram chcontroller -namenew_name-allowquorumyesnocontroller_idcontroller_name

Parameters

-name new_name
(Optional) Specifies the new name to be assigned to the controller.
-allowquorum yes | no
(Optional) Specifies that the controller is allowed or is not allowed to support quorum disks. A value of yes enables a suitable controller to support quorum disks. A value of no disables a controller from supporting quorum disks, provided that the specified controller is not currently hosting a quorum disk.
controller_id | controller_name
(Required) Specifies the controller to modify. Use either the controller name or the controller ID.

Description

This command changes the name of the controller that is specified by the controller_id | controller_name variable to the value that you specify with the -name parameter.

If any controller that is associated with an MDisk shows the allow_quorum attribute set to no with the lscontroller command, the set quorum action fails for that MDisk. Before using the chcontroller command to set the -allowquorum parameter to yes on any disk controller, check the following website to see whether the controller supports quorum.

www.ibm.com/support

You can add a new disk controller system to your SAN at any time. Follow the switch zoning guidelines in the section about switch zoning. Also, ensure that the controller is set up correctly for use with the system.

To add a new disk controller system to a running configuration, ensure that the system has detected the new storage MDisks by issuing the detectmdisk command. The controller has automatically been assigned a default name. If you are unsure of which controller is presenting the MDisks, issue the lscontroller command to list the controllers. The new controller is listed with the highest numbered default name. Record the controller name and follow the instructions in the section about determining a disk controller system name.

Give this controller a descriptive name by issuing the following command:

chcontroller -name newname oldname

List the unmanaged MDisks by issuing the following command:

lsmdisk -filtervalue mode=unmanaged:controller_name=newname

These MDisks correspond to the RAID arrays or partitions that you have created. Record the field controller LUN number. The field controller LUN number corresponds with the LUN number that you assigned to each of the arrays or partitions.

An invocation example

chcontroller -name newtwo 2

The resulting output:

No feedback