This site best when viewed with a modern standards-compliant browser. We recommend Firefox Get Firefox!.

Linux-HA project logo
Providing Open Source High-Availability Software for Linux and other OSes since 1999.

USA Flag UK Flag

Japanese Flag

Homepage

About Us

Contact Us

Legal Info

How To Contribute

Security Issues

21 December 2007 Heartbeat release 2.1.3 is now out Download it and install it!

11 October 2007 NEW educational HA/DR Blog hosted by Alan Robertson

9 April 2007 Check out the Cool Heartbeat Screencasts: Installation, Intro to the GUI Part of the Heartbeat Education project

Last site update:
2008-05-17 14:58:28

Transparent Upgrade

A Transparent Upgrade is one in which services run without interruption throughout the cluster, during the upgrade. In a Transparent Upgrade, service software remains running without the benefit of oversight by the ClusterResourceManager or LocalResourceManager.

Nodes in the cluster are upgraded, either one at a time or all at once, and then control of the services is returned to the ClusterResourceManager either at the end or incrementally at the end of each node upgrade.

This is distinct from a RollingUpgrade in which case all services remain at all times under the supervision of the ClusterResourceManager and LocalResourceManager.

CRM transparent upgrade quick howto

The CRM clusters are very easy to upgrade transparently. A quick howto follows, but first a word of

WARNING: Always first test the new release with the existing configuration on a test cluster.

Now that you read and understood properly the previous note, here are the steps for a transparent upgrade:

  1. Set all resources to the unmanaged mode:
     # crm_attribute -t crm_config -n is-managed-default -v false 

    Note that after the release 2.0.8 the attribute name changed from is_managed_default.

  2. Check that all resources are unmanaged:

     # crm_mon -1
    If some are not, then remove the attribute from those resources:
     # crm_resource -r <rsc> --meta -d is_managed
  3. Now you can stop heartbeat, upgrade, start.

    NB: In case the heartbeat does not want to stop, just kill all the processes.

  4. Put resources back into the managed mode:
     # crm_attribute -t crm_config -n is-managed-default -v true

See Also

RollingUpgrade