Before You Begin
Use this procedure to configure HA for JD Edwards EnterpriseOne Enterprise Server in a multi-master configuration. The following steps assume that you are using the configuration that is described in Multi-Master Configuration and have configured the server as described in Installing and Configuring JD Edwards EnterpriseOne Enterprise Server Software. If you are planning a different configuration, you must configure the JD Edwards EnterpriseOne Enterprise Server resources accordingly.
# clresourcetype register ORCL.JDE_Enterprise_Server
# clresourcegroup create -p Maximum_primaries=m \ -p Desired_primaries=n jde-ent-svr-rg
Specifies the maximum number of active primary nodes permitted for this resource group. The default is one.
Specifies the desired number of active primary nodes permitted for this resource group. The default is one.
Specifies the resource group name.
# clresourcegroup online -eM jde-ent-svr-rg
The following example starts the JD Edwards EnterpriseOne Enterprise Server instances on node1 and node2.
Set the JDE_USER and JDE_HOME properties with the JD Edwards EnterpriseOne Enterprise Server installation username and installation directory, respectively, for each node.
Set the Resource_dependencies_offline_restart property with the name of the SUNW.ScalMountPoint or SUNW.HAStoragePlus storage resource you are using.
# clresource create -t ORCL.JDE_Enterprise_Server -g jde-ent-svr-rg \ -p JDE_USER{node1}=jde-user \ -p JDE_USER{node2}=jde-user2 \ -p JDE_HOME{node1}=jde-home-directory \ -p JDE_HOME{node2}=jde-home-directory \ -p Resource_dependencies=logicalhost-n1-rs@node1,logicalhost-n2-rs@node2,db-instance-resource \ -p Resource_dependencies_offline_restart=jde-ent-hasp-rs \ jde-ent-svr-rs
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-ent-hasp-rg (for the scalable HAStoragePlus resource)
jde-ent-svr-rg (for the JD Edwards EnterpriseOne Enterprise Server resource)
Resources:
logicalhost-n1-rslogicalhost-n2-rs (logical hostname resources)
jde-ent-hasp-rs (scalable HAStoragePlus resource)
jde-ent-svr-rs (multi-master JD Edwards EnterpriseOne Enterprise Server resource)
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 HAStoragePlus resource # clresourcegroup create -p Maximum_primaries=2 \ -p Desired_primaries=2 \ jde-ent-hasp-rg Register the resource type for HAStoragePlus resource # clresourcetype register SUNW.HAStoragePlus Add an HAStoragePlus resource to the jde-ent-hasp-rg resource group # clresource create -g jde-ent-hasp-rg -t SUNW.HAStoragePlus \ -p FileSystemMountPoints=/global/jde affinityon=false jde-ent-hasp-rs Bring the HAStoragePlus resource group online # clresourcegroup online -eM jde-ent-hasp-rg Create a scalable resource group for JD Edwards EnterpriseOne Enterprise Server resource # clresourcegroup creare -p Maximum_primaries=2 -p Desired_primaries=2 jde-ent-svr-rg Add a multi-master resource for JD Edwards EnterpriseOne Enterprise Server instances # clresource create -t ORCL.JDE_Enterprise_Server -g jde-ent-svr-rg \ -p JDE_USER{node1}=jde910 \ -p JDE_USER{node2}=jde2910 \ -p JDE_HOME{node1}=/global/jde/u01/jdedwardsppack \ -p JDE_HOME{node2}=/global/jde/u02/jdedwardsppack \ -p Resource_dependencies=logicalhost-n1-rs@node1,logicalhost-n2-rs@node2,db-instance-resource \ -p Resource_dependencies_offline_restart=jde-ent-hasp-rs jde-ent-svr-rs Bring the resource group online # clresourcegroup online -eM jde-ent-svr-rg