Changes between Version 4 and Version 5 of SysAdmin


Ignore:
Timestamp:
01/09/11 11:46:30 (11 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SysAdmin

    v4 v5  
    2020 * [https://docs.google.com/Doc?docid=0Ac-Y6NVjUsjiZGN4a2s1Y3RfMTRkc2c0Y2djYw&hl=en_GB Setting up a new VM instance on Eden Infrastructure]
    2121
     22=== Instantiate VM ====
     23
     24
     25=== Copy from Template ====
     26We normally copy an instance from a predefined template rather than starting with a fresh OS build.
     27 * consider changing this with scripts similar to ISO/VM builds?
     28
     29 1. Turn off template VM instance if on
     30 2. SSH into the host machine
     31If using Host1:
     32 3. {{{cd /spare/images/images}}}
     33 4. {{{cp 106/vm-106-disk-1.raw 1xx/vm-1xx-disk-1.raw}}}
     34If using Host2:
     35 3.
     36{{{
     37zcat /spare/template/vm_release.gz | dd of=/dev/data/vm-1xx-disk-1 bs=8M
     38dd if=/dev/data/vm-106-disk-1 of=/dev/data/vm-1xx-disk-1 bs=8M
     39}}}
     40 4. That'll take a while. You can get it to notify progress by doing a kill -USR1 {process id of the dd}
     41
     42 5. start your VM after the copy is complete
     43 6. Open VNC Console
     44 7. read /home/INSTALL in the vm
     45 8. Set the IP (using the spreadsheet)
    2246== Upgrading an Instance ==
    2347Need to decide whether the site will be upgraded straight from Trunk, or whether upgrades are staged via a Test server.