Re: [Linux-HA] [ha-wg] [ha-wg-technical] [RFC] Organizing HA Summit 2015

2014-11-24 Thread Lars Marowsky-Bree
On 2014-11-11T09:17:56, Fabio M. Di Nitto fdini...@redhat.com wrote:

Hey,

I know I'm a bit late to the game, but: I'd be happy to meet, yet Brno
is not all that easy to reach. There don't appear to be regular flights
to BRQ, and it's also quite far by train.

Am I missing something obvious regarding public transport?

If everyone is travelling to devconf through Prague, maybe that'd be a
better place to meet? For those of us not going to devconf, that'd be a
quite shorter ride.


Regards,
Lars

-- 
Architect Storage/HA
SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 
(AG Nürnberg)
Experience is the name everyone gives to their mistakes. -- Oscar Wilde

___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Re: [Linux-HA] [ha-wg] [ha-wg-technical] [RFC] Organizing HA Summit 2015

2014-11-24 Thread Digimer

On 24/11/14 06:40 AM, Lars Marowsky-Bree wrote:

On 2014-11-11T09:17:56, Fabio M. Di Nitto fdini...@redhat.com wrote:

Hey,

I know I'm a bit late to the game, but: I'd be happy to meet, yet Brno
is not all that easy to reach. There don't appear to be regular flights
to BRQ, and it's also quite far by train.

Am I missing something obvious regarding public transport?

If everyone is travelling to devconf through Prague, maybe that'd be a
better place to meet? For those of us not going to devconf, that'd be a
quite shorter ride.


Regards,
 Lars


The LINBIT folks suggested to land in Vienna and then it's two hours by 
road, but I've not looked too closely at it just yet. Once we get 
confirmation that the meeting is on, perhaps a pre-meeting in a 
convenient city for $drinks before travel would be nice. There must be a 
train available, too... I mean, in the west, we hear always about 
Europe's excellent public transit... ;)


--
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without 
access to education?

___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Re: [Linux-HA] [ha-wg] [ha-wg-technical] [RFC] Organizing HA Summit 2015

2014-11-24 Thread Lars Marowsky-Bree
On 2014-11-24T06:59:39, Digimer li...@alteeve.ca wrote:

 The LINBIT folks suggested to land in Vienna and then it's two hours by
 road, but I've not looked too closely at it just yet.

I'd be happy to meet in Vienna. I'm not keen on first flying to VIE and
then spending 2+h on the road/bus.

(Vienna is actually a lot better for me than even Prague; direct
flights ;-)

 Once we get confirmation that the meeting is on, perhaps a pre-meeting
 in a convenient city for $drinks before travel would be nice. There
 must be a train available, too... I mean, in the west, we hear always
 about Europe's excellent public transit... ;)

Well, yes, there is a train, but from Berlin, it's almost 8 hours.

If everyone is routing through either VIE or PRG, it'd just be a lot
saner to have this meeting there; the RHT folks can always travel on.

Frankly, Brno is reasonably inconvenient for international travellers.


Regards,
Lars

-- 
Architect Storage/HA
SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 
(AG Nürnberg)
Experience is the name everyone gives to their mistakes. -- Oscar Wilde

___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Re: [Linux-HA] [ha-wg] [ha-wg-technical] [RFC] Organizing HA Summit 2015

2014-11-24 Thread Fabio M. Di Nitto


On 11/24/2014 1:08 PM, Lars Marowsky-Bree wrote:
 On 2014-11-24T06:59:39, Digimer li...@alteeve.ca wrote:
 
 The LINBIT folks suggested to land in Vienna and then it's two hours by
 road, but I've not looked too closely at it just yet.
 
 I'd be happy to meet in Vienna. I'm not keen on first flying to VIE and
 then spending 2+h on the road/bus.
 
 (Vienna is actually a lot better for me than even Prague; direct
 flights ;-)
 
 Once we get confirmation that the meeting is on, perhaps a pre-meeting
 in a convenient city for $drinks before travel would be nice. There
 must be a train available, too... I mean, in the west, we hear always
 about Europe's excellent public transit... ;)
 
 Well, yes, there is a train, but from Berlin, it's almost 8 hours.
 
 If everyone is routing through either VIE or PRG, it'd just be a lot
 saner to have this meeting there; the RHT folks can always travel on.
 
 Frankly, Brno is reasonably inconvenient for international travellers.

Either fly to Prague or Vienna and then it´s a 2 hours train or bus ride.

From Vienna the bus leaves straight from the airport and arrives in Brno
center.

Other cities are not an option for me for a meet up. It has to be Brno,
even if it´s a bit more inconvenient for the 2 extra hours of transport.

Fabio
___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Re: [Linux-HA] [ha-wg] [ha-wg-technical] [RFC] Organizing HA Summit 2015

2014-11-24 Thread Digimer

On 24/11/14 07:15 AM, Fabio M. Di Nitto wrote:



On 11/24/2014 1:08 PM, Lars Marowsky-Bree wrote:

On 2014-11-24T06:59:39, Digimer li...@alteeve.ca wrote:


The LINBIT folks suggested to land in Vienna and then it's two hours by
road, but I've not looked too closely at it just yet.


I'd be happy to meet in Vienna. I'm not keen on first flying to VIE and
then spending 2+h on the road/bus.

(Vienna is actually a lot better for me than even Prague; direct
flights ;-)


Once we get confirmation that the meeting is on, perhaps a pre-meeting
in a convenient city for $drinks before travel would be nice. There
must be a train available, too... I mean, in the west, we hear always
about Europe's excellent public transit... ;)


Well, yes, there is a train, but from Berlin, it's almost 8 hours.

If everyone is routing through either VIE or PRG, it'd just be a lot
saner to have this meeting there; the RHT folks can always travel on.

Frankly, Brno is reasonably inconvenient for international travellers.


Either fly to Prague or Vienna and then it´s a 2 hours train or bus ride.

 From Vienna the bus leaves straight from the airport and arrives in Brno
center.

Other cities are not an option for me for a meet up. It has to be Brno,
even if it´s a bit more inconvenient for the 2 extra hours of transport.

Fabio


My daily train to work is 2 hours, so VIE - Brno is all the same to me. 
I am hoping to visit others in Vienna, so this is most likely the route 
I will take. A train from the airport to Brno sounds really quite 
convenient, actually.


Is there wifi on this bus, do you know? If not, any advice for a 
short-term SIM with a data plan? I don't expect I'd need more that 1~2 
GB over the trip.


Prepare your liver, boys. Digimer is coming to town. :D

(I kid... mostly)

digimer

--
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without 
access to education?

___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Re: [Linux-HA] [ha-wg] [ha-wg-technical] [RFC] Organizing HA Summit 2015

2014-11-24 Thread Fabio M. Di Nitto


On 11/24/2014 1:27 PM, Digimer wrote:
 On 24/11/14 07:15 AM, Fabio M. Di Nitto wrote:


 On 11/24/2014 1:08 PM, Lars Marowsky-Bree wrote:
 On 2014-11-24T06:59:39, Digimer li...@alteeve.ca wrote:

 The LINBIT folks suggested to land in Vienna and then it's two hours by
 road, but I've not looked too closely at it just yet.

 I'd be happy to meet in Vienna. I'm not keen on first flying to VIE and
 then spending 2+h on the road/bus.

 (Vienna is actually a lot better for me than even Prague; direct
 flights ;-)

 Once we get confirmation that the meeting is on, perhaps a pre-meeting
 in a convenient city for $drinks before travel would be nice. There
 must be a train available, too... I mean, in the west, we hear always
 about Europe's excellent public transit... ;)

 Well, yes, there is a train, but from Berlin, it's almost 8 hours.

 If everyone is routing through either VIE or PRG, it'd just be a lot
 saner to have this meeting there; the RHT folks can always travel on.

 Frankly, Brno is reasonably inconvenient for international travellers.

 Either fly to Prague or Vienna and then it´s a 2 hours train or bus ride.

  From Vienna the bus leaves straight from the airport and arrives in Brno
 center.

 Other cities are not an option for me for a meet up. It has to be Brno,
 even if it´s a bit more inconvenient for the 2 extra hours of transport.

 Fabio
 
 My daily train to work is 2 hours, so VIE - Brno is all the same to me.
 I am hoping to visit others in Vienna, so this is most likely the route
 I will take. A train from the airport to Brno sounds really quite
 convenient, actually.
 
 Is there wifi on this bus, do you know? If not, any advice for a
 short-term SIM with a data plan? I don't expect I'd need more that 1~2
 GB over the trip.

AFAIK there is wifi in the bus for a good portion of the trip.

Fabio

 
 Prepare your liver, boys. Digimer is coming to town. :D
 
 (I kid... mostly)
 
 digimer
 
___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Re: [Linux-HA] [ha-wg] [RFC] Organizing HA Summit 2015

2014-11-24 Thread Lars Marowsky-Bree
On 2014-09-08T12:30:23, Fabio M. Di Nitto fdini...@redhat.com wrote:

Folks, Fabio,

thanks for organizing this and getting the ball rolling. And again sorry
for being late to said game; I was busy elsewhere.

However, it seems that the idea for such a HA Summit in Brno/Feb 2015
hasn't exactly fallen on fertile grounds, even with the suggested
user/client day. (Or if there was a lot of feedback, it wasn't
public.)

I wonder why that is, and if/how we can make this more attractive?

Frankly, as might have been obvious ;-), for me the venue is an issue.
It's not easy to reach, and I'm theoretically fairly close in Germany
already.

I wonder if we could increase participation with a virtual meeting (on
either those dates or another), similar to what the Ceph Developer
Summit does?

Those appear really productive and make it possible for a wide range of
interested parties from all over the world to attend, regardless of
travel times, or even just attend select sessions (that would otherwise
make it hard to justify travel expenses  time off).


Alternatively, would a relocation to a more connected venue help, such
as Vienna xor Prague?


I'd love to get some more feedback from the community.

As Fabio put it, yes, I *can* suck it up and go to Brno if that's where
everyone goes to play ;-), but I'd also prefer to have a broader
participation.



Regards,
Lars

-- 
Architect Storage/HA
SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 
(AG Nürnberg)
Experience is the name everyone gives to their mistakes. -- Oscar Wilde

___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Re: [Linux-HA] [Pacemaker] [ha-wg] [RFC] Organizing HA Summit 2015

2014-11-24 Thread Digimer

On 24/11/14 09:54 AM, Fabio M. Di Nitto wrote:

On 11/24/2014 3:39 PM, Lars Marowsky-Bree wrote:

On 2014-09-08T12:30:23, Fabio M. Di Nitto fdini...@redhat.com wrote:

Folks, Fabio,

thanks for organizing this and getting the ball rolling. And again sorry
for being late to said game; I was busy elsewhere.

However, it seems that the idea for such a HA Summit in Brno/Feb 2015
hasn't exactly fallen on fertile grounds, even with the suggested
user/client day. (Or if there was a lot of feedback, it wasn't
public.)

I wonder why that is, and if/how we can make this more attractive?


I suspect a lot of it is that, given people's busy schedules, February 
seems far away. Also, I wonder how much discussion has happened outside 
of these lists. Is it really that there hasn't been much feedback?


Fabio started this ball rolling, so I would be interested to hear what 
he's heard.



Frankly, as might have been obvious ;-), for me the venue is an issue.
It's not easy to reach, and I'm theoretically fairly close in Germany
already.

I wonder if we could increase participation with a virtual meeting (on
either those dates or another), similar to what the Ceph Developer
Summit does?


Requested feedback given;

Virtual meetings are never as good, and I really don't like this idea. 
In my experience, just as much productive decision making happens in the 
unofficial after-hours activities as during formal(ish) 
meetings/presentations.


I think it is very important that the meeting remain in-person if at all 
possible.



Those appear really productive and make it possible for a wide range of
interested parties from all over the world to attend, regardless of
travel times, or even just attend select sessions (that would otherwise
make it hard to justify travel expenses  time off).

Alternatively, would a relocation to a more connected venue help, such
as Vienna xor Prague?


Personally, I don't care where we meet, but I do believe Fabio already 
ruled out a relocation.



I'd love to get some more feedback from the community.


I agree. some feedback would be useful.


digimer puts on her flame-retardant pantaloons and waits for the worst...

--
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without 
access to education?

___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Re: [Linux-HA] [ha-wg] [RFC] Organizing HA Summit 2015

2014-11-24 Thread Lars Marowsky-Bree
On 2014-11-24T15:54:33, Fabio M. Di Nitto fdini...@redhat.com wrote:

 dates and location were chosen to piggy-back with devconf.cz and allow
 people to travel for more than just HA Summit.

Yeah, well, devconf.cz is not such an interesting event for those who do
not wear the fedora ;-)

 I´d prefer, at least for this round, to keep dates/location and explore
 the option to allow people to join remotely. Afterall there are tons of
 tools between google hangouts and others that would allow that.

That is, in my experience, the absolute worst. It creates second class
participants and is a PITA for everyone.

I know that an in-person meeting is useful, but we have a large team in
Beijing, the US, Tasmania (OK, one crazy guy), various countries in
Europe etc.


Regards,
Lars

-- 
Architect Storage/HA
SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 
(AG Nürnberg)
Experience is the name everyone gives to their mistakes. -- Oscar Wilde

___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Re: [Linux-HA] [Pacemaker] [ha-wg] [RFC] Organizing HA Summit 2015

2014-11-24 Thread Digimer

On 24/11/14 10:12 AM, Lars Marowsky-Bree wrote:

Beijing, the US, Tasmania (OK, one crazy guy), various countries in


Oh, bring him! crazy++

--
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without 
access to education?

___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Re: [Linux-HA] [ha-wg] [RFC] Organizing HA Summit 2015

2014-11-24 Thread Fabio M. Di Nitto


On 11/24/2014 4:12 PM, Lars Marowsky-Bree wrote:
 On 2014-11-24T15:54:33, Fabio M. Di Nitto fdini...@redhat.com wrote:
 
 dates and location were chosen to piggy-back with devconf.cz and allow
 people to travel for more than just HA Summit.
 
 Yeah, well, devconf.cz is not such an interesting event for those who do
 not wear the fedora ;-)

That would be the perfect opportunity for you to convert users to Suse ;)

 
 I´d prefer, at least for this round, to keep dates/location and explore
 the option to allow people to join remotely. Afterall there are tons of
 tools between google hangouts and others that would allow that.
 
 That is, in my experience, the absolute worst. It creates second class
 participants and is a PITA for everyone.

I agree, it is still a way for people to join in tho.

 
 I know that an in-person meeting is useful, but we have a large team in
 Beijing, the US, Tasmania (OK, one crazy guy), various countries in
 Europe etc.
 

Yes same here. No difference.. we have one crazy guy in Australia..

Fabio
___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


[Linux-HA] Monitor a Pacemaker Cluster with ocf:pacemaker:ClusterMon and/or external-agent

2014-11-24 Thread Ranjan Gajare
I want to configure Event Notification with Monitoring Resources using
External Agent. I want to set notification on node failover from HA
perspective.
I follow below links 
 
1)https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Configuring_the_Red_Hat_High_Availability_Add-On_with_Pacemaker/s1-eventnotification-HAAR.html

2)http://floriancrouzat.net/2013/01/monitor-a-pacemaker-cluster-with-ocfpacemakerclustermon-andor-external-agent/

3)http://clusterlabs.org/doc/en-US/Pacemaker/1.1-crmsh/html/Pacemaker_Explained/s-notification-external.html

Configured ClusterMon resource as

# pcs resource create ClusterMon-External ClusterMon --clone user=root \
update=30 extra_options=-E /var/lib/pgsql/9.3/data/test.sh -e
172.26.126.100

vim test.sh

if [[ ${CRM_notify_rc} != 0  ${CRM_notify_task} == monitor ]] || [[
${CRM_notify_task} != monitor ]] ; then 
 # This trap is compliant with PACEMAKER MIB 
# 
https://github.com/ClusterLabs/pacemaker/blob/master/extra/PCMK-MIB.txt 
 /usr/bin/snmptrap -v 2c -c public ${CRM_notify_recipient} 
PACEMAKER-MIB::pacemakerNotification \ 
PACEMAKER-MIB::pacemakerNotificationNode s ${CRM_notify_node} \ 
PACEMAKER-MIB::pacemakerNotificationResource s ${CRM_notify_rsc} \ 
PACEMAKER-MIB::pacemakerNotificationOperation s ${CRM_notify_task} \ 
PACEMAKER-MIB::pacemakerNotificationDescription s ${CRM_notify_desc} 
\ 
PACEMAKER-MIB::pacemakerNotificationStatus i ${CRM_notify_status} \ 
PACEMAKER-MIB::pacemakerNotificationReturnCode i ${CRM_notify_rc} \ 
PACEMAKER-MIB::pacemakerNotificationTargetReturnCode i
${CRM_notify_target_rc}  exit 0 || exit 1 
 fi 
 exit 0 

But when failover occur there is no any notification. Where should I check
notification on 172.26.126.100 ip. I repeated these steps on both primary
and standby as I have 2 node HA.

Is it correct whatever I did?

Thank You,
Ranjan



--
View this message in context: 
http://linux-ha.996297.n3.nabble.com/Monitor-a-Pacemaker-Cluster-with-ocf-pacemaker-ClusterMon-and-or-external-agent-tp15951.html
Sent from the Linux-HA mailing list archive at Nabble.com.
___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


[Linux-HA] Antw: Monitor a Pacemaker Cluster with ocf:pacemaker:ClusterMon and/or external-agent

2014-11-24 Thread Ulrich Windl
Hi!

Sorry for not answering you question, but I'l like to piggy-back more questions:

crm_mon has options to send SNMP traps and E-Mail, it seems. However there is 
_very_ little documentation on what will trigger such events, and what will be 
the content of such events created.

I wondered whether this solution would also work:
Save the output of you favorite crm_mon -1 into some file. Then save the output 
of cibadmin -Q |md5sum in another file. A monitoring process would 
recalculate the MD5 and compare it to the stored version. If the current MD5 
differs, The process would output a diff between the last favourite crm_mon 
output and the current one.

It's kind of primitive, but it should work. Preferrably that monitor should be 
HA by itself, so if a node is shot, there's still a chance the commands are 
executed...

Regards,
Ulrich


___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems