Not the answer you need?
Register and ask your own question!

cluster down all nodes. how to config auto start?

Phan Xuân VũPhan Xuân Vũ EntrantCurrent User Role Beginner
I have 2 nodes
IP node 1: 192.168.2.1
IP node 2: 192.168.2.2
I have completed the Percona XtraDB Cluster configuration
Then I shutdown node 1 and then node 2
But it didn't start service PXC when I restart them
Please show me how to configure auto start

Comments

  • jriverajrivera Percona Support Engineer Percona Staff Role
    If you shutdown both nodes then you will need to re-bootstrap at least one of the node (preferably node2 since that is the last node that was up).

    node2> service mysql bootstrap-pxc
    or
    node2> systemctl start [email protected]

    Then once this node is up and in SYNCED state, start the other node normally:
    node1> service mysql start
    or
    node1> systemctl start mysql
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.