All Projects → OndrejHome → ansible.pcs-modules-2

OndrejHome / ansible.pcs-modules-2

Licence: other
Ansible modules for interacting with pacemaker clusters (2nd generation)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to ansible.pcs-modules-2

ansible-role-pacemaker
Ansible role to deploy Pacemaker HA clusters
Stars: ✭ 19 (-26.92%)
Mutual labels:  cluster, pacemaker, pcs
ha cluster exporter
Prometheus exporter for Pacemaker based Linux HA clusters
Stars: ✭ 63 (+142.31%)
Mutual labels:  cluster, pacemaker
kubernetes the easy way
Automating Kubernetes the hard way with Vagrant and scripts
Stars: ✭ 22 (-15.38%)
Mutual labels:  cluster, pacemaker
node-advanced
Node Advanced Courseware
Stars: ✭ 80 (+207.69%)
Mutual labels:  cluster
webpack-cluster
Helps to make parallel webpack compilation easily
Stars: ✭ 32 (+23.08%)
Mutual labels:  cluster
theater
Actor framework for Dart. This package makes it easier to work with isolates, create clusters of isolates.
Stars: ✭ 29 (+11.54%)
Mutual labels:  cluster
NodeServer
Compare node.js servers
Stars: ✭ 35 (+34.62%)
Mutual labels:  cluster
kubectl-node-restart
Krew plugin to restart Kubernetes Nodes sequentially and gracefully
Stars: ✭ 73 (+180.77%)
Mutual labels:  cluster
ddrt
An elixir implementation of Rtree, optimized for fast updates.
Stars: ✭ 38 (+46.15%)
Mutual labels:  cluster
dentist
Close assembly gaps using long-reads at high accuracy.
Stars: ✭ 39 (+50%)
Mutual labels:  cluster
gce-cache-cluster
Easy groupcache clustering on GCE
Stars: ✭ 32 (+23.08%)
Mutual labels:  cluster
impress-cli
Impress Application Server Command line interface
Stars: ✭ 25 (-3.85%)
Mutual labels:  cluster
container-orchestration
A Benchmark for Container Orchestration Systems
Stars: ✭ 19 (-26.92%)
Mutual labels:  cluster
Clustering-Datasets
This repository contains the collection of UCI (real-life) datasets and Synthetic (artificial) datasets (with cluster labels and MATLAB files) ready to use with clustering algorithms.
Stars: ✭ 189 (+626.92%)
Mutual labels:  cluster
inspr
Inspr is an agnostic application mesh for simpler, faster, and securer development of distributed applications (dApps).
Stars: ✭ 49 (+88.46%)
Mutual labels:  cluster
ansible fetch terraform backend outputs
Ansible module that pulls output dictionary from Terraform tfstate files from s3 backend.
Stars: ✭ 27 (+3.85%)
Mutual labels:  ansible-modules
flip
Simple, lightweight, virtual IP management utility for moving IPs around nodes in response to cluster events.
Stars: ✭ 23 (-11.54%)
Mutual labels:  cluster
terraform-aws-druid
Terraform module to deploy Apache Druid in Kubernetes
Stars: ✭ 16 (-38.46%)
Mutual labels:  cluster
Ansible-VMware-Workstation-Fusion-Pro-Modules
Ansible meet VMware Workstation/Fusion Pro
Stars: ✭ 41 (+57.69%)
Mutual labels:  ansible-modules
mnesiam
Mnesiam makes clustering easy for Mnesia database.
Stars: ✭ 17 (-34.62%)
Mutual labels:  cluster

pcs-modules-2

Ansible modules for configuring pacemaker cluster on CentOS/RHEL 6/7/8 and Fedora 31/32/33/34/35 systems.

PCS versions supported:

  • pcs-0.9
  • pcs-0.10
  • pcs-0.11 (initial support)

If you are looking for a role that will configure a basic pacemaker cluster on CentOS/RHEL 6/7/8 or Fedora 31/32/33/34/35 systems, then check out the ondrejhome.ha-cluster-pacemaker role that uses the pcs-modules-2.

Note that modules manipulating with cluster configuration such as pcs_resource, pcs_constraint_*, pcs_property, pcs_resource_defaults and pcs_stonith_level should be run only from one of the cluster nodes in cluster by using either run_once: True or delegate_to: options.

Requirements

RHEL: It is expected that machines will already be registered and subscribed for access to 'High Availability' or 'Resilient storage' channels.

Role Variables

None. This role is intended to be included as dependency.

Provided Modules

pcs_auth - (de)authorization of nodes in pacemaker cluster

pcs_resource - create/update/delete cluster resources in pacemaker cluster including stonith resources

pcs_constraint_location - create/delete cluster location constraints in pacemaker cluster

pcs_constraint_colocation - create/delete cluster colocation constraints in pacemaker cluster

pcs_constraint_order - create/delete cluster order constraints in pacemaker cluster

pcs_cluster - create/destroy pacemaker cluster, adds/removes nodes to/from existing clusters

pcs_property - set/unset pacemaker cluster properties

pcs_resource_defaults - set/unset resource defaults and resource operation defaults

pcs_quorum_qdevice - crete/delete qdevice in pacemaker cluster

pcs_stonith_level - crete/delete stonith levels in pacemaker cluster

detect_pacemaker_cluster - fact collecting module for collecting various information about pacemaker cluster (currently only the nodes cluster considers to be part of)

Example Playbook

Example playbook for including modules in your playbook

- hosts: servers
  roles:
     - { role: ondrejhome.pcs-modules-2 }

Use the ansible-doc command to get more information about each module and to see examples of its use.

ansible-doc -M library/ pcs_resource

Known issues and limitations

  • RRP on EL7 is limited to 2 links and following message can be observed if more than 2 links are attempted. pcs_cluster module will consider only 2 links and ignore rest of specified silently to avoid this issue. If you have platform with pcs-0.9 where you can create cluster with 3 or more redundant links (using pcs) then feel free to open issue and provide details.

    [MAIN  ] parse error in config: interface ring number 2 is bigger than allowed maximum 1
    

License

GPLv3 or Apache License 2.0, check LICENSE file for more information

Author Information

WARNING: Despite the modules are used by the Author regularly they are tested only manually

To get in touch with author you can use email [email protected] or create a issue on github when requesting some feature.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].