Go to main content

Oracle® Solaris Cluster Data Service for Oracle JD Edwards EnterpriseOne Enterprise Server Guide

Exit Print View

Updated: September 2015
 
 

How to Register and Configure HA for JD Edwards EnterpriseOne Enterprise Server for Failover

Use this procedure to configure HA for JD Edwards EnterpriseOne Enterprise Server as a failover data service. The following steps assume that you are using the failover configuration as described in Standard Data Service Configurations in Oracle Solaris Cluster Data Service for Oracle WebLogic Server Guide and have configured the JD Edwards EnterpriseOne Enterprise Server as described in Installing and Configuring JD Edwards EnterpriseOne Enterprise Server Software.

Before You Begin

Ensure that the data service package is installed. For more information, see How to Install and Configure JD Edwards EnterpriseOne Enterprise Server Software.

  1. On the cluster node that hosts the JD Edwards EnterpriseOne Enterprise Server, assume the root role that provides solaris.cluster.modify and solaris.cluster.admin RBAC authorizations.
  2. Register the ORCL.JDE_Enterprise_Server resource type.
    # clresourcetype register ORCL.JDE_Enterprise_Server
  3. Create an HA for JD Edwards EnterpriseOne Enterprise Server resource in the failover resource group.

    Include the following settings:

    • Set the JDE_USER and JDE_HOME properties with the JD Edwards EnterpriseOne Enterprise Server installation username and installation directory, respectively.

    • Set the Resource_dependencies_offline_restart property with the name of the SUNW.ScalMountPoint or SUNW.HAStoragePlus storage resource you are using.

    # clresource create -g jde-failover-rg -d \
    -t ORCL.JDE_Enterprise_Server \
    -p JDE_USER=jde-user \
    -p JDE_HOME=jde-home-directory \
    -p Resource_dependencies=logicalhost-resource \
    -p Resource_dependencies_offline_restart=jde-hasp-resource
    jde-ent-svr-resource

    For more information, see HA for JD Edwards EnterpriseOne Enterprise Server Extension Properties and the r_properties(5) man page.

  4. If the database is deployed on the same global cluster, configure a strong dependency to the resources for the database instance and database listener.
    # clresource set -p Resource_dependencies+=db-instance-resource,db-listener-resource \
    jde-ent-svr-resource
  5. Enable the HA for JD Edwards EnterpriseOne Enterprise Server resource.

    If multiple instances were created, repeat this step for each JD Edwards EnterpriseOne Enterprise Server instance.

    # clresource status
    # clresource enable jde-ent-svr-resource
Example 1  Configuring HA for JD Edwards EnterpriseOne Enterprise Server as a Failover Service on a Two-Node Cluster With Traditional File Storage

This example uses the following sample component names:

  • Node names: node1, node2

  • Logical hostname: logicalhost-n1

  • Resource group: jde-failover-rg (for all resources)

  • Resources:

    • logicalhost-resource (logical host resource)

    • jde-hasp-resource (HAStoragePlus resource)

    • jde-ent-svr-resource (JD Edwards EnterpriseOne Enterprise Server resource)

Create the resource group to contain all resources
# clresourcegroup create jde-failover-rg
 
Add the logical hostname resource to the resource group
# clreslogicalhostname create -g jde-failover-rg -h logicalhost-1

Add the HAStoragePlus resource to the resource group
# clresource create -g jde-failover-rg -t SUNW.HAStoragePlus \
-p FilesystemMountPoints=/global/jde jde-hasp-resource

(Bring the failover resource group online.)
# clresourcegroup online -eM jde-failover-rg

Register the resource type for HA for JD Edwards EnterpriseOne Enterprise Server
# clresourcetype register ORCL.JDE_Enterprise_Server
 
Add a JD Edwards EnterpriseOne Enterprise Server resource instance
# clresource create -g jde-failover-rg -d \
-t ORCL.JDE_Enterprise_Server \
-p JDE_USER=jde910 \
-p JDE_HOME=/global/jde/jdedwardsppack \
-p Resource_dependencies=logicalhost-resource,db-instance-resource \
-p Resource_dependencies_offline_restart=jde-hasp-resource jde-ent-svr-resource

Enable the JD Edwards EnterpriseOne Enterprise Server resource instance
# clresource enable jde-ent-svr-resource
Example 2  Registering HA for JD Edwards EnterpriseOne Enterprise Server as a Failover Service on a Two-Node Cluster With NAS

This example uses the following sample component names:

  • Node names: node1, node2

  • Logical hostname: logicalhost-1

  • Resource groups:

    • jde-failover-rg (for all resources)

    • scalmnt-rg (scalable mount-point resource group)

  • Resources:

    • logicalhost-resource (logical host resource)

    • scalmnt-resource (scalable mount-point resource)

    • jde-ent-svr-resource (JD Edwards EnterpriseOne Enterprise Server resource)

Create the resource group to contain all resources
# clresourcegroup create jde-failover-rg
 
Add the logical hostname resource to the resource group
# clreslogicalhostname create -g jde-failover-rg -h logicalhost-1

Create a scalable mount-point resource group
# clresourcegroup create -p RG_mode=Scalable \
-p Desired_primaries=2 \
-p Maximum_primaries=2 scalmnt-rg

Register the resource type for the scalable mount-point resource
# clresourcetype register SUNW.ScalMountPoint

Add a scalable mount-point resource to scalmnt-rg
# clresource create -g scalmnt-rg -t SUNW.ScalMountPoint \
-p TargetFileSystem=jde4nas:/export/home/jde \
-p FileSystemType=nas \
-p MountPointDir=/global/jde scalmnt-resource

Bring the scalable mount-point resource group online
# clresourcegroup online -eM scalmnt-rg

Set strong positive RG_affinities on the storage resource group
# clresourcegroup set -p RG_affinities=++scalmnt-rg jde-failover-rg

Bring the failover resource group online
# clresourcegroup online -eM jde-failover-rg

Register the resource type for HA for JD Edwards EnterpriseOne Enterprise Server
# clresourcetype register ORCL.JDE_Enterprise_Server
 
Add an HA for JD Edwards EnterpriseOne Enterprise Server resource instance
# clresource create -g jde-failover-rg -d \
-t ORCL.JDE_Enterprise_Server \
-p JDE_USER=jde910 \
-p JDE_HOME=/global/jde/jdedwardsppack \
-p Resource_dependencies=logicalhost-resource,db-instance-resource \
-p Resource_dependencies_offline_restart=scalmnt-resource jde-ent-svr-resource

Enable the HA for JD Edwards EnterpriseOne Enterprise Server resource instance
# clresource enable jde-ent-svr-resource