ansible redhat cluster qorum qdevice
- hosts: localhost user: root become: yes become_method: sudo tasks: - name: high availability is removed/installed yum: name='@High Availability' state=present - name: resilent storage is removed/installed yum: name='@Resilient Storage' state=present - name: install pcs pacemaker fence-agent-all command: yum install pcs pacemaker fence-agents-all - name: pcsd is running and enabled service: name=pcsd state=started enabled=yes - firewalld: service: high-availability permanent: yes state: enabled [root@localhost ~]# pcs cluster setup --start --name cluster cluster1 cluster2 --force Destroying cluster on nodes: cluster1, cluster2... cluster1: Stopping Cluster (pacemaker)... cluster2: Stopping C...
Comments
Post a Comment