[DRBD-user] NFS not starting with heartbeat

Marcel Kraan marcel at kraan.net
Wed May 16 21:40:09 CEST 2012

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hello,

I use 2 servers with CentOS 6.2 

But on 1 server (kvmstorage1) ifs is not starting after a restart or when i shutdown heartbeat and restart is later.

# this is my resources file? it start not all services i have given in the haresources file?
Do i something wrong?


#kvmstorage1
cat /etc/ha.d/haresources
kvmstorage1.localdomain IPaddr::192.168.123.209/24/eth0 drbddisk::main Filesystem::/dev/drbd0::/datastore::ext4 nfs nfslock rpcidmapd mysql

ResourceManager[2506]:	2012/05/16_21:34:40 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 /datastore ext4 start
Filesystem[2933]:	2012/05/16_21:34:40 INFO: Running start for /dev/drbd0 on /datastore
Filesystem[2921]:	2012/05/16_21:34:41 INFO:  Success
ResourceManager[2506]:	2012/05/16_21:34:41 info: Running /etc/init.d/nfslock  start
ResourceManager[2506]:	2012/05/16_21:34:41 info: Running /etc/init.d/rpcidmapd  start
ResourceManager[2506]:	2012/05/16_21:34:42 info: Running /etc/init.d/mysqld  start
May 16 21:34:43 kvmstorage1.localdomain heartbeat: [2489]: info: local HA resource acquisition completed (standby).
May 16 21:34:43 kvmstorage1.localdomain heartbeat: [1583]: info: Standby resource acquisition done [foreign].
May 16 21:34:43 kvmstorage1.localdomain heartbeat: [1583]: info: Initial resource acquisition complete (auto_failback)
May 16 21:34:43 kvmstorage1.localdomain heartbeat: [1583]: info: remote resource transition completed.


#kvmstorage2
cat /etc/ha.d/haresources
kvmstorage1.localdomain IPaddr::192.168.123.209/24/eth0 drbddisk::main Filesystem::/dev/drbd0::/datastore::ext4 nfs nfslock rpcidmapd mysql

Filesystem[16037]:	2012/05/16_21:33:53 INFO:  Resource is stopped
ResourceManager[15787]:	2012/05/16_21:33:53 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 /datastore ext4 start
Filesystem[16117]:	2012/05/16_21:33:53 INFO: Running start for /dev/drbd0 on /datastore
Filesystem[16109]:	2012/05/16_21:33:53 INFO:  Success
ResourceManager[15787]:	2012/05/16_21:33:54 info: Running /etc/init.d/nfs  start
ResourceManager[15787]:	2012/05/16_21:33:54 info: Running /etc/init.d/nfslock  start
ResourceManager[15787]:	2012/05/16_21:33:54 info: Running /etc/init.d/mysqld  start
mach_down[15761]:	2012/05/16_21:33:56 info: /usr/share/heartbeat/mach_down: nice_failback: foreign resources acquired
May 16 21:33:56 kvmstorage2.localdomain heartbeat: [1528]: info: mach_down takeover complete.
mach_down[15761]:	2012/05/16_21:33:56 info: mach_down takeover complete for node kvmstorage1.localdomain.




More information about the drbd-user mailing list