This topic describes how to perform a query on service groups.
To display the value of a service group attribute
To forecast the target system for failover
# hagrp -forecast service_group [-policy failoverpolicy value] [-verbose]
The policy values can be any one of the following values: Priority, RoundRobin, Load or BiggestAvailable.
You cannot use the -forecast option when the service group state is in transition. For example, VCS rejects the command if the service group is in transition to an online state or to an offline state.
The -forecast option is supported only for failover service groups. In case of offline failover service groups, VCS selects the target system based on the service group's failover policy.
The BiggestAvailable policy is applicable only when the service group attribute Load is defined and cluster attribute Statistics is enabled.
The actual service group FailOverPolicy can be configured as any policy, but the forecast is done as though FailOverPolicy is set to BiggestAvailable.