Remove localhost references from galera docs following bind change
As of victoria, the default bind address for galera does not
include 127.0.0.1. As such these documentation examples do not
work.
Simply removing the explicit host command line switch appears to
work on our deployment.
Change-Id: I183c39e806a070e93e65c85ff851790aed6bae59
(cherry picked from commit a9849a3e29
)
This commit is contained in:
parent
d0661255e0
commit
714463dd00
@ -64,7 +64,7 @@ To check on the status of your Galera cluster:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ ansible galera_container -m shell -a "mysql -h 127.0.0.1\
|
||||
$ ansible galera_container -m shell -a "mysql \
|
||||
-e 'show status like \"%wsrep_cluster_%\";'"
|
||||
|
||||
When a module is being used as an ad-hoc command, there are a few parameters
|
||||
|
@ -17,7 +17,7 @@ It should give you information about the status of your cluster.
|
||||
|
||||
.. code-block:: shell-session
|
||||
|
||||
# ansible galera_container -m shell -a "mysql -h 127.0.0.1 \
|
||||
# ansible galera_container -m shell -a "mysql \
|
||||
-e 'show status like \"%wsrep_cluster_%\";'"
|
||||
node3_galera_container-3ea2cbd3 | FAILED | rc=1 >>
|
||||
ERROR 2002 (HY000): Can't connect to local MySQL server
|
||||
@ -177,7 +177,7 @@ continue to process SQL requests.
|
||||
|
||||
.. code-block:: shell-session
|
||||
|
||||
# ansible galera_container -m shell -a "mysql -h 127.0.0.1 \
|
||||
# ansible galera_container -m shell -a "mysql \
|
||||
-e 'show status like \"%wsrep_cluster_%\";'"
|
||||
node3_galera_container-3ea2cbd3 | FAILED | rc=1 >>
|
||||
ERROR 2002 (HY000): Can't connect to local MySQL server through
|
||||
@ -219,7 +219,7 @@ recover cannot join the cluster because it no longer exists.
|
||||
.. code-block:: shell-session
|
||||
|
||||
# ansible galera_container -m shell -a "mysql \
|
||||
-h 127.0.0.1 -e 'show status like \"%wsrep_cluster_%\";'"
|
||||
-e 'show status like \"%wsrep_cluster_%\";'"
|
||||
node2_galera_container-49a47d25 | FAILED | rc=1 >>
|
||||
ERROR 2002 (HY000): Can't connect to local MySQL server
|
||||
through socket '/var/run/mysqld/mysqld.sock' (111)
|
||||
@ -269,7 +269,7 @@ recover cannot join the cluster because it no longer exists.
|
||||
.. code-block:: shell-session
|
||||
|
||||
# ansible galera_container -m shell -a "mysql \
|
||||
-h 127.0.0.1 -e 'show status like \"%wsrep_cluster_%\";'"
|
||||
-e 'show status like \"%wsrep_cluster_%\";'"
|
||||
node3_galera_container-3ea2cbd3 | success | rc=0 >>
|
||||
Variable_name Value
|
||||
wsrep_cluster_conf_id 17
|
||||
@ -389,7 +389,7 @@ Recovering from certain failures require rebuilding one or more containers.
|
||||
.. code-block:: shell-session
|
||||
|
||||
# ansible galera_container -m shell -a "mysql \
|
||||
-h 127.0.0.1 -e 'show status like \"%wsrep_cluster_%\";'"
|
||||
-e 'show status like \"%wsrep_cluster_%\";'"
|
||||
node3_galera_container-3ea2cbd3 | success | rc=0 >>
|
||||
Variable_name Value
|
||||
wsrep_cluster_conf_id 1
|
||||
@ -429,7 +429,7 @@ Recovering from certain failures require rebuilding one or more containers.
|
||||
.. code-block:: shell-session
|
||||
|
||||
# ansible galera_container -m shell -a "mysql \
|
||||
-h 127.0.0.1 -e 'show status like \"%wsrep_cluster_%\";'"
|
||||
-e 'show status like \"%wsrep_cluster_%\";'"
|
||||
node2_galera_container-49a47d25 | success | rc=0 >>
|
||||
Variable_name Value
|
||||
wsrep_cluster_conf_id 5
|
||||
|
Loading…
Reference in New Issue
Block a user