Hi Jason,
it depends on the error you can see inside your guest2 error file. Anyway in my 
case I had a misconfiguration when I first start the master node the other 
memebers had packetfence and mariadb started. So I restored a mysql dump from 
the old standalone server and rebuilt the mysql configuration (mainly the users 
part). Also I checked that on the other memebers all services were shutted 
down. After the master synced correctly to the group (you can see that in the 
.err file) with --force-new-cluster option activated I started the two other 
nodes paying attention on what Fabrice said before (/var/lib/mysql/ emptied) 
and all things went well.

Luca


________________________________
Da: Durand fabrice via PacketFence-users 
<[email protected]>
Inviato: sabato 20 gennaio 2018 03:24
A: [email protected]
Cc: Durand fabrice
Oggetto: Re: [PacketFence-users] R: Can't synchronize new cluster databases


What i can also recommend is to remove the content of /var/lib/mysql on the 
other server (not the master one of course) and restart packetfence-mariadb


Regards

Fabrice


Le 2018-01-19 à 04:38, luca comes via PacketFence-users a écrit :
Hi Jason,
I had the same problem last week. First check on your master server if it is 
joined and synced with the cluster you can do that reading the file .err in 
/var/lib/mysql/ and in the database with the query show status like 'wsrep%' as 
stated in the clustering guide.

Luca



________________________________
Da: Trinklein, Jason R via PacketFence-users 
<[email protected]><mailto:[email protected]>
Inviato: giovedì 18 gennaio 2018 20:19
A: Rafael Rocha via PacketFence-users
Cc: Trinklein, Jason R
Oggetto: [PacketFence-users] Can't synchronize new cluster databases


I’m setting up a new cluster with three total members.



Server1 is running with /usr/local/pf/sbin/pf-mariadb --force-new-cluster

Server2 runs systemctl restart packetfence-mariadb

But fails with:

Job for packetfence-mariadb.service failed because a timeout was exceeded. See 
"systemctl status packetfence-mariadb.service" and "journalctl -xe" for details.

And journalctl shows:

https://pastebin.com/pWn6Nr1D



The systems can ping each other and tcpdump shows mysql packets being sent and 
received by both hosts. There is no firewall between them and they are on the 
same network.



Any ideas?

Thanks,

--

Jason Trinklein

Wireless Engineering Manager

College of Charleston

81 St. Philip Street | Office 311D | Charleston, SC 29403

[email protected]<mailto:[email protected]> | (843) 300–8009



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot



_______________________________________________
PacketFence-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/packetfence-users


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to