Operations for the VCS global clusters option are enabled or restricted depending on the permissions with which you log on. The privileges associated with each user role are enforced for cross-cluster, service group operations.
See User privileges in global clusters.
To bring a service group online across clusters for the first time
To bring a service group online across clusters
hagrp -online
service_group
-sys
system
[-clus
cluster
|
The option -clus
brings the service group online on the system designated in the cluster. If a system is not specified, the service group is brought online on any node within the cluster. The option -localclus
brings the service group online in the local cluster.
To bring a service group online on any node
hagrp -online [-force]
service_group
-any [-clus
cluster
|
The option -any
specifies that HAD brings a failover group online on the optimal system, based on the requirements of service group workload management and existing group dependencies. If bringing a parallel group online, HAD brings the group online on each system designated in the SystemList attribute.
To take a service group offline across clusters
hagrp -offline [-force] [-ifprobed]
service_group
-sys
system
The option -clus
takes offline the service group on the system designated in the cluster.
To take a service group offline anywhere
hagrp -offline [-ifprobed]
service_group
-any
The option -any
specifies that HAD takes a failover group offline on the system on which it is online. For a parallel group, HAD takes the group offline on each system on which the group is online. HAD adheres to the existing group dependencies when taking groups offline.
To switch a service group across clusters
hagrp -switch
service_group
-to
system
[-clus
cluster
|
The option -clus
identifies the cluster to which the service group will be switched. The service group is brought online on the system specified by the -to system argument. If a system is not specified, the service group may be switched to any node within the specified cluster.
The option -nopre
indicates that the VCS engine must switch the service group regardless of the value of the PreSwitch service group attribute.
To switch a service group anywhere
hagrp -switch
service_group
-any [-clus
cluster
| -localclus]
The -any
option specifies that the VCS engine switches a service group to the best possible system on which it is currently not online, based on the value of the group's FailOverPolicy attribute. The VCS engine switches a global service group from a system to another system in the local cluster or a remote cluster.
If you do not specify the -clus
option, the VCS engine by default assumes -localclus
option and selects an available system within the local cluster.
The option -clus
identifies the remote cluster to which the service group will be switched. The VCS engine then selects the target system on which to switch the service group.