5 Installing and Configuring Oracle Grid Infrastructure for a Standalone Server

If you intend to use Oracle Automatic Storage Management (Oracle ASM), then you must install Oracle Restart before installing your database.

Oracle Grid Infrastructure for a standalone server is a version of Oracle Grid Infrastructure that supports single instance databases. This support includes volume management, file system, and automatic restart capabilities. Oracle Grid Infrastructure for a standalone server includes Oracle Restart and Oracle Automatic Storage Management. Oracle combined the two infrastructure products into a single set of binaries that is installed into an Oracle Restart home.

Oracle Restart is a feature provided as part of Oracle Grid Infrastructure. Oracle Restart monitors and can restart Oracle Database instances, Oracle Net Listeners, and Oracle ASM instances. Oracle Restart is currently restricted to manage single instance Oracle Databases and Oracle ASM instances only, and is subject to desupport in future releases. Oracle continues to provide Oracle ASM as part of the Oracle Grid Infrastructure installation for a standalone server and Cluster deployments.

Oracle Automatic Storage Management is a volume manager and a file system for Oracle Database files that supports single-instance Oracle Database and Oracle Real Application Clusters (Oracle RAC) configurations. Oracle Automatic Storage Management also supports a general purpose file system for your application needs, including Oracle Database binaries. Oracle Automatic Storage Management is Oracle's recommended storage management solution that provides an alternative to conventional volume managers and file systems.

Oracle Restart improves the availability of your Oracle database because of the following:

  • When there is a hardware or a software failure, Oracle Restart automatically starts all Oracle components, including the Oracle database instance, Oracle Net Listener, database services, and Oracle ASM.

  • Oracle Restart starts components in the proper order when the database host is restarted.

  • Oracle Restart runs periodic checks to monitor the status of Oracle components. If a check operation fails for a component, then the component is shut down and restarted.

Note:

  • You can neither install Oracle Restart on an Oracle Grid Infrastructure cluster member node, nor add an Oracle Restart server to an Oracle Grid Infrastructure cluster member node. Oracle Restart supports single-instance databases on one server, while Oracle Grid Infrastructure for a Cluster supports single-instance or Oracle RAC databases on a cluster.

  • If you install Oracle Grid Infrastructure for a standalone server 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.

  • You can use the Oracle Restart implementation of Oracle Grid Infrastructure only in single-instance (nonclustered) environments. Use Oracle Grid Infrastructure with Oracle Clusterware for clustered environments.

  • Oracle Grid Infrastructure for a standalone server can support multiple single-instance databases on a single host computer.

Installing Oracle Grid Infrastructure for a Standalone Server 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\18.0.0\grid

    C:\> icacls grid:oinstall \app\oracle\product\18.0.0\grid

    C:\> cd \app\oracle\product\18.0.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 setup.exe to start the Oracle Grid Infrastructure installation wizard.

    C:> Grid_home\setup.exe

  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 Grid Infrastructure for a Standalone Server for an Existing Database

Follow the high-level instructions in this section to install Oracle Grid Infrastructure and configure it for an existing Oracle database.

Oracle Restart can manage resources from the same release and releases up to one version lower than Oracle Restart. For this reason, you can install Oracle Restart to provide services only for Oracle Database 19c. 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