Changes between Version 52 and Version 53 of install_debian

Oct 30, 2011, 5:25:22 PM (9 years ago)
Jamie McClelland



  • install_debian

    v52 v53  
    3939 * When prompted for component to use, include all of them to be safe (but be sure to include the SSH server one)
    4040 * When given the option - choose to continue your installation via ssh - this will give you the ability to easily set and record pass phrases
    41  * Drive partioning. If you are using 2TB disks or greater... Open a new ssh session and choose to switch to console.
     41 * Drive partioning. Our servers are now coming with four hot swappable disks. The big picture is:
     42  * One approximately 512MB partition on all four disks: configured as RAID1, used as boot partition
     43        * The rest of the space on each disk: configured as RAID10, used as encrypted disk
     44        * Encrypted disk: used as physical volume for LVM
     45        * Create on volume group: vg_${server_name}0
     46        * Create standard partitions as logical volume
     47 * Details...
     48  Since we are using disks at are 2TB or bigger, we need to ensure that the partitions are created properly. Open a new ssh session and choose to switch to console.
    4350parted /dev/sda -- mklabel gpt
    96 mdadm --create --raid-devices=2 --level=1 --metadata=1.0 --verbose /dev/md0 /dev/sda2 /dev/sdb2
    97 mdadm --create --raid-devices=2 --level=1 --metadata=1.0 --verbose /dev/md1 /dev/sda3 /dev/sdb3
     103mdadm --create --raid-devices=2 --level=1 --metadata=1.0 --verbose /dev/md0 /dev/sda2 /dev/sdb2 /dev/sdc2 /dev/sdd2
     104mdadm --create --raid-devices=4 --level=10 --metadata=1.0 --verbose /dev/md1 /dev/sda3 /dev/sdb3 /dev/sdc3 /dev/sdd3
    116123  * Choose "Create MD Device"
    117124  * Choose RAID1
    118   * Number of active devices: 2
     125  * Number of active devices: 4
    119126  * Number of spare devices: 0
    120127  * Now select the second partition on each device.
    121   * Click Continue. Repeat for third partition on each device.
     128  * Click Continue. Repeat for third partition on each device but select RAID10 instead of RAID1.
    122129  * When you are done, click Finish. Now you are back at the partition menu.
    123130 * Scroll down to the raid devices (or apply straight to your partitions if it's a one disk system). Modify the 512 MB RAID device: Filesystem: ext3, mount on /boot
    124  * Encrypt the larger, remaining device. Give password to Jamie.
     131 * Encrypt the larger, remaining device. Save passphrase in [wiki:keyringer].
    125132 * Choose "Congifure LVM" (selecting the device encrypted in the previous step)
    126133 * Create a volume group called `vg_`''nameofserver''`0`
    127134 * Create logical volumes in this volume group based on your needs. Suggestions: 3GB for /, 1GB swap.
    128135 * After returning to the main disk config menu, click on each logical volume that you create and specify how it should be formatted and mounted.
    129  * Enter root password. Give to Jamie.
    130  * Create a second user for yourself.
     136 * Enter root password. Save in [wiki:keyringer].
    131137 * Do not install the server package or the base package - deselect all of them.