wiki:ServiceFreeze
Last modified 3 years ago Last modified on 05/22/11 17:25:39

RGManager can freeze services. Doing so allows users to upgrade rgmanager, CMAN, or any other software on the system while minimizing down-time of rgmanager-managed services.

It also allows maintenance of parts of rgmanager services. For example, if you have a database and a web server in a single rgmanager service, you may freeze the rgmanager service, stop the database, perform maintenance, restart the database, and unfreeze the service.

Service Behaviors when Frozen

  • status checks are disabled
  • start operations are disabled
  • stop operations are disabled
  • Failover will not occur (even if you power off the service owner)

Important

Failure to follow these guidelines may result in resources being allocated on multiple hosts.

  • You must not stop all instances of rgmanager when a service is frozen unless you plan to reboot the hosts prior to restarting rgmanager.
  • You must not unfreeze a service until the reported owner of the service rejoins the cluster and restarts rgmanager.

User Operations: Freeze and Unfreeze

  • To freeze a service, run: clusvcadm -Z <service_name>
  • To unfreeze (thaw) a service, run: clusvcadm -U <service_name>