Bug Fix Advisory rgmanager bug fix and enhancement update

Advisory: RHBA-2008:0353-14
Type: Bug Fix Advisory
Severity: N/A
Issued on: 2008-05-21
Last updated on: 2008-05-21
Affected Products: RHEL Clustering (v. 5 server)
OVAL: N/A

Details

An updated rgmanager package that fixes several bugs and adds enhancements
is now available.

The rgmanager package contains the Red Hat Resource Group Manager, which
provides high availability for critical server applications in the event of
planned or unplanned system downtime.

This updated package fixes the following bugs:

* "vm.sh" used a depreciated 'restart="never"' option when running the "xm
create" command. Creating a new domain failed with a "Error: Invalid event
handling mode: shutdown" error.

* in certain situations, if two or more nodes used a shared GFS file
system, services using the GFS file system correctly started on one node,
but failed to start on the others. In this updated package, rgmanager
checks if a GFS file system a service requires is already mounted, before
attempting to mount it, which resolves this issue.

* stopping a service that used a shared GFS file system unmounted the
GFS file system, even when other services were using it.

* clulog did not honor rgmanager log levels. For example, if the log level
was set to 7, running "clulog -s 7 [test]" did not produce a log message.

* in certain situations, starting a cluster via luci resulted in clurgmgr
causing a segmentation fault.

* the clusvcadm man page has been updated.

* the default migration policy has been changed from "paused" to "live".

* the "clustat" output was cut to an unreadable length.

* extraneous errors during highly available LVM operations have been
resolved.

* the highly available LVM service failed to relocate during I/O
operations.

* the "clusvcadm" command ignored the "-F" and "-m" options. This made it
only possible to start services on a local node. In this updated package,
the "-F" and "-m" options work as expected.

* it was possible to migrate a virtual machine to itself using the
"clusvcadm -M" command. This could cause virtual machines to get stuck in
the migrating state. In this updated package, it is not longer possible
to migrate a virtual machine to itself.

* in certain situations, a bug in rgmanager caused rgmanager to crash
during restart. This has been resolved in this updated package.

As well, this updated package adds the following enhancements:

* a resource agent for named has been added.

* rgmanager now supports "hard" and "soft" dependencies. For example, if
service "A" has a "hard" dependency on service "B", service "A" must be
stopped if service "B" fails. As well, if service "A" has a "soft"
dependency on service "B", then service "A" must be started after service
"B", but would be able to recover by itself if service "B" failed.

* a resource agent for Oracle Database 10g Release 2 has been added.

* restart counters have been added. Use the 'max_restarts="[x]"' and
'restart_expire_time="[x]"' options in "cluster.conf". This allows services
to be relocated, instead of restarted.

* highly available LVM now allows multiple LVs and VGs, as long as they are
moved together.

* it is now possible to mount Samba shares from the NetFS resource agent.

* follow logic can now be configured. For example, if a server is running
on node A, and a replication service is running on node B, if node A fails,
the server service is started on node B, before being moved to another
node.

* support has been added for a Sybase failover agent.

Users of rgmanager are advised to upgrade to this updated package, which
resolves these issues and adds these enhancements.


Solution

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

This update is available via Red Hat Network. To use Red Hat Network,
launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.

Updated packages

RHEL Clustering (v. 5 server)

SRPMS:
rgmanager-2.0.38-2.el5.src.rpm
File outdated by:  RHBA-2008:0494
    cb381ef9c3127142e467fa736934cbcf
 
IA-32:
rgmanager-2.0.38-2.el5.i386.rpm
File outdated by:  RHBA-2008:0494
    cabd1ea258104988f97392b431d33ae8
 
IA-64:
rgmanager-2.0.38-2.el5.ia64.rpm
File outdated by:  RHBA-2008:0494
    bf89826aa214e0279df62ae072a767b4
 
PPC:
rgmanager-2.0.38-2.el5.ppc.rpm
File outdated by:  RHBA-2008:0494
    e80f6e7f71577f9f44d6b5736adfc9f2
 
x86_64:
rgmanager-2.0.38-2.el5.x86_64.rpm
File outdated by:  RHBA-2008:0494
    564563673c9c063688058181f95aaf8f
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

245178 - Resource agent for named
247866 - xm create command line from vm.sh is wrong
254110 - failed start of service because shared resource gfs already mounted
254111 - rgmanager umounts shared partition gfs although its used by another service
289501 - clulog doesn't honor cluster configuration specification of log level in all cases
303981 - clurgmgr sefaults upon startup after cluster is stopped
324151 - clusvcadm man page appears to be incorrect
384461 - service: prefix tag surplus clustat clurgmgrd display double
400211 - RFE: Provide a method to fail over a service to another node after X number of restarts.
427378 - HA LVM should allow multiple LVs/VG as long as they move together
428346 - RFE: clean up errors during ha lvm operations
428448 - HA LVM service fails to relocate when I/O is running
430220 - clusvcadm is ignoring -F and -m options
430272 - migrate-to-self allowed
432998 - inability to kill all i/o processes before fs relocation can cause 'recoverying' service
438816 - HA LVM: lvm_by_vg.sh is stripping tags from all the VGs and not from only the configured one.



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/