Top
PRIMECLUSTER Wizard for Oracle 4.2 Configuration and Administration Guide

2.2.9 userApplication with Oracle Resources

userApplication with Oracle resources are created using the userApplication Configuration Wizard.

The flow of userApplication creation is as follows:

1

userApplication delete

2

Resources creation

3

userApplication creation

This section explains only about “2. Resources creation”.

See

For further details of “1. userApplication delete” and “3. userApplication creation”, refer to “8.1.1 Changing the Cluster Application Configuration” of the “PRIMECLUSTER Installation and Administration Guide”.

  1. Select “Create Resource” in the “userApplication Configuration” menu.

  2. Select “Oracle” in the “Resource Type” menu.

  3. Add the Oracle instance and Oracle listener in the “Set up Resource” menu.

    Attributes

    Description

    ApplilcationName

    (SubApplicationName)

    Change the application name.

    AdditionalInstance

    Add an Oracle instance resource.

    AdditionalListener

    Add an Oracle listener resource.

    AdditionalRACInstance/Listener

    Not used.

    AdditionalOracleClusterware

    Not used.

    StartPriority

    Set up the startup order of the Oracle instance and Oracle listener. The default is “Simultaneous startup”.

    Information

    A resource name on RMS is based on the application name (SubApplicationName) entered in “ApplilcationName” on this step.

    • Oracle instance resource/ASM instance resource
      ORACLE_<SubApplicationName>_<OracleSID>

    • Oracle listener resource
      LISTENER_<SubApplicationName>_<ListenerName>

    These resource names have the following convention and rules.

    • Characters per resource name must be less than 40 characters.

    • “ORACLE_” and “LISTENER_” are fixed words.

    Note

    If you create and register an ASM instance resource, refer to "2.4.2 ASM (Automatic Storage Management)".

    Example

    If a shared server configuration or a dynamic service information is used, specify “Listener” for the StartPriority attribute.

  4. Set up the Oracle instance as follows:

    Enter ORACLE_SID.

  5. Oracle instance settings

    To change the settings, select setting item and click “Next” button.
    To change the advanced settings, check “Advanced setup”.

    The settings for Oracle instance resource are as follows:

    Attributes

    Description

    OracleSID

    ORACLE_SID

    OracleUser

    Oracle Installation user

    StartTimeout

    Timeout duration of Oracle startup.
    Default: 600s (300s - 86400s)

    StopTimeout

    Timeout duration of forced termination in the event of an Oracle stop error.
    Default: 60s (60s - 86400s)

    AbortTimeout

    Oracle stop mode in normal time.
    Default: Immediate mode (abort, immediate, transactional)

    StopModeStop

    Oracle stop mode in normal time.
    Default: Immediate mode (abort, immediate, transactional)

    StopModeFail

    Oracle stop mode in the event of a failure.
    Default: Abort mode (abort, immediate)

    Interval

    Monitoring interval of Oracle instance.
    Default: 30s (5s - 86400s)

    WatchTimeout

    No response time during monitoring Oracle.
    Default: 300s (30s - 3600s)

    The advanced settings are as follows. These settings are optional:

    Attributes

    Description

    PreOnlineScript

    Executed before online processing.
    No default

    PostOnlineScript

    Executed after online processing.
    No default

    PreOfflineScript

    Executed before offline processing.
    No default

    PostOfflineScript

    Executed after offline processing.
    No default

    FaultScript

    Executed when a fault occurs.
    No default

    Flags

    NullDetector
    (D)

    Selects whether or not resource monitoring is enabled.
    If it is enabled, resource monitoring will not be performed.
    The resource monitoring is disabled as default.

    AutoRecover
    (A)

    Selects whether or not resource restart is attempted before failover in the event of a resource failure.
    If it is enabled, the resource will be restarted.
    The resource is not restarted as default.

    MonitorOnly
    (M)

    Selects whether or not a failover is generated in the event of a resource failure.
    If it is enabled, the resource will not be switched.
    The resource will be switched as default.

    See

    • For details about Scripts, see “2.4.1 Oracle Online/Offline Script”.

    • For details about Flags, see “9 Appendix - Attributes” of the “PRIMECLUSTER RMS Configuration and Administration Guide”.

    Note

    • If NullDetector is enabled, the AutoRecover and MonitorOnly attribute will automatically be disabled.

    • MonitorOnly can be enabled in the following cases:

      • One resource of “Instance” type and one resource of “Listener” type exist, and StartPriority is set to “Same”.
        In this case, MonitorOnly only for the one of them can be enabled.

      • More than one resources of “Instance” type exist.
        In this case, MonitorOnly for the one of them cannot be enabled, but all of the others can be enabled.

    • Flags=<Abbreviation> indicates that the flag attribute is enabled.

  6. Set up the Oracle listener as follows:

    Enter the listener name.

  7. Oracle listener settings

    To change the settings, select setting item and click “Next” button.
    To change the advanced settings, check “Advanced setup”.

    The settings for Oracle listener resource are as follows:

    Attributes

    Description

    ListenerName

    Listener name

    OracleUser

    Oracle DBA user for Oracle control.

    StartTimeout

    Timeout duration of Oracle startup.
    Default: 180s (120s - 86400s)

    StopTimeout

    Timeout duration of forced termination in the event of an Oracle stop error.
    Default: 60s (60s - 86400s)

    Interval

    Monitoring interval of Oracle instance.
    Default: 30s (5s - 86400s)

    WatchTimeout

    No response time during monitoring Oracle.
    Default: 300s (30s - 3600s)

    The advanced settings are as follows. These settings are optional:

    Attributes

    Description

    TNSName

    Network service for listener monitoring
    Execute the tnsping command to monitor the Oracle listener when TNSName is set (tnsnames.ora). If the TNSName is omitted, process monitoring of the Oracle listener will only be performed.

    PreOnlineScript

    Executed before online processing.
    No default

    PostOnlineScript

    Executed after online processing.
    No default

    PreOfflineScript

    Executed before offline processing.
    No default

    PostOfflineScript

    Executed after offline processing.
    No default

    FaultScript

    Executed when a fault occurs.
    No default

    Flags

    NullDetector
    (D)

    Selects whether or not resource monitoring is enabled.
    If it is enabled, resource monitoring will not be performed.
    The resource monitoring is disabled as default.

    AutoRecover
    (A)

    Selects whether or not resource restart is attempted before failover in the event of a resource failure.
    If it is enabled, the resource will be restarted.
    The resource is not restarted as default.

    MonitorOnly
    (M)

    Selects whether or not a failover is generated in the event of a resource failure.
    If it is enabled, the resource will not be switched.
    The resource will be switched as default.

    See

    • For details about Scripts, see “2.4.1 Oracle Online/Offline Script”.

    • For details about Flags, see “9 Appendix - Attributes” of the “PRIMECLUSTER RMS Configuration and Administration Guide”.

    Note

    • If NullDetector is enabled, the AutoRecover and MonitorOnly attribute will automatically be disabled.

    • MonitorOnly can be enabled in the following cases:

      • One resource of “Instance” type and one resource of “Listener” type exist, and StartPriority is set to “Same”.
        In this case, MonitorOnly only for the one of them can be enabled.

      • More than one resources of “Listener” type exist.
        In this case, MonitorOnly for the one of them cannot be enabled, but all of the others can be enabled.

    • Flags=<Abbreviation> indicates that the flag attribute is enabled.

  8. Save the settings by selecting “SAVE+EXIT”.
    Check that the Oracle resource is set then save the settings by selecting SAVE+EXIT.

    Note

    When using Oracle9i RAC, follow the setup procedure from 1 through 8 for each userApplication.

  9. If you have any other required resources, create them.

  10. Select “Create userApplication” in the “userApplication Configuration” menu.
    For further details of the attributes of userApplication, refer to “2.2.3 userApplication Creation”.

    Note

    HELP description is common to GUI and CUI, so a part of them includes a description about CUI.

    See