Re: [Pacemaker] SmartOS / illumos

2013-05-13 Thread Andrei Belov
Hello, On May 10, 2013, at 4:02 , Dalho PARK wrote: > Hello, > I’m trying to compile pacemaker on SmartOS and having error during make. > Does anyone has already successfully compiled on SmartOS? Sorta. I spent some time making pkgsrc ports for libqb (0.14.4), corosync (2.3.0), pacemaker (1.

Re: [Pacemaker] pacemakerd does not daemonize?

2013-04-09 Thread Andrei Belov
On Apr 10, 2013, at 8:21 , Andrei Belov wrote: > > On Apr 10, 2013, at 2:06 , Andrew Beekhof wrote: > >> >> On 09/04/2013, at 4:13 PM, Andrei Belov wrote: >> >>> Hello pacemaker users, >>> >>> I noticed that neither "-p&q

Re: [Pacemaker] pacemakerd does not daemonize?

2013-04-09 Thread Andrei Belov
On Apr 10, 2013, at 2:06 , Andrew Beekhof wrote: > > On 09/04/2013, at 4:13 PM, Andrei Belov wrote: > >> Hello pacemaker users, >> >> I noticed that neither "-p" nor "-f" option does not make any sense for >> pacemakerd - >&g

[Pacemaker] pacemakerd does not daemonize?

2013-04-08 Thread Andrei Belov
Hello pacemaker users, I noticed that neither "-p" nor "-f" option does not make any sense for pacemakerd - pid_file is never used, and "f" option marked as "Legacy". Is the ability to run as a daemon disappeared completely? Also I'd like to know if there are any reasons to worry about the foll

[Pacemaker] [PATCH] Use correct OCF_ROOT_DIR in include/crm/services.h.

2013-04-02 Thread Andrei Belov
Previously, libcrmservice always has OCF_ROOT_DIR defined as "/usr/lib/ocf", despite the fact that another path was defined in glue_config.h. Caught on SunOS 5.11 while configuring cluster-glue and pacemaker using non-standard prefix. --- lib/services/Makefile.am |2 +- 1 file changed, 1 ins

Re: [Pacemaker] solaris problem

2013-03-25 Thread Andrei Belov
>killapp ${APPPATH}${COROSYNC} >killapp ${PACEMAKER_PROCESSES} >return 0 > } > > let sleep0=$SLEEPINTERVALL/2 > case "$1" in > 'start') >start0 > ;; > 'restart') >stop0 >start0 >

Re: [Pacemaker] solaris problem

2013-03-25 Thread Andrei Belov
ibqb is the right place to touch - maybe it'd be better to add some enhancements to pacemaker's lib/common/mainloop.c, mainloop_add_ipc_server() ? Cheers. On Mar 25, 2013, at 16:01 , Andrei Belov wrote: > > I've rebuilt libqb using separated SOCKETDIR (/var/run/qb), and

Re: [Pacemaker] solaris problem

2013-03-25 Thread Andrei Belov
retry If someone has working setup on Linux with corosync 2.x, libqb and pacemaker 1.1.x - I'd be very appreciated for sharing some information about a places which libqb uses for its special socket files. Thanks in advance! (Can we say now that this problem is libqb-related, not pacemak

Re: [Pacemaker] solaris problem

2013-03-25 Thread Andrei Belov
e this setting > export PCMK_ipc_type=socket > > Andreas > > -Ursprüngliche Nachricht- > Von: Andrei Belov [mailto:defana...@gmail.com] > Gesendet: Montag, 25. März 2013 10:43 > An: pacemaker@oss.clusterlabs.org > Betreff: [Pacemaker] solaris problem > > H

[Pacemaker] solaris problem

2013-03-25 Thread Andrei Belov
Hi folks, I'm trying to build test HA cluster on Solaris 5.11 using libqb 0.14.4, corosync 2.3.0 and pacemaker 1.1.8, and I'm facing a strange problem while starting pacemaker. Log shows the following errors: Mar 25 09:21:26 [33720] lrmd:error: mainloop_add_ipc_server: Could not sta