Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Cluster Data Service for Oracle Application Server Guide |
1. Installing and Configuring Solaris Cluster HA for Oracle Application Server
HA for Oracle Application Server Overview
Overview of Installing and Configuring HA for Oracle Application Server
Planning the HA for Oracle Application Server Installation and Configuration
Restriction for the supported configurations of HA for Oracle Application Server
Restriction for the location of Oracle Application Server files
Determine which Solaris zone Oracle Application Server will use
Installing and Configuring Oracle Application Server
How to Install and Configure Oracle Application Server
Verifying the Installation and Configuration of Oracle Application Server
How to Verify the Installation and Configuration of Oracle Application Server
Installing the HA for Oracle Application Server Packages
How to Install the HA for Oracle Application Server Packages
Registering and Configuring Solaris Cluster HA for Oracle Application Server
How to Register and Configure Solaris Cluster HA for Oracle Application Server
Verifying the Solaris Cluster HA for Oracle Application Server Installation and Configuration
How to Verify the Solaris Cluster HA for Oracle Application Server Installation and Configuration
Upgrading HA for Oracle Application Server
How to Upgrade to the New Version of HA for Oracle Application Server
Understanding the Solaris Cluster HA for Oracle Application Server Fault Monitor
Probing Algorithm and Functionality
Operations of the Oracle 9iAS Application Server Probe
Operations of the Oracle Application Server 10g Probe
Debug Solaris Cluster HA for Oracle Application Server
How to turn on debug for Solaris Cluster HA for Oracle Application Server
A. Deployment Example: Installing Oracle Application Server in Zones
This section contains the procedure you need to verify the installation and configuration.
This procedure does not verify that your application is highly available because you have not yet installed your data service.
Perform this procedure on one node or zone of the cluster unless a specific step indicates otherwise.
Note - This procedure assumes that you have completed the infrastructure install and have included ORACLE_HOME and ORCALE_SID within the profile for the oracle-application-server-userid.
Repeat this step on all nodes on the cluster if a zone is being used.
Boot the zone if it is not running.
# zoneadm list -v # zoneadm -z zonename boot
Perform this step from the global zone on one node of the cluster.
Ensure the node has ownership of the disk set or disk group.
For Solaris Volume Manager.
# metaset -s disk-set -t
For Veritas Volume Manager.
# vxdg -C import disk-group # vxdg -g disk-group startall
# mount highly-available-local-file-system
Mount the highly available local file system on one of the zones being used .
# mount -F lofs highly-available-local-file-system \ > /zonepath/root/highly-available-local-file-system
# zpool import -R / HAZpool
# zpool import -R /zonepath/root HAZpool
# ifconfig interface addif logical-hostname up
# ifconfig interface addif logical-hostname up zone zonename
# zlogin zonename
# su - oracle-application-server-userid $ $ORACLE_HOME/bin/lsnrctl start $ $ORACLE_HOME/bin/sqlplus "/ as sysdba" SQL> startup SQL> quit $ exit
For Oracle Application Server 9iAS Infrastructure
# su - oracle-application-server-userid $ $ORACLE_HOME/bin/oidmon start $ $ORACLE_HOME/bin/oidctl server=oidldapd configset=0 instance=1 start $ $ORACLE_HOME/opmn/bin/opmnctl startall $ $ORACLE_HOME/bin/emctl start $ $ORACLE_HOME/bin/lsnrctl start $ exit
For Oracle Application Server 10g AS Infrastructure
# su - oracle-application-server-userid $ $ORACLE_HOME/opmn/bin/opmnctl startall $ $ORACLE_HOME/bin/emctl start iasconsole $ exit
# su - oracle-application-server-userid $ $ORACLE_HOME/bin/emctl status EMD is up and running : 200 OK $ $ORACLE_HOME/dcm/bin/dcmctl getstate -v Current State for Instance:iasdb1.psemea14.uk.sun.com Component Type Up Status In Sync Status ======================================================================= 1 HTTP Server ohs Up True 2 OC4J_DAS oc4j Up True 3 OC4J_Demos oc4j Down True 4 home oc4j Down True $ exit
# su - oracle-application-server-userid $ $ORACLE_HOME/bin/emctl status iasconsole TZ set to GB Oracle Enterprise Manager 10g Application Server Control Release 10.1.2.0.2 Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved. http://oas10g.uk.sun.com:1156/emd/console/aboutApplication Oracle Enterprise Manager 10g Application Server Control is running. ------------------------------------------------------------------ Logs are generated in directory /ZFSoracle/oraInfra/sysman/log $ $ORACLE_HOME/opmn/bin/opmnctl status Processes in Instance: IAS.oas10g.uk.sun.com -------------------+--------------------+---------+--------- ias-component | process-type | pid | status -------------------+--------------------+---------+--------- LogLoader | logloaderd | N/A | Down dcm-daemon | dcm-daemon | 6135 | Alive DSA | DSA | N/A | Down OC4J | OC4J_SECURITY | 4781 | Alive HTTP_Server | HTTP_Server | 4546 | Alive OID | OID | 4558 | Alive $ exit
Perform this step from the global zone or zone where you installed Oracle 9iAS Application Server Infrastructure or Oracle Application Server 10g Infrastructure.
For Oracle 9iAS Application Server Infrastructure.
# su - oracle-application-server-userid $ $ORACLE_HOME/bin/emctl stop $ $ORACLE_HOME/opmn/bin/opmnctl stopall $ $ORACLE_HOME/bin/oidctl server=oidldapd configset=0 instance=1 stop $ $ORACLE_HOME/bin/oidmon stop
For Oracle Application Server 10g Infrastructure.
# su - oracle-application-server-userid $ $ORACLE_HOME/bin/emctl stop iasconsole $ $ORACLE_HOME/opmn/bin/opmnctl stopall
Perform this step from the global zone or zone where you installed Oracle 9iAS Application Server Infrastructure or Oracle Application Server 10g Infrastructure.
# su - oracle-application-server-userid $ $ORACLE_HOME/bin/lsnrctl stop $ $ORACLE_HOME/bin/sqlplus "/ as sysdba" SQL> shutdown immediate SQL> quit
# exit
Perform this step in the global zone only.
# umount oracle-application-server-highly-available-local-file-system
Unmount the highly available local file system from the zone.
# umount /zonepath/root/oracle-application-server-highly-available-local-file-system
# zpool export -f HAZpool
# ifconfig interface removeif logical-hostname
Perform this step on another node of the cluster.
Ensure the node has ownership of the disk set or disk group.
For Solaris Volume Manager.
# metaset -s disk-set -t
For Veritas Volume Manager.
# vxdg -C import disk-group # vxdg -g disk-group startall
# mount highly-available-local-file-system
Mount the highly available local file system on one of the zones being used .
# mount -F lofs highly-available-local-file-system \ > /zonepath/root/highly-available-local-file-system
# zpool import -R / HAZpool
# zpool import -R /zonepath/root HAZpool
Perform this step on another node of the cluster.
# ifconfig interface addif logical-hostname up
# ifconfig interface addif logical-hostname up zone zonename
# zlogin zonename
# su - oracle-application-server-userid $ $ORACLE_HOME/bin/lsnrctl start $ $ORACLE_HOME/bin/sqlplus "/ as sysdba" SQL> startup SQL> quit
For Oracle 9iAS Application Server Infrastructure.
# su - oracle-application-server-userid $ $ORACLE_HOME/bin/oidmon start $ $ORACLE_HOME/bin/oidctl server=oidldapd configset=0 instance=1 start $ $ORACLE_HOME/opmn/bin/opmnctl startall $ $ORACLE_HOME/bin/emctl start $ exit
For Oracle Application Server 10g AS Infrastructure.
# su - oracle-application-server-userid $ $ORACLE_HOME/opmn/bin/opmnctl startall $ $ORACLE_HOME/bin/emctl start iasconsole $ exit
# su - oracle-application-server-userid $ $ORACLE_HOME/bin/emctl status EMD is up and running : 200 OK $ $ORACLE_HOME/dcm/bin/dcmctl getstate -v Current State for Instance:iasdb1.psemea14.uk.sun.com Component Type Up Status In Sync Status ======================================================================= 1 HTTP Server ohs Up True 2 OC4J_DAS oc4j Up True 3 OC4J_Demos oc4j Down True 4 home oc4j Down True $ exit
# su - oracle-application-server-userid $ $ORACLE_HOME/bin/emctl status iasconsole TZ set to GB Oracle Enterprise Manager 10g Application Server Control Release 10.1.2.0.2 Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved. http://oas10g.uk.sun.com:1156/emd/console/aboutApplication Oracle Enterprise Manager 10g Application Server Control is running. ------------------------------------------------------------------ Logs are generated in directory /ZFSoracle/oraInfra/sysman/log $ $ORACLE_HOME/opmn/bin/opmnctl status Processes in Instance: IAS.oas10g.uk.sun.com -------------------+--------------------+---------+--------- ias-component | process-type | pid | status -------------------+--------------------+---------+--------- LogLoader | logloaderd | N/A | Down dcm-daemon | dcm-daemon | 6135 | Alive DSA | DSA | N/A | Down OC4J | OC4J_SECURITY | 4781 | Alive HTTP_Server | HTTP_Server | 4546 | Alive OID | OID | 4558 | Alive $ exit
# exit
Perform this step in the global zone only.
# umount oracle-application-server-highly-available-local-file-system
Unmount the highly available local file system from the zone.
# umount /zonepath/root/oracle-application-server-highly-available-local-file-system
# zpool export -f HAZpool
# ifconfig interface removeif logical hostname