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.
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.
On a cluster member, become superuser or assume a role that provides solaris.cluster.modify RBAC authorization.
If a zone is being used for Oracle Application Server, ensure the zone is booted.
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 |
Mount the highly available local file system.
Perform this step from the global zone on one node of the cluster.
If a non ZFS highly available local file system is being used for the Oracle Application Server files.
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 |
If the global zone is being used for Oracle Application Server.
# mount highly-available-local-file-system |
If a zone is being used for Oracle Application Server.
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 |
If a ZFS highly available file system is being used for Oracle Application Server.
Plumb the Oracle Application Server logical hostname.
Login to the zone, if a zone is being used.
# zlogin zonename |
Start the Oracle Database and Listener
# su - oracle-application-server-userid $ $ORACLE_HOME/bin/lsnrctl start $ $ORACLE_HOME/bin/sqlplus "/ as sysdba" SQL> startup SQL> quit $ exit |
Start the Oracle Application Server Infrastructure.
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 |
Verify the Oracle 9iAS Infrastructure.
# 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 |
Verifying the Oracle Application Server 10g Infrastructure.
# 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 |
Stop the Oracle 9iAS Application Server or Oracle Application Server 10g Infrastructure.
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 |
Stop the Oracle Database and Listener.
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 |
Logout from the zone, if a zone is being used.
# exit |
Unmount the highly available local file system.
Perform this step in the global zone only.
If a non ZFS highly available local file system is being used for Oracle Application Server.
If the global zone is being used for Oracle Application Server.
# umount oracle-application-server-highly-available-local-file-system |
If a zone is being used for Oracle Application Server.
Unmount the highly available local file system from the zone.
# umount /zonepath/root/oracle-application-server-highly-available-local-file-system |
If a ZFS highly available file system is being used for Oracle Application Server.
# zpool export -f HAZpool |
Unplumb the Infrastructure logical IP address.
# ifconfig interface removeif logical-hostname |
Relocate the shared storage to another node and mount the highly available local file system.
Perform this step on another node of the cluster.
If a non ZFS highly available local file system is being used for the Oracle Application Server files.
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 |
If the global zone is being used for Oracle Application Server.
# mount highly-available-local-file-system |
If a zone is being used for Oracle Application Server.
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 |
If a ZFS highly available file system is being used for Oracle Application Server.
Plumb the Oracle Application Server logical hostname.
Perform this step on another node of the cluster.
Login to the zone, if a zone is being used.
# zlogin zonename |
Start the Oracle Database and Listener
# su - oracle-application-server-userid $ $ORACLE_HOME/bin/lsnrctl start $ $ORACLE_HOME/bin/sqlplus "/ as sysdba" SQL> startup SQL> quit |
Start the Oracle Application Server Infrastructure.
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 |
Verify the Oracle Application Server 9i Infrastructure.
# 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 |
Verifying the Oracle Application Server 10g Infrastructure
# 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 |
Logout from the zone, if a zone is being used.
# exit |
Unmount the highly available local file system.
Perform this step in the global zone only.
If a non ZFS highly available local file system is being used for Oracle Application Server.
If the global zone is being used for Oracle Application Server.
# umount oracle-application-server-highly-available-local-file-system |
If a zone is being used for Oracle Application Server.
Unmount the highly available local file system from the zone.
# umount /zonepath/root/oracle-application-server-highly-available-local-file-system |
If a ZFS highly available file system is being used for Oracle Application Server.
# zpool export -f HAZpool |
Unplumb the Oracle Application Server logical hostname.
# ifconfig interface removeif logical hostname |