Please enter search query.
Search <book_title>...
Storage Foundation for Oracle® RAC 7.4.1 Configuration and Upgrade Guide - Solaris
Last Published:
2019-06-18
Product(s):
InfoScale & Storage Foundation (7.4.1)
Platform: Solaris
- Section I. Configuring SF Oracle RAC
- Preparing to configure SF Oracle RAC
- Configuring SF Oracle RAC using the script-based installer
- Configuring the SF Oracle RAC components using the script-based installer
- Configuring the SF Oracle RAC cluster
- Configuring SF Oracle RAC in secure mode
- Configuring a secure cluster node by node
- Configuring the SF Oracle RAC cluster
- Setting up disk-based I/O fencing using installer
- Setting up server-based I/O fencing using installer
- Configuring the SF Oracle RAC components using the script-based installer
- Performing an automated SF Oracle RAC configuration
- Section II. Post-installation and configuration tasks
- Verifying the installation
- Performing additional post-installation and configuration tasks
- Section III. Upgrade of SF Oracle RAC
- Planning to upgrade SF Oracle RAC
- Performing a full upgrade of SF Oracle RAC using the product installer
- Performing an automated full upgrade of SF Oracle RAC using response files
- Performing a phased upgrade of SF Oracle RAC
- Performing a phased upgrade of SF Oracle RAC from version 6.2.1 and later release
- Performing a rolling upgrade of SF Oracle RAC
- Upgrading SF Oracle RAC using Live Upgrade or Boot Environment upgrade
- Performing post-upgrade tasks
- Section IV. Installation and upgrade of Oracle RAC
- Before installing Oracle RAC
- Preparing to install Oracle RAC using the SF Oracle RAC installer or manually
- Creating users and groups for Oracle RAC
- Creating storage for OCR and voting disk
- Configuring private IP addresses for Oracle RAC 11.2.0.1
- Configuring private IP addresses for Oracle RAC 11.2.0.2 and later versions
- Installing Oracle RAC
- Performing an automated Oracle RAC installation
- Performing Oracle RAC post-installation tasks
- Configuring the CSSD resource
- Relinking the SF Oracle RAC libraries with Oracle RAC
- Configuring VCS service groups for Oracle RAC
- Upgrading Oracle RAC
- Before installing Oracle RAC
- Section V. Adding and removing nodes
- Adding a node to SF Oracle RAC clusters
- Adding a node to a cluster using the Veritas InfoScale installer
- Adding the node to a cluster manually
- Setting up the node to run in secure mode
- Configuring server-based fencing on the new node
- Preparing the new node manually for installing Oracle RAC
- Adding a node to the cluster using the SF Oracle RAC response file
- Configuring private IP addresses for Oracle RAC 11.2.0.2 and later versions on the new node
- Removing a node from SF Oracle RAC clusters
- Adding a node to SF Oracle RAC clusters
- Section VI. Configuration of disaster recovery environments
- Configuring disaster recovery environments
- Configuring disaster recovery environments
- Section VII. Installation reference
- Appendix A. Installation scripts
- Appendix B. Tunable files for installation
- Appendix C. Sample installation and configuration values
- SF Oracle RAC worksheet
- Appendix D. Configuration files
- Sample configuration files
- Sample configuration files for CP server
- Appendix E. Configuring the secure shell or the remote shell for communications
- Appendix F. Automatic Storage Management
- Appendix G. Creating a test database
- Appendix H. High availability agent information
- About agents
- CVMCluster agent
- CVMVxconfigd agent
- CVMVolDg agent
- CFSMount agent
- CFSfsckd agent
- PrivNIC agent
- MultiPrivNIC agent
- CSSD agent
- VCS agents for Oracle
- Oracle agent functions
- Resource type definition for the Oracle agent
- Resource type definition for the Netlsnr agent
- Resource type definition for the ASMDG agent
- Oracle agent functions
- CRSResource agent
- Appendix I. SF Oracle RAC deployment scenarios
- Configuration diagrams for setting up server-based I/O fencing
Configuring atleast resource dependency for OCR and voting disks
If you select
for OCR and voting disks during the installation of Oracle RAC, ensure that you configure atleast resource dependency for high availability of the OCR and voting disk.Figure: Atleast resource dependency for OCR and voting disks illustrates the atleast resource dependency for OCR and voting disks.
Note:
See the Oracle documentation to determine the minimum OCR (x) and voting disks (y) required by Oracle Clusterware/Grid.
Perform the steps in this procedure to configure atleast resource dependency for OCR and voting disks.
To configure atleast resource dependency for OCR and voting disks
- Create the OCR and voting disk disk groups:
# vxdg -s init ocrdg_1_name disk_name1 # vxdg -s init ocrdg_2_name disk_name2 # vxdg -s init ocrdg_3_name disk_name3 # vxdg -s init votedg_1_name disk_name4 # vxdg -s init votedg_2_name disk_name5 # vxdg -s init votedg_3_name disk_name6
- Create volumes for OCR and voting disk:
Note:
The size will vary depending on the Oracle RAC version you use.
# vxassist -g ocrdg_1_name make ocrvol_1_name 640M # vxassist -g ocrdg_2_name make ocrvol_2_name 640M # vxassist -g ocrdg_3_name make ocrvol_3_name 640M # vxassist -g votedg_1_name make votevol_1_name 640M # vxassist -g votedg_2_name make votevol_2_name 640M # vxassist -g votedg_3_name make votevol_3_name 640M
- From the CVM master, create a file system with the volumes:
# mkfs -F vxfs /dev/vx/rdsk/ocrdg_1_name/ocrvol_1_name # mkfs -F vxfs /dev/vx/rdsk/ocrdg_2_name/ocrvol_2_name # mkfs -F vxfs /dev/vx/rdsk/ocrdg_3_name/ocrvol_3_name # mkfs -F vxfs /dev/vx/rdsk/votedg_1_name/votevol_1_name # mkfs -F vxfs /dev/vx/rdsk/votedg_2_name/votevol_2_name # mkfs -F vxfs /dev/vx/rdsk/votedg_3_name/votevol_3_name
- On each system, create a directory on which to mount the file system containing the OCR and voting disks:
# mkdir /ocr_mnt_1 # mkdir /ocr_mnt_2 # mkdir /ocr_mnt_3 # mkdir /vote_mnt_1 # mkdir /vote_mnt_2 # mkdir /vote_mnt_3
- On each system, mount the file system containing OCR and voting disk:
# mount -F vxfs -o cluster /dev/vx/dsk/ocrdg_1_name/\ ocrvol_1_name /ocr_mnt_1 # mount -F vxfs -o cluster /dev/vx/dsk/ocrdg_2_name/\ ocrvol_2_name /ocr_mnt_2 # mount -F vxfs -o cluster /dev/vx/dsk/ocrdg_3_name/\ ocrvol_3_name /ocr_mnt_3 # mount -F vxfs -o cluster /dev/vx/dsk/votedg_1_name/\ votevol_1_name /vote_mnt_1 # mount -F vxfs -o cluster /dev/vx/dsk/votedg_2_name/\ votevol_2_name /vote_mnt_2 # mount -F vxfs -o cluster /dev/vx/dsk/votedg_3_name/\ votevol_3_name /vote_mnt_3
- From any system, change the permissions on the file system containing the OCR and voting disk:
# chown -R grid:oinstall /ocr_mnt_1 # chown -R grid:oinstall /ocr_mnt_2 # chown -R grid:oinstall /ocr_mnt_3 # chown -R grid:oinstall /vote_mnt_1 # chown -R grid:oinstall /vote_mnt_2 # chown -R grid:oinstall /vote_mnt_3
- Add the storage resources to the VCS configuration to make them highly available.
See “To add the storage resources to the VCS configuration”.
To add the storage resources to the VCS configuration
- Change the permission on the VCS configuration file to read-write mode:
# haconf -makerw
- Configure the CVM volumes under VCS:
# hares -add ocrvol_1_resname CVMVolDg cvm_grpname # hares -modify ocrvol_1_resname Critical 0 # hares -modify ocrvol_1_resname CVMDiskGroup ocrdg_1_name # hares -modify ocrvol_1_resname CVMVolume -add ocrvol_1_name # hares -modify ocrvol_1_resname CVMActivation sw # hares -add ocrvol_2_resname CVMVolDg cvm_grpname # hares -modify ocrvol_2_resname Critical 0 # hares -modify ocrvol_2_resname CVMDiskGroup ocrdg_2_name # hares -modify ocrvol_2_resname CVMVolume -add ocrvol_2_name # hares -modify ocrvol_2_resname CVMActivation sw # hares -add ocrvol_3_resname CVMVolDg cvm_grpname # hares -modify ocrvol_3_resname Critical 0 # hares -modify ocrvol_3_resname CVMDiskGroup ocrdg_3_name # hares -modify ocrvol_3_resname CVMVolume -add ocrvol_3_name # hares -modify ocrvol_3_resname CVMActivation sw # hares -add votevol_1_resname CVMVolDg cvm_grpname # hares -modify votevol_1_resname Critical 0 # hares -modify votevol_1_resname CVMDiskGroup votedg_1_name # hares -modify votevol_1_resname CVMVolume -add votevol_1_name # hares -modify votevol_1_resname CVMActivation sw # hares -add votevol_2_resname CVMVolDg cvm_grpname # hares -modify votevol_2_resname Critical 0 # hares -modify votevol_2_resname CVMDiskGroup votedg_2_name # hares -modify votevol_2_resname CVMVolume -add votevol_2_name # hares -modify votevol_2_resname CVMActivation sw # hares -add votevol_3_resname CVMVolDg cvm_grpname # hares -modify votevol_3_resname Critical 0 # hares -modify votevol_3_resname CVMDiskGroup votedg_3_name # hares -modify votevol_3_resname CVMVolume -add votevol_3_name # hares -modify votevol_3_resname CVMActivation sw
- Set up the file system under VCS:
# hares -add ocrmnt_1_resname CFSMount cvm_grpname # hares -modify ocrmnt_1_resname Critical 0 # hares -modify ocrmnt_1_resname MountPoint /ocr_mnt_1 # hares -modify ocrmnt_1_resname BlockDevice \ /dev/vx/dsk/ocrdg_1_name/ocrvol_1_name # hares -add ocrmnt_2_resname CFSMount cvm_grpname # hares -modify ocrmnt_2_resname Critical 0 # hares -modify ocrmnt_2_resname MountPoint /ocr_mnt_2 # hares -modify ocrmnt_2_resname BlockDevice \ /dev/vx/dsk/ocrdg_2_name/ocrvol_2_name # hares -add ocrmnt_3_resname CFSMount cvm_grpname # hares -modify ocrmnt_3_resname Critical 0 # hares -modify ocrmnt_3_resname MountPoint /ocr_mnt_3 # hares -modify ocrmnt_3_resname BlockDevice \ /dev/vx/dsk/ocrdg_3_name/ocrvol_3_name # hares -add votemnt_1_resname CFSMount cvm_grpname # hares -modify votemnt_1_resname Critical 0 # hares -modify votemnt_1_resname MountPoint /vote_mnt_1 # hares -modify votemnt_1_resname BlockDevice \ /dev/vx/dsk/votedg_1_name/votevol_1_name # hares -add votemnt_2_resname CFSMount cvm_grpname # hares -modify votemnt_2_resname Critical 0 # hares -modify votemnt_2_resname MountPoint /vote_mnt_2 # hares -modify votemnt_2_resname BlockDevice \ /dev/vx/dsk/votedg_2_name/votevol_2_name # hares -add votemnt_3_resname CFSMount cvm_grpname # hares -modify votemnt_3_resname Critical 0 # hares -modify votemnt_3_resname MountPoint /vote_mnt_3 # hares -modify votemnt_3_resname BlockDevice \ /dev/vx/dsk/votedg_3_name/votevol_3_name
- Link the parent and child resources:
# hares -link ocrvol_1_resname cvm_clus # hares -link ocrmnt_1_resname ocrvol_1_resname # hares -link ocrmnt_1_resname vxfsckd # hares -link ocrvol_2_resname cvm_clus # hares -link ocrmnt_2_resname ocrvol_2_resname # hares -link ocrmnt_2_resname vxfsckd # hares -link ocrvol_3_resname cvm_clus # hares -link ocrmnt_3_resname ocrvol_3_resname # hares -link ocrmnt_3_resname vxfsckd # hares -link votevol_1_resname cvm_clus # hares -link votemnt_1_resname votevol_1_resname # hares -link votemnt_1_resname vxfsckd # hares -link votevol_2_resname cvm_clus # hares -link votemnt_2_resname votevol_2_resname # hares -link votemnt_2_resname vxfsckd # hares -link votevol_3_resname cvm_clus # hares -link votemnt_3_resname votevol_3_resname # hares -link votemnt_3_resname vxfsckd
- Enable the resources:
# hares -modify ocrvol_1_resname Enabled 1 # hares -modify ocrvol_2_resname Enabled 1 # hares -modify ocrvol_3_resname Enabled 1 # hares -modify votevol_1_resname Enabled 1 # hares -modify votevol_2_resname Enabled 1 # hares -modify votevol_3_resname Enabled 1 # hares -modify ocrmnt_1_resname Enabled 1 # hares -modify ocrmnt_2_resname Enabled 1 # hares -modify ocrmnt_3_resname Enabled 1 # hares -modify votemnt_1_resname Enabled 1 # hares -modify votemnt_2_resname Enabled 1 # hares -modify votemnt_3_resname Enabled 1