angellinux
(usa CentOS)
Enviado em 03/11/2018 - 04:05h
Alguma alma generosa que manja de apache pode me dar um help? Estou usando dois servers apache com CentOs 7 com pacemaker+corosync para cluster active/passive tudo funcionando ok, porém quando faço a config para usar virtual host o pacemaker para de funcionar o cluster apache, tenho que efetuar alguma conf extra? Obrigado.
vim /etc/httpd/conf/httpd.conf
IncludeOptional sites-enabled/*.conf
pcs status (sem o IncludeOptional sites-enabled/*.conf):
-----------------------------------------------------------------------------------------------------------------------------------------
Cluster name: webcluster
Stack: corosync
Current DC: apache-server2 (version 1.1.18-11.el7_5.3-2b07d5c5a9) - partition with quorum
Last updated: Fri Nov 2 23:49:26 2018
Last change: Fri Nov 2 14:14:55 2018 by root via cibadmin on apache-server1
2 nodes configured
2 resources configured
Online: [ apache-server1 apache-server2 ]
Full list of resources:
Resource Group: WebSite
Apache (ocf::heartbeat:apache): Started apache-server2
VIP (ocf::heartbeat:IPaddr2): Started apache-server2
Daemon Status:
corosync: active/enabled
pacemaker: active/enabled
pcsd: active/enabled
-----------------------------------------------------------------------------------------------------------------------------------------
pcs status (com o IncludeOptional sites-enabled/*.conf):
-----------------------------------------------------------------------------------------------------------------------------------------
Cluster name: webcluster
Stack: corosync
Current DC: apache-server2 (version 1.1.18-11.el7_5.3-2b07d5c5a9) - partition with quorum
Last updated: Sat Nov 3 03:03:00 2018
Last change: Fri Nov 2 23:52:22 2018 by root via crm_resource on apache-server1
2 nodes configured
2 resources configured
Online: [ apache-server1 apache-server2 ]
Full list of resources:
Resource Group: WebSite
Apache (ocf::heartbeat:apache): Stopped apache-server2
VIP (ocf::heartbeat:IPaddr2): Started
Failed Actions:
* Apache_start_0 on apache-server1 'unknown error' (1): call=6, status=Timed Out, exitreason='',
last-rc-change='Sat Nov 3 03:01:49 2018', queued=0ms, exec=40003ms
Daemon Status:
corosync: active/enabled
pacemaker: active/enabled
pcsd: active/enabled
-----------------------------------------------------------------------------------------------------------------------------------------