From: Michal Privoznik
- $ su - root - # yum install libvirt-lock-sanlock +$ su - root +# yum install libvirt-lock-sanlock
@@ -37,9 +37,9 @@
- $ su - root - # chkconfig wdmd on - # service wdmd start +$ su - root +# chkconfig wdmd on +# service wdmd start
@@ -48,8 +48,8 @@
- # chkconfig sanlock on - # service sanlock start +# chkconfig sanlock on +# service sanlock start
@@ -59,7 +59,7 @@
- SANLOCKOPTS="-w 0" +SANLOCKOPTS="-w 0"
@@ -82,8 +82,8 @@
- $ su - root - # augtool -s set /files/etc/libvirt/qemu-sanlock.conf/host_id 1 +$ su - root +# augtool -s set /files/etc/libvirt/qemu-sanlock.conf/host_id 1
@@ -104,9 +104,9 @@
- $ su - root - # echo "some.nfs.server:/export/sanlock /var/lib/libvirt/sanlock nfs hard,nointr 0 0" >> /etc/fstab - # mount /var/lib/libvirt/sanlock +$ su - root +# echo "some.nfs.server:/export/sanlock /var/lib/libvirt/sanlock nfs hard,nointr 0 0" >> /etc/fstab +# mount /var/lib/libvirt/sanlock
@@ -121,8 +121,8 @@
- augtool -s set /files/etc/libvirt/qemu-sanlock.conf/user sanlock - augtool -s set /files/etc/libvirt/qemu-sanlock.conf/group sanlock +augtool -s set /files/etc/libvirt/qemu-sanlock.conf/user sanlock +augtool -s set /files/etc/libvirt/qemu-sanlock.conf/group sanlock
@@ -168,9 +168,9 @@
- $ su - root - # augtool -s set /files/etc/libvirt/qemu.conf/lock_manager sanlock - # service libvirtd restart +$ su - root +# augtool -s set /files/etc/libvirt/qemu.conf/lock_manager sanlock +# service libvirtd restart
@@ -180,8 +180,8 @@
- # ls /var/lib/libvirt/sanlock/ - __LIBVIRT__DISKS__ +# ls /var/lib/libvirt/sanlock/ +__LIBVIRT__DISKS__