[Linux-HA] Force switch with DRBD
Luis Motta Campos
luismottacampos at yahoo.co.uk
Tue Mar 4 04:01:00 MST 2008
DucaConte Balabam wrote:
> Dominik Klein ha scritto:
>> DucaConte Balabam wrote:
>> Try
>>
>> crm_resource -M -r Oracle
>
> This will force the change from slave to master (and from master to
> slave) of DRBD resource?
No, if you read the manual, you will discover that his creates a rule
saying that the "Oracle" resource can't run on the current machine anymore.
Use carefully, and try to remember to use crm_resource -U -r Oracle to
remove the rule afterwards.
I also recommend you to try using -H to specify where to move the
resource to, and -u to specify a life time for the newly created rule.
This bytes, take care.
Good luck.
--
Luis Motta Campos (a.k.a. Monsieur Champs) is a software engineer,
Perl fanatic evangelist, and amateur {cook, photographer}
More information about the Linux-HA
mailing list