Fabrice,

I have made some progress and at this point the drives are formatted as ext3, 
the PCS corosync cluster settings are all set and I've tested a failover and it 
works. I'm no longer locked out of my PF admin gui but I'm still getting mysql 
errors. I've noticed on the services tab in the admin interface that my radiusd 
and p0f services are no longer starting.


The following is output from my master server:


Netstat output:

[root@packetfence lib]# netstat -nlp|grep 3306
tcp        0      0 10.100.10.54:3306       0.0.0.0:*               LISTEN      
26674/mysqld



/etc/my/cnf:

[root@packetfence lib]# cat /etc/my.cnf
[mysqld]
bind_address=10.100.10.54
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock

symbolic-links=0

[mysqld_safe]
log-error=/var/log/mariadb/mariadb.log
pid-file=/var/run/mariadb/mariadb.pid

!includedir /etc/my.cnf.d


pf.conf:

[root@packetfence lib]# cat /usr/local/pf/conf/pf.conf
[general]

domain=mydomain.local

dnsservers=10.100.10.30,10.100.10.31,127.0.0.1

dhcpservers=10.100.10.30,127.0.0.1

timezone=America/New_York

[guests_admin_registration]

access_duration_choices=1h,3h,12h,1D,2D,3D,5D,10D,30D,1Y

[alerting]

[email protected]

[database]
host=127.0.0.1
pass=mypassword

[monitoring]
db_host=127.0.0.1

[services]

pfsetvlan=enabled

snmptrapd=enabled

[captive_portal]

network_detection_ip=10.100.10.54

secure_redirect=disabled

[omapi]

key_base64=JQtM8Oy/gDgXIdiuqyxuSw==

[interface ens32]
ip=10.100.10.54
type=management,high-availibility
mask=255.255.0.0

[interface ens33.2]
enforcement=vlan
ip=10.2.10.10
type=internal
mask=255.255.255.0
gateway=10.2.10.10

pfconfig.conf:
[root@packetfence lib]# cat /usr/local/pf/conf/pfconfig.conf
[general]
backend=mysql

[mysql]
host=127.0.0.1
user=pf
pass=mypassword
db=pf
port=3306

?-Mike




________________________________
From: Fabrice Durand <[email protected]>
Sent: Thursday, January 26, 2017 8:56 AM
To: [email protected]
Subject: Re: [PacketFence-users] Cluster help


Hello Michael,


it depend how you format the partition, so if it's ext3 then mount it as an 
ext3.

Also when you start the database can you check where it listen ? (netstat -nlp| 
grep 3306)

Also can you paste my.cnf and pf.conf, pfconfig.conf ?


Regards

Fabrice

------------------------------------------------------------------------------
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