02-26-2013 10:42 PM
Solved! Go to Solution.
02-27-2013 01:25 AM
Command to create dependency is:
hagrp -link SG_Production SG_QUA offline local
This means SG_QUA must be offline on node2 to be able to online or switch SG_Production to node2, so you will get a 'group dependency violation error' if you try to do this as the expectation is that if you manually switch or online SG_Production on node2, that you manually offline SG_QUA first, BUT, if SG_Production faults (or its system fails) and tries to switch to node2, then the service group dependency means VCS will automatically offlines SG_QUA so that SG_Production can online on node2 and in this instance if SG_QUA can only run on node2 (only system in SystemList), it will stay down, but if SG_QUA is defined in both systems then SG_QUA would switch to node1 if it is available.
02-27-2013 12:40 AM
try: QualitySG -> offline local -> productionSG
02-27-2013 12:59 AM
arangari:
Thanks for answering but I did not understand your answer, could you please explain
02-27-2013 01:05 AM
Hi,
Offline local is the service group dependency that can help in this case. In particular:
Failover example:
Thanks,
Armando
02-27-2013 01:06 AM
02-27-2013 01:07 AM
Armando - thanks for explaning!
02-27-2013 01:09 AM
SG_QUA should have node2 as the only system in its SystemList.
02-27-2013 01:25 AM
Command to create dependency is:
hagrp -link SG_Production SG_QUA offline local
This means SG_QUA must be offline on node2 to be able to online or switch SG_Production to node2, so you will get a 'group dependency violation error' if you try to do this as the expectation is that if you manually switch or online SG_Production on node2, that you manually offline SG_QUA first, BUT, if SG_Production faults (or its system fails) and tries to switch to node2, then the service group dependency means VCS will automatically offlines SG_QUA so that SG_Production can online on node2 and in this instance if SG_QUA can only run on node2 (only system in SystemList), it will stay down, but if SG_QUA is defined in both systems then SG_QUA would switch to node1 if it is available.