Sun Cluster System Administration Guide for Solaris OS

ProcedureHow to Change the SCSI Protocol for a Single Storage Device

To change the default fencing setting for a quorum device you must unconfigure the 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 of the storage device.


    # cldevice set -p default_fencing ={pathcount | scsi3 | global} device
    
    -p

    Modifies the device properties.

    pathcount

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

    scsi3

    Uses the SCSI-3 protocol.

    global

    Uses the global default fencing setting.

    device

    Specifies the name of the device path or device name.

    For more information, see the cluster(1CL) man page.


Example 5–41 Setting the SCSI Protocol of a Single Device

The following example sets the device 11, specified by device number, to the SCSI-3 protocol.


# cldevice set -p default_fencing=scsi3 5