Hi mates,
recovered the all db with this:
/usr/local/pf/bin/pfcmd service pf stop
systemctl stop
packetfence-mariadb
rm -fr /var/lib/mysql/*
mysql_install_db
--user=mysql
mysqld_safe --user=mysql &
mysql_secure_installation
Kill
-9 (all process from "mysqld_safe --user=mysql &" )
Same thing...
since this cluster is not live yet, theres a
procdure to recover a node?
Cause I tried:
/usr/local/pf/bin/pfcmd
service pf stop
systemctl stop packetfence-mariadb
systemctl restart
packetfence-config
/usr/local/pf/bin/pfcmd configreload hard
rm -fr
/var/lib/mysql/*
Ok try :
pfcmd configreload hard
pfcmd service dhcpd restart
Le 2017-12-12 à 19:39, Luís Torres via PacketFence-users a écrit :
Still is :
wsrep_cluster_size | 3
wsrep_cluster_status | Primary ( both 3 servers are with this
status , is it normal?)
Still is :
wsrep_cluster_size | 3
wsrep_cluster_status |
Primary ( both 3 servers are with this status , is it normal?)
wsrep_incoming_addresses |
10.252.2.141:3306,10.252.2.142:3306,10.252.2.140:3306
Em 2017-12-13
00:09, Durand fabrice via PacketFence-users escreveu:
> Looks that
Looks that your cluster is not a cluster anymore, can you do that:
mysql -upf -p -e "show status like 'wsrep%'"
and check wsrep_cluster_size if it's equal to 3.
Regards
Fabrice
Le 2017-12-12 à 18:58, Luís Torres via PacketFence-users a écrit :
Both of 3 are not showing even the dhcp
Em
Both of 3 are not showing even the dhcp
Em 2017-12-12 23:50,
Tomasz Karczewski via PacketFence-users escreveu:
> If you have
packetfence 7.3.0 check configuration > system conifg >
> services >
dhcpd. It need to be checked.
>
> W dniu 2017-12-12 20:22, Luís Torres
via PacketFence-users
Normally I got 2 dhcp working on a 3 cluster. But since I had some
routing probs with the master machine ( this onde assumed the dhcp ) I
made some routed networks changes and after I few restarts, none of the
dhcp are working.
Im using all 3 machines on hyperV
LT
Em
2017-12-12 19:52,
Just on one of them, right ?
If it's the case then it's normal.
Le 2017-12-12 à 14:22, Luís Torres via PacketFence-users a écrit :
>
> Hi mates,
>
>
>
> manage to recover the cluster but now the dhcp wont start. Gives me
> the error:
>
>
>
> /usr/local/pf/bin/pfcmd service dhcpd restart
>
Hi mates,
manage to recover the cluster but now the dhcp wont
start. Gives me the error:
/usr/local/pf/bin/pfcmd service dhcpd
restart
service|command
dhcpd|already stopped
Service 'dhcpd' is not
managed by PacketFence. Therefore, no action will be performed
What
could be?
Regards
LT