Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Open the server's /etc/hosts file and add the following lines, where <ELP-IP> and <ESB-Manager-IP> are the actual IP addresses (in this example, xxx.xxx.xxx.206):

Code Block
languagehtml/xmlnone
<ELB-IP> esb.cloud-test.wso2.com 
<ESB-Manager-IP> mgr.esb.wso2.com

In this example, it would look like this:

Code Block
languagenone
xxx.xxx.xxx.206 esb.cloud-test.wso2.com 
xxx.xxx.xxx.206 mgr.esb.wso2.com

We have now finished configuring the ELB and ready to start the ELB server.

...

    • Define the location of the central database: <url>jdbc<url>jdbc:mysql://carbondb.mysql-wso2.com:3306/carbondb?DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000</url>
    • Give user username access to the database:
      <username>username</username>
      <password>password</password>
    • Specify the driver to use for connecting to the central database (the driver we copied in the previous section): <driverClassName>com.mysql.jdbc.Driver</driverClassName>

...

Open the server's /etc/hosts file and add the following lines, where <MYSQL-DB-SERVER-IP> and <ELB-IP> are the actual IP addresses (in this example, xxx.xxx.xxx.206):

Code Block
languagehtml/xmlnone
<MYSQL-DB-SERVER-IP> carbondb.mysql-wso2.com
<ELB-IP> elb.wso2.com

In this example, it would look like this:

Code Block
languagenone
xxx.xxx.xxx.206 carbondb.mysql-wso2.com
<ELB-IP>xxx.xxx.xxx.206 elb.wso2.com

Note that if you created the database on the same server as the manager node, you may have already added the first line.

...

Open the server's /etc/hosts file and add the following lines, where <MYSQL-DB-SERVER-IP>, <ELB-IP>, and <ESB-Manager-IP> are the actual IP addresses (in this example, xxx.xxx.xxx.206):

Code Block
languagehtml/xmlnone
<MYSQL-DB-SERVER-IP> carbondb.mysql-wso2.com
<ELB-IP> elb.wso2.com
<ESB-Manager-IP> mgr.esb.wso2.com 

In this example, it would look like this:

Code Block
languagenone
xxx.xxx.xxx.206 carbondb.mysql-wso2.com
xxx.xxx.xxx.206 elb.wso2.com
xxx.xxx.xxx.206 mgr.esb.wso2.com 

We have now finished configuring the worker nodes and are ready to start them.

...

Code Block
languagenone
INFO - RpcMembershipRequestHandler Received JOIN message from xxx.xxx.xxx.132:4000(wso2.esb.domain)
INFO - MembershipManager Application member xxx.xxx.xxx.132:4000(wso2.esb.domain) joined group wso2.esb.domain
INFO - TribesMembershipListener New member xxx.xxx.xxx.132:4000(wso2.esb.domain) joined cluster.
INFO
 - DefaultGroupManagementAgent Application member Host:xxx.xxx.xxx.132, 
Port: 4000, HTTP:8280, HTTPS:8243, Domain: wso2.esb.domain, Sub-domain:worker, Active:true joined application cluster

...