Am Donnerstag, 29. Oktober 2009 16:20:57 schrieb Alain.Moulle:
> Hi,
>
> I just switch a working configuration Pacemaker/Heartbeat-v2 to a
> configuration Pacemaker/openais,
> with the same pair of nodes, so I have only done :
> *1.* update openais.conf on node1 (10.10.10.70) :
> aisexec {
> # Run as root - this is necessary to be able to manage resources
> with Pacemaker
> user: root
> group: root
> }
>
> service {
> # Load the Pacemaker Cluster Resource Manager
> ver: 0
> name: pacemaker
> use_mgmtd: yes
> use_logd: yes
> }
> interface {
> ringnumber: 0
>
> # The following values need to be set based on your
> environment
> bindnetaddr: 10.10.10.70
> mcastaddr: 226.10.10.70
> mcastport: 5405
> }
bindnetaddr: Please do not use the IP addresses of the interfaces but the IP &
netmask. os perhaps 10.10.10.0 on both machines.
openais will search for the correct interface. This trick helps to keep the
configuration files independent from the nodes.
> *2.* same file on node 2 (10.10.10.71) except for line :
> bindnetaddr: 10.10.10.71
binnetaddr: 10.10.10.0
> *3. *retrieve the authkeys which was working with Heartbeat-v2 on both
> nodes : cp /etc/ha.d/authkeys /etc/ais/.
If you want to encrypt the traffic between the nodes please openais-keygen to
create a new key.
> But I can't start the cluster on whatever node :
>
> on node 1, I got this message in /var/log/secure :
> PAM unable to dlopen(/lib64/security/pam_fprintd.so):
> /lib64/security/pam_fprintd.so: cannot open shared object file: No such
> file or directory
> PAM adding faulty module: /lib64/security/pam_fprintd.so
> Accepted password for root from 10.10.10.70 port 45365 ssh2
> pam_unix(sshd:session): session opened for user root by (uid=0)
> pam_unix(sshd:session): session closed for user root
> and in /var/log/messages :
> WARN: route_ais_message: Sending message to local.crmd failed: unknown
> (rc=-2)
>
>
> on node 2, I always got this message in /var/log/secure
> mgmtd: pam_unix(hbmgmtd:auth): authentication failure; logname= uid=0
> euid=0 tty= ruser= rhost= user=hacluster
> and in /var/log/messages :
> ERROR: on_listen pam auth failed
Lets see what happens after the corrections.
Greetings,,
Michael.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems