I am not sure I understand completely your setup. Are you trying to make both computers part of the same cluster or a separate one? Can you provide more details on how did you configure and start the domain mode on these two computers? Are you able to view colleagues admin console from his computer?
I am now looking over the above issue which was earlier mentioned by my colleague. We are now using infinispan-9.1.1. Final.
Following is the structure:
- One DC in my PC.
- One DC in my colleague's PC.
I am starting both DC's by running domain.bat. And yes, since both the DCs are in same network they are going to be in same cluster as both the DC has same configurations too.
WHY 2 DC?
We are creating a structure where we have 2 DCs actively running and both will have some host configured for them. In such cases where one of the DCs go down we have mentioned other DC as backup. So lets say, if DC in my PC goes down then all the hosts which were earlier connected to this DC will now try and connect to other DC in my colleague's PC so we are providing fail-over for the DC.
But as mentioned above only one web console comes up and when we start second DC, web console for the second DC does not come up. When I inspected the issue in second DC, it says that it can not find the first DC so I believe they are trying to connect because of same cluster.
Can you please help us here? We are stuck and need immediate help. And also, can you help in suggesting how should we solve the issue of DC failover if above mentioned way is not correct?
Please reply ASAP