Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 1.59 KB

File metadata and controls

53 lines (37 loc) · 1.59 KB
title Infrastructure
description Details of our network and servers
published true
date 2023-03-10 15:20:42 UTC
tags
editor markdown
dateCreated 2019-10-15 16:42:57 UTC

Physical Servers

IS&S - VM hypervisor

  • Hosts production VMs for most student applications
  • New VMs created by request to IS&S

CS - production VM hypervisor

  • Hostname: fee
  • 10.40.16.12
  • Hosted in IS&S rack
  • Hosts student, class, and faculty VMs

CS - dev VM hypervisor

  • Hostname: ada
  • 10.40.132.97
  • Hosted in ssdt room (temporarily)
  • Used for testing upgrades and deployment scripts

External site - cs.berea.edu

  • Hosted by IS&S
  • Content controlled by CS

Virtual Machines

Ansible

Our physical and virtual servers are provisioned with Ansible. View Ansible repository.

Instructions for use can be found in the README.

libvirt

We use virt-builder, virt-install, and virt-customize to modify virtual machine images in place.

There is currently a problem with these libguestfs tools, where they can't resize logical partitions. This means we have to manually resize our base image after creation, rather than being able to have it happen automatically in a script. Here are the steps to resize the disk:

  • Resize the disk (located in /var/lib/libvirt/images/): qemu-img resize base.img 32G
  • Start the VM and log in
  • Expand the partitions: https://unix.stackexchange.com/a/320454
  • Resize the filesystem: resize2fs /dev/vda5