summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
...
| * | OCF RA: Only set limit for open files when higher than current valueVincent Untz2017-04-042-2/+8
| | | | | | | | | | | | This allows to set the limit via some other way.
| * | OCF RA: Add new limit_nofile parameter to rabbitmq-server-ha OCF RAVincent Untz2017-04-041-0/+17
| | | | | | | | | | | | | | | This enables to change the limit of open files, as the default on distributions is usually too low for rabbitmq. Default is 65535.
| * | OCF RA: Add new limit_nofile parameter to rabbitmq-server OCF RAAlberto Planas2017-03-301-0/+19
| | | | | | | | | | | | | | | This enables to change the limit of open files, as the default on distributions is usually too low for rabbitmq. Default is 65535.
* | | Merge pull request #24 from vuntz/ocf-vhostMichael Klishin2017-04-041-2/+16
|\ \ \ | | | | | | | | OCF RA: Add vhost parameter to rabbitmq-server-ha.ocf
| * | | OCF RA: Add default_vhost parameter to rabbitmq-server-ha.ocfVincent Untz2017-04-041-2/+16
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This enables the cluster to focus on a vhost that is not /, in case the most important vhost is something else. For reference, other vhosts may exist in the cluster, but these are not guaranteed to not suffer from any data loss. This patch doesn't address this issue. Closes https://github.com/rabbitmq/rabbitmq-server-release/issues/22
* | | Merge pull request #25 from vuntz/ocf-resource_nameMichael Klishin2017-03-311-1/+2
|\ \ \ | | | | | | | | OCF RA: Don't hardcode primitive name in rabbitmq-server-ha.ocf
| * | | OCF RA: Don't hardcode primitive name in rabbitmq-server-ha.ocfVincent Untz2017-03-311-1/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | We can compute the name of the primitive automatically from environment variables, instead of hard-coding p_rabbitmq-server; this makes the resource agent more flexible. Closes https://github.com/rabbitmq/rabbitmq-server-release/issues/23
* | | OCF RA: accept 1 as valid exit code from "rabbitmqctl status"Vincent Untz2017-03-311-1/+1
| | | | | | | | | | | | | | | It may return 1 if the server is not completely running yet, and we don't want pacemaker to treat that as a complete unexpected error.
* | | OCF RA: Use rabbitmqctl_action wrapper for stop actionVincent Untz2017-03-311-1/+1
|/ / | | | | | | | | We want to use the wrapper function to call rabbitmqctl for stop, so that we interpret correctly the exit code.
* | Check for rabbitmqctl using `[ -x ]` and not `which` in autocompletionDaniil Fedotov2017-01-303-15/+17
| |
* | Instruction to complete rabbtimq-plugins and rabbitmq-diagnosticsDaniil Fedotov2017-01-272-1/+9
| |
* | Reworked ZSH completion. It's now a function that should explicitely loaded ↵Daniil Fedotov2017-01-253-5/+2
| | | | | | | | on startup
* | Install separate autocomplete scripts for BASH and ZSHDaniil Fedotov2017-01-243-18/+21
| | | | | | | | | | | | | | . /etc/profile can be called from shells incompatible with autocomplete script syntax. To avoid that specific BASH and ZSH autocomplete scripts are called only if shell version is detected.
* | Pass auto-completion arguments as argv, not a single argumentDaniil Fedotov2017-01-241-2/+2
| |
* | Make sure completion call has locale varDaniil Fedotov2017-01-181-1/+3
| |
* | Install auto-complete scriptDaniil Fedotov2017-01-181-0/+22
| |
* | Add Travis tests for Pacemaker OCF RA clusterBogdan Dobrelya2016-11-251-30/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a matrix of two test cases: * Smoke test: just a check if rabbit cluster assembles. * Jepsen test: allowed to fail, it's main value is to verify cluster auto-healing after consequent network partitions and to provide numbers for duplicated/lost/recovered/unexpected messages as well. Make the gate always passing if there is no changes found to the RabbitMQ OCF RA script in the patch under test. Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
* | Merge branch 'rabbitmq-cli-integration'Jean-Sébastien Pédron2016-11-081-1/+1
|\ \ | |/ |/|
| * Integrate rabbitmq-cli deps to release buildDaniil Fedotov2016-10-281-1/+1
| |
* | Correctly return exit code from stopDmitry Mescheryakov2016-10-171-22/+8
|/ | | | | | | | | | | | 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
* OCF RA: Check partitions on non-master nodesAlexey Lebedeff2016-09-291-13/+64
| | | | | | | | | | | | 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
* scripts: Take package-specific files from rabbitmq-serverJean-Sébastien Pédron2016-09-213-0/+2729
| | | | [#130659985]
* scripts/rabbitmq-script-wrapper: Moved from rabbitmq-serverJean-Sébastien Pédron2016-09-211-0/+47
[#130659985]