Jul
26
2008
It is generally good practice to respect the two following rules when backing up databases. The backup has to be: consistent fast Consistency is easily achieved putting a read lock on all tables beforehand. However, this isn’t always applied, and WILL definitely lead to a database integrity problem when restoring.Once a lock has been set […]
Tags: backup, linux, LVM, Mysql
Apr
19
2008
Disabling Image Files Xen usually stores running domains in /var/lib/xen/save, causing a /var full on many systems when dom0 is shut down. Edit /etc/sysconfig/xendomains or /etc/default/xendomains and replace “XENDOMAINS_SAVE=/var/lib/xen/save” with “XENDOMAINS_SAVE=” This sends a shutdown signal to all virtual machines before dom0 reboots. A 300 second timeout is defined before killing an OS that hangs […]
Tags: console, linux, NTP, redhat, virtualization
Feb
25
2008
When modifying the partition table, fdisk usually returns “Device or resource busy” error messages such as: Partprobe from the “parted” package helps fixing this issue, avoiding a useless reboot. From the man page:“partprobe is a program that informs the operating system kernel of partition table changes, by requesting that the operating system re-read the partition […]
Tags: linux, redhat
Jan
20
2008
Important note: Heartbeat is now obsolete and has moved to a new stack available on Clusterlabs. For simple high availability project using a virtual IP, try out keepalived that does monitoring and failover with just a simple configuration file. Since version 2, Heartbeat is able to manage more than 2 nodes, and doesn’t need “mon” […]
Tags: cluster, high availability, linux
Oct
15
2007
Got an old PC or server you want to leave running in a remote place? Don’t want to bother with cables? Add a wireless card in, and configure the network service so it (re)connects automatically when the access point (re)boots. We’ve chosen a Netgear because it integrates an Atheros based chipset. They’re well supported under […]
Tags: fedora, linux, network, redhat, wifi