Linux HA – CRM commands
Small reminder as I always tend to forget these :
Dump the CRM cib db :
cibadmin -Q > cib.backup.xml
Modify a resource , dump the cib, modify the xml for the resources and then import using cibadmin -M
cibadmin -V -M -o resources -x modified_resources.xml
Add a resource , create the xml for the resource [...]
DRBD , Centos and unmount nfs resources
I have recently built a DRBD + Linux HA NFS cluster , part of the structure was to create a drbd disk resource and mount it on /var/lib/nfs. This allows to switch nfs over to the secondary node without getting “stale nfs handle” errors. Heartbeat was having a hardtime doing a clean umount of the [...]
Mount ISO on Linux/FreeBSD
On Linux
mount -o loop -t iso9660 path/to/iso.iso /mnt
On FreeBSD
mdconfig -a -t vnode -f /isofile -u 0
mount -t cd9660 /dev/md0 /mnt
Yum Cheats
install with broken packages
# yum -y install yum-skip-broken
Error: Missing Dependency: libgaim.so.0 is needed by package nautilus-sendto
tried installing gnome on CentOS using group installed and got the above error. there's a bug report and solutions for it here : http://bugs.centos.org/view.php?id=2483
keep looking »
