Re: [ClusterLabs] Why my node1 couldn't back to the clustering chain?

2021-04-09 Thread Jason Long
Thanks. Cheat sheet is a PDF file that all useful commands and parameters existed in it. On Friday, April 9, 2021, 01:12:16 PM GMT+4:30, Antony Stone wrote: On Friday 09 April 2021 at 10:34:33, Jason Long wrote: > Thanks. > I meant was a Cheat sheet. I don't unde

Re: [ClusterLabs] Why my node1 couldn't back to the clustering chain?

2021-04-09 Thread Jason Long
at 08:58:39, Jason Long wrote: > Thank you so much for your great answers. > As the final questions: Really :) ? > 1- Which commands are useful to monitoring and managing my pacemaker > cluster? Some people prefer https://crmsh.github.io/documentation/ and some people prefer https:

Re: [ClusterLabs] Why my node1 couldn't back to the clustering chain?

2021-04-09 Thread Jason Long
can I merge these PCs together so that I have a system with 200 CPUs and 400GB of RAM? On Friday, April 9, 2021, 12:13:45 AM GMT+4:30, Antony Stone wrote: On Thursday 08 April 2021 at 21:33:48, Jason Long wrote: > Yes, I just wanted to know. In clustering, when a node is d

Re: [ClusterLabs] Why my node1 couldn't back to the clustering chain?

2021-04-08 Thread Jason Long
Yes, I just wanted to know. In clustering, when a node is down and go online again, then the cluster will not use it again until another node fails. Am I right? On Thursday, April 8, 2021, 11:58:16 PM GMT+4:30, Antony Stone wrote: On Thursday 08 April 2021 at 21:24:02, Jason Long

Re: [ClusterLabs] Why my node1 couldn't back to the clustering chain?

2021-04-08 Thread Jason Long
Thanks. Thus, my cluster uses Node1 when Node2 is down? On Thursday, April 8, 2021, 07:32:14 PM GMT+4:30, Antony Stone wrote: On Thursday 08 April 2021 at 16:55:47, Ken Gaillot wrote: > On Thu, 2021-04-08 at 14:32 +0000, Jason Long wrote: > > Why, when node1 is back, then w

Re: [ClusterLabs] Why my node1 couldn't back to the clustering chain?

2021-04-08 Thread Jason Long
Why, when node1 is back, then web server still on node2? Why not switched? On Thursday, April 8, 2021, 06:49:38 PM GMT+4:30, Ken Gaillot wrote: On Thu, 2021-04-08 at 14:14 +, Jason Long wrote: > Hello, > I stopped node1 manually as below: > > [root@node1 ~]# pcs

[ClusterLabs] Why my node1 couldn't back to the clustering chain?

2021-04-08 Thread Jason Long
Hello, I stopped node1 manually as below: [root@node1 ~]# pcs cluster stop node1 node1: Stopping Cluster (pacemaker)... node1: Stopping Cluster (corosync)... [root@node1 ~]# [root@node1 ~]# pcs status Error: error running crm_mon, is pacemaker running?   Could not connect to the CIB: Transport

Re: [ClusterLabs] "iscsi.service: Unit cannot be reloaded because it is inactive."

2021-04-07 Thread Jason Long
(httpd_ser-start-interval-0s)                stop interval=0s timeout=60s (httpd_ser-stop-interval-0s) On Monday, April 5, 2021, 07:28:11 PM GMT+4:30, Ken Gaillot wrote: On Sat, 2021-04-03 at 14:35 +, Jason Long wrote: > Hello, > I configure my clustering labs with three

Re: [ClusterLabs] "iscsi.service: Unit cannot be reloaded because it is inactive."

2021-04-07 Thread Jason Long
):        Started     * httpd_ser    (ocf::heartbeat:apache):        Started On Monday, April 5, 2021, 07:28:11 PM GMT+4:30, Ken Gaillot wrote: On Sat, 2021-04-03 at 14:35 +, Jason Long wrote: > Hello, > I configure my clustering labs with three nodes. One of my nodes > is iSC

Re: [ClusterLabs] "iscsi.service: Unit cannot be reloaded because it is inactive."

2021-04-03 Thread Jason Long
Sorry, I didn't know my problem is not relevant to the pacemaker. On Saturday, April 3, 2021, 07:22:30 PM GMT+4:30, Andrei Borzenkov wrote: On 03.04.2021 17:35, Jason Long wrote: > Hello, > I configure my clustering labs with three nodes. You have two node cluster. What is r

[ClusterLabs] "iscsi.service: Unit cannot be reloaded because it is inactive."

2021-04-03 Thread Jason Long
Hello, I configure my clustering labs with three nodes. One of my nodes is iSCSI Shared Storage. Everything was OK until I restarted my iSCSI Shared Storage. On node1 I checked the status of my cluster: # pcs status  Cluster name: mycluster Cluster Summary:   * Stack: corosync   * Current DC:

Re: [ClusterLabs] WebSite_start_0 on node2 'error' (1): call=6, status='complete', exitreason='Failed to access httpd status page.'

2021-03-29 Thread Jason Long
to connect to cluster daemons on the node (since they are not running) and prints an error message denoting that. This is expected behavior. Regards, Tomas Dne 27. 03. 21 v 6:54 Jason Long napsal(a): > Thank you. > I have other questions: > > 1- How can I launch a test lab? > 2- W

[ClusterLabs] Which fence agent is needed for an Apache web server cluster?

2021-03-27 Thread Jason Long
Hello, How To Configure High-Availability Cluster on CentOS 7 / RHEL 7 tutorial In "https://www.itzgeek.com/how-tos/linux/centos-how-tos/configure-high-avaliablity-cluster-on-centos-7-rhel-7.html; address, used below command: # yum install pcs fence-agents-all -y Is "fence-agents-all" package

Re: [ClusterLabs] WebSite_start_0 on node2 'error' (1): call=6, status='complete', exitreason='Failed to access httpd status page.'

2021-03-27 Thread Jason Long
atus nodes" command not work? It shows me "Error: error running crm_mon, is pacemaker running?". On Thursday, March 25, 2021, 09:08:45 PM GMT+4:30, Ken Gaillot wrote: On Thu, 2021-03-25 at 14:44 +, Jason Long wrote: > Then, how can I sure my configuration is OK? &

Re: [ClusterLabs] WebSite_start_0 on node2 'error' (1): call=6, status='complete', exitreason='Failed to access httpd status page.'

2021-03-25 Thread Jason Long
hen I browse "http://127.0.0.1:2090;, then it has shown me "My Test Site - node2". Could this mean that my cluster is working properly? On Thursday, March 25, 2021, 05:20:33 PM GMT+4:30, Klaus Wenninger wrote: On 3/25/21 9:55 AM, Jason Long wrote: > Thank you so much. >&g

Re: [ClusterLabs] WebSite_start_0 on node2 'error' (1): call=6, status='complete', exitreason='Failed to access httpd status page.'

2021-03-25 Thread Jason Long
hink it is reasonable because when on of my Reverse Proxy Server (node1) stopped, then other Reverse Proxy Server (node2) started. How can I achieve this goal? On Wednesday, March 24, 2021, 10:21:09 PM GMT+4:30, Ken Gaillot wrote: On Wed, 2021-03-24 at 10:50 +, Jason Long wrote: >

Re: [ClusterLabs] WebSite_start_0 on node2 'error' (1): call=6, status='complete', exitreason='Failed to access httpd status page.'

2021-03-24 Thread Jason Long
: icmp_seq=1 ttl=64 time=0.423 ms 64 bytes from 192.168.56.9: icmp_seq=2 ttl=64 time=0.096 ms ... So? On Wednesday, March 24, 2021, 02:41:44 AM GMT+4:30, Ken Gaillot wrote: On Tue, 2021-03-23 at 20:15 +, Jason Long wrote: > Thanks. > The floating IP address must not use by

Re: [ClusterLabs] WebSite_start_0 on node2 'error' (1): call=6, status='complete', exitreason='Failed to access httpd status page.'

2021-03-23 Thread Jason Long
replace it? On Wednesday, March 24, 2021, 12:33:53 AM GMT+4:30, Ken Gaillot wrote: On Tue, 2021-03-23 at 19:07 +, Jason Long wrote: > Thanks, but I want to have a cluster with two nodes and nothing more! The end result is to have 2 nodes with 3 IP addresses: * The first n

Re: [ClusterLabs] Antw: [EXT] Re: WebSite_start_0 on node2 'error' (1): call=6, status='complete', exitreason='Failed to access httpd status page.'

2021-03-23 Thread Jason Long
Thank you. I can't use pacemaker with two nodes? Is it not the goal of "Clusters from Scratch" book? On Tuesday, March 23, 2021, 08:10:57 PM GMT+4:30, Ulrich Windl wrote: >>> Jason Long schrieb am 23.03.2021 um 16:07 in Nachricht <848851435.2725012.161651

Re: [ClusterLabs] WebSite_start_0 on node2 'error' (1): call=6, status='complete', exitreason='Failed to access httpd status page.'

2021-03-23 Thread Jason Long
Thanks, but I want to have a cluster with two nodes and nothing more! On Tuesday, March 23, 2021, 07:59:57 PM GMT+4:30, Klaus Wenninger wrote: On 3/23/21 4:07 PM, Jason Long wrote: > Thank you. > Thus, where I must define my node2 IP address? When node1 disconnected, I > w

Re: [ClusterLabs] WebSite_start_0 on node2 'error' (1): call=6, status='complete', exitreason='Failed to access httpd status page.'

2021-03-23 Thread Jason Long
Thank you. Thus, where I must define my node2 IP address? When node1 disconnected, I want node2 replace it. On Tuesday, March 23, 2021, 01:03:39 PM GMT+4:30, Klaus Wenninger wrote: On 3/23/21 9:13 AM, Jason Long wrote: > Thank you. > But:  > https://www.clusterlabs.org/pace

Re: [ClusterLabs] WebSite_start_0 on node2 'error' (1): call=6, status='complete', exitreason='Failed to access httpd status page.'

2021-03-23 Thread Jason Long
Apache HTTP Server as a Cluster Service". > On Monday, March 22, 2021, 07:06:47 PM GMT+4:30, Ken Gaillot < > kgail...@redhat.com> wrote: > > > > > > On Mon, 2021-03-22 at 08:15 +, Jason Long wrote: > > Thank you. > > > > My test

Re: [ClusterLabs] WebSite_start_0 on node2 'error' (1): call=6, status='complete', exitreason='Failed to access httpd status page.'

2021-03-22 Thread Jason Long
Thank you. From chapter 1 to 6, I never saw anything about configuring the floating IP address! Am I wrong? On Monday, March 22, 2021, 07:06:47 PM GMT+4:30, Ken Gaillot wrote: On Mon, 2021-03-22 at 08:15 +, Jason Long wrote: > Thank you. > > My test lab use VirtualBox

Re: [ClusterLabs] The proxy server received an invalid response from an upstream server.

2021-03-22 Thread Jason Long
it just the proxy should be clustered. So I'd guess a synchronization of the webserver-data isn't needed as the actual webserver is running outside the cluster on node3. Maybe Jason you can ack that view. Regards, Klaus > > On Thu, 2021-03-18 at 14:31 +, Jason Long wrote: >> Thank

Re: [ClusterLabs] WebSite_start_0 on node2 'error' (1): call=6, status='complete', exitreason='Failed to access httpd status page.'

2021-03-22 Thread Jason Long
2021, 01:12:21 AM GMT+4:30, Reid Wahl wrote: Hi, Jason. On Sun, Mar 21, 2021 at 5:21 AM Jason Long wrote: > Hello, > I used "Clusters from Scratch" to configuration two nodes. I got below error: > > # pcs status > Cluster name: mycluster > Cluster Summary:

[ClusterLabs] WebSite_start_0 on node2 'error' (1): call=6, status='complete', exitreason='Failed to access httpd status page.'

2021-03-21 Thread Jason Long
Hello, I used "Clusters from Scratch" to configuration two nodes. I got below error: # pcs status Cluster name: mycluster Cluster Summary:   * Stack: corosync   * Current DC: node1 (version 2.0.5-10.fc33-ba59be7122) - partition with quorum   * Last updated: Sun Mar 21 15:35:18 2021   * Last

Re: [ClusterLabs] The proxy server received an invalid response from an upstream server.

2021-03-18 Thread Jason Long
wrote: On Wed, 2021-03-17 at 20:37 +, Jason Long wrote: > The 192.168.1.4 is my secondary VM. > I want to follow " > https://www.digitalocean.com/community/tutorials/how-to-set-up-an-apache-active-passive-cluster-using-pacemaker-on-centos-7 > " tutorial. > At &q

Re: [ClusterLabs] The proxy server received an invalid response from an upstream server.

2021-03-17 Thread Jason Long
d not complete restart of WebServer, 1 resources remaining  * WebServer Logs are: https://paste.ubuntu.com/p/nHfTRFh4RD/ Why? On Wednesday, March 17, 2021, 11:42:11 PM GMT+3:30, Jason Long wrote: Yes, I want Apache always on node3, and then the reverse proxy can move between

Re: [ClusterLabs] The proxy server received an invalid response from an upstream server.

2021-03-17 Thread Jason Long
with whichever node is running the proxy. If the above scenario is what you want, then you can ban the web server from node1 and node2, create a group consisting of the floating IP and the reverse proxy, and ban the group from node3. On Wed, 2021-03-17 at 18:51 +, Jason Long wrote: > Hello, > I c

Re: [ClusterLabs] The proxy server received an invalid response from an upstream server.

2021-03-17 Thread Jason Long
ebServer Could not complete restart of WebServer, 1 resources remaining  * WebServer Logs are: https://paste.ubuntu.com/p/nHfTRFh4RD/ Why? On Wednesday, March 17, 2021, 11:26:03 PM GMT+3:30, Reid Wahl wrote: On Wed, Mar 17, 2021 at 11:51 AM Jason Long wrote: > Hello, > I changed &quo

Re: [ClusterLabs] The proxy server received an invalid response from an upstream server.

2021-03-17 Thread Jason Long
Wednesday, March 17, 2021, 01:50:35 AM GMT+3:30, Reid Wahl wrote: On Tue, Mar 16, 2021 at 3:13 PM Jason Long wrote: > I'm using CentOS. Ah okay. I think I had made an assumption based on the pastebins URLs. >  Thus, I must use my Apache web server IP instead of node2? Yes, it's

Re: [ClusterLabs] The proxy server received an invalid response from an upstream server.

2021-03-16 Thread Jason Long
Reid Wahl wrote: On Tue, Mar 16, 2021 at 1:47 PM Jason Long wrote: > Thanks. > Excuse me, did you read how did I set my cluster up? Please look at:  > https://paste.ubuntu.com/p/Nx2ptqZjFg/ > Which part of my configuration is wrong? 1. You configured the IPaddr2 resource

Re: [ClusterLabs] The proxy server received an invalid response from an upstream server.

2021-03-16 Thread Jason Long
the requests. How can I achieve this goal? On Tuesday, March 16, 2021, 11:57:13 PM GMT+3:30, Reid Wahl wrote: On Tue, Mar 16, 2021 at 1:03 PM Jason Long wrote: > Thanks. > I changed it to the IP address of node2 and I can see my Apache Web Server. Like I said, you don't want

Re: [ClusterLabs] The proxy server received an invalid response from an upstream server.

2021-03-16 Thread Jason Long
Error: nodes 'http_server' do not appear to exist in configuration Why? On Tuesday, March 16, 2021, 11:05:48 PM GMT+3:30, Reid Wahl wrote: On Tue, Mar 16, 2021 at 12:11 PM Jason Long wrote: > Thank you so much. > I forgot to ask a question. In below command, what should be

Re: [ClusterLabs] The proxy server received an invalid response from an upstream server.

2021-03-16 Thread Jason Long
+3:30, Klaus Wenninger wrote: On 3/16/21 3:18 PM, Ken Gaillot wrote: > On Tue, 2021-03-16 at 09:42 +, Jason Long wrote: >> Hello, >> I want to launch a Clustering for my Apache Web Server. I have three >> servers: >> >> 1- Main server that acts as a Re

[ClusterLabs] The proxy server received an invalid response from an upstream server.

2021-03-16 Thread Jason Long
Hello, I want to launch a Clustering for my Apache Web Server. I have three servers: 1- Main server that acts as a Reverse Proxy 2- The secondary server that when my main server stopped, work as a Reverse Proxy 3- Apache Web Server The client ---> Reverse Proxy Server ---> Apache Web Server