Management in High Availability Guide (under Configuration tips->Deployment Strategies -> Configuring HaProxy)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-manuals |
Won't Fix
|
Medium
|
Adam Spiers |
Bug Description
Hi,
It seems there is lacking information on this section, regarding with as per mentioned "you can use the clustercheck utility to improve health checks" but seems you can't using this guides.
I am using CentOS 7.3.
As per solution:
You need to download the clustercheck in https:/
and save it to /usr/bin/ then change the permission to 755.
cd /usr/bin/
wget https:/
chmod 755 clustercheck
modify the
MYSQL_USERNAME=
MYSQL_PASSWORD=
to as per reference to step1:
MYSQL_USERNAME=
MYSQL_PASSWORD=
Under Step 2:
user = root
group = root
groups = yes
can be
user = nobody
For Step 3:
You need to modify the service to match with the service name of step 2, search 9200
vi /etc/services
#wap-wsp 9200/tcp # WAP connectionless session service
#wap-wsp 9200/udp # WAP connectionless session service
galera-monitor 9200/tcp # Galera Cluster Monitoring Check
before you can run the current steps provided.
systemctl daemon-reload
systemctl enable xinetd
systemctl start xinetd
You can now check using by using..
/usr/bin/
(output)
HTTP/1.1 200 OK
Content-Type: text/plain
Connection: close
Content-Length: 40
Percona XtraDB Cluster Node is synced.
if you stop the cluster (systemctl stop mariadb) for example
/usr/bin/
(output)
HTTP/1.1 503 Service Unavailable
Content-Type: text/plain
Connection: close
Content-Length: 44
Percona XtraDB Cluster Node is not synced.
Note: Disregard "Percona XtraDB" which can be modified, pls do alter in clustercheck.
I don't know if my solution is right or the current manual (based on this section) doesn't work on mine.
By the way the reference:
https:/
Regards,
Mario
This bug tracker is for errors with the documentation, use the following as a template and remove or add fields as you see fit. Convert [ ] into [x] to check boxes:
- [X] This doc is inaccurate in this way: ______
- [ ] This is a doc addition request.
- [X] I have a fix to the document that I can paste below including example: input and output.
If you have a troubleshooting or support issue, use the following resources:
- Ask OpenStack: http://
- The mailing list: http://
- IRC: 'openstack' channel on Freenode
-------
Release: 15.0.0 on 2017-05-31 14:00
SHA: 6596db50bfdd11b
Source: https:/
URL: https:/
Changed in openstack-manuals: | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Adam Spiers (adam.spiers) |
Hi @tersian, thanks for the triage. Unfortunately I've never touched MySQL / Percona in an OpenStack context (we use PostgreSQL here), so there's no easy way I can help with this one :-( Andrew, can you help?