Aug
29
2008
A lot of networks use LDAP or NIS to authenticate users on Linux servers and any Unix flavours. There is no policy control by default and all users in the central LDAP database have access to all servers.Access can be restricted to some of the accounts adding them into the default passwd file if the […]
Tags: AIX, Authentication, ldap, linux, NIS, solaris, unix
Aug
29
2008
I looked for a long time for a piece of software that allows to manage messages sent to a central syslog server. Logwatch sends email reports containing tons of messages, or focused on some applications. Logs are usually not being looked at and forgotten. I then found out a Cacti module could do the job, […]
Tags: cacti, linux, logging, unix
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