[Linux-HA] api_test and non-casual clients

Andrew Beekhof beekhof at gmail.com
Mon Nov 5 11:10:38 MST 2007


On 11/2/07, Scott Mann <smann at azteknetworks.net> wrote:
>
> Hello,
>
> I thought I'd start another thread as it may make searching by others easier...
>
> 1.) My reading of the documentation indicates that a client is "non-casual" if its `uname -n` output is specified as a node in the ha.cf file. Examing variable values confirms this (the "iscasual" variable of the client_process struct is 0 in this case).

really?

that sounds weird... heartbeat wouldn't have been able to start up if
the node name wasn't listed in ha.cf (assuming autojoin wasn't
enabled)

my understanding was that only clients who don't provide a name for
themselves (ie. pingd, crmd, ccm, etc) are considered casual.

> My question: Is there any other case in which a client is considered "non-casual?"
>
> 2.) In attempting to get api_test running, I found that the user running api_test had to have "haclient" as its primary group (the one indicated in the gid field of /etc/passwd) and could not merely be a member of that group. Is that behavior by design?

you'd have to ask alan that

> Or is there some other limitation that I'm missing (such as, a limit to the total number of groups to which a user belongs or privileged users not allowed unless specifically specified in an apiauth entry, etc.)?


More information about the Linux-HA mailing list