Installing Oracle SOA Suite

Oracle SOA Suite is installed on a shared storage. Follow the next steps to install Oracle SOA Suite:

  1. On SOAHOST1, start the SOA installer:
    source envMidTier.sh
    $JAVA_HOME/bin/java -d64 -jar $SOFTWARE_DIR/fmw_12.1.3.0.0_soa.jar
    
  2. In the Inventory Directory field, enter /u01/share/oracle/oraInventory and then click on OK.
  3. Click on Next.
  4. In the Oracle Home field, enter the value for [ORACLE_HOME] (for example, /u01/share/oracle/middleware/products/fmw1213) and then click on Next.
  5. Select SOA Suite and then click on Next.
  6. Click on Next.
  7. Click on Install.
  8. Click on Finish once the installation is done.

Creating Oracle SOA Suite database schemas

To create the SOA database schemas, use the following steps:

  1. On SOAHOST1, start the RCU:
    source envMidTier.sh
    cd $ORACLE_HOME/oracle_common/bin
    ./rcu
    
  2. Click on Next.
  3. Select Create Repository and choose System Load and Product Load, and then click on Next.
  4. Enter your database information as shown in Figure 12.2, and click on Next.
  5. Click on OK to confirm the validation of the global prerequisites.
  6. Select Select existing prefix and then choose DEV.
  7. Click on the SOA Suite checkbox and then click on Next.
  8. Click on OK to confirm the validation of the component prerequisites.
  9. In the password fields, enter a password (for example., welcome1) and then click on Next.
  10. Change the value from SMALL to LARGE and then click on Next.
  11. Click on Next.
  12. If prompted to create tablespaces, click on OK.
  13. Click on OK to confirm the validation and creation of the tablespaces.
  14. Click on Create.
  15. Click on Close once the RCU is complete.

Configuring SOA schemas for transaction recovery

Follow these steps to configure SOA schemas for transaction recovery:

  1. On the database server, start SQL*Plus as the sysdba:
    sqlplus "/ as sysdba"
    
  2. On the SQL*Plus prompt, run the following commands:
    GRANT select ON sys.dba_pending_transactions TO DEV_soainfra;
    GRANT force any transaction TO DEV_soainfra;
    
    Configuring SOA schemas for transaction recovery

    Figure 12.5. Executing SQL commands from the SOA database host

Extending the domain with Oracle SOA Suite

To extend the domain with Oracle SOA suite, follow these steps:

  1. On SOAHOST1, stop the Admin Server:
    source envMidTier.sh
    $ASERVER_HOME/bin/stopWebLogic.sh
  2. Start the WebLogic Server Configuration Wizard:
    cd $ORACLE_HOME/oracle_common/common/bin
    ./config.sh
  3. Click on Update an existing domain.
  4. In the Domain Location field, enter [ASERVER_HOME] (for example, /u01/share/oracle/middleware/config/domains/soa_domain).
  5. Click on Next.
  6. Check Oracle SOA Suite – 12.1.3.0 [soa] and then click on Next.
  7. Click on Get RCU Configuration.
  8. Click on Next.
  9. Click on Next.
  10. Click on Next.
  11. Check Managed Servers, Clusters and Coherence, and JMS File Store, and then click on Next.
  12. Rename soa_server1 as wls_soa1.
  13. Change Listen Address to soahost1.packt.com.
  14. Change port 7003 to 8001.
  15. Under Server Groups, select only SOA-MGD-SVRS-ONLY.
  16. Click on Add and then enter wls_soa2, soahost2.packt.com, and 8001; then select only SOA-MGD-SVRS-ONLY.
  17. Click on Next.
  18. Click on Add.
  19. For Cluster Name, enter SOA_Cluster.
  20. For Frontend Host, enter soa.packt.com.
  21. For Frontend HTTP Port, enter 7777.
  22. For Frontend HTTPS Port, enter 4443.
  23. Click on Next.
  24. Assign wls_soa1 and wls_soa2 to SOA_Cluster and then click on Next.
  25. Click on Next.
  26. Click on Next.
  27. Assign wls_soa1 to the soahost1 machine.
  28. Assign wls_soa2 to the soahost2 machine.
  29. Click on Next.
  30. Assign the [ASERVER_HOME]/SOA_Cluster/jms directory (for example, /u01/share/oracle/middleware/config/domains/soa_domain/SOA_Cluster/jms) for each of the SOA persistence store directories except for mds-owsm.
  31. Click on Next.
  32. Click on Update.
  33. Click on Next.
  34. Click on Finish.

Configuring the default persistence store for transaction recovery

Follow the next steps to configure the default persistence store for transaction recovery:

  1. On SOAHOST1, start the Admin Server:
    source envMidTier.sh
    cd $ASERVER_HOME/servers/AdminServer/logs
    nohup $ASERVER_HOME/bin/startWebLogic.sh > AdminServer.out &
    
  2. Navigate to http://admin.packt.com:7001/console.
  3. Log in as the weblogic user.
  4. Navigate to soa_domain | Environment | servers | wls_soa1 | Configuration | Services.
  5. In the Directory field, enter [ASERVER_HOME]/SOA_Cluster/tlogs (for example, /u01/share/oracle/middleware/config/domains/soa_domain/SOA_Cluster/tlogs).
  6. Repeat steps 3 and 4 for wls_soa2.
  7. Shut down the wls_wsm1 and wls_wsm2 managed servers.
  8. Save and activate the changes.
  9. Start up the wls_wsm1 and wls_wsm2 managed servers.

Propagating the domain to the domain directories and machines

Use the following steps to propagate the domain to the domain directories and machines:

  1. On SOAHOST1, pack and unpack the domain:
    source envMidTier.sh
    cd $ORACLE_COMMON_HOME/common/bin
    
    ./pack.sh -managed=true -domain=${ASERVER_HOME} -template=soadomaintemplateExtSOA.jar -template_name=soadomaintemplateExtSOA
    
    ./unpack.sh -domain=${MSERVER_HOME} -overwrite_domain=true -template=soadomaintemplateExtSOA.jar -app_dir=${APPLICATION_HOME}
    
  2. On SOAHOST2, unpack the domain:
    source envMidTier.sh
    cd $ORACLE_COMMON_HOME/common/bin
    
    ./unpack.sh -domain=${MSERVER_HOME} -overwrite_domain=true -template=soadomaintemplateExtSOA.jar -app_dir=${APPLICATION_HOME}
    
  3. On SOAHOST1, start the SOA managed server:
    source envMidTier.sh
    cd $MSERVER_HOME/servers/wls_soa1/logs
    
    nohup $MSERVER_HOME/bin/startManagedWebLogic.sh wls_soa1 http://admin.packt.com:7001 > wls_soa1.out &
    
  4. On SOAHOST2, start the SOA managed server:
    source envMidTier.sh
    cd $MSERVER_HOME/servers/wls_soa2/logs
    
    nohup $MSERVER_HOME/bin/startManagedWebLogic.sh wls_soa2 http://admin.packt.com:7001 > wls_soa2.out &
    

Configuring Oracle HTTP Server for Oracle SOA Suite

Follow these steps to configure Oracle HTTP ${MSERVER_HOME}:

  1. On SOAHOST1, edit the soa_vh.conf file:
    source envMidTier.sh
    vi $OHS_ADMIN_CONFIG_DIR/moduleconf/soa_vh.conf
    
  2. Add the OHS routing rules for SOA, OSB, WSM, and ESS:
    <VirtualHost webhost1.packt.com:7777>
      ServerName soa.packt.com:7777
      ServerAdmin [email protected]
      RewriteEngine On
      RewriteOptions inherit
      # SOA Infra
      <Location /soa-infra>
        SetHandler weblogic-handler
        WebLogicCluster soahost1.packt.com:8001,soahost2.packt.com:8001
        WLProxySSL ON
        WLProxySSLPassThrough ON
      </Location>
      # SOA inspection.wsil
      <Location /inspection.wsil>
        SetHandler weblogic-handler
        WebLogicCluster soahost1.packt.com:8001,soahost2.packt.com:8001
        WLProxySSL ON
        WLProxySSLPassThrough ON
      </Location>
      # Worklist
      <Location /integration>
        SetHandler weblogic-handler
        WebLogicCluster soahost1.packt.com:8001,soahost2.packt.com:8001
        WLProxySSL ON
        WLProxySSLPassThrough ON
      </Location>
      # UMS prefs
      <Location /sdpmessaging/userprefs-ui>
        SetHandler weblogic-handler
        WebLogicCluster soahost1.packt.com:8001,soahost2.packt.com:8001
        WLProxySSL ON
        WLProxySSLPassThrough ON
      </Location>
      # Default to-do taskflow
      <Location /DefaultToDoTaskFlow>
        SetHandler weblogic-handler
        WebLogicCluster soahost1.packt.com:8001,soahost2.packt.com:8001
        WLProxySSL ON
        WLProxySSLPassThrough ON
      </Location>
      # Workflow
      <Location /workflow>
        SetHandler weblogic-handler
        WebLogicCluster soahost1.packt.com:8001,soahost2.packt.com:8001
        WLProxySSL ON
        WLProxySSLPassThrough ON
      </Location>
      #Required if attachments are added for workflow tasks
      <Location /ADFAttachmentHelper>
        SetHandler weblogic-handler
        WebLogicCluster soahost1.packt.com:8001,soahost2.packt.com:8001
        WLProxySSL ON
        WLProxySSLPassThrough ON
      </Location>
      # SOA composer application
      <Location /soa/composer>
        SetHandler weblogic-handler
        WebLogicCluster soahost1.packt.com:8001,soahost2.packt.com:8001
        WLProxySSL ON
        WLProxySSLPassThrough ON
      </Location>
      <Location /frevvo>
        SetHandler weblogic-handler
        WebLogicCluster soahost1.packt.com:8001,soahost2.packt.com:8001
        WLProxySSL ON
        WLProxySSLPassThrough ON
      </Location>
      <Location /ess>
        SetHandler weblogic-handler
        WebLogicCluster soahost1.packt.com:8021,soahost2.packt.com:8021
        WLProxySSL ON
        WLProxySSLPassThrough ON
      </Location>
      <Location /EssHealthCheck>
        SetHandler weblogic-handler
        WebLogicCluster soahost1.packt.com:8021,soahost2.packt.com:8021
        WLProxySSL ON
        WLProxySSLPassThrough ON
      </Location>
    </VirtualHost>
    <VirtualHost webhost1.packt.com:7777>
      ServerName soainternal.packt.com:7777
      ServerAdmin [email protected]
      RewriteEngine On
      RewriteOptions inherit
      # WSM-PM
      <Location /wsm-pm>
        SetHandler weblogic-handler
        WebLogicCluster soahost1.packt.com:7010,soahost2.packt.com:7010
      </Location>
    </VirtualHost>
    
  3. Repeat steps 1 and 2 on SOAHOST2, replacing all occurrences of webhost1 with webhost2.
  4. On SOAHOST1, stop and start the Admin Server to propagate the changes to WebTier:
    source envMidTier.sh
    $ASERVER_HOME/bin/stopWebLogic.sh
    cd $ASERVER_HOME/servers/AdminServer/logs
    nohup $ASERVER_HOME/bin/startWebLogic.sh > AdminServer.out &
    
  5. Log in to http://admin.packt.com:7001/em.
  6. Expand HTTP Server.
  7. Click on ohs_1, then click on Shut Down then Start Up.
  8. Click on ohs_2, then click on Shut Down and Start Up.
  9. Validate that the following URLs are accessible:

    http://soahost1.packt.com:8001/soa-infra

    http://soahost2.packt.com:8001/soa-infra

    http://soa.packt.com:7777/soa-infra

    http://soa.packt.com:7777/integration/worklistapp

    http://soa.packt.com:7777/sdpmessaging/userprefs-ui

    http://soa.packt.com:7777/soa/composer

    http://soa.packt.com:7777/integration/services/IdentityService/identity?WSDL

Configuring the WebLogic proxy plug-in

Follow these steps to configure the WebLogic proxy plug-in:

  1. Navigate to http://admin.packt.com:7001/console.
  2. Log in as the weblogic user.
  3. Navigate to soa_domain | Environment | Clusters | SOA_Cluster | Configuration | General | Advanced.
  4. For WebLogic Plug-In Enabled, set the value to yes.
  5. Save and activate the changes.
  6. Restart the wls_soa1 and wls_soa2 managed servers.

Configuring the Oracle File Adapter for Oracle SOA Suite

To configure the Oracle File Adapter, follow these steps:

  1. On SOAHOST1, run the following commands to create the shared deploy plan directory:
    source envMidTier.sh
    mkdir -p $DEPLOY_PLAN_HOME/soaedg_domain
    
  2. Navigate to http://admin.packt.com:7001/console.
  3. Log in as the weblogic user.
  4. Navigate to Deployments | FileAdapter | Configuration | Outbound Connection Pools.
  5. Expand javax.resource.cci.ConnectionFactory.
  6. Click on eis/HAFileAdapter.
  7. For the controlDir property, enter the value [ASERVER_HOME]/SOA_Cluster/fadapter (for example, /u01/share/oracle/middleware/config/domains/soa_domain/SOA_Cluster/fadapter).
  8. Click on Save.
  9. On the Save Deployment Plan Assistant page, enter the Path [DEPLOY_PLAN_HOME]/soaedg_domain/FileAdapterPlan.xml (for example, /u01/share/oracle/middleware/config/dp/soaedg_domain/FileAdapterPlan.xml).
  10. Click on OK.
  11. Save and activate the changes.

Configuring the Oracle FTP Adapter for Oracle SOA Suite

To configure the Oracle FTP Adapter, follow these steps:

  1. On the WebLogic Server Administration Console, click on Deployments.
  2. Navigate to Deployments | FtpAdapter | Configuration | Outbound Connection Pools.
  3. Expand javax.resource.cci.ConnectionFactory.
  4. Click on eis/Ftp/HaFtpAdapter.
  5. For the controlDir property, enter the value [ASERVER_HOME]/SOA_Cluster/fadapter (for example, /u01/share/oracle/middleware/config/domains/soa_domain/SOA_Cluster/fadapter).
  6. Click on Save.
  7. On the Save Deployment Plan page, enter the Path [DEPLOY_PLAN_HOME]/soaedg_domain/FtpAdapterPlan.xml (for example, /u01/share/oracle/middleware/config/dp/soaedg_domain/FtpAdapterPlan.xml).
  8. Click on OK.
  9. Save and activate the changes.

Configuring the Oracle JMS Adapter for Oracle SOA Suite

Follow these steps to configure the Oracle JMS Adapter:

  1. On the WebLogic Server Administration Console, click on Deployments.
  2. Navigate to Deployments | JmsAdapter | Configuration | Outbound Connection Pools.
  3. Expand oracle.tip.adapter.jms.IJmsConnectionFactory.
  4. Click on eis/wls/Queue.
  5. In the FactoryProperties property, enter: java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory;java.naming.provider.url=t3://soahost1.packt.com:8001,soahost2.packt.com:8001;java.naming.security.principal=weblogic;java.naming.security.credentials=welcome1
  6. Click on Save.
  7. On the Save Deployment Plan page, enter the Path [DEPLOY_PLAN_HOME]/soaedg_domain/JmsAdapterPlan.xml (for example, /u01/share/oracle/middleware/config/dp/soaedg_domain/JmsAdapterPlan.xml).
  8. Click on OK.
  9. Save and activate the changes.
  10. Navigate to Deployments | JmsAdapter | Configuration | Outbound Connection Pools.
  11. Expand oracle.tip.adapter.jms.IJmsConnectionFactory.
  12. Click on eis/wls/Topic.
  13. In the FactoryProperties property, enter: java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory;java.naming.provider.url=t3://soahost1.packt.com:8001,soahost2.packt.com:8001;java.naming.security.principal=weblogic;java.naming.security.credentials=welcome1
  14. Click on Save.
  15. Click on Deployments.
  16. Check the checkbox beside JmsAdapter.
  17. Click on Update.
  18. Click on Finish.
  19. Activate the changes.
  20. Restart the wls_soa1 and wls_soa2 managed servers.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.128.226.121