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:
The existing cluster clus1
comprises three nodes sys1
, sys2
, and sys5
and hosts a single database.
The Oracle database is stored on CFS.
The database is managed by the VCS agent for Oracle.
The agent starts, stops, and monitors the database.
Only one private IP address is configured for Oracle Clusterware. The private IP address is managed by the PrivNIC agent for high availability.
The Oracle Cluster Registry (OCR) and voting disk are stored on CFS.
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 ( )
group oradb1_grp ( SystemList = { sys1 = 0, sys2 = 1, sys5 = 2 } AutoFailOver = 0 Parallel = 1 AutoStartList = { sys1, sys2, sys5 } )
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
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 } )
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