Virtual Machine Management
|This article or section is a draft.
If you have a proposed change, please post on the talk page.
This how-to summarizes how to create a new Ubuntu or CentOS virtual machine in the labs. To follow these steps, you need sudo/root access on Dns and the Dom0 (Xen1 or Xen2) that you wish to run this VM on.
The new virtual machine will be based off of one of the following generic VMs:
On Dns, you need to edit cu_hosts in /root/scripts/ by adding a line in the following format. If your VM is going to be on server room network or the internal network, you will also need to edit sr_hosts and in_dns_hosts in a similar format.
<imagename> <IP Address>
You then need to run:
Execute the VM creation script on the Dom0 you have chosen.
- Proceed through the initial welcome screen.
- Choose the operating system for the new VM.
- Enter in the name of the new VM.
- Enter in how many CPUs the new VM should have.
- Enter in how much RAM the VM should have.
- Enter in the initial user account that should be created on the new VM.
- Enter in the initial user's email address. Note: This will be used to email the initial user details about their VM and their user account credentials.
- Confirm the initial user's email address.
- Enter in the Clarkson IP address for the new VM.
- Choose whether the new VM needs to be on the server room network. Note: For security reasons, most VMs should not be on the server room network.
- Choose whether the new VM needs to be on the internal network. Note: Most VMs don't need to be on the internal network.
- That's it!
The initial user should then receive an email in roughly 5-10 minutes with details about their VM and their initial password to log in. If an error occurs, the initial user and several other members of the labs will receive a failure email indicating what part of the process failed.
The email should look like the following: