Resource online basics
Resources are brought online automatically when the service group is brought online. They can also be brought online manually after the maintenance task according to the order defined in the dependency tree. The resource agent runs the online entry point which in turn runs the specific startup operations required to bring the resource online.
In normal day-to-day operations, you perform most management operations at the service group level. However, you may need to perform maintenance tasks that require one or more resources to be offline while others are online.
If you make errors during resource configuration, you can cause a resource to fail to be brought online. You can avoid this during a new resource configuration by setting the Critical attribute value to 0. This makes it non-critical making service group to not failover in case of an error in resource configuration.
Bringing resources online using CLI
To bring a resource online, provide the resource name and the name of a system that is configured to run the service
group.:
# hares -online resource -sys system
Resource offline basics
Resources are taken offline automatically when the service group is taken offline. You can also take resources offline manually according to the order defined in the dependency tree. The resource agent runs the offline entry point which in turn runs the specific shutdown operations required to bring the resource offline.
Making a resource offline causes the service group to become partially online and availability of the application service is affected. If a resource needs to be taken offline, for example, for maintenance of underlying hardware, then consider switching the service group to another system.
If multiple resources need to be taken offline manually, then they must be taken offline in resource dependency tree order, that is, from top to bottom. Taking a resource offline and immediately bringing it online may be necessary if, for example, the resource must reread a configuration file due to a change. Or you may need to take a database resource offline in order to perform an update that modifies the database files.
Bringing resources offline using CLI
To take a resource offline, Provide the resource name and the name of a system:
# hares -offline [resource] -sys [system]
VCS (Infoscale Availability) : How to switch a Service Group
VCS (Infoscale Availability) : How to online and offline a Service Group