Deploying SF Oracle RAC and SFCFSHA in the same cluster
| Article:HOWTO83475 | | | Created: 2013-01-28 | | | Updated: 2013-01-28 | | | Article URL http://www.symantec.com/docs/HOWTO83475 |
|
Customer scenario |
You want to deploy SF Oracle RAC and SFCFSHA in the same cluster. Veritas Storage Foundation Cluster File System High Availability (SFCFSHA) supports concurrent data sharing in a storage area network (SAN) environment. It provides automation and intelligent management of high availability and performance. Veritas Storage Foundation for Oracle RAC (SF Oracle RAC) leverages proprietary storage management and high availability technologies to enable robust, manageable, and scalable deployment of Oracle RAC on UNIX platforms. The deployment scenario considers the following mixed configuration setups:
Both configuration scenarios provide the following advantages:
| ||
|
Configuration overview - Scenario 1 |
SF Oracle RAC is installed on all nodes in a cluster. Some of the nodes in the cluster are used to run applications in SFCFSHA environment. In this configuration, fencing and ODM function in enabled mode on all nodes in the cluster. The following figure illustrates the scenario.
| ||
|
Configuration overview - Scenario 2 |
SFCFSHA is installed on all nodes in a cluster. Some of the nodes in the cluster are reconfigured to run SF Oracle RAC. In this configuration:
This configuration is constrained by the following limitations:
The following figure illustrates the scenario.
| ||
|
Supported configuration |
| ||
|
Solution |
| ||
|
Reference documents |
Keep the following documents handy for reference:
The Symantec documents can be accessed from the product media or from the following web site: http://sort.symantec.com/documents | ||
|
Sample service group configuration |
A sample configuration is as follows:
|
To set up systems for scenario 1
Install and configure SF Oracle RAC on all nodes in the cluster.
Note:
Set the cluster-level attribute PreferredFencingPolicy to allow preference to SF Oracle RAC clusters in split brain conditions.
For instructions, see the Veritas Storage Foundation for Oracle RAC Installation and Configuration Guide.
Stop LMX from one of the nodes that you plan to use for SFCFSHA.
Stop VCSMM from one of the nodes that you plan to use for SFCFSHA.
Install Oracle Grid Infrastructure and database software on the nodes on which you plan to run SF Oracle RAC.
For instructions, see the Veritas Storage Foundation for Oracle RAC Installation and Configuration Guide.
Edit the configuration file
/etc/VRTSvcs/conf/config/main.cfto include two separate cluster groups, for example, one group for SF Oracle RAC cluster and another group for SFCFSHA cluster.On the remaining nodes on which you plan to run SFCFSHA, install required applications, as necessary.
To reprovision an SFCFSHA node to run SF Oracle RAC in scenario 1
Ensure that the VCSMM library is linked to the Veritas library in
/opt/ORCLcluster/libon the new node (which was part of SFCFSHA cluster).Enable VCSMM.
Create the file
cssd-pretend-offlineon the new node and make the cssd resource non-critical. Failing this, the cssd resource lapses into an UNKNOWN state until Oracle Clusterware/Grid Infrastructure is installed on the new node, thus preventing the cvm group from coming online.Edit the VCS configuration file
/etc/VRTSvcs/conf/config/main.cfto add the new node information to the OCR, vote, cssd, database relevant mount resources.The following steps add the PrivNIC resource to the new node.
# haconf -makerw # hagrp -modify sfrac_clus SystemList -add new_node 2 # hagrp -modify sfrac_clus AutoStartList -add new_node # hares -modify ora_priv Device -add nic1 0 -sys new_node # hares -modify ora_priv Device -add nic2 1 -sys new_node # hares -modify ora_priv Address 192.168.12.5 -sys new_node # haconf -makero
The following steps bring the OCR and voting disk CVMVolDG and CFSMount resources online on the new node, which has been added to the service group containing the OCR and voting disk resources.
# hares -online ocrvote_voldg -sys new_node # hares -online ocrvote_mnt -sys new_node
Add Oracle Clusterware/Grid Infrastructure to the new node. For instructions, see the Oracle RAC documentation.
Add the Oracle RAC database home directory on the new node with the same permissions as that on existing nodes:
$ mkdir -p $ORACLE_HOME
Add the Oracle RAC database binaries to the new node. For instructions, use Oracle documentation.
Manually mount the Oracle database volumes and mount points on the new node.
Add a database instance on the new node. For instructions, use Oracle documentation.
From any one of the nodes, modify the VCS configuration file
/etc/VRTSvcs/conf/config/main.cfto add the new node to the Oracle RAC service group.# hagrp -modify racdb_grp SystemList -add new_node 2 # hagrp -modify racdb_grp AutoStartList -add new_node # haconf -dump -makero
Configure the new database instance under VCS.
# haconf -makerw # hares -modify db_name Sid new_dbinstance -sys new_node # haconf -dump -makero
To set up systems for scenario 2
Install and configure SFCFSHA on all nodes in the cluster.
Note:
Set the cluster-level attribute PreferredFencingPolicy to allow preference to SF Oracle RAC clusters in split-brain conditions.
For instructions, see the Veritas Storage Foundation Cluster File System High Availability Installation Guide.
Upgrade a subset of the nodes to SF Oracle RAC.
For instructions, see the chapter "Migrating from single instance Storage Foundation for Oracle HA to SF Oracle RAC" in the Veritas Storage Foundation for Oracle RAC Installation and Configuration Guide.
On the SF Oracle RAC nodes, enable VCSMM.
On the SF Oracle RAC nodes, enable LMX.
Stop ODM on all nodes.
Back up the ODM script on each SFCFSHA node.
Start ODM on SF Oracle RAC nodes. This enables ODM in cluster mode.
Stop VCS on all nodes:
# hastop -all -force
From one of the SF Oracle RAC nodes, edit the VCS configuration file
/etc/VRTSvcs/conf/config/main.cfto include separate cluster groups for SF Oracle RAC and SFCFSHA. Add the following lines to include the PrivNIC and MultiPrivNICtypes.cffiles in the VCS configuration file.include PrivNIC.cf include MultiPrivNIC.cf
From one of the SF Oracle RAC nodes, start VCS:
# hastart
On all remaining nodes, start VCS:
# hastart
Install Oracle Clusterware/Grid Infrastructure and Oracle RAC database software on the SF Oracle RAC nodes.
Configure the CSSD agent on SF Oracle RAC nodes.
For instructions, see the Veritas Storage Foundation for Oracle RAC Installation and Configuration Guide.
Note:
Perform the Oracle RAC pre-installation steps manually to ensure that OCR, voting disk, PrivNIC, MultiPrivNIC, and CSSD resources are configured in a group different from the CVM group. This is to ensure that Oracle Clusterware/Grid Infrastructure starts only on SF Oracle RAC nodes. If you configure the above resources using the product script installation program, then they are configured under the CVM group and VCS attempts to start Oracle Clusterware/Grid Infrastructure on SFCFSHA nodes as well.
On the remaining nodes on which you plan to run SFCFSHA, install required applications, as necessary.
To reprovision an SFCFSHA node to run SF Oracle RAC cluster in scenario 2
Install SF Oracle RAC on the SFCFSHA nodes that you plan to migrate to SF Oracle RAC.
Note:
Do not configure SF Oracle RAC on the nodes at this stage.
Copy the
/etc/vcsmmtabfile from one of the existing SF Oracle RAC nodes to the new nodes.On the new SF Oracle RAC node, start VCSMM.
On the new SF Oracle RAC node, start LMX.
Create the file
cssd-pretend-offlineon the new node and make the cssd resource non-critical. Failing this, the cssd resource lapses into an UNKNOWN state until Oracle Clusterware/Grid Infrastructure is installed on the new node, thus preventing the cvm group from coming online.Modify the VCS configuration file
/etc/VRTSvcs/conf/config/main.cfto add the new node information to the OCR, vote, cssd, database relevant mount resources.The following steps add the PrivNIC resource to the new node.
# haconf -makerw # hagrp -modify sfrac_clus SystemList -add new_node 2 # hagrp -modify sfrac_clus AutoStartList -add new_node # hares -modify ora_priv Device -add nic1 0 -sys new_node # hares -modify ora_priv Device -add nic2 1 -sys new_node # hares -modify ora_priv Address 192.168.12.5 -sys new_node # haconf -makero
The following steps bring the OCR and voting disk CVMVolDG and CFSMount resources online on the new node, which has been added to the service group containing the OCR and voting disk resources.
# hares -online ocrvote_voldg -sys new_node # hares -online ocrvote_mnt -sys new_node
Add Oracle Clusterware/Grid Infrastructure to the new node. For instructions, see the Oracle RAC documentation.
Add the Oracle RAC database home directory on the new node with the same permissions as that on existing nodes:
$ mkdir -p $ORACLE_HOME
Add the Oracle RAC database binaries to the new node. For instructions, use Oracle documentation.
Manually mount the Oracle database volumes and mount points on the new node.
Restore the ODM startup script to its original location.
Enable ODM on the new nodes.
Add a database instance on the new node. For instructions, use Oracle documentation.
From one of the nodes, edit the VCS configuration file
/etc/VRTSvcs/conf/config/main.cfto add the new node to the Oracle RAC service group.# hagrp -modify racdb_grp SystemList -add new_node 2 # hagrp -modify racdb_grp AutoStartList -add new_node # haconf -dump -makero
Configure the new database instance under VCS.
# haconf -makerw # hares -modify db_name Sid new_dbinstance -sys new_node # haconf -dump -makero
|
|
Legacy ID
v81077050_v84594641
Article URL http://www.symantec.com/docs/HOWTO83475
Terms of use for this information are found in Legal Notices












Thank you.