Questions tagged [pacemaker]

60 questions
6
votes
3 answers

Pacemaker: migrate resource without adding a "prefer" line in config

Using pacemaker in a 2 nodes master/slave configuration. In order to perform some tests, we want to switch the master role from node1 to node2, and vice-versa. For instance if the current master is node1, doing # crm resource migrate r0 node2 does…
Déjà vu
  • 626
  • 1
  • 8
  • 19
5
votes
0 answers

Takeover delay in Heartbeat HA cluster

I have set up a heartbeat HA two node cluster. And both of server have same configuration of ha.cf #cat /etc/ha.cf logfile /var/log/ha-log autojoin none bcast eth1 warntime 20ms deadtime 40ms initdead 30 keepalive 5ms node server1.com node…
4
votes
1 answer

Clustered NFS server reply ERR 24: Auth Bogus Credentials (seal broken)

I have 4 servers on the VirtualBox. Two of the servers are a CentOS 7 cluster with Pacemaker(corosync), and they have an NFSv4 server in Active/Passive mode. There are also 2 clients with CentOS 6, also using this NFS server. The problem does not…
3
votes
1 answer

pacemaker hangs while stopping

I have recently installed pacemaker and corosync for managin a virtual IP. The thing is that when I want to stop a resource (Virtual IP) on all the nodes, the stop command hangs. [root@isis ~]# sudo pcs cluster stop --all isis: Stopping…
mijhael3000
  • 85
  • 2
  • 6
3
votes
1 answer

Corosync & Pacemaker IPTables Rules

When using Corosync with two rings via multi-cast addresses 226.94.1.1 (Port 5405) & 226.94.1.2 (Port 5406) what iptables rules are required to allow two nodes to communicate optimally without giving any undue access and making the rules too…
kemra102
  • 1,061
  • 2
  • 11
  • 16
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
1 answer

quorum in a two-node cluster with pacemaker

I have two node active-passive cluster. Clusters_from_Scratch If a cluster splits into two (or more) groups of nodes that can no longer communicate with each other (aka. partitions), quorum is used to prevent resources from starting on more…
blabla_trace
  • 345
  • 2
  • 5
  • 19
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
2
votes
1 answer

Pacemaker Promote Groups in Specific Order - Or Specify start last

I have a group in Pacemaker which I need to start last. Ideally I'd like to know how to configure groups to start in an specific order, but I can't seem to figure it out, not sure if its possible. Seems like it should be, I love using groups as it…
FreeSoftwareServers
  • 2,482
  • 10
  • 37
  • 57
2
votes
1 answer

Pacemaker - Corosync - HA - Simple Custom Resource Testing - Status flapping - Started - Failed - Stopped - Started

I am testing using the OCF:Heartbeat:Dummy script and I want to make a very basic setup just to know it works and build on that. The only information I can find was this web blog here.…
FreeSoftwareServers
  • 2,482
  • 10
  • 37
  • 57
2
votes
1 answer

MySQL DRBD Resource failing to start PaceMaker + Corosync

So I have gotten to the point where I had all services running when I configured the cluster, but after reboot I am getting the following : Full list of resources: virtual_ip (ocf::heartbeat:IPaddr2): Started node1 webserver …
FreeSoftwareServers
  • 2,482
  • 10
  • 37
  • 57
1
vote
1 answer

Debian 10 Pacemaker-Cluster: GFS2 Mount fails because of "Global lock failed: check that global lockspace is started."

I'm trying to setup a new Debian 10 cluster with three instances. My stack is based on pacemaker, corosync, dlm, and lvmlockd with a GFS2 volume. All servers have access to the GFS2 volume but I can't mount it with pacemaker or manually when using…
Me7e0r
  • 11
  • 1
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

Apache fails to load when SSL activated through Pacemaker

I have setup a cluster on Pacemaker holding: apache, mariadb, 2x GFS2, and a VIP Everything was working fine when running on http but as soon as I added the (self-signed) SSL certificate and the virtual host to httpd/conf.d/ssl.conf file, the…
markb
  • 133
  • 2
  • 8
1
2 3 4