[Pacemaker] Colocation constraint to External Managed Resource

Robert H. pacemaker at elconas.de
Fri Oct 11 08:45:28 UTC 2013


Hello Andreas,

> Have you verified the mysql script is LSB compliant? ....
> http://goo.gl/UqoHbv

[root at NODE2 ~]# /etc/init.d/mysql status; echo $?
MySQL (Percona XtraDB Cluster) running (10562)             [  OK  ]
0
[root at NODE2 ~]# /etc/init.d/mysql stop; echo $?
Shutting down MySQL (Percona XtraDB Cluster)....           [  OK  ]
0
[root at NODE2 ~]# /etc/init.d/mysql status; echo $?
MySQL (Percona XtraDB Cluster) is not running              
[FEHLGESCHLAGEN]
3

[root at NODE2 ~]# /etc/init.d/mysql stop; echo $?
Shutting down MySQL (Percona XtraDB Cluster)MySQL (Percona 
[FEHLGESCHLAGEN]PID file could not be found!
0

[root at NODE2 ~]# /etc/init.d/mysql start; echo $?
Starting MySQL (Percona XtraDB Cluster).....               [  OK  ]
0

[root at NODE2 ~]# /etc/init.d/mysql status; echo $?
MySQL (Percona XtraDB Cluster) running (5304)              [  OK  ]
0
[root at NODE2 ~]# /etc/init.d/mysql start; echo $?
Starting MySQL (Percona XtraDB Cluster)                    [  OK  ]
0

.. so it looks like yes :)

> Regards,
> Andreas


--
Robert




More information about the Pacemaker mailing list