SOA 12c Configuration in AWS


Environment:

·        AdminServer, SOAMS1                   :              AWS EC2Instance1
·        SOAMS2                                             :             AWS EC2Instance1
·        Cluster                                               :              SOACluster (SOAMS1 and SOAMS2)
·        Coherence Cluster                           :              (UNICAST, Port: 7574, Transport: UDP)
·        Created UNICAST channel on both SOA Managed Server 
SOAMS1: 
Unicast Listen Address    : <SOAMS1_IP/dns>  
Unicast Port                       : 7041

SOAMS2: 
Unicast Listen Address    : <SOAMS2_IP/dns>  
Unicast Port                       : 7043

Issue:
SOA 12c Composite deployment not reflected on the servers of SOA Cluster. 

Error:
        When we try to deploy the composite using EM console / WLST, application deploys on any one of the managed Server and not reflects on the other managed Server.


Solution: 

1. Add the Coherence cluster details on the startup argument of both SOA Managed Servers

SOAMS1:
-Dcoherence.cluster=defaultCoherenceCluster -Dcoherence.clusterport=7574 -Dcoherence.localhost=<SOAMS1_IP/dns>

SOAMS2:
-Dcoherence.cluster=defaultCoherenceCluster -Dcoherence.clusterport=7574 -Dcoherence.localhost=<SOAMS2_IP/dns>


2. Add the Relevant ports ON IPTABLES

Ø  Add the coherence Unicast listen port (7041, 7042) on IPTABLES
Ø  Add the coherence cluster port (7574) on IPTABLES
Ø  Add the TCP Port  (7) on IPTABLES

### iptables_add.sh
iptables -I INPUT -p tcp --dport 7041 -j ACCEPT
iptables -I INPUT -p tcp --dport 7042 -j ACCEPT
iptables -I INPUT -p udp --dport 7574 -j ACCEPT
iptables -I INPUT -p tcp --dport 7 -j ACCEPT

Run the iptables_add.sh as root user on both AWS EC2 Instances.


3. Re-started the EC2 instances then start up the SOA domain.

4. Test with sample composite and its get deployed successfully on both the managed servers.

Note: Even though if we add the coherence listen port and cluster port on AWS - Security groups, have to make sure it's been added on IPTABLES.

<<<Happy Troubleshooting>>>

Comments

Popular posts from this blog

Schedule OSB Service Using ESS 12c - SOA

Python Script to Monitor Weblogic Servers thru WLST