Sample configuration file for adding a node to the cluster

You may use this sample file as reference information to understand the configuration changes that take place when you add a node to a cluster.

The existing sample configuration before adding the node sys5 is as follows:

The following sample configuration file shows the changes (in bold) effected in the configuration after adding a node "sys5" to the cluster.

include "types.cf"
include "CFSTypes.cf"
include "CVMTypes.cf"
include "OracleTypes.cf"
include "PrivNIC.cf"
cluster clus1 (
        UserNames = { admin = bopHo }
        Administrators = { admin }
        UseFence = SCSI3
        )
system clus1 (
        )
system sys2 (
        )
system sys5 (
       )

Note:

In the following group oradb1_grp, the sys5 node has been added.

group oradb1_grp (
        SystemList = { clus1 = 0, sys2 = 1, sys5 = 2 }
        AutoFailOver = 0
        Parallel = 1
        AutoStartList = { clus1, sys2, sys5 }
        )

Note:

In the following Oracle resource, the sys5 node information has been added.

Oracle ora1 (
										Critical = 0
										Sid @clus1 = vrts1							
								  Sid @sys2 = vrts2
          Sid @sys5 = vrts3
          Owner = oracle
          Home = "/app/oracle/orahome"
          StartUpOpt = "SRVCTLSTART"
          ShutDownOpt = "SRVCTLSTOP"
          )
CFSMount oradata_mnt (
         Critical = 0
         MountPoint = "/oradata"
         BlockDevice = "/dev/vx/dsk/oradatadg/oradatavol"
         )

CVMVolDg oradata_voldg (
         Critical = 0
         CVMDiskGroup = oradatadg
         CVMVolume = { oradatavol }
         CVMActivation = sw
         )

requires group cvm online local firm
ora1 requires oradata_mnt
oradata_mnt requires oradata_voldg

Note:

In the following CVM and CVMCluster resources, the sys5 node information has been added.

group cvm (
        SystemList = { clus1 = 0, sys2 = 1, sys5 =2}
        AutoFailOver = 0
        Parallel = 1
        AutoStartList = { clus1, sys2, sys5 }
        )

        Application cssd (
                Critical = 0
                StartProgram = "/opt/VRTSvcs/rac/bin/cssd-online"
                StopProgram = "/opt/VRTSvcs/rac/bin/cssd-offline"
                CleanProgram = "/opt/VRTSvcs/rac/bin/cssd-clean"
                MonitorProgram = "/opt/VRTSvcs/rac/bin/cssd-monitor"
                OnlineRetryLimit = 20
                )

       CFSMount ocrvote_mnt (
                Critical = 0
                MountPoint = "/ocrvote"
                BlockDevice = "/dev/vx/dsk/ocrvotedg/ocrvotevol"
                MountOpt= "mincache=direct"
                )

      CVMVolDg ocrvote_voldg (
               Critical = 0
               CVMDiskGroup = ocrvotedg
               CVMVolume = { ocrvotevol }
               CVMActivation = sw
               )


      CFSfsckd vxfsckd (
               )



      CVMCluster cvm_clus (
              CVMClustName = clus1
              CVMNodeId = { clus1 = 0, sys2 = 1, sys5 =2 }
              CVMTransport = gab
              CVMTimeout = 200
              )


      CVMVxconfigd cvm_vxconfigd (
               Critical = 0
               CVMVxconfigdArgs = { syslog }
               )

Note:

In the following PrivNIC resource, the sys5 node information has been added.

PrivNIC ora_priv (
              Critical = 0
              Device@clus1 = { bge1 = 0, bge2 = 1}
              Device@sys2 = { bge1 = 0, bge2 = 1}
              Device@sys5 = { bge1 = 0, bge2 = 1}
              Address@clus1 = "192.168.12.1"
              Address@sys2 = "192.168.12.2"
              Address@sys5 = "192.168.12.5"
              NetMask = "255.255.255.0"
              )
cssd requires ocrvote_mnt
cssd requires ora_priv
ocrvote_mnt requires ocrvote_voldg
ocrvote_mnt requires vxfsckd
ocrvote_voldg requires cvm_clus
vxfsckd requires cvm_clus
cvm_clus requires cvm_vxconfigd