Rocks KVM hosting server

From PRAGMA wiki
Jump to: navigation, search

Setup with KVM roll

  1. Install Rocks 6.0 with at least the following rolls:
    kernel
    os
    base
    hpc
    python
    web-server
    area51
    java
    perl
    ganglia
    kvm
  2. Install Perl modules:
    # yum install perl-Pod-Simple.x86_64
    # yum install perl-Pod-Escapes.x86_64
    # yum install perl-URI.noarch
    # yum install perl-Module-Pluggable.x86_64
    # yum install perl-List-MoreUtils.x86_64

Setup without KVM roll

SDSC pragma-kvm.rocksclusters.org setup notes

  1. Install Rocks 5.4 with the following rolls
    CentOS 5.6
    CentOS 5.6 Updates
    base 5.4
    area51 5.4
    kernel 5.4
    ganglia 5.4
    hpc 5.4
    service-pack 5.4
    web-server 5.4
  2. Install KVM
    # yum install kvm kvm-tools kvm-qemu-img
  3. Install virtual manager
    # yum install virt-manager
  4. Create directory for VM disk image files
    mkdir /state/partition1/kvm
    mkdir /state/partition1/kvm/disks
  5. Connect to KVM server and start virtual manager
    from an xterm on your laptop run:
    ssh -X root@FQND.of.your.kvm.server
    on your KVM server run:
    # virt-manager

See how to create a new KVM virtual machine