Questions tagged [high-availability]

34 questions
2
votes
3 answers

What is the best way to store a single counter persistently?

I have a simple bash script that increments a counter a few times per second, guaranteed less than 100 times per second. The script works fine, but I would like the counter to persist on machine crashes. What would be the best way to persist the…
00prometheus
  • 721
  • 5
  • 8
2
votes
0 answers

Setting up a kerberized HA NFS share

I'm trying to set up a kerberized NFS share from an HA cluster. I've successfully set up a krb-aware NFS share from a single server, I'm using a mostly identical configuration on the cluster. Exports file from working single server: /nfs …
John
  • 16,759
  • 1
  • 34
  • 43
2
votes
1 answer

initrd built with NFS module cannot mount NFS root

I'm building a custom initrd so that I can boot diskless nodes with a tmpfs root rather than NFS root (a script in the initrd copies the contents of the root device to a tmpfs filesystem, then changes the value of NEWROOT). All seemed well and good…
Centimane
  • 4,420
  • 2
  • 21
  • 45
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
2
votes
0 answers

keepalived: How to only demote master if a backup can take over?

I am currently trying to setup a highly available system using keepalived. I have a check-script that returns rc=0 if the host it is executed on is the master. Unfortunately this script can fail for various reasons which will lead to the demotion of…
Tim Keller
  • 123
  • 1
  • 4
2
votes
0 answers

XFS over iSCSI share with cluster; will fencing cause data corruption/loss?

When using XFS on iSCSI share, where HA is enabled, nodes may be fenced by cluster. Will this result in data loss / corruption / etc. ?
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
2 answers

Keepalived not working?

I'm trying to create HA for HAProxy using keepalived on CentOS 8, here's what I have: Virtual IP: 10.10.10.14 HAProxy Server 1: 10.10.10.15 HAProxy Server 2: 10.10.10.18 and my keepalived configuration on MASTER: vrrp_script chk_haproxy { script…
Gwynn
  • 41
  • 1
  • 4
1
vote
0 answers

OpenLDAP Cluster

Trying to implement an OpenLDAP cluster, I already managed to set up the two backend LDAP servers in mirroring mode. The application (iRedMail) using the LDAP service is running on the same systems as the LDAP servers. This applications needs the…
arminV
  • 11
  • 1
1
vote
1 answer

Pacemaker: Primary node is rebooted and comes back is primary instead of standby

We are using pacemaker, corosync to automate failovers. We noticed one behaviour- when primary node is rebooted, the standby node takes over as primary - which is fine. When the node comes back online and services are started on it, it takes back…
User2019
  • 11
  • 3
1
vote
1 answer

Pacemaker Virtual IP cannot be routed outside of its network

I have a server cluster consisted of following setup: 2 Virtual Servers with 2 NIC's. eth0 (private network 10.0.0.0/16) and eth1 (public network 77.1.2.0/24 with gateway as 77.1.2.1) For HA-01 VPS i have Private IP on eth0 set as 10.0.0.1 For HA-02…
Marko Todoric
  • 357
  • 2
  • 17
1
vote
1 answer

how to unexport NFS share on VCS HS cluster

**see imp update at bottom of orig. question. not sure how to unexport only the 'world' mountable share? I have a NFS server which had a share with world-mountable permissions. To make it mountable only by the clients on a subnet i added the share…
rajeev
  • 225
  • 2
  • 13
1
vote
1 answer

IP Source Address issues with PaceMaker Virtual IP

I am having trouble setting up a Virtual/Floating IP. In this specific circumstance I am using Pacemaker+Corosync to manage 2 Virtual IP's. One is internal and the other is external to our SIP Trunk. VOIP Asterisk/FreePBX. The issue seems to be that…
1
2 3