Archive for September, 2011

Some LVM Notes

A few LVM notes to jog the brain A. Steps to create the logical volume.. List the current physical volumes. In this instance, were interested in a blank 20GB SATA – /dev/sdb. You can extend a logical volume by adding additional phyical volumes later. fdisk -l Disk /dev/sda: 21.5 GB, 21474836480 bytes 255 heads, 63 […]

High Availability Linux Web Server Example

Just a quick example of setting up a Linux HA failover environment for an Apache/MySQL web server. This runs through a Ubuntu installation, however RedHat shouldn’t vary too much. 2.11.1.24 – fixed IP of server1 2.11.1.25 – fixed IP of server2 2.11.1.30 – apache site1 (virtual IP) 2.11.1.31 – apache site2 (virtual IP) Make sure […]

Some NFS Notes

A few notes on configuring NFS on RedHat or Ubuntu The server packages to install are: Ubuntu: apt-get-install nfs-kernel-server nfs-common quota RedHat: yum install nfs-utils nfs-utils-lib quota The client Packages are: Ubuntu: apt-get install nfs-common RedHat: yum install nfs-utils nfs-utils-lib A few things to configure on the server: /etc/hosts.allow Any hosts listed here will be […]