Commit Graph

4 Commits

Author SHA1 Message Date
Vincent Untz 89d65b51aa OCF RA: Add new limit_nofile parameter to rabbitmq-server-ha OCF RA
This enables to change the limit of open files, as the default on
distributions is usually too low for rabbitmq. Default is 65535.
2017-04-04 15:08:51 +02:00
Dmitry Mescheryakov 67cdbe3067 Correctly return exit code from stop
Panicking and returning non-success on stop often leads to resource
becoming unmanaged on that node.

Before we called get_status to verify that RabbitMQ is dead. But
sometimes it returns error even though RabbitMQ is not running. There
is no reason to call it - we will just verify that there is no beam
process running.

Related fuel bug - https://bugs.launchpad.net/fuel/+bug/1626933
2016-10-17 19:43:46 +03:00
Alexey Lebedeff 1d564c8746 OCF RA: Check partitions on non-master nodes
Partitions reported by `rabbit_node_monitor:partitions/0` are not
commutative (i.e. node1 can report itself as partitioned with node2, but
not vice versa).

Given that we now have strong notion of master in OCF script, we can
check for those fishy situations during master health check, and order
damaged nodes to restart.

Fuel bug: https://bugs.launchpad.net/fuel/+bug/1628487
2016-09-29 16:13:18 +03:00
Jean-Sébastien Pédron e97ca28ac7
scripts: Take package-specific files from rabbitmq-server
[#130659985]
2016-09-21 16:25:24 +02:00