Complete these steps to Install Oracle Grid Infrastructure for a standalone server and then create a database that is managed by Oracle Restart.
Install Oracle Grid Infrastructure for a standalone server, which installs Oracle Restart and Oracle ASM, and creates one disk group.
You should have your network information, storage information, and operating system users and groups available to you before you start the installation. You should also be prepared to run root scripts.
$ mkdir -p /u01/app/oracle/product/12.2.0/grid $ chown oracle:oinstall /u01/app/oracle/product/12.2.0/grid $ cd /u01/app/oracle/product/12.2.0/grid $ unzip -q /tmp/grid_home.zip
Note:Ensure that the Grid home directory path you create is in compliance with the Oracle Optimal Flexible Architecture recommendations. Also, unzip the installation image files only in this Grid home directory that you created.
rootand set $ORACLE_HOME to the grid home location and $ORACLE_BASE to a temporary location.
su root # set ORACLE_HOME=/u01/app/oracle/product/12.2.0/grid # set ORACLE_BASE=/tmp
You set $ORACLE_BASE to a temporary location to avoid creating diagnostic or trace files in the Grid home before the Oracle Grid Infrastructure installation.
afd_labelcommand to provision disk devices for use with Oracle ASM Filter Driver. For example:
# cd /u01/app/oracle/product/12.2.0/grid/bin # ./asmcmd afd_label DATA1 /dev/sdb --init # ./asmcmd afd_label DATA2 /dev/sdc --init # ./asmcmd afd_label DATA3 /dev/sdd --init
afd_lslblcommand to verify the device has been marked for use with Oracle ASMFD. For example:
# ./asmcmd afd_lslbl /dev/sdb # ./asmcmd afd_lslbl /dev/sdc # ./asmcmd afd_lslbl /dev/sdd
# unset ORACLE_BASE
gridSetup.shto start the Oracle Grid Infrastructure installation wizard:
ORCL:*are listed as default database storage candidate disks.
The default Disk Group Name is DATA. You can enter a new name for the disk group, or use the default name.
Any additional disk devices that you create must be owned by the user performing the grid installation.
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.