Before You Begin
Use this procedure to configure an HA for JD Edwards EnterpriseOne Enterprise Server multi-instance configuration that uses single-node resource groups. A single node resource group is created for each of the server resources managing a server instance. Each resource group has a strong positive affinity on a storage resource group.
This procedure assumes that you are using a global cluster. If you are performing this configuration in a zone cluster, add the -Z zone-name option to the command.
# clresourcegroup create -p Nodelist=node1 \ -p RG_affinities=++jde-hasp-rg jde-ent-svr-n1-rg
# clresourcegroup online -eM jde-ent-svr-n1-rg
# clresourcegroup create -p Nodelist=node2 \ -p RG_affinities=++jde-hasp-rg jde-ent-svr-n2-rg
# clresourcegroup online -eM jde-ent-svr-n2-rg
Set the JDE_USER and JDE_HOME properties with the JD Edwards EnterpriseOne Enterprise Server installation username and installation directory, respectively, for instance 1.
# clresource create -t ORCL.JDE_Enterprise_Server -g jde-ent-svr-n1-rg \ -p JDE_USER=jde-user \ -p JDE_HOME=jde-installation-dir \ -p Resource_dependencies=logicalhost-n1-rs \ -p Resource_dependencies_offline_restart=jde-hasp-rs \ jde-ent-svr-n1-rs
The resource is created in the enabled state.
Set the JDE_USER and JDE_HOME properties with the JD Edwards EnterpriseOne Enterprise Server installation username and installation directory, respectively, for instance 2.
# clresource create -t ORCL.JDE_Enterprise_Server -g jde-ent-svr-n2-rg \ -p JDE_USER=jde-user2 \ -p JDE_HOME=jde-installation-dir \ -p Resource_dependencies=logicalhost-n2-rs \ -p Resource_dependencies_offline_restart=jde-hasp-rs \ jde-ent-svr-n2-rs
The resource is created in the enabled state.
This example uses the following sample component names:
Node names: node1, node2
Logical hostnames: logicalhost-n1, logicalhost-n2
Resource groups:
logicalhost-n1-rg (for the logicalhost-n1-rs resource)
logicalhost-n2-rg (for the logicalhost-n2-rs resource)
jde-hasp-rg (for the scalable HAStoragePlus resource)
jde-ent-svr-n1-rg, jde-ent-svr-n2-rg (for the JD Edwards EnterpriseOne Enterprise Server resources)
Resources:
logicalhost-n1-rs, logicalhost-n2-rs (logical hostname resources)
jde-hasp-rs (scalable HAStoragePlus resource)
jde-ent-svr-n1-rs, jde-ent-svr-n2-rs (multi-master JD Edwards EnterpriseOne Enterprise Server resources)
JD Edwards EnterpriseOne Enterprise Server instance 1 installation directory: /global/jde/u01 Username: jde910
JD Edwards EnterpriseOne Enterprise Server instance 2 installation directory: /global/jde/u02 Username: jde2910
Create failover resource groups to contain logical hostnames for JD Edwards EnterpriseOne Enterprise Server instances # clresourcegroup create -p Nodelist=node1,node2 logicalhost-n1-rg # clresourcegroup create -p Nodelist=node2,node1 logicalhost-n2-rg Add the logical hostname resources to the failover resource groups # clreslogicalhostname create -g logicalhost-n1-rg -h logicalhost-n1 logicalhost-n1-rs # clreslogicalhostname create -g logicalhost-n2-rg -h logicalhost-n2 logicalhost-n2-rs Bring the logical hostname resource groups online # clresourcegroup online -eM logicalhost-n1-rg # clresourcegroup online -eM logicalhost-n2-rg Set the Failback property for each logical hostname resource group # clresourcegroup set -p Failback=TRUE logicalhost-n1-rg # clresourcegroup set -p Failback=TRUE logicalhost-n2-rg Add a scalable resource group for the HAStoragePlus resource # clresourcegroup create -p Maximum_primaries=2 \ -p Desired_primaries=2 \ jde-hasp-rg Register the resource type for HAStoragePlus resource # clresourcetype register SUNW.HAStoragePlus Add an HAStoragePlus resource to the jde-hasp-rg resource group # clresource create -g jde-hasp-rg -t SUNW.HAStoragePlus \ -p FileSystemMountPoints=/global/jde affinityon=false jde-hasp-rs Bring the HAStoragePlus resource group online # clresourcegroup online -eM jde-hasp-rg Create single-node resource groups for JD Edwards EnterpriseOne Enterprise Server instances 1 and 2 # clresourcegroup create -p Nodelist=node1 \ -p RG_affinities=++jde-hasp-rg jde-ent-svr-n1-rg # clresourcegroup create -p Nodelist=node2 \ -p RG_affinities=++jde-hasp-rg jde-ent-svr-n2-rg Bring the resource groups online # clresourcegroup online -eM jde-ent-svr-n1-rg # clresourcegroup online -eM jde-ent-svr-n2-rg Add resources for JD Edwards EnterpriseOne Enterprise Server instance 1 and 2 # clresource create -d -t ORCL.JDE_Enterprise_Server -g jde-ent-svr-n1-rg \ -p JDE_USER=jde910 \ -p JDE_HOME=/global/jde/u01/jdedwardsppack \ -p Resource_dependencies=logicalhost-n1-rs,db-instance-resource \ -p Resource_dependencies_offline_restart=jde-hasp-rs \ jde-ent-svr-n1-rs # clresource create -d -t ORCL.JDE_Enterprise_Server -g jde-ent-svr-n2-rg \ -p JDE_USER=jde2910 \ -p JDE_HOME=/global/jde/u02/jdedwardsppack \ -p Resource_dependencies=logicalhost-n2-rs,db-instance-resource \ -p Resource_dependencies_offline_restart=jde-hasp-rs \ jde-ent-svr-n2-rs Bring the resources online # clresource enable jde-ent-svr-n1-rs # clresource enable jde-ent-svr-n2-rs
See Also
For information about administering resources and resource groups, see Chapter 2, Administering Data Service Resources in Oracle Solaris Cluster 4.3 Data Services Planning and Administration Guide.