Equipment/Lamarr

From London Hackspace Wiki

< Equipment

Revision as of 10:42, 28 April 2015 by Velyks (talk | contribs) (→‎Info: Changed access to LDAP)

General use Hypervisor, currently using KVM/QEMU.

Lamarr
Hackspace Unknown.png
Model HP DL380 G5 (2U Version with 8 2.5" SAS Bays)
Sub-category Systems
Status Good working order
Training requirement yes
Training link Unknown
ACnode no
Owner LHS
Origin Donation
Location Basement rack
Maintainers Sysadmin team

Info

  • IP: 172.31.24.32
  • DNS: lamarr.lan.london.hackspace.org.uk
  • Access: LDAP

Stats

  • 2 Dual-core Xeons @ 3.0ghz
  • 18GB RAM
  • RAID10 on / ~123GB
  • RAID5 on /storage ~404G

libvm config

XML files are stored in /root at the moment. Will get around to sorting

Storage Pools

  • iso - /storage/isos - Boot and install media. Everyone has write permission
  • local - /storage/vms - Virtual drives stored on the local machine.

Networks

  • default - NATed network, works fine but won't give you an externally accessible IP or allow for PXE booting
  • bridge - Bridged network br0.

Current VMs

Chomsky

  • ID: 4
  • Status: On
  • Date Created 22/09/2014
  • IP: 172.31.24.34
  • CPUs: 4
  • RAM: 8GB
  • Storage: 100GB on local
    • /storage/vms/chomsky.img
  • Notes: Babbage replacement currently under development.

ACserver

Adminstuff

  • ID: 17
  • Status: On
  • Date Created 15/10/2014
  • IP: 172.31.24.36
  • CPUs: 1
  • RAM: 1GB
  • Storage: 12GB on local
    • /var/lib/libvirt/images/adminstuffs.img
    • /var/lib/libvirt/images/adminstuffs-1.img
  • Notes: Network admin bits that were on denning, now running apt-cacher-ng, tftpboot + pxeboot stuff, nfs server for diskless stuff via Netboot.

To expire the Apt-cacher-ng cache (useful if /space fills up):

  • login to adminstuff
  • links http://localhost:3142/
  • click "Statistics report and configuration page"
  • Untick "Stop the work on errors during index setup".
  • Tick "then truncate damaged files immediately", "Treat incomplete files as damaged" and "Purge unreferenced files immediately after scan"
  • click on "Start scan or Expiration"

Services

  • ID: 16
  • Status: On
  • Date Created 15/10/2014
  • IP: 172.31.24.37
  • CPUs: 1
  • RAM: 1GB
  • Storage: 12GB on local
    • /var/lib/libvirt/images/debianwheezy-2.img
  • Notes: Importantish services that were on babbage, robonaut etc., under construction.

How to:

Create a new VM

  1. Have a login to Lamarr via Ansible
  2. Install virt-manager
  3. Connect to Lamarr with your login. (Requires your key to be there as ID_RSA) (?need to be root?)
  4. Create a new VM on Lamarr. Use local to store the virtual drives
  5. Set suitable resources
  6. Set network to join bridge br0
  7. Start and have fun
  8. Add it to this wiki page