VMLab

From Unallocated Space
Revision as of 23:26, 21 June 2017 by Flay (talk | contribs)
Jump to navigation Jump to search

VMLAB Overview

The rationale for this implementation was to reduce the barrier for project creation and facilitate ad hoc experimentation. It was my goal to make this minimally intimidating for inexperienced users.

A secondary goal was to make sure this would be as useful as possible for instructors and members who wanted to run in-house services. I thought it easiest if those who were less confident had a familiar interface and I didn't suspect anyone regardless of experience will be offended by a GUI, so I opted for a browser based system.

I did this through a management interface called Kimchi, which is a plugin for the wok webserver (Interacts with nginx). ginger is used as a plugin mgmt system. the whole thing is backed by KVM acting as a hypervisor. Here's a link of just the interface: https://raw.githubusercontent.com/kimchi-project/kimchi/master/docs/kimchi-templates.png

How does it work?

From the web interface, users can create VM's (guests) from template (Pre-made / provisioned VM's), monitor usage, and access the console. That means that any device that can run a web browser can in essence be used as a powerful server or specialized lab environment. This is good for classes, or designing your own services to run in the space.

Anyone on the UAS network can access the VM-lab.

Login Info

These credentials are suitable for anyone looking to use the vmlab as a sandbox.

Kimchi
uname: vmlab
pw: uas

Alternatively, you can use your ldap credentials.


If you want a specialized machine/template to clone later, ask flay




Steps to recreate this lab

Recreate

VMLABS physical Specs


MODEL:Dell Poweredge R710 OS:Ubuntu CentOS 7 LTS: 3.10.0-327.el7.x86_64
RAM: 190GB
CPU: 2 x Intel Xeon x5560 (2.8GHZ) [1]
HDD: 1.4TB RAID: 6


Set-up

Want a VM? Ask flay on slack and tell him exactly what you need. If you need something more complex feel free to ask for administrative access to make your own. Every student Guest (VM) will be set up via administrator-created template.


Setup Info

Disable SELinux Grab kimchi via packages


Administrator Notes

When creating a new Guest requiring internet access you'll have to add the "phybridge" device (located in kimchi under the admin account) you MUST do this after creating the guest. Create the guest, power it off, edit it, add the bridged adapter, restart. Then you can modify the device to assign a static ip. In the centOS minimal boxes this can be done via the respective /etc/sysconfig/network-scripts/ifcfg-eth file

Don't give Guests names which contain spaces. You'll get insane errors.

TODO

  1. Document KVM architecture
  2. Configure Firewalld
  3. Document Kimchi startup procedure
  4. Create vmlab architecture diagram
  5. Set agenda for individual boxes & services plan
  6. Set up/demo Ovirt


Links

: Kimchi
: Wok
: kvm or xen
Ovirt