Am Mittwoch, 1. April 2009 17:55:39 schrieb [email protected]:
> Hello,
> I spent the whole afternoon to search for a good heartbeat v2
> documentation, but it looks like this is somehow difficult. Maybe
> someone in here can help me?

The only good doc is Andrews Configuration_Explained. See:
http://www.clusterlabs.org/mediawiki/images/6/61/Colocation_Explained.pdf

On the other hand, if you understand German, I could suggest you a very good 
book from O'Reilly ;-)

> Anyway I have a short question about "stickiness". I only know about sun
> cluster but I have to build up knowledge about heartbeat cluster since
> we are running two debian heartbeat clusters now.

Be sure to get really the latest packages from Linux-HA. The default debian 
packages are a little behind. There exist a lot of improvements and bug fixes 
in the mean time.

> Those two are failover clusters providing web services, nagios and
> vserver virtual hosts. Let's say resource_group_a is running on node1
> and resource_group_b on node2. If I reboot node2 resource_group_b will
> switch to node1. But if node2 is up again resource_group_b will switch
> back to node2. That is what I don't want the cluster to do. No
> switchback... How can I do that?

Set the resource-stickness of the group_b lets say to 100 points. Then the 
group will stay on the node it runs on until the difference in score 
calculation due to other constraints is more than 100 points.

> And which command is used to switch one resource group to another node
> (not marking any node as "standby")?


crm_resource -M -r <resource_name> -H <host_to_migrate_to>

unmigrate with

crm_resource -U r <resource>

> Thank you for your help.
>
> Best regards Florian
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems

-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: [email protected]
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to