This is the structure of cluster config file. It uses static configuration
<clusterconfig enabled=true>
<membershipScheme>wka</membershipScheme>
<!-- The host name or IP address of this member -->
<localMemberHost>127.0.0.1</localMemberHost>
<!-- The TCP port of this member -->
<localMemberPort>4000</localMemberPort>
<!-- The list of static or well-known members -->
<members>
<member>
<hostName>127.0.0.1</hostName>
<port>4000</port>
</member>
<member>
<hostName>127.0.0.2</hostName>
<port>4001</port>
</member>
<member>
<hostName>127.0.0.3</hostName>
<port>4002</port>
</member>
</members>
</clusterconfig>
Thank you
On 18 May 2015 at 22:17, Nandika Jayawardana <[email protected]> wrote:
> In axis2, clustering implementation supports both WKA ( well known address
> based clustering ) and multicast. However, in most cases, its the well
> known address based method that is used in production setups. Hence, I
> think its better to implement well known address based method. Can you post
> your configuration file and the hazelcast based api design.
>
> Regards
> Nandika
>
> On Thu, May 14, 2015 at 3:16 PM, sudharma subasinghe <
> [email protected]>
> wrote:
>
> > Hi,
> >
> > This is my plan on implementing ODE clustering using hazelcast. I thought
> > to use a static configuration. Each node has a config file which stores
> > hostName and port number of each node in the cluster. So each node is
> aware
> > of other nodes in the cluster and when a node start up it will join to
> the
> > cluster. Please give me ideas on this.
> >
> > Thanks,
> > Sudharma
> >
>