Sun Cluster System Administration Guide for Solaris OS

ProcedureHow to Change the Default Global SCSI Protocol Settings for All Storage Devices

The default fencing setting of a single storage device overrides the global setting when the device's default fencing is set to pathcount or scsi3. If the default fencing setting of a storage device is set to global, the storage device will use the global setting. For example, if a storage device has the default setting pathcount, the setting will not change if you use this procedure to change the global SCSI protocol settings to scsi3. You must use the How to Change the SCSI Protocol for a Single Storage Device procedure to change the default setting of a single device.

To change the default fencing setting for a quorum device you must unconfigure the device, change the setting, and reconfigure the quorum device.

This procedure provides the long forms of the Sun Cluster commands. Most commands also have short forms. Except for the long and short forms of the command names, the commands are identical. For a list of the commands and their short forms, see Appendix A, Sun Cluster Object-Oriented Commands.

  1. Become superuser or assume a role that provides solaris.cluster.modify RBAC authorization.

  2. Set the SCSI protocol for all storage devices that are not quorum devices.


    cluster set -p global_fencing={scsi3 | pathcount}
    -p global_fencing

    Sets the current global default fencing algorithm for all shared devices.

    scsi3

    Uses the SCSI-3 protocol.

    pathcount

    Determines the fencing protocol by the number of DID paths that are attached to the shared device.


Example 5–35 Setting the Default Global SCSI Protocol Settings for All Storage Devices

The following example sets the SCSI protocol for all storage devices on the cluster to the SCSI-3 protocol.


# cluster set -p global_fencing=scsi3