Sample configuration file for removing a node from the cluster

You may use this sample file as reference information to understand the configuration changes involved when you remove a node from a cluster.

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

Note:

The following sample file shows in bold the configuration information that is removed when the node "sys5" is removed from 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 sys1 (
        )
system sys2 (
        )
system sys5 (
       )

Note:

In the following group oradb1_grp, the sys5 node must be removed.

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

Note:

In the following Oracle resource, the sys5 node information must be removed.

Oracle ora1 (
										Critical = 0
										Sid @sys1 = 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 must be removed.

group cvm (
        SystemList = { sys1 = 0, sys2 = 1, sys5 =2}
        AutoFailOver = 0
        Parallel = 1
        AutoStartList = { sys1, 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 = { sys1 = 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 must be removed.

PrivNIC ora_priv (
              Critical = 0
              Device@sys1 = { net1 = 0, net2 = 1}
              Device@sys2 = { net1 = 0, net2 = 1}
              Device@sys5 = { net1 = 0, net2 = 1}
              Address@sys1 = "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