Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Users

cibadmin not working...

 

 

Linux-HA users RSS feed   Index | Next | Previous | View Threaded


steve.wray at cwa

Jul 2, 2008, 7:54 PM

Post #1 of 4 (175 views)
Permalink
cibadmin not working...

Hi there,

I've been running with a v1 config fine for a while and now have v2 on
the test bed.

So far its working ok with respect to failovers but I've hit a problem
with administering it.

# cibadmin -Q
Signon to CIB failed: connection failed
Init failed, could not perform requested operations

Running cibadmin under strace, it seems to be looking for a file:
/var/run/heartbeat/crm/cib_rw

which doesn't exist...

I'm unsure what this means as the failover component of the cluster is
working fine. I've spent a fair bit of time going through the
documentation but following link after link I found myself going in
circles :(

Please advise.

Thanks!
_______________________________________________
Linux-HA mailing list
Linux-HA[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


linux-ha at mm

Jul 2, 2008, 8:34 PM

Post #2 of 4 (169 views)
Permalink
Re: cibadmin not working... [In reply to]

On Thu, Jul 03, 2008 at 02:54:34PM +1200, Steve Wray wrote:
> I've been running with a v1 config fine for a while and now have
> v2 on the test bed.
>
> So far its working ok with respect to failovers but I've hit a
> problem with administering it.
>
> # cibadmin -Q
> Signon to CIB failed: connection failed
> Init failed, could not perform requested operations
>
> Running cibadmin under strace, it seems to be looking for a file:
> /var/run/heartbeat/crm/cib_rw
>
> which doesn't exist...

Interesting - exists for me, and those files are all local sockets.
I presume this is used to communicate with the various heartbeat
components. Can you find them anywhere else on your system?

Do you have "crm on" or similar in your ha.cf? It's possible to use
heartbeat 2 without the CRM, in which case it works like v1.

# ls /var/run/heartbeat/crm/ -la
total 8
drwxr-x--- 2 hacluster haclient 4096 2008-07-01 17:38 .
drwxr-xr-x 5 root root 4096 2008-07-01 17:37 ..
srwxrwxrwx 1 hacluster haclient 0 2008-07-01 17:38 attrd
srwxrwxrwx 1 hacluster haclient 0 2008-07-01 17:37 cib_callback
srwxrwxrwx 1 hacluster haclient 0 2008-07-01 17:37 cib_ro
srwxrwxrwx 1 hacluster haclient 0 2008-07-01 17:37 cib_ro_syncronous
srwxrwxrwx 1 hacluster haclient 0 2008-07-01 17:37 cib_rw
srwxrwxrwx 1 hacluster haclient 0 2008-07-01 17:37 cib_rw_syncronous
srwxrwxrwx 1 hacluster haclient 0 2008-07-01 17:37 crmd

_______________________________________________
Linux-HA mailing list
Linux-HA[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


beekhof at gmail

Jul 3, 2008, 2:09 AM

Post #3 of 4 (162 views)
Permalink
Re: cibadmin not working... [In reply to]

On Thu, Jul 3, 2008 at 04:54, Steve Wray <steve.wray[at]cwa.co.nz> wrote:
> Hi there,
>
> I've been running with a v1 config fine for a while and now have v2 on the
> test bed.
>
> So far its working ok with respect to failovers but I've hit a problem with
> administering it.
>
> # cibadmin -Q
> Signon to CIB failed: connection failed
> Init failed, could not perform requested operations
>
> Running cibadmin under strace, it seems to be looking for a file:
> /var/run/heartbeat/crm/cib_rw
>
> which doesn't exist...
>
> I'm unsure what this means as the failover component of the cluster is
> working fine. I've spent a fair bit of time going through the documentation
> but following link after link I found myself going in circles :(
>
> Please advise.

Just covering the basics, but you did add "crm yes" to ha.cf on all
your nodes right?
Have you also seen http://linux-ha.org/v2 and
http://linux-ha.org/GettingStartedV2 ?
_______________________________________________
Linux-HA mailing list
Linux-HA[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


steve.wray at cwa

Jul 3, 2008, 2:20 PM

Post #4 of 4 (159 views)
Permalink
Re: cibadmin not working... [In reply to]

Andrew Beekhof wrote:
> On Thu, Jul 3, 2008 at 04:54, Steve Wray <steve.wray[at]cwa.co.nz> wrote:
>> Hi there,
>>
>> I've been running with a v1 config fine for a while and now have v2 on the
>> test bed.
>>
>> So far its working ok with respect to failovers but I've hit a problem with
>> administering it.
>>
>> # cibadmin -Q
>> Signon to CIB failed: connection failed
>> Init failed, could not perform requested operations
>>
>> Running cibadmin under strace, it seems to be looking for a file:
>> /var/run/heartbeat/crm/cib_rw
>>
>> which doesn't exist...
>>
>> I'm unsure what this means as the failover component of the cluster is
>> working fine. I've spent a fair bit of time going through the documentation
>> but following link after link I found myself going in circles :(
>>
>> Please advise.
>
> Just covering the basics, but you did add "crm yes" to ha.cf on all
> your nodes right?

I'd been working with several machines on the bench... and was certain
I'd set crm yes on this particular pair...


> Have you also seen http://linux-ha.org/v2 and
> http://linux-ha.org/GettingStartedV2 ?

Oh you bet. I've been through almost all of that site. I feel like a
web-spider. And I still feel very murky about it, its pretty opaque
stuff; looking at the xml files feels like hitting my head on a wall of
text.

Is there any good way to 'look' at xml without getting dizzy?


_______________________________________________
Linux-HA mailing list
Linux-HA[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Linux-HA users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.