Questions tagged [pcs]

14 questions
2
votes
1 answer

PCS Stonith (fencing) will kill two node cluster if first is down

I have configured a two node physical server cluster (HP ProLiant DL560 Gen8) using pcs (corosync/pacemaker/pcsd). I have also configured fencing on them using fence_ilo4. The weird thing will happen if one node goes down (under DOWN i mean power…
Marko Todoric
  • 357
  • 2
  • 17
2
votes
2 answers

pcs cluster not moving resource when instructed to move

for whatever reason I'm no more able to move resources with pcs pacemaker-1.1.16-12.el7_4.8.x86_64 corosync-2.4.0-9.el7_4.2.x86_64 pcs-0.9.158-6.el7.centos.1.x86_64 Linux server_a.test.local 3.10.0-693.el7.x86_64 I have 4 resources configured as…
yesOrMaybeWhatever
  • 101
  • 2
  • 3
  • 13
1
vote
0 answers

Stop a pacemaker node when local shell script returns an error?

Is it possible to make pacemaker stopping a node when a local test script fails, and start a node if the local test script returns true again? This seems like a very simple problem, but as i can't find ANY way to do this within pacemaker, I'm about…
psicolor
  • 11
  • 1
1
vote
1 answer

fence_virtualbox failed to reboot

I’m learning how to fence pacemaker using fence_virtualbox from [ClusterLabs] Fence agent for VirtualBox, but I can’t get it working. When I try to run stonith_admin –-reboot it failed. Currently, my setup is: Node ID: VM…
1
vote
0 answers

Cannot seem to start pcs cluster (NFS Cluster) disk_fencing trouble

For the life of me, I can't find a clear answer on how to start my NFS active / passive cluster. I have two nodes, node1 and node2 and followed the guide here:…
jasontt33
  • 11
  • 1
1
vote
1 answer

CentOS 8 - Clustered File System

In my environment, I have a need for a shared disk between two application servers such that changes on Server A are immediately available on Server B. Historically, I have solved this issue by sharing a GFS2 volume by using multipathed disks stored…
James Shewey
  • 1,126
  • 2
  • 11
  • 18
1
vote
0 answers

Adding (cifs, samba)Filesystem resource to PCS

I am trying to create PCS resource Filesystem on Samba share(cifs) file system type. Here is a command that I have used to create pcs resource. root@shaunak-VirtualBox:~# pcs resource show SMBDiskResourceName Resource: SMBDiskResourceName…
1
vote
2 answers

MySQL Server monitor_20000 on node1 'not running' - HA Cluster - Pacemaker - Corosync - DRBD

I get this Error after finishing configuring cluster. And after trying to fail-BACK from node2 mysql_service01_monitor_20000 on node1 'not running' (7): call=20, status=complete, exitreason='none' shutdown cluster & restart mariadb pcs cluster stop…
FreeSoftwareServers
  • 2,482
  • 10
  • 37
  • 57
1
vote
3 answers

Trouble Creating Virtual_IP for PaceMaker + Corosync - CentOS 7

Ok so I have gotten fairly far into the configuration successfully, the two nodes have authenticated each other and all is well, but when I try to add the virtual_ip it never starts. What i've used so far is not really relevant, but my write up…
FreeSoftwareServers
  • 2,482
  • 10
  • 37
  • 57
0
votes
1 answer

How to increase a number of nfsd threads in pcs/corosync environment?

I have NFS server bound with pcs/corosync to provide stability and HA. The default number of nfsd threads is 8, wich I find too little as I can observe that mostly all 8 are 90% busy all the time. The nfs/corosync/pcs system consists of 3 servers…
Dim
  • 13
  • 3
0
votes
1 answer

Performing maintenance on GFS2 inside pacemaker cluster

I will need to perform a maintenance on one of storage servers that provides GFS2 volume to a three node pacemaker cluster. Same cluster has an addition of 2 GFS2 volumes as well. Would it be safe to run pacemaker resource disable on GFS2 resource…
Marko Todoric
  • 357
  • 2
  • 17
0
votes
1 answer

RHEL High-Availability Cluster using pcs, configuring service as a resource

I have a 2 node cluster on RHEL 6.9. Everything is configured except I'm having difficulty with an application launched via shell script that created into a service (in /etc/init.d/myApplication), which I'll just call "myApp". From that application,…
Greg
  • 187
  • 4
  • 11
0
votes
2 answers

pcs stonith not working

i have 2 virtual centos7 nodes , root can login passwordless among themself, i have configured stonith like this but the services are not coming up, fencing is not happening , im new to this, could someone help me rectify issue~ [root@node1…
Mohammed Ali
  • 671
  • 2
  • 14
  • 38
0
votes
1 answer

PCS and corosync/pacemaker

A simple and fast question about pcs. With this command pcs resource create NameService named op monitor interval=30s I create a resource named,wich is working,but if i want to run named -u named -t /var/chroot instead of default named,how to…
elbarna
  • 12,050
  • 22
  • 92
  • 170