This topic describes how to modify service group attributes.
To modify a service group attribute
# hagrp -modify service_group attribute value [-sys system]
The variable value represents:
system_name1 priority1 system_name2 priority2
If the attribute that is being modified has local scope, you must specify the system on which to modify the attribute, except when modifying the attribute on the system from which you run the command.
For example, to populate the system list of service group groupx with Systems A and B, type:
# hagrp -modify groupx SystemList -add SystemA 1 SystemB 2
Similarly, to populate the AutoStartList attribute of a service group, type:
# hagrp -modify groupx AutoStartList SystemA SystemB
You may also define a service group as parallel. To set the Parallel attribute to 1, type the following command. (Note that the default for this attribute is 0, which designates the service group as a failover group.):
# hagrp -modify groupx Parallel 1
You cannot modify this attribute if resources have already been added to the service group.
You can modify the attributes SystemList, AutoStartList, and Parallel only by using the command hagrp -modify. You cannot modify attributes created by the system, such as the state of the service group.