[Linux-HA] adding drbddisk resource and Filesystem resource

Tao Yu taoyu2007 at gmail.com
Mon May 21 16:32:52 MDT 2007


Running heartbeat 2.0.8

Started with an cib.xml file with no resource defines.

The do the following:
     1. add drbddisk resource by sending message to mgmtd:
"add_rsc
drbddisk_1
heartbeat
drbddisk
heartbeat
group_1
noclone
0
0
nomaster
0
0
drbddisk_param_1
1
rbsdisk"

Now I can see the drbddisk is running and I can see the device and can also
mount the device to some directory.

    2. add Filesystem resource by sending message to mgmtd:

hamgmt -a 192.168.0.133 -p 5560 -l hacluster -s roundbox -c "add_rsc
filesystem_1
ocf
Filesystem
heartbeat
group_1
noclone
0
0
nomaster
0
0
filesyatem_param_1
device
/dev/drbd0
filesystem_param_2
directory
/rbsdisk
filesystem_param_3
fstype
ext3"

    Now I see two problems:
        1. from the haclient.py gui, I see the third parameter is "fstype =
ext31"
        2. even after I change the value to ext3 on the gui, I can not start
the resource.

Is there anything I did wrong?

Thanks!


More information about the Linux-HA mailing list