Archive for the 'Linux' Category

 

 

Aug 29 2008

Restrict LDAP / NIS User Access on Unix

Published by under Ldap,Linux

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 […]

No responses yet

Aug 29 2008

Central Logging with Cacti

Published by under Linux

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, […]

No responses yet

Apr 19 2008

Xen Tips

Published by under Linux,Virtualization

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 […]

No responses yet

Feb 25 2008

Avoid Reboot after Partition Change with Fdisk

Published by under Linux

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 […]

No responses yet

Jan 20 2008

Heartbeat 2 Howto

Published by under Linux

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” […]

23 responses so far

« Prev - Next »