resource-agents | Combined repository of OCF agents
kandi X-RAY | resource-agents Summary
kandi X-RAY | resource-agents Summary
This repository contains resource agents (RAs) compliant with the Open Cluster Framework (OCF) specification.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of resource-agents
resource-agents Key Features
resource-agents Examples and Code Snippets
Community Discussions
Trending Discussions on resource-agents
QUESTION
I have a Linux Cluster based on Pacemaker(v1.1.18-11) and corosync(v2.4.3-2) setup on Centos 7.2 It is a Two nodes setup with nodes= DBHA (master) and DBFAILOVER (slave)
I have a resource Postgresql9 which uses this Resource agent: pgsql with slight variation
I am using the standard documentation to setup Postgres replication : PgSQL_Replicated_Cluster
After doing all step for master it still was not becoming master. Following error was shown in /var/log/cluster/corosync.log
Could not map name=dbha to a UUID
After debugging for a bit I found out that following command returns above error:
/usr/sbin/crm_attribute -l reboot -N "dbha" -n "Postgresql9-status" -v "STOP"
Where Nodename is calucated by:
NODENAME=$(ocf_local_nodename | tr '[A-Z]' '[a-z]')
where ocf_local_nodename() is from ocf-shellfuncs:
...ANSWER
Answered 2019-Jan-30 at 12:37It turns out that, pacemaker change the logic getting node names in crm_attribute
and left a bug while comparing node names.
This is fixed (7618c29) in the newer version of the pacemaker. Updating to latest patch fixed it for me.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install resource-agents
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page