RG Dependencies depending on the activ node
I'am about to plan a Solaris Cluster running JBOSS and some Batch Processes as application.
Each node has a JBOSS running locally, so I intend to create RGs with only one node in the nodelist:
- JBOSS1-rg on node1, nodelist=node1
- JBOSS2-rg on node2, nodelist=node2
The Batch Processes must be able to failover, so I intend to create for them a RG with the 2 nodes in the nodelist:
- batch-rg, nodelist=node1,node2
The problem is that batch-rg is dependent on JBOSS1-rg when running on node1 and on JBOSS2-rg when running on node2.
What is the best way to solve this problem ? I didn't see any possiblility with the RG Properties RG_dependencies ...