Hi , >> systemctl disable httpd.service && systemctl stop httpd.service in all nodes >> of the cluster where Apache is installed
Executed both the command on nodes . Output is given below. [root@node2 ~]# systemctl disable httpd.service [root@node2 ~]# systemctl stop httpd.service [root@node2 ~]# systemctl status httpd.service ● httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled) Active: inactive (dead) Docs: man:httpd(8) man:apachectl(8) Nov 07 16:59:17 node1 systemd[1]: Starting The Apache HTTP Server... Nov 07 16:59:17 node1 httpd[15462]: AH00558: httpd: Could not reliably determine the server's fully qualified domain na...message Nov 07 16:59:17 node1 systemd[1]: Started The Apache HTTP Server. Nov 07 16:59:37 node1 systemd[1]: Stopping The Apache HTTP Server... Nov 07 16:59:38 node1 systemd[1]: Stopped The Apache HTTP Server. Nov 07 17:01:10 node1 systemd[1]: Starting The Apache HTTP Server... Nov 07 17:01:10 node1 httpd[15720]: AH00558: httpd: Could not reliably determine the server's fully qualified domain na...message Nov 07 17:01:10 node1 systemd[1]: Started The Apache HTTP Server. Nov 07 17:02:14 node1 systemd[1]: Stopping The Apache HTTP Server... Nov 07 17:02:15 node1 systemd[1]: Stopped The Apache HTTP Server. [root@node2 ~]# pcs resource enable Httpd [root@node2 ~]# pcs status Cluster name: Cluster Stack: corosync Current DC: node2 (version 1.1.16-12.el7_4.4-94ff4df) - partition with quorum Last updated: Tue Nov 7 17:06:58 2017 Last change: Tue Nov 7 16:02:05 2017 by root via crm_resource on node1 2 nodes configured 2 resources configured Online: [ node1 node2 ] Full list of resources: Cluster_VIP (ocf::heartbeat:IPaddr2): Started node2 Httpd (ocf::heartbeat:apache): Stopped Failed Actions: * Httpd_monitor_30000 on node1 'not running' (7): call=21, status=complete, exitreason='none', last-rc-change='Tue Nov 7 15:26:27 2017', queued=0ms, exec=0ms Daemon Status: corosync: active/enabled pacemaker: active/enabled pcsd: active/enabled There is no change in resource status. TIA Regards, Garima -----Original Message----- From: Alberto Mijares [mailto:amijar...@gmail.com] Sent: 07 November 2017 16:53 To: Cluster Labs - All topics related to open-source clustering welcomed <users@clusterlabs.org> Subject: Re: [ClusterLabs] Unable to perform resource failover. > > We restarted the systemd and other process by using command mentioned > below and also restarted the cluster nodes: > > > > Systemctl restart httpd.service > > Systemctl restart pacemaker.service > > Systemctl restart corosync.service > > Systemctl restart pcsd.service > > > > Does this impact in cluster? > You should systemctl disable httpd.service && systemctl stop httpd.service in all nodes of the cluster where Apache is installed. Then, start the resource by using any utility, for example pcs resource enable Httpd If no more specific configurations have been done, that should start Apache. Then, test again killing it. Regards, Alberto Mijares _______________________________________________ Users mailing list: Users@clusterlabs.org http://lists.clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org _______________________________________________ Users mailing list: Users@clusterlabs.org http://lists.clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org