Installing and Configuring Oracle Restart

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.

Note:

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.

  1. Log in as the Oracle Restart software owner user (grid).
  2. Download the Oracle Grid Infrastructure installation image files, create the Grid home directory, and extract the image files in this Grid home directory.

    For example:

    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

    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.

  3. Run gridSetup.bat to start the Oracle Grid Infrastructure installation wizard.

    C:> Grid_home\gridSetup.bat

    Note:

    You must install Oracle Restart from the Oracle Grid Infrastructure media.
  4. In the Select Configuration Option screen, select the Configure Oracle Restart option to install and configure Oracle Restart and Oracle ASM. Click Next.
  5. 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.
  6. 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.

  7. Respond to the configuration prompts as needed to configure Oracle Grid Infrastructure. Click Help for information.
  8. 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

  9. 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.

Oracle Restart 12c Release 2 (12.2) can only manage resources from the same release. For this reason, you can install Oracle Restart to provide services only for Oracle Database 12c Release 2 (12.2). However, previous release Oracle Databases can coexist on the same server without being managed by Oracle Restart.
To install Oracle Restart for a database that is already installed:
  1. 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.

  2. If you have an existing Oracle Database, then register it for High Availability with Oracle Restart using the srvctl command:
    DRIVE_LETTER:\> cd ORACLE_HOME\bin
    DRIVE_LETTER:\> srvctl add database -db dbname -o oracle_home_path -dbtype SINGLE