Sun Cluster Data Service for Oracle E-Business Suite Guide for Solaris OS

Installing and Configuring Sun Cluster HA for Oracle E-Business Suite

This chapter explains how to install and configure Sun Cluster HA for Oracle E-Business Suite.

This chapter contains the following sections.

Sun Cluster HA for Oracle E-Business Suite Overview


Note –

Throughout this document a non-global zone may be referred to as a zone. A global zone will always be referred to as a global zone.


The Sun Cluster HA for Oracle E-Business Suite data service provides a mechanism for the orderly startup and shutdown, fault monitoring, and automatic failover of the Oracle E-Business Suite.

Oracle E-Business Suite is a complete set of business applications that enables you to efficiently manage business processes using a unified open architecture. This architecture is a framework for multi tiered, distributed computing that supports Oracle products. The tiers that compose Oracle E-Business Suite are the database tier, applications tier, and desktop tier. These tiers can be distributed as a logical grouping and can be grouped on one or more nodes.

Table 1 Oracle E-Business Suite Architecture

Desktop Tier 

Application Tier 

Database Tier 

 

Web Server 

 
 

Forms Server 

 

Web Browser 

Concurrent Server 

Database Server 

 

Reports Server 

 
 

Admin Server 

 
 

Discoverer Server 

 

The distributed nature of Oracle E-Business Suite requires more than one cluster data service if all application and database tiers are to be managed by the cluster.

The following tables list the Oracle E-Business Suite components and the corresponding cluster data service that provides high availability to that component.

Table 2 Protection of Components

Component 

Protected by 

Database Server 

Sun Cluster HA for Oracle (Database and Listener) 

Web Server 

Sun Cluster HA for Apache 

Forms Server 

Sun Cluster HA for Oracle E-Business Suite 

Concurrent Manager Server 

Sun Cluster HA for Oracle E-Business Suite 

Concurrent Manager Listener 

Sun Cluster HA for Oracle (Listener) 

Reports Server 

Sun Cluster HA for Oracle E-Business Suite 

The Admin Server and Discoverer Server are not normally run within Sun Cluster and therefore are not protected by Sun Cluster HA for Oracle E-Business Suite.

Overview of Installing and Configuring Sun Cluster HA for Oracle E-Business Suite

The following table summarizes the tasks for installing and configuring Sun Cluster HA for Oracle E-Business Suite and provides cross-references to detailed instructions for performing these tasks. Perform the tasks in the order that they are listed in the table.

Table 3 Tasks for Installing and Configuring Sun Cluster HA for Oracle E-Business Suite

Task 

Instructions 

Plan the installation 

Planning the Sun Cluster HA for Oracle E-Business Suite Installation and Configuration

Install and configure the Oracle E-Business Suite software 

How to Install and Configure Oracle E-Business Suite

Verify the installation and configuration 

How to Verify the Installation and Configuration of Oracle E-Business Suite

Install Sun Cluster HA for Oracle E-Business Suite packages 

How to Install the Sun Cluster HA for Oracle E-Business Suite Packages

Register and configure Sun Cluster HA for Oracle E-Business Suite resources 

How to Register and Configure Sun Cluster HA for Oracle E-Business Suite

Verify the Sun Cluster HA for Oracle E-Business Suite installation and configuration 

How to Verify the Sun Cluster HA for Oracle E-Business Suite Installation and Configuration

Upgrade the Sun Cluster HA for Oracle E-Business Suite data service 

How to Upgrade to the New Version of Sun Cluster HA for Oracle E-Business Suite

Tune the Sun Cluster HA for Oracle E-Business Suite fault monitor 

Understanding the Sun Cluster HA for Oracle E-Business Suite Fault Monitor

Debug Sun Cluster HA for Oracle E-Business Suite 

How to turn on debug for Sun Cluster HA for Oracle E-Business Suite

Planning the Sun Cluster HA for Oracle E-Business Suite Installation and Configuration

This section contains the information you need to plan your Sun Cluster HA for Oracle E-Business Suite installation and configuration.

Configuration Restrictions

The configuration restrictions in the subsections that follow apply only to Sun Cluster HA for Oracle E-Business Suite.


Caution – Caution –

Your data service configuration might not be supported if you do not observe these restrictions.


Restriction for the supported configurations of Sun Cluster HA for Oracle E-Business Suite

The Sun Cluster HA for Oracle E-Business Suite data service can only be configured as a failover service.

Oracle E-Business Suite can be deployed in the global zone or non-global zone.

Oracle E-Business Suite is installed using rapidwiz onto a single-node, two-node or multi-node installation.

In a single-node installation, you install the Database, Web, Forms, Concurrent Manager, and Reports Server onto a single node.

In a two-node installation, one node contains the Database, Concurrent Manager and Reports server; and the other node contains the Forms and Web Server.

In a multi-node installation, you can specify any combination of up to five nodes to install the Database, Web, Forms, Concurrent Manager, and Reports Server.

Restriction for the location of Oracle E-Business Suite files

The Oracle E-Business Suite files are the data files that are created when you install Oracle E-Business Suite using the rapidwiz installer.

The Oracle E-Business Suite files must be placed on shared storage as either a cluster file system or a highly available local file system. The following tables show the mount points and acceptable file system types.

Mount Point 

Filesystem Type 

<dbname>DATA 

Cluster file system or highly available file system. 

<dbname>DB 

Local, cluster file system or highly available file system. 

<dbname>ORA 

Local, cluster file system or highly available file system. 

Mount Point 

Filesystem type 

<dbname>COMN_TOP 

Cluster file system or highly available file system. 

<dbname>APPL_TOP 

Cluster file system or highly available file system. 

<dbname>APPLCSF 

Cluster file system or highly available file system. 

Configuration Requirements

The configuration requirements in this section apply only to Sun Cluster HA for Oracle E-Business Suite.


Caution – Caution –

If your data service configuration does not conform to these requirements, the data service configuration might not be supported.


Determine which Solaris zone Oracle E-Business Suite will use

Solaris zones provides a means of creating virtualized operating system environments within an instance of the Solaris 10 OS. Solaris zones allow one or more applications to run in isolation from other activity on your system. For complete information about installing and configuring a Solaris Container, refer to System Administration Guide: Solaris Containers-Resource Management and Solaris Zones.

You must determine which Solaris zone Oracle E-Business Suite will use. Oracle E-Business Suite can run within a global zone or non-global zone configuration.

Installing and Configuring Oracle E-Business Suite

This section contains the procedures you need to install and configure Oracle E-Business Suite.

ProcedureHow to Install and Configure Oracle E-Business Suite

This section contains the procedures you need to install and configure Oracle E-Business Suite.

  1. On a cluster member, become superuser or assume a role that provides solaris.cluster.modify RBAC authorization.

  2. Determine which Solaris zone to use.

    Refer to Determine which Solaris zone Oracle E-Business Suite will use for more information.

  3. If a zone will be used, create the zone.

    Refer to System Administration Guide: Solaris Containers-Resource Management and Solaris Zones for complete information about installing and configuring a zone.

  4. If a zone is being used, ensure the zone is booted.

    Repeat this step on all nodes of the cluster if a zone is being used.

    Boot the zone if it is not running.


    # zoneadm list -v
    # zoneadm -z zonename boot
    
  5. Create a cluster file system or highly available local file system for the Oracle E-Business Suite files.

    Refer to Sun Cluster Software Installation Guide for Solaris OS for information about creating a cluster file system and to Sun Cluster Data Services Planning and Administration Guide for Solaris OS for information about creating a highly available local file system.

  6. Mount the highly available local file system.

    Perform this step from the global zone on one node of the cluster.

    1. If a non ZFS highly available local file system is being used for Oracle E-Business Suite.

      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
      
      1. If the global zone is being used for Oracle E-Business Suite.


        # mount highly-available-local-filesystem
        
      2. If a zone is being used for Oracle E-Business Suite.

        Create the mount point on all zones of the cluster that are being used for Oracle E-Business Suite.


        # zlogin zonename mkdir highly-available-local-filesystem
        

        Mount the highly available local file system on one of the zones being used.


        # mount -F lofs highly-available-local-filesystem \
        > /zonepath/root/highly-available-local-filesystem
        
    2. If a ZFS highly available local file system is being used for Oracle E-Business Suite.

      1. If the global zone is being used for Oracle E-Business Suite.


        # zpool import -R / HAZpool
        
      2. If a zone is being used for Oracle E-Business Suite.


        # zpool export -f HAZpool
        # zpool import -R /zonepath/root HAZpool
        
  7. Plumb the Oracle E-Business Suite logical hostname.

    Perform this step in the global zone on one node of the cluster for each logical hostname being used by Oracle E-Business Suite.

    1. If the global zone is being used for Oracle E-Business Suite.


      # ifconfig interface addif logical-hostname up
      
    2. If a zone is being used for Oracle E-Business Suite.


      # ifconfig interface addif logical-hostname up zone zonename
      
  8. Enable logical host interpositioning.

    Perform this step on all cluster nodes where Oracle E-Business Suite will run.

    To provide logical host interpositioning for Oracle E-Business Suite you must create a symbolic link from

    /usr/lib/secure/libschost.so.1 to /usr/cluster/lib/libschost.so.1

    On all cluster nodes where Oracle E-Business Suite will run.


    # cp /usr/cluster/lib/libschost.so.1 /usr/lib/libschost.so.1
    # cd /usr/lib/secure
    # ln -s /usr/lib/libschost.so.1 libschost.so.1
    
  9. Install the Oracle E-Business Suite software.

    Perform this step in the global zone or zone on one node of the cluster.

    1. As root, execute rapidwiz.

      When running rapidwiz you must enter the logical hostname as the node name for the Database, Administration, Concurrent Manager, Forms and Web Server. If you are performing a two node or multi node installation you must specify the appropriate logical hostname as the appropriate node for the Database, Administration, Concurrent Manager, Forms and Web Server.

      When executing rapidwiz save the config.txt file in a permanent location, for example /var/tmp/config.txt. This will be required for the next step.


      # cd oracle-ebusiness-suite-install-directory
      # ./rapidwiz
       
      
    2. As root, execute rapidwiz for each logical hostname.

      Executing rapidwiz for each logical hostname that you entered when generating /var/tmp/config.txt.


      # cd oracle-ebusiness-suite-install-directory
      # ./rapidwiz -servername logical-hostname
       
      
  10. (Optional) Resolving validation error JSP is not responding, waiting 15 seconds and retesting.

    If after installing the Web Server, you encounter the validation error JSP is not responding, waiting 15 seconds and retesting, leave the rapidwiz GUI and follow the steps below to resolve the validation error. Afterwards you must return to the rapidwiz GUI to retry the validation.

    1. Edit httpd_pls.conf.

      Edit httpd_pls.conf and add the following entries for each physical cluster nodes within the <VirtualHost _default_:*> section.


      Allow from cluster-node
      Allow from cluster-node.fqdn
      

      # su - oraapp-user
      $ cd base-directory/sidora/iAS/Apache/Apache/conf
      $ vi httpd_pls.conf
      $ exit
      

      The following example shows logical hostname lhost1 and the cluster nodes clnode1 and clnode2 that have been added.


      <VirtualHost _default_:*>
        <Location />
          Order deny,allow
          Deny from all
          Allow from localhost
          Allow from lhost1
          Allow from lhost1.example.com
          Allow from clnode1
          Allow from clnode1.example.com
          Allow from clnode2
          Allow from clnode2.example.com
        </Location>
      </VirtualHost>
    2. Edit oprocmgr.conf.

      Edit oprocmgr.conf and add the following entries for each physical cluster nodes within the VirtualHost _default_:8100 section.


      Allow from cluster-node
      Allow from cluster-node.fqdn
      

      # su - oraapp-user
      $ cd base-directory/sidora/iAS/Apache/Apache/conf
      $ vi oprocmgr.conf
      $ exit
      

      The following example shows logical hostname lhost1 and the cluster nodes clnode1 and clnode2 that have been added.


      <IfModule mod_oprocmgr.c>
         Listen 8000
         ProcNode lhost1.example.com 8100
      
        <VirtualHost _default_:8100>
      <IfDefine SSL>
           SSLEngine off
      </IfDefine>
           Port 8100
           <Location />
             Order Deny,Allow
             Deny from all
             Allow from localhost
             Allow from lhost1
             Allow from lhost1.example.com
             Allow from clnode1
             Allow from clnode1.example.com
             Allow from clnode2
             Allow from clnode2.example.com
           </Location>/base-directory/sidappl/admin/SID_lhost1.xml
           <Location /oprocmgr-service>
             SetHandler oprocmgr-service
           </Location>
           <Location /oprocmgr-status>
             SetHandler oprocmgr-status
           </Location>
         </VirtualHost>
      </IfModule>
    3. Edit jserv.properties.

      Edit jserv.properties and add the following entries for all physical cluster nodes within the security.allowedAddresses entry.


      security.allowedAddresses=127.0.0.1,lhost.fqdn,clnode1.fqdn,clnode2.fqdn
      

      # su - oraapp-user
      $ cd base-directory/sidora/iAS/Apache/Jserv/etc
      $ vi jserv.properties
      $ exit
      

      The following example shows logical hostname lhost1 and the cluster nodes clnode1 and clnode2 that have been added.


      security.allowedAddresses=127.0.0.1,lhost1.example.com,clnode1.example.com,clnode2.example.com
      
    4. Restart Oracle E-Business Suite.


      # su - oraapp-user
      $ cd base-directory/sidcomn/admin/scripts/SID_logical-hostname
      $ ./adstpall.sh apps/apps
      $ exit
      # su - oradb-user
      $ cd base-directory/siddb/9.2.0/appsutil/scripts/SID_logical-hostname
      $ ./addlnctl.sh stop SID
      $ ./addbctl.sh stop immediate
      $ ./addbctl.sh start
      $ ./addlnctl.sh start SID
      $ exit
      # su - oraapp-user
      $ cd base-directory/sidcomn/admin/scripts/SID_logical-hostname
      $ ./adstrtal.sh apps/apps
      $ exit
      
    5. Return to the rapidwiz GUI.

      Return to the rapidwiz GUI and click Retry. The JSP check should now work.

  11. Post Oracle E-Business Suite Installation, edit listener.ora.

    Perform this step from the global zone or zone where you installed Oracle E-Business Suite.

    Edit listener.ora and add the following entries to the envs= parameter for the SID_NAME=FNDSM entry.


    envs='LD_LIBRARY_PATH=/usr/dt/lib:/user/openwin/lib:<basedir>/<sid>ora/8.0.6/lib, \
    LD_PRELOAD_32=/usr/lib/secure/libschost.so.1,SC_LHOSTNAME=lhost,MYAPPSORA=...
    

    # su - oraapp-user
    $ cd base-directory/sidora/8.0.6/network/admin/SID_logical-hostname
    $ vi listener.ora
    

    The following example shows the LD_PRELOAD_32 and SC_LHOSTNAME entries that have been added.


    SID_LIST_APPS_PROD =
      (SID_LIST =
       ( SID_DESC = ( SID_NAME = FNDSM )
          ( ORACLE_HOME = /base-directory/sidora/8.0.6 )
          ( PROGRAM = /base-directory/sidappl/fnd/11.5.0/bin/FNDSM )
          ( envs='LD_LIBRARY_PATH=/usr/dt/lib:/user/openwin/lib:<basedir>/<sid>ora/8.0.6 \
    /lib,LD_PRELOAD_32=/usr/lib/secure/libschost.so.1,SC_LHOSTNAME=lhost1,MYAPPS=
  12. Stop Oracle E-Business Suite.

    Perform this step from the global zone or zone where you installed Oracle E-Business Suite.


    # su - oraapp-user
    $ cd base-directory/sidcomn/admin/scripts/SID_logical-hostname
    $ ./adstpall.sh apps/apps
    $ exit
    # su - oradb-user
    $ cd base-directory/siddb/9.2.0/appsutil/scripts/SID_logical-hostname
    $ ./addlnctl.sh stop SID
    $ ./addbctl.sh stop immediate
    
  13. Unmount the highly available local file system.

    Perform this step from the global zone on the node where you installed Oracle E-Business Suite.

    1. If a non ZFS highly available local file system is being used for the Oracle E-Business Suite.

      1. If the global zone is being used for Oracle E-Business Suite.


        # umount highly-available-local-filesystem
        
      2. If a zone is being used for Oracle E-Business Suite.


        # umount /zonepath/root/highly-available-local-filesystem
        
    2. If a ZFS highly available local file system is being used for Oracle E-Business Suite.


      # zpool export -f HAZpool
      
  14. Unplumb the Oracle E-Business Suite logical hostname.

    Perform this step from the global zone on one node of the cluster for each logical hostname being used by Oracle E-Business Suite.


    # ifconfig interface removeif logical-hostname
    

Verifying the Installation and Configuration of Oracle E-Business Suite

This section contains the procedure you need to verify the installation and configuration.

ProcedureHow to Verify the Installation and Configuration of Oracle E-Business Suite

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.

  1. On a cluster member, become superuser or assume a role that provides solaris.cluster.modify RBAC authorization.

  2. If a zone is being used for Oracle E-Business Suite, 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
    
  3. Mount the highly available local file system.

    Perform this step from the global zone on one node of the cluster.

    1. If a non ZFS highly available local file system is being used for the Oracle E-Business Suite 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
      
      1. If the global zone is being used for Oracle E-Business Suite.


        # mount highly-available-local-filesystem
        
      2. If a zone is being used for Oracle E-Business Suite.

        Mount the highly available local file system on one of the zones being used .


        # mount -F lofs highly-available-local-filesystem \
        > /zonepath/root/highly-available-local-filesystem
        
    2. If a ZFS highly available file system is being used for Oracle E-Business Suite.

      1. If the global zone is being used for Oracle E-Business Suite.


        # zpool import -R / HAZpool
        
      2. If a zone is being used for Oracle E-Business Suite.


        # zpool import -R /zonepath/root HAZpool
        
  4. Plumb the Oracle E-Business Suite logical hostname.

    Perform this step for each logical hostname being used by Oracle E-Business Suite.

    1. If the global zone is being used for Oracle E-Business Suite.


      #  ifconfig interface addif logical-hostname up
      
    2. If a zone is being used for Oracle E-Business Suite.


      #  ifconfig interface addif logical-hostname up zone zonename
      
  5. Login to the zone, if a zone is being used.


    # zlogin zonename
    
  6. Start Oracle E-Business Suite.


    # su - oradb-user
    $ cd base-directory/siddb/9.2.0/appsutil/scripts/SID_logical-hostname
    $ ./addbctl.sh start
    $ ./addlnctl.sh start SID
    $ exit
    # su - oraapp-user
    $ cd base-directory/sidcomn/admin/scripts/SID_logical-hostname
    $ ./adstrtal.sh apps/apps
    $ exit
    
  7. Test that a client can access Oracle E-Business Suite, using a Windows Client.

    The following URL has been placed onto two separate lines to fit the documentation.


    http://logical-hostname:8000/OA_HTML/jsp/fnd/fndhelp.jsp?dbc= \
    /base-directory/sidappl/fnd/11.5.0/secure/logical-hostname_sid.dbc
    

    Login with Userid/Password sysadmin/sysadmin
    Click System Admin
    Then double click on Requests
    Then double click on Run
    Select OK to "Single requests"
    Enter Active users in the name field
    Select OK to submit the request
    Click Refresh Data until "Active Users" is "Completed"
    Click View output
    
  8. Stop Oracle E-Business Suite.


    # su - oraapp-user
    $ cd base-directory/sidcomn/admin/scripts/SID_logical-hostname
    $ ./adstpall.sh apps/apps
    $ exit
    # su - oradb-user
    $ cd base-directory/siddb/9.2.0/appsutil/scripts/SID_logical-hostname
    $ ./addlnctl.sh stop SID
    $ ./addbctl.sh stop immediate
    $ exit
    
  9. Logout from the zone, if a zone is being used.


    # exit
    
  10. Unmount the highly available local file system.

    Perform this step in the global zone only.

    1. If a non ZFS highly available local file system is being used for Oracle E-Business Suite.

      1. If the global zone is being used for Oracle E-Business Suite.


        # umount highly-available-local-filesystem
        
      2. If a zone is being used for Oracle E-Business Suite.

        Unmount the highly available local file system from the zone.


        # umount /zonepath/root/highly-available-local-filesystem
        
    2. If a ZFS highly available file system is being used for Oracle E-Business Suite.


      # zpool export -f HAZpool
      
  11. Unplumb the Infrastructure logical IP address.

    Perform this step for each logical hostname being used by Oracle E-Business Suite.


    # ifconfig interface removeif logical-hostname
    
  12. Relocate the shared storage to another node and mount the highly available local file system.

    Perform this step on another node of the cluster.

    1. If a non ZFS highly available local file system is being used for the Oracle E-Business Suite 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
      
      1. If the global zone is being used for Oracle E-Business Suite.


        # mount highly-available-local-filesystem
        
      2. If a zone is being used for Oracle E-Business Suite.

        Mount the highly available local file system on one of the zones being used .


        # mount -F lofs highly-available-local-filesystem \
        > /zonepath/root/highly-available-local-filesystem
        
    2. If a ZFS highly available file system is being used for Oracle E-Business Suite.

      1. If the global zone is being used for Oracle E-Business Suite.


        # zpool import -R / HAZpool
        
      2. If a zone is being used for Oracle E-Business Suite.


        # zpool import -R /zonepath/root HAZpool
        
  13. Plumb the Oracle E-Business Suite logical hostname.

    Perform this step on another node of the cluster for each logical hostname being used by Oracle E-Business Suite.

    1. If the global zone is being used for Oracle E-Business Suite.


      # ifconfig interface addif logical-hostname up
      
    2. If a zone is being used for Oracle E-Business Suite.


      # ifconfig interface addif logical-hostname up zone zonename
      
  14. Login to the zone, if a zone is being used.


    # zlogin zonename
    
  15. Start Oracle E-Business Suite.


    # su - oradb-user
    $ cd base-directory/siddb/9.2.0/appsutil/scripts/SID_logical-hostname
    $ ./addbctl.sh start
    $ ./addlnctl.sh start SID
    $ exit
    # su - oraapp-user
    $ cd base-directory/sidcomn/admin/scripts/SID_logical-hostname
    $ ./adstrtal.sh apps/apps
    $ exit
    
  16. Test that a client can access Oracle E-Business Suite, using a Windows Client.

    The following URL has been placed onto two separate lines to fit the documentation.


    http://logical-hostname:8000/OA_HTML/jsp/fnd/fndhelp.jsp?dbc= \
    /base-directory/sidappl/fnd/11.5.0/secure/logical-hostname_sid.dbc
    

    Login with Userid/Password sysadmin/sysadmin
    Click System Admin
    Then double click on Requests
    Then double click on Run
    Select OK to "Single requests"
    Enter Active users in the name field
    Select OK to submit the request
    Click Refresh Data until "Active Users" is "Completed"
    Click View output
    
  17. Stop Oracle E-Business Suite.


    # su - oraapp-user
    $ cd base-directory/sidcomn/admin/scripts/SID_logical-hostname
    $ ./adstpall.sh apps/apps
    $ exit
    # su - oradb-user
    $ cd base-directory/siddb/9.2.0/appsutil/scripts/SID_logical-hostname
    $ ./addlnctl.sh stop SID
    $ ./addbctl.sh stop immediate
    $ exit
    
  18. Logout from the zone, if a zone is being used.


    # exit
    
  19. Unmount the highly available local file system.

    Perform this step in the global zone only.

    1. If a non ZFS highly available local file system is being used for Oracle E-Business Suite.

      1. If the global zone is being used for Oracle E-Business Suite.


        # umount highly-available-local-filesystem
        
      2. If a zone is being used for Oracle E-Business Suite.

        Unmount the highly available local file system from the zone.


        # umount /zonepath/root/highly-available-local-filesystem
        
    2. If a ZFS highly available file system is being used for Oracle E-Business Suite.


      # zpool export -f HAZpool
      
  20. Unplumb the Oracle E-Business Suite logical hostname.

    Perform this step for each logical hostname being used by Oracle E-Business Suite.


    # ifconfig interface removeif logical hostname
    

Installing the Sun Cluster HA for Oracle E-Business Suite Packages

If you did not install the Sun Cluster HA for Oracle E-Business Suite packages during your initial Sun Cluster installation, perform this procedure to install the packages. To install the packages, use the Sun JavaTM Enterprise System Installation Wizard.

ProcedureHow to Install the Sun Cluster HA for Oracle E-Business Suite Packages

Perform this procedure on each cluster node where you are installing the Sun Cluster HA for Oracle E-Business Suite packages.

You can run the Sun Java Enterprise System Installation Wizard with a command-line interface (CLI) or with a graphical user interface (GUI). The content and sequence of instructions in the CLI and the GUI are similar.


Note –

Even if you plan to configure this data service to run in non-global zones, install the packages for this data service in the global zone. The packages are propagated to any existing non-global zones and to any non-global zones that are created after you install the packages.


Before You Begin

Ensure that you have the Sun Java Availability Suite DVD-ROM.

If you intend to run the Sun Java Enterprise System Installation Wizard with a GUI, ensure that your DISPLAY environment variable is set.

  1. On the cluster node where you are installing the data service packages, become superuser.

  2. Load the Sun Java Availability Suite DVD-ROM into the DVD-ROM drive.

    If the Volume Management daemon vold(1M) is running and configured to manage DVD-ROM devices, the daemon automatically mounts the DVD-ROM on the /cdrom directory.

  3. Change to the Sun Java Enterprise System Installation Wizard directory of the DVD-ROM.

    • If you are installing the data service packages on the SPARC® platform, type the following command:


      # cd /cdrom/cdrom0/Solaris_sparc
      
    • If you are installing the data service packages on the x86 platform, type the following command:


      # cd /cdrom/cdrom0/Solaris_x86
      
  4. Start the Sun Java Enterprise System Installation Wizard.


    # ./installer
    
  5. When you are prompted, accept the license agreement.

    If any Sun Java Enterprise System components are installed, you are prompted to select whether to upgrade the components or install new software.

  6. From the list of Sun Cluster agents under Availability Services, select the data service for Oracle E-Business Suite.

  7. If you require support for languages other than English, select the option to install multilingual packages.

    English language support is always installed.

  8. When prompted whether to configure the data service now or later, choose Configure Later.

    Choose Configure Later to perform the configuration after the installation.

  9. Follow the instructions on the screen to install the data service packages on the node.

    The Sun Java Enterprise System Installation Wizard displays the status of the installation. When the installation is complete, the wizard displays an installation summary and the installation logs.

  10. (GUI only) If you do not want to register the product and receive product updates, deselect the Product Registration option.

    The Product Registration option is not available with the CLI. If you are running the Sun Java Enterprise System Installation Wizard with the CLI, omit this step

  11. Exit the Sun Java Enterprise System Installation Wizard.

  12. Unload the Sun Java Availability Suite DVD-ROM from the DVD-ROM drive.

    1. To ensure that the DVD-ROM is not being used, change to a directory that does not reside on the DVD-ROM.

    2. Eject the DVD-ROM.


      # eject cdrom
      
Next Steps

See Registering and Configuring Sun Cluster HA for Oracle E-Business Suite to register Sun Cluster HA for Oracle E-Business Suite and to configure the cluster for the data service.

Registering and Configuring Sun Cluster HA for Oracle E-Business Suite

This section contains the procedures you need to configure Sun Cluster HA for Oracle E-Business Suite.

Some procedures within this section require you to use certain Sun Cluster commands. Refer to the relevant Sun Cluster command man page for more information about these command and their parameters.

The Sun Cluster HA for Oracle E-Business Suite data service

ProcedureHow to Register and Configure Sun Cluster HA for Oracle E-Business Suite

Perform this procedure on one node of the cluster only.

This procedure assumes that you installed the data service packages during your initial Sun Cluster installation.

If you did not install the Sun Cluster HA for Oracle E-Business Suite packages as part of your initial Sun Cluster installation, go to How to Install the Sun Cluster HA for Oracle E-Business Suite Packages.

  1. On a cluster member, become superuser or assume a role that provides solaris.cluster.modify RBAC authorization.

  2. Register the following resource types.


    # clresourcetype register SUNW.HAStoragePlus
    # clresourcetype register SUNW.gds
    
  3. Create a failover resource group for Oracle E-Business Suite.


    # clresourcegroup create -n nodelist oracle-ebusiness-suite-resource-group
    
  4. Create a resource for the Oracle E-Business Suite Logical Hostname.


    # clreslogicalhostname create -g oracle-ebusiness-suite-resource-group \
    > -h logical-hostname \
    > logical-hostname-resource
    
  5. Create a resource for the Oracle E-Business Suite Disk Storage.

    1. If a ZFS highly available local file system is being used.


      # clresource create -g oracle-ebusiness-suite-resource-group \
      > -t SUNW.HAStoragePlus \
      > -p Zpools=oracle-ebusiness-suite-zspool \
      > oracle-ebusiness-suite-hastorage-resource
      
    2. If a cluster file system or a non ZFS highly available local file system is being used.


      # clresource create -g oracle-ebusiness-suite-resource-group \
      > -t SUNW.HAStoragePlus \
      > -p FilesystemMountPoints=oracle-ebusiness-suite-filesystem-mountpoint \
      > oracle-ebusiness-suite-hastorage-resource
      
  6. Enable the Resource Group.


    # clresourcegroup enable -M oracle-ebusiness-suite-resource-group
    
  7. Register and enable a resource for the Oracle Database.

    For complete information about creating and registering a cluster resource for the Oracle Database, refer to Sun Cluster Data Service for Oracle Guide for Solaris OS.


    # clresource create -g oracle-ebusiness-suite-resource-group \
    > -t SUNW.oracle_Server \
    > -p Connect_string=apps/apps \
    > -p ORACLE_SID=SID \
    > -p ORACLE_HOME=base-directory/siddb/9.2.0 \
    > -p Alert_log_file=base-directory/siddb/9.2.0/admin/SID_lhost/bdump/alert_SID.log \
    > -p Restart_type=RESOUCRE_GROUP_RESTART \
    > -p Resource_dependencies=oracle-ebusiness-suite-hastorage-resource \
    > oracle-resource
    # clresource enable oracle-resource
    
  8. Register and enable a resource for the Oracle Listener.

    For complete information about creating and registering a cluster resource for the Oracle Listener, refer to Sun Cluster Data Service for Oracle Guide for Solaris OS.


    Note –

    The copy_env script is used to copy and format the sid.env to sid_ha.env, which is used by the User_env= parameter below.



    # cd /opt/SUNWscebs/cmg/util
    # ./copy_env base-directory/siddb/9.2.0 SID_lhost 
    # clresource create -g oracle-ebusiness-suite-resource-group \
    > -t SUNW.oracle_listener \
    > -p Listener_name=SID \
    > -p ORACLE_HOME=base-directory/siddb/9.2.0 \
    > -p User_env=base-directory/siddb/9.2.0/SID_logical-hostname_ha.env \
    > -p Resource_dependencies=oracle-ebusiness-suite-hastorage-resource \
    > listener-resource
    # clresource enable listener-resource
    
  9. Create and register a resource for the Concurrent Manager Listener.


    Note –

    The copy_env script is used to copy and format the sid.env to sid_ha.env, which is used by the User_env= parameter below.



    # cd /opt/SUNWscebs/cmg/util
    # ./copy_env base-directory/sidora/8.0.6 SID_logical-hostname 
    # cd base-directory/sidora/8.0.6/bin
    # ls oracle
    

    If there is no entry for oraclethen create a dummy entry.


    # echo "Required for SC cmg Listener resource" > oracle
    # ./copy_env base-directory/sidora/8.0.6 SID_logical-hostname 
    # ls base-directory/sidora/8.0.6/bin/oracle
    # clresource create -g oracle-ebusiness-suite-resource-group \
    > -t SUNW.oracle_listener \
    > -p Listener_name=APPS_SID \
    > -p ORACLE_HOME=base-directory/sidora/8.0.6 \
    > -p User_env=base-directory/sidora/8.0.6/SID_lhost_ha.env \
    > -p Resource_dependencies=oracle-ebusiness-suite-hastorage-resource \
    > concurrent-manager-listener-resource
    # clresource enable concurrent-manager-listener-resource
    
  10. Create and register a resource for the Concurrent Manager.

    Edit /opt/SUNWscebs/cmg/util/cmg_config and follow the comments within that file. After you have edited cmg_config, you must register the resource.


    # cd /opt/SUNWscebs/cmg/util
    # vi cmg_config
    # ./cmg_register
    

    The following example shows cmg_config that has been edited.


    RS=oebs-cmg
    RG=oebs-rg
    LH=oebs-lh
    HAS_RS=oebs-has
    LSR_RS=oebs-cmglsr
    VERSION=11.5.10
    COMNTOP=base-directory/sidcomn
    APPSUSER=oraapp-user
    APP_SID=SID
    APPS_PASSWD=apps
    ORACLE_HOME=base-directory/sidora/8.0.6
    CON_LIMIT=70
    MODE=32/Y
    #
    # Required for Oracle E-Business Suite version 11.5.10 CU2 or later
    #
    ORASVR_RS=oebs1-orasvr
    ORALSR_RS=oebs1-oralsr
    
  11. Create and register a resource for the Forms Server.

    Edit /opt/SUNWscebs/frm/util/frm_config and follow the comments within that file. After you have edited frm_config, you must register the resource.


    # cd /opt/SUNWscebs/frm/util
    # vi frm_config
    # ./frm_register
    

    The following example shows frm_config that has been edited.


    RS=oebs-frm
    RG=oebs
    LH=oebs-lh
    HAS_RS=oebs-has
    COMNTOP=base-directory/sidcomn
    APPSUSER=oraapp-user
    APP_SID=SID
    VERSION=11.5.10
    
  12. Create and register a resource for the Reports Server.

    Edit /opt/SUNWscebs/rep/util/rep_config and follow the comments within that file. After you have edited rep_config, you must register the resource.


    # cd /opt/SUNWscebs/rep/util
    # vi rep_config
    # ./rep_register
    

    The following example shows rep_config that has been edited.


    RS=oebs-rep
    RG=oebs
    LH=oebs-lh
    HAS_RS=oebs-has
    COMNTOP=base-directory/sidcomn
    APPSUSER=oraapp-user
    APP_SID=SID
    VERSION=11.5.10
    
  13. (Optional) Create and register a resource for the Web Server.


    # cd base-directory/sidcomn/admin/scripts/SID_logical-hostname
    # ln -s adapcctl.sh apachectl
    

    Edit adapcctl.sh and modify the "$control_code" test to add -a "$control_code" != "configtest".


    # vi adapcctl.sh
    

    The following output shows an amended adapcctl.sh.


    	Note: The output has been realigned to fit the page
    
     	Find control_code (/control_code)
    
    	Modify
    	------ 
    
    control_code="$1"
    
    if test "$control_code" != "start" -a "$control_code" != "stop" \
       -a "$control_code" != "status" ; then
       printf "\n$program: You must either specify \
    			   'start', 'stop', 'status'\n\n"
       printf "\n$program: You must either specify \
    		      'start', 'stop', 'status'\n\n" >> $LOGFILE
       exit 1;
    fi
    
    	To (Note: We've simply added a test to allow "configtest"
    	---------------------------------------------------------
    
    control_code="$1"
    
    if test "$control_code" != "start" -a "$control_code" != "stop" \
       -a "$control_code" != "status" \
    				-a "$control_code" != "configtest" ; then      
       printf "\n$program: You must either specify \
    				'start', 'stop', 'status'\n\n"
       printf "\n$program: You must either specify \
    				'start', 'stop', 'status'\n\n" >> $LOGFILE
       exit 1;
    fi

    # clresource create -g oracle-ebusiness-suite-resource-group \
    > -t SUNW.apache \
    > -p Port_list=8000/tmpSID \
    > -p Bin_dir=base-directory/sidcomn/admin/scripts/SID_logical-hostname \
    > -p Resource_dependencies=oracle-ebusiness-suite-hastorage-resource \
    > apache-resource
    
  14. Enable the Oracle E-Business Suite resources.


    # clresource enable -g oracle-ebusiness-suite-resource-group +
    

Verifying the Sun Cluster HA for Oracle E-Business Suite Installation and Configuration

This section contains the procedure you need to verify that you installed and configured your data service correctly.

ProcedureHow to Verify the Sun Cluster HA for Oracle E-Business Suite Installation and Configuration

  1. On a cluster member, become superuser or assume a role that provides solaris.cluster.modify RBAC authorization.

  2. Ensure all the Oracle E-Business Suite resources are online.


    # cluster status 
    

    Enable any Oracle E-Business Suite resources that are not online.


    # clresource enable oracle-ebusiness-suite-resource
    
  3. Switch the Oracle E-Business Suite resource group to another cluster node or node:zone.


    # clresourcegroup switch -n node[:zone] oracle-ebusiness-suite-resource-group
    

Upgrading Sun Cluster HA for Oracle E-Business Suite

Upgrade the Sun Cluster HA for Oracle E-Business Suite data service if the following conditions apply:

ProcedureHow to Upgrade to the New Version of Sun Cluster HA for Oracle E-Business Suite

You must perform all the steps within this procedure.


Note –

Before performing this procedure you should consider if your current Oracle E-Business Suite resources have been modified to have specific timeout values that suit your deployment. If timeout values were previously adjusted you should reapply those timeout values to your new Oracle E-Business Suite resources.


  1. On a cluster member, become superuser or assume a role that provides solaris.cluster.modify RBAC authorization.

  2. Disable the Oracle E-Business Suite resources.


    # clresource disable oracle-ebusiness-suite-resource
    
  3. Install the new version of Sun Cluster HA for Oracle E-Business Suite to each cluster.

    Refer to How to Install the Sun Cluster HA for Oracle E-Business Suite Packages for more information.

  4. Delete the Oracle E-Business Suite resources.


    # clresource delete oracle-ebusiness-suite-resource
    
  5. Upgrade the logical hostname interpositioning.


    Note –

    You must repeat the steps below as the logical host interpositioning filename and variable names have changed. You will be changing the following:

    LHOSTNAME to SC_LHOSTNAME.

    libloghost_32.so.1 to libschost.so.1.


    The following steps to be repeated are from How to Install and Configure Oracle E-Business Suite.

    1. Enable logical host interpositioning by repeating Step 8 .

    2. Edit listener.ora by repeating Step 11.

  6. Reregister the Oracle E-Business Suite resources.

    Refer to How to Register and Configure Sun Cluster HA for Oracle E-Business Suite for more information.

  7. Enable the Oracle E-Business Suite resources


    # clresource enable oracle-ebusiness-suite-resource
    

Understanding the Sun Cluster HA for Oracle E-Business Suite Fault Monitor

This section describes the Sun Cluster HA for Oracle E-Business Suite fault monitor probing algorithm or functionality, states the conditions, and recovery actions associated with unsuccessful probing.

For conceptual information on fault monitors, see the Sun Cluster Concepts Guide.

Resource Properties

The Sun Cluster HA for Oracle E-Business Suite fault monitor uses the same resource properties as resource type SUNW.gds. Refer to the SUNW.gds(5) man page for a complete list of resource properties used.

Probing Algorithm and Functionality

The Sun Cluster HA for Oracle E-Business Suite fault monitor is controlled by the extension properties that control the probing frequency. The default values of these properties determine the preset behavior of the fault monitor. The preset behavior should be suitable for most Sun Cluster installations. Therefore, you should tune the Sun Cluster HA for Oracle E-Business Suite fault monitor only if you need to modify this preset behavior.

The Sun Cluster HA for Oracle E-Business Suite fault monitor performs a check within an infinite loop. During each cycle the fault monitor will check the relevant component and report either a failure or success.

If the fault monitor is successful it returns to its infinite loop and continues the next cycle of probing and sleeping.

If the fault monitor reports a failure a request is made to the cluster to restart the resource. If the fault monitor reports another failure another request is made to the cluster to restart the resource. This behavior will continue whenever the fault monitor reports a failure.

If successive restarts exceed the Retry_count within the Thorough_probe_interval a request to failover the resource group onto a different node or zone is made.

Concurrent Manager Probe

Forms Server Probe

Test whether the f60srvm process is running. If f60srvm is found, then test whether f60webmx process is running. If f60webmx is not found, then the probe will retest after another iteration of the probe to determine whether f60webmx is still missing, because f60srvm usually restarts f60webmx. If after two successive probes, f60webmx is still missing or f60srvm is not found on any probe, then the probe will restart the Forms Server resource.

Reports Server Probe

Test whether rwmts60 process is running for REP_APPSUSER. If this fails, then the probe will restart the Forms Server resource.

Debug Sun Cluster HA for Oracle E-Business Suite

ProcedureHow to turn on debug for Sun Cluster HA for Oracle E-Business Suite

Sun Cluster HA for Oracle E-Business Suite can be used by multiple Oracle E-Business Suite instances. It is possible to turn debug on for all Oracle E-Business Suite instances or a particular Oracle E-Business Suite instance.

/opt/SUNWscebs/xxx/etc/config allows you to turn on debug for all Oracle E-Business Suite instances or for a specific Oracle E-Business Suite instance on a particular node or zone within the cluster. If you require debug to be turned on for Sun Cluster HA for Oracle E-Business Suite across the whole cluster, repeat this step on all nodes within the cluster.

  1. Edit /etc/syslog.conf and change daemon.notice to daemon.debug.


    # grep daemon /etc/syslog.conf
    *.err;kern.debug;daemon.notice;mail.crit        /var/adm/messages
    *.alert;kern.err;daemon.err                     operator
    #

    Change the daemon.notice to daemon.debug and restart syslogd. Note that the output below, from grep daemon /etc/syslog.conf, shows that daemon.debug has been set.


    # grep daemon /etc/syslog.conf
    *.err;kern.debug;daemon.debug;mail.crit        /var/adm/messages
    *.alert;kern.err;daemon.err                    operator

    Restart the syslog daemon.

    1. If running Solaris 9


      # pkill -1 syslogd
      
    2. If running Solaris 10


      # svcadm disable system-log
      # svcadm enable system-log
      
  2. Edit /opt/SUNWscebs/cmg/etc/config.

    Perform this step for each component that requires debug output, on each node of Sun Cluster as required.

    Edit /opt/SUNWscebs/cmg/etc/config and change DEBUG= to DEBUG=ALL or DEBUG=sun-cluster-resource.


    # cat /opt/SUNWscebs/cmg/etc/config
    #
    # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
    # Use is subject to license terms.
    #
    # ident "@(#)config     1.1     06/03/06 SMI"
    #
    # Usage:
    #       DEBUG=<RESOURCE_NAME> or ALL
    #
    DEBUG=ALL

    Note –

    To turn off debug, reverse the steps above.