# Unattended cluster restart

**URL:** <https://forums.percona.com/t/unattended-cluster-restart/3275>\
**Category:** Percona XtraDB Cluster 5.x\
**Created:** [February 13, 2014, 5:39pm UTC](https://forums.percona.com/t/unattended-cluster-restart/3275 "2014-02-13T17:39:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dpolyakov](https://avatars.discourse-cdn.com/v4/letter/d/f08c70/32.png) [@dpolyakov](https://forums.percona.com/u/dpolyakov)\
**Post date:** [February 13, 2014, 5:39pm UTC](https://forums.percona.com/t/unattended-cluster-restart/3275/1 "2014-02-13T17:39:40Z")

</div>

From the doc: “/etc/init.d/mysql bootstrap-pxc  
This way values in my.cnf would remain unchanged. Next time node is restarted it won’t require updating the configuration file. This can be useful in case cluster has been previously set up and for some reason all nodes went down and the cluster needs to be bootstrapped again.”

Is it possible to restart a cluster in unattended mode?  
I understand that to start a cluster you need first to bootstrap a first server and then boot all others. But what if there is a short power failure that reboots every server and there is no one at this moment who can perform bootstrap. Will cluster restore in some way?

Thank you,  
Dima

---

<div class="post-metadata">

**Author:** ![przemek](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/przemek/32/3_2.png) [@przemek](https://forums.percona.com/u/przemek)\
**Post date:** [February 14, 2014, 8:52am UTC](https://forums.percona.com/t/unattended-cluster-restart/3275/2 "2014-02-14T08:52:31Z")

</div>

If all the cluster members are powered off in the same time, so that noone is alive, then yes, you need to manually pick one node and bootstrap it first. Of course, you should pick up a node being the most up to date in replication.  
With some external software though, like ClusterControl from Severalnines, this could be done automatically.

---

<div class="post-metadata">

**Author:** ![danielm](https://avatars.discourse-cdn.com/v4/letter/d/f0a364/32.png) [@danielm](https://forums.percona.com/u/danielm)\
**Post date:** [July 2, 2014, 6:12am UTC](https://forums.percona.com/t/unattended-cluster-restart/3275/3 "2014-07-02T06:12:33Z")

</div>

> [@przemek;13357](#):
>
> If all the cluster members are powered off in the same time, so that noone is alive, then yes, you need to manually pick one node and bootstrap it first. Of course, you should pick up a node being the most up to date in replication.  
> With some external software though, like ClusterControl from Severalnines, this could be done automatically.

Hi,

Is its possible get info about most up to date node from any file,  
timestamp or something under /var/lib/mysql catalog?

Regards Daniel
