################## cmcluster.conf ###############

#Highly Available Cluster file locations

#This file must not be edited

#################################################

SGCONF=/etc/cmcluster

SGSBIN=/usr/sbin

SGLBIN=/usr/lbin

SGLIB=/usr/lib

SGRUN=/var/adm/cmcluster

SGAUTOSTART=/etc/rc.config.d/cmcluster

SGFFLOC=/opt/cmcluster/cmff

CMSNMPD_LOG_FILE=/var/adm/SGsnmpsuba.log

NOTE: If these variables are not defined on your system, then source the file /etc/ cmcluster.conf in your login profile for user root. For example, you can add this line to root’s .profile file:

. /etc/cmcluster.conf

Throughout this book, system filenames are usually given with one of these location prefixes. Thus, references to $SGCONF/filename can be resolved by supplying the definition of the prefix that is found in this file. For example, if SGCONF is defined as /etc/cmcluster/, then the complete pathname for file $SGCONF/cmclconfig is /etc/cmcluster/cmclconfig.

NOTE: Do not edit the /etc/cmcluster.conf configuration file.

Creating Cluster-wide Device Special Files (cDSFs)

Cluster-wide device special files (cDSFs) are persistent device special files applied across a set of nodes. That is, they ensure that the same piece of storage has the same devicefile name on all of the nodes that share it; no matter how many paths there are to the device, the same cluster DSF is used to address it. If the device is moved, the same cDSF still addresses it.

For an overview, see “About Cluster-wide Device Special Files (cDSFs)” (page 104). For more information about persistent device special files, see “About Device File Names (Device Special Files)” (page 80).

Before You Start

Before you start, make sure you have read and understood the restrictions and limitations spelled out under “About Cluster-wide Device Special Files (cDSFs)” (page 104). You should also read the cmsetdsfgroup (1m) manpage.

If the cluster does not yet exist, make sure Serviceguard is installed on each prospective node.

Creating cDSFs for a Group of Nodes

Proceed as follows.

Preparing Your Systems 159

Page 159
Image 159
HP Serviceguard Creating Cluster-wide Device Special Files cDSFs, Before You Start, Creating cDSFs for a Group of Nodes