Oracle Grid Infrastructure for a standalone server includes Oracle Restart and Oracle Automatic Storage Management.
If you install Oracle Restart and then create your database, the database is automatically added to the Oracle Restart configuration, and is then automatically restarted when required. Oracle Restart automatically restarts the database when required.
If you install Oracle Restart on a host computer on which a database already exists, then you must manually add the database, the listener, the Oracle ASM instance, and other components to the Oracle Restart configuration before you are able to configure automatic database restarts.
Oracle Restart can support multiple single-instance databases on a single host computer.
Installing Oracle Restart with a New Database Installation
Complete these steps to install Oracle Restart and then create a database that is managed by Oracle Restart.
Install Oracle Restart, which installs Oracle Restart and Oracle ASM, and creates one disk group.
- Log in as the Oracle Restart software owner user (
- Download the Oracle Grid Infrastructure installation image files, create the Grid home directory, and extract the image files in this Grid home directory.
C:\> mkdir \app\oracle\product\12.2.0\grid
C:\> icacls grid:oinstall \app\oracle\product\12.2.0\grid
C:\> cd \app\oracle\product\12.2.0\grid
C:\> unzip -q download_location\grid_home.zip
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.
gridSetup.batto start the Oracle Grid Infrastructure installation wizard.
Note:You must install Oracle Restart from the Oracle Grid Infrastructure media.
- In the Select Configuration Option screen, select the Configure Oracle Restart option to install and configure Oracle Restart and Oracle ASM. Click Next.
- During installation, disk paths mounted on Oracle ASM and registered on Oracle ASMFD with the string
ORCL:*are listed as default database storage candidate disks.
- Configure Oracle ASM as needed with additional disk groups.
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.
- Respond to the configuration prompts as needed to configure Oracle Grid Infrastructure. Click Help for information.
- Provide information to automate root scripts, or run scripts as root when prompted by Oracle Universal Installer.
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
- Start the Oracle Database installation, and select Oracle ASM disk groups for Oracle Database files storage. For assistance during installation, click Help on the Oracle Universal Installer page where you need more information.
Installing Oracle Restart for an Existing Database
Follow the high-level instructions in this section to install Oracle Restart and configure it for an existing Oracle database.
On the same host computer as the database, install Oracle Restart, and select Configure Oracle Grid Infrastructure for a Standalone Server (Oracle Restart) as the installation option. See, “Installing Oracle Restart with a New Database Installation” in Oracle Database Installation Guide.
The Oracle Restart components are installed in an Oracle Grid Infrastructure Oracle home (Grid home), which is in a different location from existing Oracle Database homes.
If you have an existing Oracle Database, then register it for High Availability with Oracle Restart using the
DRIVE_LETTER:\> cd ORACLE_HOME\bin DRIVE_LETTER:\> srvctl add database -db dbname -o oracle_home_path -dbtype SINGLE