Go to main content

Oracle® Solaris Cluster Data Service for Oracle Database Guide

Exit Print View

Updated: September 2019
 
 

How to Register and Configure HA for Oracle Database With HAStoragePlus (clsetup)

This procedure uses the clsetup configuration wizard for HA for Oracle Database, with HAStoragePlus to manage data storage.


Note -  To use Oracle ASM to manage Oracle Database data storage, instead perform procedures in How to Register and Configure HA for Oracle Database With Oracle ASM (clsetup).

Note -  You can also use the Oracle Solaris Cluster Manager browser interface to perform this task. For Oracle Solaris Cluster Manager log-in instructions, see How to Access Oracle Solaris Cluster Manager in Administering an Oracle Solaris Cluster 4.4 Configuration. After you log in, click Tasks and then click Oracle Database to start the wizard.

This Oracle Solaris Cluster Manager wizard requires that all cluster nodes have the same root password.


Before You Begin

Ensure that the following prerequisites are met:

  • The volume manager of the cluster is configured to provide volumes on shared storage that are accessible from any Oracle Solaris Cluster node where Oracle Database could potentially run.

  • Raw devices and file systems on the storage volumes that Oracle Database will use for its database are created.

  • Oracle Database software is installed to be accessible from all nodes where Oracle Database could potentially run.

  • Kernel variables for the UNIX operating system are configured for Oracle Database.

  • Oracle Database software is configured for all nodes that could potentially run Oracle Database.

  • The data service packages are installed.

  • An entry for each logical hostname that is to be made available by the resource is added to the name service database.

  • If you are using PNM objects, the objects are configured on the nodes where the logical hostname resource can be brought online. Public network management (PNM) objects include Internet Protocol network multipathing (IPMP) groups, trunk and datalink multipathing (DLMP) link aggregations, and VNICs that are directly backed by link aggregations.

  • Any project you created to run Oracle Database exists in the projects name service database for the user that runs that application. If no custom project is created for an application, the default project is used. For more information, see the projects(1) man page.

Ensure that you have the following information:

  • The names of the cluster nodes that master the data service.

  • The path to the Oracle Database application binaries for the resources that you plan to configure.

  • The database type.

  • The logical hostnames that you plan to add to the resource group.

  1. Assume the root role on any cluster node.
  2. Start the clsetup utility, verify prerequisites, and navigate to the HA for Oracle Database configuration section.
    # clsetup

    When using the clsetup utility, press the Return key to submit your choices.

  3. Choose the Oracle Database location.

    Select the global cluster or a zone cluster. The clsetup utility displays a list of HA for Oracle Database components to configure.

  4. Choose HA for Oracle Database Instance Resources.

    The clsetup utility displays a list of the cluster nodes.

  5. Follow the prompts in the clsetup utility to provide the following information.
    Data to Provide
    Guidelines
    Your Values
    Cluster nodes on which to run Oracle Database
    Ensure that the cluster nodes are listed in the order in which they are to appear in the node list of the resource group in which the Oracle Database resource is to be placed.
    To choose nodes, type a comma-separated or space-separated list of the option numbers for the nodes to use.
    Oracle Database components to configure
    Choose whether to configure the Oracle Database server component, the listener component, or both components.
    Oracle Database home directory
    If the directory is not listed, supply the full path to the home directory.
    Project where Oracle Database is to run
    If you did not create a project where Oracle Database will run, select the default project.
    Oracle Database SID
    If the SID is not listed, supply the SID.
    Changed names for any cluster resources properties
    Depending on your environment, you might not need to change any resource property names.
    Highly-available HAStoragePlus storage resources
    Logical-hostname resources
    If you need to create a new logical hostname resource, know which PNM object you want to use for each cluster node. To select multiple resources, type a comma-separated or space-separated list of the numbers.
  6. Confirm the objects name.
    1. If you require a different name for any Oracle Solaris Cluster objects, choose the name to change and type the new name in response to the prompt.

      The clsetup utility returns you to the list of the names of the Oracle Solaris Cluster objects that the utility will create.

    2. To confirm your selection of Oracle Solaris Cluster object names, type d.
  7. To create the configuration, type c.

    The clsetup utility displays a progress message to indicate that the utility is running commands to create the configuration. When configuration is complete, the clsetup utility displays the commands used to create the configuration.

    When the configuration process completes, press Return repeatedly to exit from the clsetup utility. If you prefer, you can leave the clsetup utility running while you perform other required tasks before using the utility again.