Storage Foundation for Oracle® RAC 7.4.1 Configuration and Upgrade Guide - 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
Creating storage for OCR and voting disk using the SF Oracle RAC script-based installer
Oracle RAC provides the following levels of redundancy for OCR and voting disk:
Normal
High
External
Different redundancy levels require different storage configurations.
SF Oracle RAC supports all of the redundancy levels with the following storage configuration:
Normal | Requires multiple OCR and voting disk locations. |
High | Requires multiple OCR and voting disk locations. |
External | Requires mirroring of volumes. The CVM volumes are mirrored by SF Oracle RAC. |
For Oracle 11gR2 and 12cR1, the SF Oracle RAC installer enables you to create OCR and voting disk storage on a clustered file system. The file system may reside on shared storage or on Direct Attached Storage (DAS) or internal disk drives shared over the network. After creating the storage, the installer adds the storage configuration to VCS for high availability.
However, for Oracle 12cR2 or later the OCR and voting disks are stored only on Oracle ASM. Hence, create Oracle ASM on raw CVM volumes during Oracle Grid installation. You can then use the Oracle ASM disk group to manage Oracle OCR and Voting files.
The installer performs the following tasks:
Creates CVM volumes for OCR and voting disk (two-way mirrored or unmirrored)
Creates the OCR and voting disk volumes and sets the ownership
Starts the volumes
Creates the mount point and mounts it on all the nodes
Sets the ownership for the CFS mount point
Adds the CFSMount and CVMVolDg resources to the VCS configuration in the cvm group so that the resources are brought online automatically when the nodes start
Brings the CFSMount and CVMVoIDg resources online
To create storage for OCR and voting disk using the SF Oracle RAC installer
- From the SF Oracle RAC installer menu, enter 2 to select the option Create Storage for OCR and Voting disk.
The following menu displays:
1) Create Oracle Users and Groups 2) Create Storage for OCR and Voting disk 3) Oracle Network Configuration 4) Exit SF Oracle RAC Configuration b) Back to previous menu Choose option: [1-4,b,q] (1) 2
- Enter y to create the storage.
Do you want the installer to assist you in creating disk groups, volumes and file systems for Oracle? [y,n,q] (n) y
If you want to create the storage manually, enter n. The installer displays instructions for creating the storage manually. You may skip the remaining steps.
- Select an appropriate option for the disk group.
1) Create a disk group (Shared Storage) 2) Use an existing disk group (Shared Storage) 3) Create a disk group (FSS) 4) Use an existing disk group (FSS) b) Back to previous menu Choose option: [1-4,b,q]
If you want to mirror the CVM volumes, click Yes at the following prompt:
Do you want to enable mirroring? [y,n,q] (y) y
Create a disk group
(Shared Storage)
The installer displays the list of existing shared disks that do not belong to any disk group. Specify the disk (by entering the serial numbers displayed next to the disk name) that you want to use to create the disk group. If you chose to mirror the CVM volumes, select at least two disks.
Enter the name of the disk group.
Enter the disk group name: [b] (ocrvotedg)
Use an existing disk group
(Shared Storage)
If you choose to use an existing disk group, the installer displays the list of existing non-FSS disk groups. Select a disk group. If you chose to mirror the CVM volumes, select an existing disk group that contains at least two disks for mirroring.
Create a disk group
(FSS)
The installer displays the list of existing local disks that do not belong to any disk group. Specify the disk (by entering the serial numbers displayed next to the disk name) that you want to use to create the disk group. Mirroring is enabled by default. Select at least two disks from different nodes. If you select only one disk or or if you select all disks from one node, the installer will prompt to choose disks again
The following disks are not part of any disk group 1) emc_clariion0_103 auto:cdsdisk - - online sys1 2) emc_clariion0_79 auto:cdsdisk - - online exported sys2 b) Back to previous menu
If no eligible disks are found, the installer displays the message:
No eligible disk found
Enter the name of the disk group.
Enter the disk group name: [b] (ocrvotedg)
Use an existing disk group
(FSS)
If you choose to use an existing disk group, the installer displays the list of usable FSS disk groups. Disk groups that contain disks from only one node are not listed.
To view the list of disks that are contained in the disk group, run the following command:
# vxdisk -g disk_group list
- Review and confirm the configuration information displayed:
CVM Master node: sys1 Selected disks (including mirroring): 1. Disk_2 2. Disk_3 Disk group name: ocrvotedg Is this information correct? [y,n,q] (y)
The installer initializes the disk groups.
- Specify whether you want to create separate file systems for OCR and voting disk:
Do you want to create separate filesystems for ocr and vote? [y,n,q] (y)
Enter the name and size of the volume on which you want to store OCR and voting disk information for Oracle 11gR2 and 12cR1.
If you have chosen to create a shared file system for OCR and voting disk, enter the following information:
Enter the volume name for OCR and Voting disk: [b] (ocrvotevol) Enter the volume size for OCR and Voting disk in MB (Refer to Oracle documentation to set it properly): [b] (920)
If you have chosen to create separate file systems for OCR and voting disk, enter the following information:
Enter the volume name for OCR: [b] (ocrvol) Enter the volume size for OCR in MB (Refer to Oracle documentation to set it properly): [b] (600) Enter the volume name for Vote: [b] (votevol) Enter the volume size for Vote: [b] (320)
Note:
For Oracle 12cR2 or later, create Oracle ASM disk group on the raw CVM volumes where you plan to store OCR and voting files.
- Enter the Oracle UNIX user name.
Enter Oracle UNIX user name: [b]
- Enter the Oracle UNIX group name.
Enter Oracle UNIX group name: [b] (oinstall)
- Press Return to continue.
- Review and confirm the configuration information. The installer creates and starts the volumes on all nodes in the cluster.
- The installer creates the CFS mount points and sets the ownership. Press Return to continue.
Enter the CFS mount point for OCR and voting disk information, for Oracle 11gR2 and 12cR1.
If you have chosen to create a shared file system for OCR and voting disk, enter the following information:
Enter the mount point location for CFS (common for all the nodes) [b] (/ocrvote)
If you have chosen to create separate file systems for OCR and voting disk, enter the following information:
Enter the mount point location for OCR storage (common for all the nodes): [b] (/ocr) Enter the mount point location for Vote storage (common for all the nodes): [b] (/vote)
- Verify that the corresponding CVMVolDg and CFSMount resources are online on all nodes in the cluster:
Note:
It takes a few minutes for the CVMVolDg resource to come online.
# hares -state ocrvotemnt_resname
# hares -state ocrvotevol_resname