[Linux-cluster] Firewall Failover

Bruno Frensch Deschamps bruno at redix.com.br
Wed Aug 27 12:04:40 UTC 2008


My /var/log/messages:

Aug 27 08:00:05 node1 clurgmgrd: [3817]: <err> Checking Existence Of 
File /var/run/cluster/mysql/mysql:MySQL.pid [mysql:MySQL] > Failed
Aug 27 08:00:05 node1 clurgmgrd: [3817]: <err> Monitoring Service 
mysql:MySQL > Service Is Not Running
Aug 27 08:00:05 node1 clurgmgrd[3817]: <notice> status on mysql "MySQL" 
returned 1 (generic error)
Aug 27 08:00:05 node1 clurgmgrd[3817]: <notice> Stopping service 
service:firewall
Aug 27 08:00:05 node1 clurgmgrd: [3817]: <err> Checking Existence Of 
File /var/run/cluster/mysql/mysql:MySQL.pid [mysql:MySQL] > Failed - 
File Doesn't Exist
Aug 27 08:00:05 node1 clurgmgrd: [3817]: <err> Stopping Service 
mysql:MySQL > Failed
Aug 27 08:00:05 node1 clurgmgrd[3817]: <notice> stop on mysql "MySQL" 
returned 1 (generic error)
Aug 27 08:00:05 node1 squid[8578]: Squid Parent: child process 8580 
exited with status 0
Aug 27 08:00:07 node1 openvpn[8554]: event_wait : Interrupted system 
call (code=4)
Aug 27 08:00:07 node1 openvpn[8554]: TCP/UDP: Closing socket
Aug 27 08:00:07 node1 openvpn[8554]: Closing TUN/TAP interface
Aug 27 08:00:07 node1 openvpn[8554]: SIGTERM[hard,] received, process 
exiting
Aug 27 08:00:07 node1 clurgmgrd[3817]: <crit> #12: RG service:firewall 
failed to stop; intervention required
Aug 27 08:00:07 node1 clurgmgrd[3817]: <notice> Service service:firewall 
is failed

its detect that mysqld is down...
how can i start this service again on other node automatic?


clustat shows:

Cluster Status for bruniques @ Wed Aug 27 08:02:32 2008
Member Status: Quorate

 Member Name                                                     ID   Status
 ------ ----                                                     ---- ------
 node1                                                               1 
Online, Local, rgmanager
 node2                                                               2 
Online, rgmanager

 Service Name                                                     Owner 
(Last)                                                     State        
 ------- ----                                                     ----- 
------                                                     -----        
 service:firewall                                                 
(node1)                                                          failed



but it not realocate the service to other node.



Bruno F. Deschamps - Consultor
Profissional Certificado LPIC-1
--------------------------------------------------------------------
Redix - Gestão em T.I. com Software Livre
http://www.redix.com.br - redix at redix.com.br
Tel. Coml.: +55 (47) 3323-7313
--------------------------------------------------------------------



Bruno Frensch Deschamps escreveu:
> Hi,
>
> I have create a service firewall with some resources like IP, MYSQL, 
> and other scripts
> My firewall cluster has 2 nodes (node1 and node2)
> The firewall service is runnig on node 1, including mysqld, when i 
> kill mysqld in node1, the service still running on node1,
> My question is:
> Should node1 be fenced?
> How i test the mysqld in both server to be fenced when it is down?
>
>
> NOTE: fence are working in both servers when i kill a service like a IP.
>




More information about the Linux-cluster mailing list