I have deployed API manager 2.1.0 All-in-one on 2 VMs. I am using PostgreSQL as DB which is on separate VM and I am sharing the databases as mentioned in the document. Now I am trying to cluster these 2 nodes as mentioned in this document. There are few things which are not clear to me from this document. I am assuming both nodes will work as manager. (What is basic difference between manager and worker?)
1.Under step 6 do we have mention remote instance or leave this as localhost?
<remoteInstance url="https://localhost:9453/registry">
I am assuming we have to create VIP for all the ports mentioned in the table?
Step 11.c do we have to mention any domain which we are using or leave this as is?
<parameter name="domain">wso2.pub.store.domain</parameter
>
4.Step 12 In Which file do we have make changes? Why we are pointing both publishers to same Gateway node? What happens in the case this Gateway goes down?
- How and on which node do we setup Rsync?
Step 15 As we are using 2 separate node what do we configure in place of "localhost" on each node and I am assuming we will be using port 5672.
connectionfactory.TopicConnectionFactory = amqp://admin:admin@clientid/carbon?brokerlist='tcp://localhost:5673'
connectionfactory.QueueConnectionFactory = amqp://admin:admin@clientID/test?brokerlist='tcp://localhost:5673'
topic.throttleData = throttleData
Step 17 Do we have change anything in JMSEventPublisher according to our setup or leave this as is?
Also these are the only changes we need to make in order to cluster 2 all-in-one nodes in active-active mode or are there any additional configuration we need to make?
And how do we test if the cluster is working?