Sun Cluster System Administration Guide for Solaris OS

ProcedureHow to Monitor Disk Paths From a File

Use the following procedure to monitor or unmonitor disk paths from a file. The file must list the commands to monitor or unmonitor, the node names, and the disk-path names. Each field of the file should be separated by a column. Format each listing by following the example.

syntax in command file:
[u,m] [node|all]:<[/dev/did/rdsk/]d- | [/dev/rdsk/]c-t-d- | all>

command file entry
u schost-1:/dev/did/rdsk/d5
m schost-2:all

Caution – Caution –

DPM is not supported on nodes that run versions that were released prior to Sun Cluster 3.1 10/03 software. Do not use DPM commands while a rolling upgrade is in progress. After all nodes are upgraded, the nodes must be online to use DPM commands.

  1. Become superuser on any node in the cluster.

  2. Monitor the disk paths from a file.

    # scdpm -f filename
  3. Verify the disk paths with status for the cluster.

    # scdpm -p all:all

Example 4–25 Monitor or Unmonitor Disk Paths From a File

The following example monitors or unmonitors disk paths from a file.

# scdpm -f schost_config
# scdpm -p all:all 
	     schost-1:/dev/did/dsk/d4   Ok
	     schost-1:/dev/did/dsk/d3   Ok
	     schost-2:/dev/did/dsk/d4   Fail
	     schost-2:/dev/did/dsk/d3   Ok
	     schost-2:/dev/did/dsk/d5   Unmonitored
	     schost-2:/dev/did/dsk/d6   Ok