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

Mailing List Archive: Linux-HA: Users

heartbeat for ldap

 

 

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


Maurice.Dalton at MSFC

Nov 10, 2004, 11:40 AM

Post #1 of 5 (2100 views)
Permalink
heartbeat for ldap

I am having problems setting up heartbeat with ldap on my 2 servers.
I am using the linuxjournal.com/article.php?sid=5505 document.
I am also using the latest heartbeat-1.2.3 rpm's on RedHat v.3. I copied the api_test from the rpm
to /etc/ha.d/resources.d/other_state.

When other_state runs I am getting a auth problem as show below..

heartbeat: 2004/11/10_19:28:59 debug: APIregistration_dispatch() {
heartbeat: 2004/11/10_19:28:59 debug: process_registerevent() {
heartbeat: 2004/11/10_19:28:59 debug: client->gsource = 0x855eb68
heartbeat: 2004/11/10_19:28:59 debug: }/*process_registerevent*/;
heartbeat: 2004/11/10_19:28:59 debug: }/*APIregistration_dispatch*/;
heartbeat: 2004/11/10_19:28:59 debug: Checking client authorization for client ping (0:0)
heartbeat: 2004/11/10_19:28:59 debug: Signing on API client 11704 (ping)
heartbeat: 2004/11/10_19:28:59 debug: G_remove_client(pid=11704, reason='client failed authorization' gsource=0x855eb68) {
heartbeat: 2004/11/10_19:28:59 debug: api_remove_client_int: removing pid [11704] reason: client failed authorization
heartbeat: 2004/11/10_19:28:59 debug: }/*G_remove_clie

Can anyone help... And Thanks..


gshi at ncsa

Nov 10, 2004, 12:13 PM

Post #2 of 5 (2011 views)
Permalink
Re: heartbeat for ldap [In reply to]

either you need to run api_test in user hacluster
or you can add apiauth line to ha.cf to authorize other users, for example

apiauth ping uid=root


-Guochun

At 01:40 PM 11/10/2004 -0600, you wrote:
>content-class: urn:content-classes:message
>Content-Type: multipart/alternative;
> boundary="----_=_NextPart_001_01C4C75D.1F3009C0"
>
>I am having problems setting up heartbeat with ldap on my 2 servers.
>I am using the linuxjournal.com/article.php?sid=5505 document.
>I am also using the latest heartbeat-1.2.3 rpm's on RedHat v.3. I copied the api_test from the rpm
>to /etc/ha.d/resources.d/other_state.
>
>When other_state runs I am getting a auth problem as show below..
>
>heartbeat: 2004/11/10_19:28:59 debug: APIregistration_dispatch() {
>heartbeat: 2004/11/10_19:28:59 debug: process_registerevent() {
>heartbeat: 2004/11/10_19:28:59 debug: client->gsource = 0x855eb68
>heartbeat: 2004/11/10_19:28:59 debug: }/*process_registerevent*/;
>heartbeat: 2004/11/10_19:28:59 debug: }/*APIregistration_dispatch*/;
>heartbeat: 2004/11/10_19:28:59 debug: Checking client authorization for client ping (0:0)
>heartbeat: 2004/11/10_19:28:59 debug: Signing on API client 11704 (ping)
>heartbeat: 2004/11/10_19:28:59 debug: G_remove_client(pid=11704, reason='client failed authorization' gsource=0x855eb68) {
>
>heartbeat: 2004/11/10_19:28:59 debug: api_remove_client_int: removing pid [11704] reason: client failed authorization
>heartbeat: 2004/11/10_19:28:59 debug: }/*G_remove_clie
>
>Can anyone help... And Thanks..
>
>_______________________________________________
>Linux-HA mailing list
>Linux-HA [at] lists
>http://lists.linux-ha.org/mailman/listinfo/linux-ha


Maurice.Dalton at MSFC

Nov 10, 2004, 12:41 PM

Post #3 of 5 (2032 views)
Permalink
RE: heartbeat for ldap [In reply to]

That fixed the problem..

One more question if you would be so kind.

should state run all the time..

once it starts it doesn't go away..

And Thanks again


-----Original Message-----
From: Guochun Shi [mailto:gshi [at] ncsa]
Sent: Wednesday, November 10, 2004 2:13 PM
To: General Linux-HA mailing list
Subject: Re: [Linux-HA] heartbeat for ldap


either you need to run api_test in user hacluster
or you can add apiauth line to ha.cf to authorize other users, for example

apiauth ping uid=root


-Guochun

At 01:40 PM 11/10/2004 -0600, you wrote:


content-class: urn:content-classes:message
Content-Type: multipart/alternative;
<< MIME_ATTACHMENT_STRIPPED >>


gshi at ncsa

Nov 10, 2004, 9:34 PM

Post #4 of 5 (2030 views)
Permalink
RE: heartbeat for ldap [In reply to]

At 02:41 PM 11/10/2004 -0600, you wrote:
>content-class: urn:content-classes:message
>Content-Type: multipart/alternative;
> boundary="----_=_NextPart_001_01C4C765.9963605D"
>
>That fixed the problem..
>
>One more question if you would be so kind.
>
>should state run all the time..
>
>once it starts it doesn't go away..
>
>And Thanks again
>
yes, that's how it works. It is a sample program to show you how you can use heartbeat api.

-Guochun

>-----Original Message-----
>From: Guochun Shi [mailto:gshi [at] ncsa]
>Sent: Wednesday, November 10, 2004 2:13 PM
>To: General Linux-HA mailing list
>Subject: Re: [Linux-HA] heartbeat for ldap
>
>either you need to run api_test in user hacluster
>or you can add apiauth line to ha.cf to authorize other users, for example
>
>apiauth ping uid=root
>
>
>
>-Guochun
>
>At 01:40 PM 11/10/2004 -0600, you wrote:
>>content-class: urn:content-classes:message
>>Content-Type: multipart/alternative;
>><< MIME_ATTACHMENT_STRIPPED >>
>_______________________________________________
>Linux-HA mailing list
>Linux-HA [at] lists
>http://lists.linux-ha.org/mailman/listinfo/linux-ha


alanr at unix

Nov 11, 2004, 6:46 AM

Post #5 of 5 (2037 views)
Permalink
Re: heartbeat for ldap [In reply to]

Guochun Shi wrote:
> At 02:41 PM 11/10/2004 -0600, you wrote:
>
>> content-class: urn:content-classes:message Content-Type:
>> multipart/alternative;
>> boundary="----_=_NextPart_001_01C4C765.9963605D"
>>
>> That fixed the problem..
>>
>> One more question if you would be so kind.
>>
>> should state run all the time..
>>
>> once it starts it doesn't go away..
>>
>> And Thanks again
>>
>
> yes, that's how it works. It is a sample program to show you how you can
> use heartbeat api.

But, you only need to run it to verify that certain things are working (and
probably things you mostly don't care about). Once you've verified things
are working, you don't need to run this test program.

--
Alan Robertson <alanr [at] unix>

"Openness is the foundation and preservative of friendship... Let me claim
from you at all times your undisguised opinions." - William Wilberforce
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha

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


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.