[Pacemaker] Mysqlping resource for Mysql Master-Master replication

Raoul Bhatia [IPAX] r.bhatia at ipax.at
Mon Nov 14 11:50:56 EST 2011


On 2011-11-14 16:40, Viacheslav Biriukov wrote:
> cloned resource separatelyю For example restart cloned Mysql server on
> the first ndoe. But don't touch it on the second? It's no clear for me
> from the documentation.

yes you can:
 > crm resource stop clone:0 or
 > crm resource cleanup clone:0

moreover, you could create constraints for that too:
 > crm resource move clone:0

there is an issue though: by default, you don't know which clone
instance (read :0, :1, etc.) are running on which node.

however, it should be possible to add rules so that :0 will prefer
node01 and :1 will prefer node02

cheers,
raoul
-- 
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc.          email.          r.bhatia at ipax.at
Technischer Leiter

IPAX - Aloy Bhatia Hava OG          web.          http://www.ipax.at
Barawitzkagasse 10/2/2/11           email.            office at ipax.at
1190 Wien                           tel.               +43 1 3670030
FN 277995t HG Wien                  fax.            +43 1 3670030 15
____________________________________________________________________




More information about the Pacemaker mailing list