Questions tagged [pacemaker]

Pacemaker is, according to its website, an Open Source, High Availability resource manager suitable for both small and large clusters.

Pacemaker is, according to its website, an open source, high availability resource manager suitable for both small and large clusters.

136 questions
0
votes
1 answer

Create failover postgresql cluster if you have 2 virtmachine without load balancing server

Whats recommendation can you give me on setting up a database failover postgresql cluster? I have only 2 virtual machine. Right now i read this https://wiki.clusterlabs.org/wiki/PgSQL_Replicated_Cluster I have some questions about it: Where is it…
Hansolos
  • 1
  • 1
0
votes
0 answers

Configure pacemaker's src addr

I'm trying to configure my corosync cluster with 2 ips: - 1 public - 1 private I do have 3 primitives: - 2 ipaddr2 to mount ips - 1 ipsrcaddr to src from the private ip in it's subnet My problem is that ipsrcaddr replaces the default gateway…
tribes
  • 1
0
votes
0 answers

SYBASE Cluster on RedHat Pacemaker Cluster

I am trying to setup a SYBASE cluster on RedHat 7.5 using Pacemaker. I want the Active/Passive mode, where SYBASE will be running only in a single node a the time, but when I configure in such way it's work fine during the configuration, but when…
Helio Aymoto
  • 303
  • 2
  • 5
  • 16
0
votes
3 answers

PCS resource ipaddr2 failed to start with exitreason='[findif] failed'

I need to set up a VIP with pcs in a 2 CentOS 7 node cluster. The resoruce gets defined like that: pcs resource create MyVip ocf:heartbeat:IPaddr2 ip=10.215.208.164/24 cidr_netmask=24 nic=ens32 op monitor interval=3s This same config is working…
Txalamar
  • 3
  • 2
  • 4
0
votes
1 answer

Pace Maker in Select statement not working

Select statement in sqlite3(Python) without pacemaker is working fine but is behaving odd with the pacemaker(?) In the below code when I'm using "table_column_name" in the select I am getting all the items in my list populated in my list box. but…
LOKE2707
  • 312
  • 1
  • 5
  • 19
0
votes
1 answer

Pacemaker dont start resource jboss and pgsql

I test pacemaker on two servers. On two nodes stands CentOS 7 x64 jdk-7u80-linux-x64 JBoss 7.1.1 Final Pgsql (PostgreSQL) 9.2.24 pcs --version 0.9.165 Set up 3 resources. IPaddr2 works without problems. But with jboss and pgsql…
0
votes
2 answers

High availability Cluster Active/passive Setup using Pacemaker and drbd primary auto takes over after a failure

After follow the guide below, i manage to set up a active-passive cluster node. But i notice that when the main fails and come back on, it does not take back the primary role. What setting i should configure in the crm to ensure that when the…
0
votes
1 answer

corosync/pacemaker treating OCF_RUNNING_MASTER as error

I created an ocf resource agent and I want to run it as a Master/Slave set. At first my monitor function returned OCF_SUCCESS on a running node (regardless of whether it was a master or a slave) which did actually work, but pacemaker did not know…
0
votes
1 answer

ipvsadm -L -n suddenly showing no active connections

I have a very odd problem in a proxy cluster of four Squid proxies: One of the machine is the master. The mater is running ldirectord which is checking the availability of all four machines, distributing new client connections. All over a sudden,…
Ralf Hildebrandt
  • 543
  • 2
  • 16
0
votes
1 answer

Pacemake not failover when nginx service down

I have setup HA-Cluster for nginx. So when nginx or node fail, then it will failover to second node. pcs status Cluster name: push_noti_cluster Stack: corosync Current DC: push2 (version 1.1.18-11.el7_5.3-2b07d5c5a9) - partition with quorum Last…
0
votes
2 answers

httpd service starting although it is disabled to start on reboot

I'm using RHEL 7.4 OS. I have done systemctl disable httpd.service to disable auto start of httpd. It is disabled also. [root@clustermrfc002 ~]# systemctl is-enabled httpd disabled. But on reboot httpd service is starting. Jul 28 18:02:07…
Vijay S B
  • 1,251
  • 1
  • 13
  • 24
0
votes
1 answer

[pacemaker]Don't restart nfs-server service

I have clustering nfs server with corosync and pacemaker. I Installed environment successfully then i fount a problem while testing. That screen is captured after add resources. nfs1 server is working well, and all resources are watched by…
Gs.
  • 540
  • 1
  • 3
  • 21
0
votes
1 answer

Corosync/Pacemaker pcs equivalent commands to crm

I know crm utility command has been people's preferred method to manage clusters when it comes to High Availability with corosync & pacemaker. Now, its been deprecated and we are told to work with pcs utility commands which suppose to do all sort of…
krs4keshara
  • 161
  • 3
0
votes
1 answer

DRBD with temprorary hostname change

I have set-up a test 2-node HA cluster for an application which writes data to local disk. DRBD has been set up for this to sync the data onto the 2nd node. My application is having dependency on the hostname to start/stop and perform any task. To…
0
votes
1 answer

warning in vSphere CLI: Use of uninitialized value $hostname

I am using vSphere CLI 6.5.0 for resetting a VM from a Perl script. This is in the context a (proprietary) STONITH plugin for Pacemaker. Immediately after STONITH, journalctl -u pacemaker reports a warning in vmcontrol.pl, which belongs to vSphere…
rookie09
  • 736
  • 1
  • 6
  • 18