Symantec logo
Configuring global clustering

You can configure global clustering in one of the following ways:

Before you configure global clustering, review the following requirements:

See the Veritas Cluster Server User's Guide for complete details on global clustering.

Modifying the global clustering configuration using the wizard

The global clustering wizard completes the following tasks:

Run the global clustering configuration wizard on each of the clusters; you must have the global clustering license in place on each node in the cluster.

 To use the global clustering wizard

  1. On a node in the primary site, start the global clustering configuration wizard:

    # /opt/VRTSvcs/bin/gcoconfig

  2. After discovering the NIC devices on the local node, specify or confirm the device for the cluster joining the global cluster environment.
  3. Indicate whether the NIC you entered is for all cluster nodes. If you enter n, enter the names of NICs on each node.
  4. Enter or confirm the virtual IP address for the local cluster.
  5. When the wizard discovers the net mask associated with the virtual IP address, accept the discovered value or enter another value.

    With NIC and IP address values configured, the wizard creates a ClusterService group or updates an existing one. After modifying the VCS configuration file, the wizard brings the group online.

  6. Perform through step 1 through step 5 on the secondary cluster.
Modifying the global clustering configuration using the main.cf

Edit the main.cf file to specify the virtual IP address for the local cluster and define the ClusterService group for the local cluster.

The example global clustering configuration shows the rac_cluster101 cluster on the primary site. The additions to the configuration appear in bold text.

include "types.cf"

include "CFSTypes.cf"

include "CVMTypes.cf"

include "OracleTypes.cf"

include "VVRTypes.cf"

cluster rac_cluster101 (

UserNames = { admin = "cDRpdxPmHpzS." }

ClusterAddress = "10.10.10.101"

Administrators = { admin }

CounterInterval = 5

UseFence = SCSI3

)

system galaxy (

)

system nebula (

)

group ClusterService (

SystemList = { galaxy = 0, nebula = 0 }

AutoStartList = { galaxy, nebula }

OnlineRetryLimit = 3

OnlineRetryInterval = 120

)

Application wac (

StartProgram = "/opt/VRTSvcs/bin/wacstart"

StopProgram = "/opt/VRTSvcs/bin/wacstop"

MonitorProcesses = "/opt/VRTSvcs/bin/wac" }

RestartLimit = 3

)

IP gcoip (

Device =lan0

Address = "10.10.10.101"

NetMask = "255.255.240.0"

)

NIC csgnic (

Device =lan0

)

gcoip requires csgnic

wac requires gcoip

.

.

.

group cvm (

.

.

.