[Linux-ha-dev] [mgmt][patch8]Target_role issue for sub-resource

Yan Gao ygao at novell.com
Wed Aug 29 03:11:44 MDT 2007


mgmt patch 8:
http://coolpix.a-s-k.hk/~gaoyan/heartbeat-0809-target_role.patch

Signed-off-by: Yan Gao <ygao at novell.com>

Description:
Resolve target_role problem for sub-resource.

*Remove the default target_role parameter added in the dialog of adding
resources. If adding a native resource, a target_role with value of
"stopped" will be just set.

*If adding a resource belonging to a new-group/clone/master_slave, a
target_role with value of "stopped" will be set for the parent,and
nothing will be set for the child.If a user sets target_role himself,
haclient will prompt a dialog for user confirmation.

*When start/stop a group/clone/ms, haclient will check the target_roles
of all sub-resources recursively, dialogs are prompted for user to
retain them or clean them up when found.

*Rewrite the "confirmbox" to make dialogs less ugly;-)

bug#1619:
http://old.linux-foundation.org/developer_bugzilla/show_bug.cgi?id=1619
bug#1388
http://old.linux-foundation.org/developer_bugzilla/show_bug.cgi?id=1388

Reference:
http://old.linux-foundation.org/developer_bugzilla/show_bug.cgi?id=1449
https://bugzilla.novell.com/show_bug.cgi?id=291749

-- 
Yan Gao
China R&D Software Engineer
ygao at novell.com
+86 10 65339229

Novell, Inc.
SUSE® Linux Enterprise
Your Linux is ready
http://www.novell.com/linux



More information about the Linux-HA-Dev mailing list