Resolves: rhbz#822053 Signed-off-by: Fabio M. Di Nitto <email@example.com>
Signed-off-by: Dejan Muhamedagic <firstname.lastname@example.org>
This patch modifies the behavior of the mysql RA in order to better support replication. Upon promotion, the newly selected master stores in the cib the information needed by the slaves to reconnect to the new master, the binlog file and binlog position. The new mysql RA also maintains, through the monitor call, a transient attribute that can be used by the cluster configuration to control the behavior of reader VIPs, basically moving them away if the slave is not in a sane state. It is also possible to use specific IPs for replication by adding node attributes. Signed-off-by: Dejan Muhamedagic <email@example.com>
…t the unexpected timeout http://lists.linux-ha.org/pipermail/linux-ha-dev/2012-May/019386.html
…e ASE via sapdbctrl
- use $OCF_RESKEY_config parameter when it's specified. - change meta-data of config parameter
The parameter "conntrackd" was obviously defined erroneously. Internally the RA uses the default value for a parameter named "binary" in absence of a user defined "binary" parameter.
Using libvirt 0.9.8 / qemu 1.0 / kvm from kernel 3.2.0, "virsh list" briefly shows the virtual maschine in a "in shutdown" state during a regular "virsh shutdown" operation: Id Name State ---------------------------------- 5 testvm1 running 6 testvm2 running ... 5 testvm1 running 5 testvm1 running ... 5 testvm1 in shutdown 5 testvm1 in shutdown ... - testvm1 shut off - testvm1 shut off ... The VirtualDomain resource agent does not recognize this state and thus issues a "virsh destroy" command. This patch correctly handles "in shutdown" as a "this virtual machine is still running" state. See also: libvirt's tools/virsh.c: static const char * vshDomainStateToString(int state)
… output so do not attempt to log it
A command to print the trace file name of oradebug was previously missed (TRACEFILE_NAME). Use that to obtain the file name instead of fiddling with the file list.
- simplify the check of replication mode - remove an unnecessary code