AII version 2 and complex block device schemas

From PDP/Grid Wiki
Jump to navigationJump to search

Version 2 of the Automated Installation Infrastructure (AII) component of Quattor, enables to configure and install hosts with complex block device schemas. Complex block device schemas may consist of combinations of for example multiple disks, (software) RAID devices and Logical Volumes. This section describes a concrete example of such a setup.


Desired Setup

The concrete example we consider is a generic server with 2 identical 500 GB SCSI disks. These disks will be operated in a software RAID-1 setup, where every partition will be mirrored on the both disks.

The server will have file systems /boot, /, /tmp, a swap partition, and a logical volume group that will contain space for future file systems.

This setup is organized as follows. On every disk, there will be 4 partitions: sda1-sda4 and sdb1-sdb4. The partitions are combined in software RAID1 devices md0-md3. The /boot, / and swap file systems are placed directly on the RAID1 devices md0-md2. Device md3 will host a logical volume group called 'dom0', in which a logical volume /tmp will be created.

sda1+sdb1   md0         /boot           256 MB
sda2+sdb2   md1         /               8 GB
sda3+sdb3   md2         swap            4 GB
sda4+sdb4   md3         LVG dom0        rest
            dom0        /tmp            4 GB

Pan Templates