Hi,
I installed SER 0.9.3 for Solaris 10 (is there a newer version pre-compiled for solaris 10?). I'm using the sample config it comes with, except I uncommented the line: loadmodule "/usr/local/lib/ser/modules/mysql.so"
Having done that, I get this error:
0(23162) ERROR: load_module: could not open module </usr/local/lib/ser/modules/mysql.so>: ld.so.1: ser: fatal: libmysqlclient.so.10: open failed: No such file or directory
I have installed MySQL already, and I checked that mysql.so is where it should be. Is there something else I have to configure to get MySQL running with SER?
Thanks, Ben
Hello EVERYONE
I have a heartbeat cluster that manages a ser running on two machines. I have SUSE 10.1 installed. My ha.cf files look like this
logfile /var/log/ha-log logfacility local0 keepalive 2 deadtime 10 warntime 10 initdead 20 udpport 694 baud 19200 bcast eth1 ping 192.168.1.1 auto_failback on node linux-xczz node prueba2 respawn hacluster /usr/local/lib/heartbeat/ipfail
My haresources files look like this
linux-xczz 192.168.1.124/24 serctl
so "linux-xczz" is my master and "prueba2" is my slave
the authkeys file is the same on both machines too with the right permissions ( mod 600). The /etc/hosts files look like this
10.10.10.1 linux-xczz 10.10.10.2 prueba2
When I start heartbeat on both machines with /etc/init.d/heartbeat start, SER starts fine on the master(linux-xczz), but when I try to stop heartbeat to force a failover to the slave node (prueba2), linux-xczz (master) doesn't give up the resource (SER) so It just stays there trying to stop SER before giving up the virtual IP to the other node (prueba2). Since heartbeat can't stop SER, the failover never occurs. This is the log I get from /var/log/ha-log when I try to stop the master
heartbeat[31537]: 2007/03/13_16:15:48 WARN: Shutdown delayed until current resource activity finishes.
Can heartbeat stop SER with the configuration I have? any idea what I'm doing wrong?..................... Alex
This might be a rights problem. You might be better off using an init.d ser script that starts and stop directly without using serctl. g-)
aespinoza@vivophone.com wrote:
Hello EVERYONE
I have a heartbeat cluster that manages a ser running on two machines. I have SUSE 10.1 installed. My ha.cf files look like this
logfile /var/log/ha-log logfacility local0 keepalive 2 deadtime 10 warntime 10 initdead 20 udpport 694 baud 19200 bcast eth1 ping 192.168.1.1 auto_failback on node linux-xczz node prueba2 respawn hacluster /usr/local/lib/heartbeat/ipfail
My haresources files look like this
linux-xczz 192.168.1.124/24 serctl
so "linux-xczz" is my master and "prueba2" is my slave
the authkeys file is the same on both machines too with the right permissions ( mod 600). The /etc/hosts files look like this
10.10.10.1 linux-xczz 10.10.10.2 prueba2
When I start heartbeat on both machines with /etc/init.d/heartbeat start, SER starts fine on the master(linux-xczz), but when I try to stop heartbeat to force a failover to the slave node (prueba2), linux-xczz (master) doesn't give up the resource (SER) so It just stays there trying to stop SER before giving up the virtual IP to the other node (prueba2). Since heartbeat can't stop SER, the failover never occurs. This is the log I get from /var/log/ha-log when I try to stop the master
heartbeat[31537]: 2007/03/13_16:15:48 WARN: Shutdown delayed until current resource activity finishes.
Can heartbeat stop SER with the configuration I have? any idea what I'm doing wrong?..................... Alex
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Install libmysqlclient..
-Jai
On 3/13/07, POON Ben Ben.Poon@alcatel-lucent.com wrote:
Hi,
I installed SER 0.9.3 for Solaris 10 (is there a newer version pre-compiled for solaris 10?). I'm using the sample config it comes with, except I uncommented the line: loadmodule "/usr/local/lib/ser/modules/mysql.so"
Having done that, I get this error:
0(23162) ERROR: load_module: could not open module </usr/local/lib/ser/modules/mysql.so>: ld.so.1: ser: fatal: libmysqlclient.so.10: open failed: No such file or directory
I have installed MySQL already, and I checked that mysql.so is where it should be. Is there something else I have to configure to get MySQL running with SER?
Thanks, Ben _______________________________________________ Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers