[ClusterLabs] Antw: Re: Where to Find pcs and pcsd for OpenSUSE LEAP 4.23

2017-11-07 Thread Ulrich Windl
>>> Eric Robinson schrieb am 08.11.2017 um 03:19 in Nachricht >> Which aspects of its constraints handling do you like, and why? I'm > curious, >> since I wasn't aware that it was

Re: [ClusterLabs] Hawk vs pcs Web UI

2017-11-07 Thread xin
ClusterLabs also have two Command-line tools for cluster, crmsh and pcs :) 在 2017年11月08日 00:30, David Kent 写道: Hello, What is the difference between Hawk and the pcs Web UI? (Why are there two projects, not one? Are they targeting different use cases?) I was surprised to see two Web UI

Re: [ClusterLabs] Where to Find pcs and pcsd for OpenSUSE LEAP 4.23

2017-11-07 Thread Eric Robinson
> Which aspects of its constraints handling do you like, and why? I'm curious, > since I wasn't aware that it was significantly different from crmsh in this > respect. > Well, to be fair, in the past I have always configured my clusters by using 'crm configure edit' and building the config in

Re: [ClusterLabs] Where to Find pcs and pcsd for OpenSUSE LEAP 4.23

2017-11-07 Thread Adam Spiers
Eric Robinson wrote: Thanks much. I am experienced with crmsh because I have been using it for years, but I recently tried pcs and I really like the way it handles constraints. Which aspects of its constraints handling do you like, and why? I'm curious, since I

Re: [ClusterLabs] are there equivalent restful apis for crm commands

2017-11-07 Thread Jan Pokorný
On 07/11/17 09:14 -0600, Ken Gaillot wrote: > On Tue, 2017-11-07 at 16:06 +0800, he.hailo...@zte.com.cn wrote: >> For some purpose, I have to acquire some info within the docker >> container that usually can be made by executing crm commands on the >> host. Importing this tool into the container

[ClusterLabs] Hawk vs pcs Web UI

2017-11-07 Thread David Kent
Hello, What is the difference between Hawk and the pcs Web UI? (Why are there two projects, not one? Are they targeting different use cases?) I was surprised to see two Web UI implementations under the same ClusterLabs umbrella. I assume there's a reason, but I can't find it. I'm running

Re: [ClusterLabs] Unable to perform resource failover.

2017-11-07 Thread Ken Gaillot
On Tue, 2017-11-07 at 10:30 +, Garima wrote: > Hi All, >   > I am new in pacemaker corosync. >   > I have created a simple environment with 2 nodes(Active/Passive) > having 2 resources. > Resources: > One resource is added on VIP. > Other resource is added as Httpd apache service. >   >

Re: [ClusterLabs] are there equivelent restful apis for crm commands

2017-11-07 Thread Ken Gaillot
On Tue, 2017-11-07 at 16:06 +0800, he.hailo...@zte.com.cn wrote: > Hi list, > > For some purpose, I have to acquire some info within the docker > container that usually can be made by executing crm commands on the > host. Importing this tool into the container may involve fixing lots > of

Re: [ClusterLabs] Failed actions .. constraint confusion

2017-11-07 Thread Ken Gaillot
On Mon, 2017-11-06 at 19:55 -0800, Aaron Cody wrote: > Hello > I have set up an active/passive HA NFS/DRBD cluster ... on RHEL7.2 > ... and I keep getting this 'Failed Action' message .. not always, > but sometimes : > > Stack: corosync > Current DC: ha-nfs2.lan.aaroncody.com (version

Re: [ClusterLabs] boothd-site/boothd-arbitrator: WARN: packet timestamp older than previous one

2017-11-07 Thread Dejan Muhamedagic
Hi, On Mon, Nov 06, 2017 at 10:52:12AM +0100, Nicolas Huillard wrote: > Hello, > > I have many of those above syslog messages from boothd (counting all > servers, that's nearly 1 hundred per day). > All sites are synchronized using NTP, but according to source (https:// >

Re: [ClusterLabs] Unable to perform resource failover.

2017-11-07 Thread Garima
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

Re: [ClusterLabs] Unable to perform resource failover.

2017-11-07 Thread Alberto Mijares
> > 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

Re: [ClusterLabs] Unable to perform resource failover.

2017-11-07 Thread Garima
Hi, >> There are many things to check. First of all, check if the service is being >> restarted by systemd or another process manager. We restarted the systemd and other process by using command mentioned below and also restarted the cluster nodes: Systemctl restart httpd.service

Re: [ClusterLabs] are there equivelent restful apis for crm commands

2017-11-07 Thread Larry Chen
Hi hailong If possible, using ssh in container to log in your host, and then run crm shell to get your job done. Crm shell is designed to run on HA stack, I don't think it's a good idea to separate crm from HA stack. Thanks, Larry Chen On 11/7/2017 5:35 PM, he.hailo...@zte.com.cn wrote: Can

Re: [ClusterLabs] Unable to perform resource failover.

2017-11-07 Thread Alberto Mijares
> I am trying to do resource failover by killing pid of httpd. > > Observation: > > I observed that resource failover is not happing after killing the pid. > Status of resource(Httpd) remain started on node1. > > We don’t want to use resource move ”pcs resource move Httpd” and resource >

[ClusterLabs] are there equivelent restful apis for crm commands

2017-11-07 Thread he.hailong5
Hi list, For some purpose, I have to acquire some info within the docker container that usually can be made by executing crm commands on the host. Importing this tool into the container may involve fixing lots of dependency issues and you still need to figure out how to connect to the