Skip Headers
Oracle® Fusion Applications Enterprise Deployment Guide
11g Release 1 (11.1.1.5)

Part Number E16684-02
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

9 Scaling Out the Oracle Fusion Human Capital Management Domain

This chapter describes how to scale out the Oracle Fusion Human Capital Management domain.

This chapter includes the following topics:

9.1 Overview of the Oracle Fusion Human Capital Management Domain

The Oracle Fusion Human Capital Management domain provides the user-management flow needed to create a user, which is executed via Oracle Fusion Human Capital Management/Oracle Identity Management integration. The flow is available as part of Customer Data Management.

Figure 9-1 shows the Oracle Fusion Human Capital Management domain within the overall reference enterprise deployment topology for Oracle Fusion Applications.

Figure 9-1 Reference Topology for the Oracle Fusion Human Capital Management Domain

Ref. Topology: Human Capital Mgmt. Domain

9.2 Prerequisites for Scaling Out the Oracle Fusion Human Capital Management Domain

Before you begin, ensure the following:

9.3 Adding a New Machine in the Oracle WebLogic Server Console

To add a new machine:

  1. Log in to the Administration Server: http://hcminternal.mycompany.com:7777/console.

  2. Navigate to HCMDomain > Environment > Machines.

    LocalMachine is located in the right-hand pane.

  3. In the left-hand pane, click Lock & Edit.

  4. In the right-hand pane, first click New to add the remote machine, and then specify the following:

    • Name - enter CRMHOST2

    • Machine operating system - Unix

  5. Click Next.

  6. In the window that opens, set the following attributes:

    • Type - SSL

    • Listen Address - <CRMHOST2>

      Note:

      The "localhost" default value here is wrong.
    • Listen port - 5556

  7. Click Finish and activate the changes.

    Note:

    If you get an error when activating the changes, see Section 18.8.18, "Administration Console Redirects from Internal URL to Container URL after Activation" for the temporary solution.

9.4 Packing and Unpacking the Managed Server Domain Home

Since the CRMHOST1 domain directory file system is also available from CRMHOST2, both pack and unpack commands can be executed from CRMHOST2.

  1. Do the following:

    1. Change directory to ORACLE_BASE/products/fusionapps/oracle_common/common/bin.

    2. Run the pack command:

      CRMHOST2> ./pack.sh -managed=true -domain=ORACLE_BASE/config/domains/CRMHOST1/HCMDomain -template=ORACLE_BASE/user_templates/
      HCMDomain_managed.jar -template_name="HCM_Managed_Server_Domain" 
      
  2. Ensure that /u02/local/oracle/config/domains/CRMHOST2/HCMDomain is empty, and then run the unpack command:

    CRMHOST2> ./unpack.sh -domain=/u02/local/oracle/config/domains/
    CRMHOST2/HCMDomain -template=ORACLE_BASE/user_templates/HCMDomain_managed.jar
    

    Here, ORACLE_BASE is shared, and /u02/local is local to CRMHOST2.

9.5 Cloning Managed Servers and Assigning Them to CRMHOST2

To add a managed server and assign it to CRMHOST2:

  1. Log in to the Administration Server: http://hcminternal.mycompany.com:7777/console

  2. Navigate to HCMDomain > Environment > Servers.

  3. Switch to Lock & Edit mode.

  4. Select the Managed_Servers checkbox (for example, CoreSetupServer_1) and then click Clone.

  5. Specify the following Server Identity attributes:

    • Server Name - CoreSetupServer_2

      Note:

      To ensure consistency in naming, copy the name of the server shown in Server Identity and paste it into the Server Name field. Then change the number to "_2".
    • Server Listen Address - <CRMHOST2>

    • Server Listen Port - leave "as is"

  6. Click OK.

    You now should see the newly cloned sales server, CoreSetupServer_2.

  7. Click CoreSetupServer_2 and change the following attributes:

    • Machine - <CRMHOST2>

    • Cluster Name - Default, CoreSetupCluster

  8. Click Save and then Activate Changes.

  9. From the Name column, click the CoreSetupServer_2 scaled-out server link.

  10. Click Lock & Edit, and then choose the Keystores tab.

  11. Ensure that the keystores value is Custom Identity and Custom Trust.

  12. Do the following:

    1. Change the Custom Identity Keystore path to point to the ORACLE_BASE/products/fusionapps/wlserver_10.3/server/lib/CRMHOST2_fusion_identity.jks file.

    2. Leave the Custom Identity Keystore type blank.

    3. Change the Custom Identity Keystore Passphrase entry. This should be the same as the keystorepassword field described in the first bullet in Step 4 in Section 6.2, "Creating the Identity Keystore on CRMHOST2."

    4. Re-enter the Confirm Custom Identity Keystore Passphrase.

    5. Ensure that the Confirm Custom Trust Keystore path is pointing to the ORACLE_BASE/products/fusionapps/wlserver_10.3/server/lib/fusion_trust.jks file.

    6. Leave the Custom Trust Keystore type blank.

    7. Change the Custom Trust Keystore Passphrase entry. This should be the same as the keystorepassword field described in the first bullet in Step 4 in Section 6.2, "Creating the Identity Keystore on CRMHOST2."

    8. Re-enter the Custom Trust Keystore Passphrase.

    9. Click Save.

  13. Choose the SSL tab.

    1. Make sure that Identity and Trust Locations is set to Keystores.

    2. Change the Private Key Alias to CRMHOST2_fusion.

    3. Change the Private Key Passphrase to the keypassword, as described in the second bullet in Step 4 in Section 6.2, "Creating the Identity Keystore on CRMHOST2."

    4. Re-enter the keypassword from Step c for the Confirm Private Key Passphrase.

    5. Click Save.

  14. Click Activate Changes.

  15. Repeat Steps 2 to 14 for all the managed servers on this domain.

  16. Set the following environment variable:

    WLST_PROPERTIES="-Dweblogic.security.SSL.trustedCAKeyStore=ORACLE_BASE/
    products/fusionapps/wlserver_10.3/server/lib/fusion_trust.jks"
    
  17. Stop the domain's Administration Server:

    CRMHOST1> ORACLE_BASE/config/domains/CRMHOST1/HCMDomain/bin/stopWebLogic.sh
    
  18. Restart the domain's Administration Server:

    CRMHOST2> ORACLE_BASE/products/fusionapps/wlserver_10.3/common/bin/wlst.sh
    
    CRMHOST2> nmConnect(username='<username>', password='<password>',
    domainName='HCMDomain', host='CRMHOST1',port='5556', 
    nmType='ssl', domainDir='ORACLE_BASE/config/domains/CRMHOST1/HCMDomain')
    
    CRMHOST2> nmStart('AdminServer')
    

    Note:

    The username and password used in the nmConnect are the Node Manager credentials (username and password) specified when creating the provisioning plan. This is shown in Figure 4-3 in "Using the Provisioning Process to Install Components for an Enterprise Deployment".
  19. Run the newly created managed server:

    1. Navigate to HCMDomain > Environment > Servers > Control.

    2. Select the newly created managed server and click Start.

    3. Navigate to HCMDomain > Environment > Servers and check the State to verify that the newly created managed servers are running.

  20. Log in to the Administration Server once again (http://hcminternal.mycompany.com:7777/console) and verify that all the managed servers, including scaled-out servers, are running.

Note:

For all the scaled-up and scaled-out servers, change the Arguments in the /u02/local/oracle/config/domains/HOSTNAME/DomainName/servers/ManagedServer/data/nodemanager/startup.properties file to the following:
Arguments=-DJDBCProgramName\=DS/HCMDomain/CoreSetupServer_2
-Dserver.group\=CoreSetupCluster

Note:

For all the scaled-up and scaled-out managed servers, do the following:
  1. Access the Oracle WebLogic Server Administration Console for the HCMDomain:

    http://hcminternal.mycompany.com:7777/console

  2. Navigate to Environment > Servers and click the "Managed Server" link.

  3. First select the Logging tab and then the HTTP tab.

  4. Update the following parameters:

    – Log file name: logs/access.log.%yyyyMMdd%

    – Rotation Type: By Time

    – Limit number of retained files: leave this option unchecked

    – Rotate log file on startup: leave this option unchecked

  5. Click Save.

  6. Expand Advanced Node and set the following:

    – Format: Extended

    – Extended Logging Format Fields:

    date time time-taken cs-method cs-uri sc-status 
    sc(X-ORACLE-DMS-ECID) cs(ECID-Context) cs(Proxy-Remote-User) 
    cs(Proxy-Client-IP)
    
  7. Click Save and Activate Changes.

  8. Restart the Managed Server for the changes to take affect.

9.6 Oracle HTTP Server Configuration

To configure Oracle HTTP Server:

  1. On WEBHOST1:

    1. Change directory to ORACLE_BASE/config/CommonDomain_webtier/config/OHS/ohs1/moduleconf.

    2. Copy FusionVirtualHost_hcm.conf to FusionVirtualHost_hcm.conf.org.

  2. Edit the FusionVirtualHost_hcm.conf file, adding the scaled-out host and port to all the WebLogic Application Clusters. Example 9-1 shows sample code for CoreSetupServer.

    Example 9-1 Sample "CoreSetupServer" Code

    <Location /hcmCoreSetup>
            SetHandler weblogic-handler
            WebLogicCluster <CRMHOST1:port>,<CRMHOST2:port>
        </Location>
    
  3. Repeat Step 2 for all applications.

  4. Restart Oracle HTTP Server: cd to ORACLE_BASE/config/CommonDomain_webtier/bin and enter the following:

    WEBHOST1> ./opmnctl stopall
    WEBHOST1> ./opmnctl startall
    
  5. Repeat Steps 1 through 4 on WEBHOST2.

9.7 Validating the System

You should verify URLs to ensure that the appropriate routing and failover are working.

To verify the URLs:

  1. Log in to the HCMDomain Oracle WebLogic Server Administration Console and stop all the managed servers on the CRMHOST1 while the managed servers on CRMHOST2 are running.

  2. Access the following URL to verify that routing and failover are functioning properly. (Ensure the log in prompt is visible.)

    • https://hcmexternal.mycompany.com/hcmCoreSetup/faces/HcmWSIntWA

  3. Log in to the HCMDomain Oracle WebLogic Server Administration Console and stop all the managed servers on CRMHOST2.

  4. Start the managed servers on CRMHOST1.

  5. Repeat Step 2. (Ensure the log in prompt is visible.)

  6. Start all the managed servers on CRMHOST2 and verify that they are running on CRMHOST1.