SPARC SuperCluster T4-4 Owner's Guide

Exit Print View

Updated: February 2016
 
 

Enable Cluster-Level Session Replication Enhancements

You can enable session replication enhancements for Managed Servers in a WebLogic cluster to which you will deploy a web application at a later time.


Note -  If you are using Coherence*web, these session replication enhancements do not apply. Skip these steps if you use the dizzyworld.ear application as described in Chapter 8, “Deploying a Sample Web Application to and Oracle WebLogic Cluster” in the Oracle® Fusion Middleware Exalogic Enterprise Deployment Guide at http://docs.oracle.com/cd/E18476_01/doc.220/e18479/deploy.htm.

To enable session replication enhancements for Dept1_Cluster1, complete the following steps:

  1. Ensure that Managed Servers in the Dept1_Cluster1 cluster are up and running, as described in Section 5.16 “Starting Managed Servers on ComputeNode1 and ComputeNode2” of the Oracle® Fusion Middleware Exalogic Enterprise Deployment Guide at http://docs.oracle.com/cd/E18476_01/doc.220/e18479/create_domain.htm#BABEGAFB.
  2. To set replication ports for a Managed Server, such as WLS1, complete the following steps:
    1. Under Domain Structure, click Environment and Servers. The Summary of Servers page is displayed.
    2. Click WLS1 on the list of servers. The Settings for WLS1 is displayed.
    3. Click the Cluster tab.
    4. In the Replication Ports field, enter a range of ports for configuring multiple replication channels. For example, replication channels for Managed Servers in Dept_1_Cluster1 can listen on ports starting from 7005 to 7015. To specify this range of ports, enter 7005-7015.
  3. Create a custom network channel for each Managed Server in the cluster (for example, WLS1) as follows:
    1. Log in to the Oracle WebLogic Server Administration Console.
    2. If you have not already done so, click Lock & Edit in the Change Center.
    3. In the left pane of the Console, expand Environment and select Servers.

      The Summary of Servers page is displayed.

    4. In the Servers table, click WLS1 Managed Server instance.
    5. Select Protocols, and then Channels.
    6. Click New.
    7. Enter ReplicationChannel as the name of the new network channel and select t3 as the protocol, then click Next.
    8. Enter the following information:

      Listen address: 10.0.0.1


      Note -  This is the floating IP assigned to WLS1.

      Listen port: 7005

    9. Click Next, and in the Network Channel Properties page, select Enabled and Outbound Enabled.
    10. Click Finish.
    11. Under the Network Channels table, select ReplicationChannel, the network channel you created for the WLS1 Managed Server.
    12. Expand Advanced, and select Enable SDP Protocol.
    13. Click Save.
    14. To activate these changes, in the Change Center of the Administration Console, click Activate Changes.

      You must repeat the above steps to create a network channel each for the remaining Managed Servers in the Dept1_Cluster1 cluster. Enter the required properties, as described in the following table.

      Managed Servers in Dept1_Cluster1
      Name
      Protocol
      Listen Address
      Listen Port
      Additional Channel Ports
      WLS2
      ReplicationChannel
      t3
      10.0.0.2
      7005
      7006 to 7014
      WLS3
      ReplicationChannel
      t3
      10.0.0.3
      7005
      7006 to 7014
      WLS4
      ReplicationChannel
      t3
      10.0.0.4
      7005
      7006 to 7014
      WLS5
      ReplicationChannel
      t3
      10.0.0.5
      7005
      7006 to 7014
      WLS6
      ReplicationChannel
      t3
      10.0.0.6
      7005
      7006 to 7014
      WLS7
      ReplicationChannel
      t3
      10.0.0.7
      7005
      7006 to 7014
      WLS8
      ReplicationChannel
      t3
      10.0.0.8
      7005
      7006 to 7014
  4. After creating the network channel for each of the Managed Servers in your cluster, click Environment > Clusters. The Summary of Clusters page is displayed.
  5. Click Dept1_Cluster1 (this is the example cluster to which you will deploy a web application at a later time). The Settings for Dept1_Cluster1 page is displayed.
  6. Click the Replication tab.
  7. In the Replication Channel field, ensure that ReplicationChannel is set as the name of the channel to be used for replication traffic.
  8. In the Advanced section, select the Enable One Way RMI for Replication option.
  9. Click Save.
  10. Activate changes, and restart the Managed Servers.
  11. Manually add the system property -Djava.net.preferIPv4Stack=true to the startWebLogic.sh script, which is located in the bin directory of base_domain, using a text editor as follows:
    1. Locate the following line in the startWebLogic.sh script:

      . ${DOMAIN_HOME}/bin/setDomainEnv.sh $*

    2. Add the following property immediately after the above entry:

      JAVA_OPTIONS="${JAVA_OPTIONS} -Djava.net.preferIPv4Stack=true"

    3. Save the file and close.
  12. Restart all Managed Servers as follows:
    1. In the administration console, click Environment > Servers. The Summary of Servers page is displayed.
    2. Select a Managed Server, such as WLS1, by clicking WLS1. The Settings for WLS1 page is displayed.
    3. Click the Control tab. Select WLS1 in the Server Status table. Click Start.
    4. Repeat these steps for each of the Managed Servers in the WebLogic cluster.

    Note -  To verify that multiple listening ports were opened, you can either run the netstat -na command on the command line or check the Managed Server logs.