Re: [ClusterLabs] Pacemaker log showing time mismatch after

2019-01-31 Thread Jan Pokorný
On 28/01/19 09:47 -0600, Ken Gaillot wrote:
> On Mon, 2019-01-28 at 18:04 +0530, Dileep V Nair wrote:
> Pacemaker can handle the clock jumping forward, but not backward.

I am rather surprised, are we not using monotonic time only, then?
If so, why?

We shall not need any explicit time synchronization across the nodes
since we are already backed by extended virtual synchrony from
corosync, eventhough it could introduce strangenesses when
time-based rules kick in.

-- 
Nazdar,
Jan (Poki)


pgpLqnsQYhMnE.pgp
Description: PGP signature
___
Users mailing list: Users@clusterlabs.org
https://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


Re: [ClusterLabs] Pacemaker 2.0.1-rc4 now available

2019-01-31 Thread Jan Pokorný
On 30/01/19 11:07 -0600, Ken Gaillot wrote:
> For those on the bleeding edge, the newest versions of GCC and glib
> cause some issues. GCC 9 does stricter checking of print formats that
> required a few log message fixes in this release (i.e. using GCC 9 with
> the -Werror option will fail with any earlier release). A change in
> glib 2.59.0's hash table implementation broke some of Pacemaker's
> regression tests; for this release, these tests can be disabled with
> the --disable-hash-affected-tests=try configure option

Sorry, I am the culprit of that statement (fixed in the GitHub PR
discussion since), but little I knew that autoconf will only honour
extra value in the positive case, i.e., use

  --enable-hash-affected-tests=try
^^

instead if you want to rely on automatic disabling of affected
tests per the configure-time detected glib version (or plain
"--disable-hash-affected-tests" to disable them unconditionally;
default is to have all of them enabled as usual).

> (we'll make the tests compatible as soon as practical, and that
> option will go away).

-- 
Nazdar,
Jan (Poki)


pgpW9mDQho57b.pgp
Description: PGP signature
___
Users mailing list: Users@clusterlabs.org
https://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


Re: [ClusterLabs] need help in "Scratch Step-by-Step Instructions for Building Your First High-Availability " wget -O - http://localhost/server-status

2019-01-31 Thread Aliaj, Shpetim
I fixed it by creating a localhost only secured vhost and pointing to it.

=Tim


On Thu, 2019-01-31 at 14:15 -0600, Ken Gaillot wrote:
> < - - MESSAGE FROM AN EXTERNAL SENDER - - >
> 
> On Thu, 2019-01-31 at 16:09 +, Aliaj, Shpetim wrote:
> > Hi Guys,
> > 
> > i am setting up a test cluster for apache, but on the step 6.4
> > Configure the cluster. i have https enabled with a cert.
> > the cert is configured for the IP of the host not the localhost.
> > 
> > its say there that the wget -O - http://localhost/server-status is
> > the command to check if the config is right.
> > 
> > that command does not work for me.
> > 
> > But the wget --no-check-certificate -O -
> > https://localhost/server-status
> > --2019-01-31 11:04:08--  https://localhost/server-status
> > Resolving localhost (localhost)... ::1, 127.0.0.1
> > Connecting to localhost (localhost)|::1|:443... connected.
> > WARNING: no certificate subject alternative name matches
> >   requested host name ‘localhost’.
> > HTTP request sent, awaiting response... 200 OK
> > Length: 4225 (4.1K) [text/html]
> > Saving to: ‘STDOUT’
> > 
> >  0%
> > [
> >   ] 0   --.-
> > K/s   > Final//EN">
> > 
> > Apache Status
> > 
> > Apache Server Status for localhost (via ::1)
> > 
> > 
> > How can i add the --no-check-certificate or any other configs to the
> > "pcs resource create WebSite ocf:heartbeat:apache
> > configfile=/etc/httpd/conf/httpd.conf statusurl="
> > https://localhost/server-status; op monitor interval=1min
> 
> Use http instead of https here
> 
> > 
> > thanks a lot
> > 
> > Tim
> > 
> 
> --
> Ken Gaillot 
> 
> ___
> Users mailing list: Users@clusterlabs.org
> https://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
https://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


Re: [ClusterLabs] need help in "Scratch Step-by-Step Instructions for Building Your First High-Availability " wget -O - http://localhost/server-status

2019-01-31 Thread Ken Gaillot
On Thu, 2019-01-31 at 16:09 +, Aliaj, Shpetim wrote:
> Hi Guys,
> 
> i am setting up a test cluster for apache, but on the step 6.4
> Configure the cluster. i have https enabled with a cert. 
> the cert is configured for the IP of the host not the localhost.
> 
> its say there that the wget -O - http://localhost/server-status is
> the command to check if the config is right.
> 
> that command does not work for me.
> 
> But the wget --no-check-certificate -O -  
> https://localhost/server-status
> --2019-01-31 11:04:08--  https://localhost/server-status
> Resolving localhost (localhost)... ::1, 127.0.0.1
> Connecting to localhost (localhost)|::1|:443... connected.
> WARNING: no certificate subject alternative name matches
>   requested host name ‘localhost’.
> HTTP request sent, awaiting response... 200 OK
> Length: 4225 (4.1K) [text/html]
> Saving to: ‘STDOUT’
> 
>  0%
> [
>   ] 0   --.-
> K/s   Final//EN">
> 
> Apache Status
> 
> Apache Server Status for localhost (via ::1)
> 
> 
> How can i add the --no-check-certificate or any other configs to the
> "pcs resource create WebSite ocf:heartbeat:apache
> configfile=/etc/httpd/conf/httpd.conf statusurl="
> https://localhost/server-status; op monitor interval=1min

Use http instead of https here

> 
> thanks a lot
> 
> Tim
> 
-- 
Ken Gaillot 

___
Users mailing list: Users@clusterlabs.org
https://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


[ClusterLabs] need help in "Scratch Step-by-Step Instructions for Building Your First High-Availability " wget -O - http://localhost/server-status

2019-01-31 Thread Aliaj, Shpetim
Hi Guys,

i am setting up a test cluster for apache, but on the step 6.4 Configure the 
cluster. i have https enabled with a cert. 
the cert is configured for the IP of the host not the localhost.

its say there that the wget -O - http://localhost/server-status is the command 
to check if the config is right.

that command does not work for me.

But the wget --no-check-certificate -O -  https://localhost/server-status
--2019-01-31 11:04:08--  https://localhost/server-status
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:443... connected.
WARNING: no certificate subject alternative name matches
requested host name ‘localhost’.
HTTP request sent, awaiting response... 200 OK
Length: 4225 (4.1K) [text/html]
Saving to: ‘STDOUT’

 0% [   
   ] 0   --.-
K/s  

Apache Status

Apache Server Status for localhost (via ::1)


How can i add the --no-check-certificate or any other configs to the "pcs 
resource create WebSite ocf:heartbeat:apache
configfile=/etc/httpd/conf/httpd.conf 
statusurl="https://localhost/server-status; op monitor interval=1min

thanks a lot

Tim


___
Users mailing list: Users@clusterlabs.org
https://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