jfKVM

Installing jfKVM:
=================

Requirements:
-------------
  Server with two NICs and two storage disks.
    Two network cards:
      - one for management interface (web based)
      - one for virtual machines and server virtual network interfaces
    Two storage disks:
      - one for linux distro (recommend Debian)
      - another for local storage pool (optional but recommended for testing)
  Distros: Debian, Fedora or Arch.
    - only Debian is tested

Installation:
-------------

Install a server based Linux distro then run these commands as root:
  wget http://pquiring.github.io/javaforce/linux/install.sh
  chmod +x install.sh
The next step will setup the JavaForce repo and install standard set of packages.
  ./install.sh --desktop=no
Install jfkvm using distro package tool:
  apt install jfkvm
  systemctl enable jfkvm
  systemctl start jfkvm

Point your favorite browser to your server IP and get started.
First you'll need to create your admin password and then login.

Basic Settings:
---------------
  Click on Host : Settings
  Fill in FQN (server domain name or IP address) and click Save.
  The VNC Password can be changed (note:changing this value does not affect active VMs).

Virtual Switch:
---------------
  Now you'll need to create a virtual switch (or bridge) under Network : Virtual Switches.
  Note that if an existing 'br' type switch is present you should delete it and create an 'os' type switch (openvswitch).
  The bridge iface should be your second network card that will be used by the virtual machines.

Networks:
---------
  Next create Network VLANs that virtual machines will use under Network : Networks.

Storage:
--------
  Next you should partition your second disk using fdisk.
    fdisk /dev/sdb
  Under Storage click on Add, select Local Partition type and enter the partition you just created.
  Click on Format and select ext4 format.
  Click on Start and your storage pool is ready.

Remote Storage:
---------------
  NFS is supported.
  iSCSI is supported but requires special setup (see Storage).

Now you are ready to create or import Virtual Machines!

Notes:
------
 - ArchLinux users may need to install gfs2 or ocfs2 thru AUR to use iSCSI Storage pools.



Project Page Help GitHub