How to setup a VCS configuration so groups never coexist or cohabitate on the same node.
book
Article ID: 100020972
calendar_today
Updated On:
Resolution
Customer can define a System Limit, for example, named ApplicationLimit and assign a value of 1 to each system.
# hasys -modify hostA Limits -add ApplicationLimit 1
# hasys -modify hostB Limits -add ApplicationLimit 1
# hasys -modify hostC Limits -add ApplicationLimit 1
Customer can then configure a Prerequisite of ApplicationLimit of 1 for each Service Group.
# hagrp -modify SG1 Prerequisites -add ApplicationLimit 1
# hagrp -modify SG2 Prerequisites -add ApplicationLimit 1
# hagrp -modify SGC Prerequisites -add ApplicationLimit 1
Online the SG1 on hostA, the ApplicationLimit will be reduced to 0.
# hagrp -online SG1 -sys hostA
# hasys -display -sys hostA |grep ApplicationLimit
hostA CurrentLimits ApplicationLimit 0 <<<
CurrentLimits of ApplicationLimit is reduced to 0
hostA Limits ApplicationLimit 1 <<<
User Assigned Limit of 1
Try to online SG2 on the same hostA, VCS will deny the request because there is not enough ApplicationLimit.
# hagrp -online SG2 -sys hostA
VCS WARNING V-16-1-50000 Group SG's prerequisites have not been fully met on system hostA
Was this article helpful?
thumb_up
Yes
thumb_down
No