You can install Oracle Database software binaries on an Oracle ASM Cluster File System (Oracle ACFS) volume to enable the Oracle Database Standard Edition High Availability feature.
oracle) between the nodes.
Before you start the installation, have all the information you need about users groups, and storage paths. You should also be prepared to run root scripts or provide information to automate root scripts.
- As the
rootuser, register Oracle ACFS as an Oracle Clusterware resource specifying the Oracle Database software owner user (
oracle) as the mount owner.
# Grid_home/bin/srvctl add filesystem -volume acfs_volume_name -diskgroup diskgroup_name -path mount_point -fstype ACFS -autostart ALWAYS -user oracle
Note:Mount Oracle ACFS to a mount point where you plan to create Oracle base and Oracle home directories for this installation. For example,
- As the
oracleuser, mount the Oracle ACFS file system on all of the cluster nodes on which you want to configure Standard Edition High Availability.
$ Grid_home/bin/srvctl start filesystem -volume acfs_volume_name -diskgroup diskgroup_name
- As the
rootuser, create the Oracle base directory in an Oracle ACFS volume on the first cluster node on which you want to configure Standard Edition High Availability. Follow the Oracle Optimal Flexible Architecture (OFA) recommendations and specify the correct owner, group, and permissions for this directory.
# mkdir -p /u01/app/oracle # chown oracle:oinstall /u01/app/oracle
Note:If you have configured the Oracle ACFS file system with the
oracleuser as the mount owner and the
/u01/app/oracledirectory as the mount point, then this step is not required.
- Log in to the first cluster node as the Oracle Database software owner user
- Download the Oracle Database 21c installation image file (
db_home.zip) from Oracle Software Delivery Cloud website to a directory of your choice.
- Create an OFA-compliant Oracle home directory in an Oracle ACFS volume and
extract the image files that you have downloaded in to this Oracle home
directory. For example:
$ mkdir -p /u01/app/oracle/product/21.0.0/dbhome_1 $ cd /u01/app/oracle/product/21.0.0/dbhome_1 $ unzip -q /tmp/db_home.zip
- From the Oracle home directory, run the
runInstallercommand to start the Oracle Database Setup Wizard.
runInstallercommand from the Oracle home directory only. Do not use the
runInstallercommand that resides at
$ORACLE_HOME/oui/bin/, or any other location, to install Oracle Database.
- In the Select Configuration Option screen, select Set Up Software Only.
- In the Select Database Installation Option screen, select Single instance database installation.
- In the Select Database Edition screen, select Standard Edition 2.
- Respond to the configuration prompts as needed.
- Provide information to automate root scripts, or run scripts as root when
prompted by the setup wizard.
If you configure automation for running root scripts, and a root script fails, then you can fix the problem manually, and click Retry to run the root script again.
Note:Click Help if you have any questions about the information you are asked to submit during installation.
- Attach the Oracle home on the first node to the other cluster nodes on which
you want to configure Standard Edition High Availability.
$ $ORACLE_HOME/addnode/addnode.sh -silent CLUSTER_NEW_NODES=comma_separated_list_of_other_nodes
- As the
rootuser, run the
root.shscript on all the other cluster nodes on which you are configuring Standard Edition High Availability.
After the Oracle Database software installation is complete, use Oracle Database Configuration Assistant (Oracle DBCA), in either interactive or silent mode, to create a Standard Edition database on the first cluster node on which you installed the Oracle Database software.
For more information about the requirements for creating a database, and the procedure for enabling and configuring Standard Edition High Availability for Oracle Databases, refer to Oracle Multitenant Administrator's Guide.