Changes between Version 69 and Version 70 of install_kvm


Ignore:
Timestamp:
Apr 21, 2017, 5:01:40 AM (8 years ago)
Author:
JaimeV
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • install_kvm

    v69 v70  
    44= Creating a new KVM guest =
    55
    6 In these direcitons, the host (or <hostname>) refers to the name of the kvm host computer (e.g. negri, or bolivar, etc.). The guest (or <guestname>) refers to the name of the virtualized server you are creating. The examples use negri as the host and hay as the guest.
     6In these directions, the host (or <hostname>) refers to the name of the kvm host computer (e.g. negri, or bolivar, etc.). The guest (or <guestname>) refers to the name of the virtualized server you are creating. The examples use negri as the host and hay as the guest.
    77
    88== Initial steps ==
     
    1414 * '''In your local puppet''' Create Manifest file
    1515  * Copy an existing puppet node file, preferably one from the same host, naming it after your activist (pick either the first or last name of the activist, up to you) and replace all instances of the old guest name with your new guest name and change the namesake URL and description text and anything else (be sure that the onsite/rdiff-backup server is in the same colo center as the server you are creating) and replace the IP address in the nagios stanza with the correct IP address
    16  * Edit the puppet configuration file for the host server. Copy an existing m_kvm::guest stanza, replacing values as needed.  The stanza will look something like this:
     16 * Edit the puppet configuration file for the host server. Copy an existing m_kvm::guest stanza, replacing values as needed.  Normally you will want to set the nameserver to the ip of the physical host. The stanza will look something like this:
    1717{{{
    1818  m_kvm::guest {
     
    3232
    3333== While root on the host machine ==
    34 
     34 * Check the date of file /usr/local/share/ISOs/default.iso , if the date is older than the latest debian stable installer release then:
     35   * delete /usr/local/share/ISOs/default.iso
     36   * delete /usr/local/share/ISOs/<guestname>.iso
     37   * run freepuppet-run and puppet should invoke di-maker to create both files again. For more details about how these images are created see the puppet config files {{{modules/mayfirst/manifests/m_kvm.pp}}} and {{{/modules/mayfirst/templates/kvm/preseed.cfg.erb}}}
    3538 * Create a symlink to the ISO in the newly created user's home directory...
    3639{{{
     
    8184 E.g.
    8285{{{
    83 /dev/mapper/vg_goldman0-home     /home     ext3     defaults,relatime,nosuid,nodev   0     2
     86/dev/mapper/vg_goldman0-home     /home     ext4     defaults,relatime,nosuid,nodev   0     2
    8487}}}
    8588