Forum Discussion

Tilin_vcs's avatar
Tilin_vcs
Level 2
12 years ago

how to configure service group!!!!

  hello:   Anyone have an idea how to configure the following   I have 2 nodes (node1 Production) (Node 2 Quality) VCS 6.0   For performance of HW need to configure the service group of...
  • mikebounds's avatar
    12 years ago

    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.

    When SG_Production is running on node2 (after a failover), you would need an outage for SG_Production to switch back to node1, therefore it is recommended you leave it there indefinately until it fails again and switches back to node1.  Therefore it is recommended you allow SG_QUA  to run on node1, otherwise SG_QUA is down for a long period, or you create an unecessary outage for SG_Production if you switch it back to node1.
     
    Mike