JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Cluster Data Service for Oracle Grid Engine Guide
search filter icon
search icon

Document Information

Preface

1.  Installing and Configuring HA for Oracle Grid Engine

HA for Oracle Grid Engine Overview

Overview of Installing and Configuring HA for Oracle Grid Engine

Planning the HA for Oracle Grid Engine Installation and Configuration

Configuration Restrictions

Oracle Grid Engine Shadow Daemon

Oracle Grid Engine Berkley DB spooling server

Start at Boot Option

Configuration Requirements

Oracle Grid Engine Software Version Requirements

Operating System for the Oracle Grid Engine Management Tier

Memory Requirements

Disk Space Requirements

HA for Oracle Grid Engine Configuration Requirements

NFS Configuration for the Oracle Grid Engine File System

Oracle Solaris Cluster HA for NFS Configuration Requirements

Dependencies Between Oracle Grid Engine Components

Configuration Considerations

Location of the Oracle Grid Engine Binary Files

File Systems for Spool Directories and Binary Files

Configuration Planning Questions

Preparing the Nodes and Disks

How to Prepare the Nodes and Disks

Installing and Configuring Oracle Grid Engine

How to Install and Configure Oracle Grid Engine

How to Enable Oracle Grid Engine to Run in a Cluster

Verifying the Installation and Configuration of Oracle Grid Engine

How to Verify the Installation and Configuration of Oracle Grid Engine

Installing the HA for Oracle Grid Engine Packages

How to Install the HA for Oracle Grid Engine Packages

Configuring the HAStoragePlus Resource Type to Work With HA for Oracle Grid Engine

How to Register and Configure an HAStoragePlus Resource

Configuring Oracle Solaris Cluster HA for NFS for Use With HA for Oracle Grid Engine

How to Configure Oracle Solaris Cluster HA for NFS for Use With HA for Oracle Grid Engine

Registering and Configuring HA for Oracle Grid Engine

Specifying Configuration Parameters for HA for Oracle Grid Engine Resources

How to Create and Enable HA for Oracle Grid Engine Resources

Setting HA for Oracle Grid Engine Extension Properties

Verifying the HA for Oracle Grid Engine Installation and Configuration

How to Verify the HA for Oracle Grid Engine Installation and Configuration

Tuning the HA for Oracle Grid Engine Fault Monitors

Debugging HA for Oracle Grid Engine

How to Activate Debugging for HA for Oracle Grid Engine

A.  Files for Configuring and Removing HA for Oracle Grid Engine Resources

Index

Installing and Configuring Oracle Grid Engine

The procedure that follows explains only the special requirements for installing Oracle Grid Engine for use with HA for Oracle Grid Engine. For complete information about installing and configuring Oracle Grid Engine, see your Oracle Grid Engine documentation.

To enable Oracle Grid Engine to run in a cluster, you must modify Oracle Grid Engine to use a logical host name.

How to Install and Configure Oracle Grid Engine

Before you begin, ensure that you have the host names of all hosts in the grid. Create a separate list of host names for each type of host in the grid:

  1. Become superuser of the cluster node where you are installing Oracle Grid Engine.
  2. Install the Oracle Grid Engine distribution files. You have to choose between the tar.gz format and the pkgadd format.

    Follow the instructions outlined in How to Load the Distribution Files On a Workstation in the N1 Grid Engine 6 Installation Guide.


    Note - If you choose the pkgadd format, you need to make sure to install Patches for the Oracle Grid Engine software on exactly the same node the Oracle Grid Engine packages are registered on.


  3. Set the SGE_ROOT environment variable to the directory for the root of Oracle Grid Engine file system that you created in Preparing the Nodes and Disks.
    # SGE_ROOT=sge-root-dir 
    # export SGE_ROOT
  4. Go to the directory for the root of Oracle Grid Engine file system.
    # cd sge-root-dir
  5. Start the script that installs the Oracle Grid Engine master host.
    # ./install_qmaster
  6. Follow the prompts on screen to provide or confirm the following information:
    • The name of the Oracle Grid Engine administrative user

    • The value of the SGE_ROOT environment variable

    • The TCP port number

    • The name of the Oracle Grid Engine cell to be configured

    • The path to the spool directory

    • The setup for the correct file permissions

    • Details of your domain name service (DNS) domains

  7. When you are asked whether you want to use classic spooling or Berkley DB, do not choose to use a Berkely DB spooling Server.

    Either choose the classic spooling method, or choose Berkley DB with local spooling.

  8. When you are prompted, specify the range of group IDs for Oracle Grid Engine to use.

    To ensure that you allocate enough group IDs, specify a range of approximately 100 group IDs, for example, 20000-20100.

  9. Follow the prompts on screen to provide or confirm the following information:
    • The path to the spooling directory for the execution daemon

    • The email address of the user who should receive problem reports

    • Confirm the configuration parameters

  10. When you are asked if you want to install the script that starts Oracle Grid Engine at boot time, reply no.

    You are asked if you want to install the script that starts Oracle Grid Engine at boot time.

    We can install the startup script that will
    start qmaster/scheduler at machine boot (y/n) [y] >> n

    To ensure that HA for Oracle Grid Engine can provide fault monitoring and automatic fault recovery, Oracle Grid Engine must be started only by Oracle Solaris Cluster.

  11. Follow the prompts on screen to provide or confirm the following information:
    • Specify the list of execution, admin and submit hosts

    • Do not use a shadow host

    • Select a scheduler profile

How to Enable Oracle Grid Engine to Run in a Cluster

  1. Become superuser of a node in the cluster that will host Oracle Grid Engine.
  2. Create a failover resource group to contain the HA for Oracle Grid Engine resources.

    Use the resource group that you identified when you answered the questions in Configuration Planning Questions.

    # clresourcegroup create -p Pathprefix=sge-root-dir sge-rg
    -p Pathprefix= sge-root-dir

    Specifies a directory on a cluster file system that Oracle Solaris Cluster HA for NFS uses to maintain administrative and status information. This directory must be the directory that you created for the root of the Oracle Grid Engine file system in Preparing the Nodes and Disks.

    sge-rg

    Specifies that the resource group that you are creating is named sge-rg.

  3. Add a resource for the Oracle Grid Engine logical host name to the failover resource group that you created in Step 2.
    # clreslogicalhostname create \
    -g sge-rg \
    -h hostlist \
    sge-lh-rs
    -g sge-rg

    Specifies that the logical host name resource is to be added to the failover resource group that you created in Step 2

    -h hostlist

    Specifies a comma-separated list of host names that are to be made available by this logical host name resource

    sge-lh-rs

    Specifies that the resource that you are creating is named sge-lh-rs