Tesla

Tesla is a virtualization host for usability initiative virtual machines.
== Hosts ==
Server name 	IP 	MAC 	Memory (in GBs)	CPUs	CPU cores	CPU speed	Storage allocated (in GBs)	NICs	OS 	Os version	Hardware type
tesla.usability.wikimedia.org	208.80.152.252	00:21:9b:9a:94:08	32 	2 	4 	2.53 	1,360 	1 	esxi	4 	Dell R610
== VMs ==
Server name 	IP 	MAC 	Memory (in GBs)	CPUs	Storage allocated (in GBs)	NICs	OS 	Os version 	Hardware type
analytics.tesla.usability.wikimedia.org 	208.80.152.243, 192.168.1.40	 	1 	1 	20 	1 	ubuntu 	8.04 LTS server 	Virtual Machine
ci.tesla.usability.wikimedia.org 	208.80.152.246, 192.168.1.5 	 	1 	1 	15 	1 	ubuntu 	10.04 LTS server	Virtual Machine
nomad.tesla.usability.wikimedia.org 	208.80.152.244, 192.168.1.90	 	1 	1 	15 	1 	ubuntu 	10.04 LTS server	Virtual Machine
nova-controller.tesla.usability.wikimedia.org	208.80.152.236, 192.168.1.60	 	1 	1 	80 	2 	ubuntu 	10.04 LTS server	Virtual Machine
ds1.tesla.usability.wikimedia.org 	208.80.152.236, 192.168.1.60	 	1 	1 	30 	2 	ubuntu 	10.04 LTS server	Virtual Machine
lvs1.tesla.usability.wikimedia.org 	208.80.152.241, 192.168.1.50	 	1 	1 	30 	2 	ubuntu 	10.04 LTS server	Virtual Machine
owa1.tesla.usability.wikimedia.org 	208.80.152.239, 192.168.1.41	 	1 	1 	30 	2 	ubuntu 	10.04 LTS server	Virtual Machine
owa2.tesla.usability.wikimedia.org 	208.80.152.240, 192.168.1.42	 	1 	1 	30 	2 	ubuntu 	10.04 LTS server	Virtual Machine
owa3.tesla.usability.wikimedia.org 	208.80.152.250, 192.168.1.43	 	1 	1 	30 	2 	ubuntu 	10.04 LTS server	Virtual Machine
nova-compute1.tesla.usability.wikimedia.org 	208.80.152.250, 192.168.1.65	 	1 	1 	80 	2 	ubuntu 	10.04 LTS server	Virtual Machine
nova-compute2.tesla.usability.wikimedia.org 	208.80.152.250, 192.168.1.66	 	1 	1 	80 	2 	ubuntu 	10.04 LTS server	Virtual Machine
storage1.tesla.usability.wikimedia.org 	208.80.152.250, 192.168.1.65	 	1 	1 	80 	2 	ubuntu 	10.04 LTS server	Virtual Machine
storage2.tesla.usability.wikimedia.org 	208.80.152.250, 192.168.1.66	 	1 	1 	80 	2 	ubuntu 	10.04 LTS server	Virtual Machine
commons.prototype.wikimedia.org 	208.80.152.249, 192.168.1.71	00:0C:29:1e:b8:06	2 	1 	110 	1 	ubuntu 	8.04 LTS server 	Virtual Machine
fedora10-1.tesla.usability.wikimedia.org 	208.80.152.250, 192.168.1.10	00:0C:29:53:3B:A1	1 	1 	15 	2 	fedora 	10 	Virtual Machine
fedora11-1.tesla.usability.wikimedia.org 	208.80.152.250, 192.168.1.11	00:0C:29:AF:BD:C1	1 	1 	15 	2 	fedora 	11 	Virtual Machine
fedora12-1.tesla.usability.wikimedia.org 	208.80.152.250, 192.168.1.12	00:0C:29:09:E1:BD	1 	1 	15 	2 	fedora 	12 	Virtual Machine
grid.tesla.usability.wikimedia.org 	208.80.152.247, 192.168.1.1 	00:0C:29:DB:9D:FF	1 	1 	15 	2 	ubuntu 	8.04 LTS server 	Virtual Machine
mobile.tesla.usability.wikimedia.org 	208.80.152.245, 192.168.1.80	 	2 	1 	30 	1 	windows	7 	Virtual Machine
prototype.wikimedia.org 	208.80.152.248, 192.168.1.70	00:0C:29:32:37:64	2 	1 	27 	1 	ubuntu 	8.04 LTS server 	Virtual Machine
windows7-1.tesla.usability.wikimedia.org 	208.80.152.250, 192.168.1.20	00:0C:29:D3:30:6F	2 	1 	25 	2 	windows	7 	Virtual Machine
windows7-2.tesla.usability.wikimedia.org 	208.80.152.250, 192.168.1.21	00:0C:29:63:53:5D	2 	1 	25 	2 	windows	7 	Virtual Machine
windowsxp-1.tesla.usability.wikimedia.org 	208.80.152.250, 192.168.1.22	 	1 	1 	25 	2 	windows	xp 	Virtual Machine
windowsvista-1.tesla.usability.wikimedia.org 	208.80.152.250, 192.168.1.23	 	2 	1 	25 	2 	windows	xp 	Virtual Machine
* Note: 208.80.152.250 is an IP address used for building and patching systems. All systems that list this as their IP do not have a public IP address.
== Managing Tesla ==
To interact with Tesla, you'll need a Windows OS, and the VMware vSphere Client. If you have Windows, you can get the client directly from Tesla. All tasks require that you open the vSphere client, and sign in to tesla.usability.wikimedia.org.
=== Rebooting virtual machines ===
From the Home view:
# Click "Inventory"
# Expand tesla.usability.wikimedia.org
# Right click on the VM you wish to reboot
## Under "Power", select "Restart guest" (CTRL-r); if this fails, select "Reset" (CTRL-t)
Note: "Reset" is like a hardware reset. The guest OS will not shut down properly, and could get corrupted when doing so. It should be used only when necessary. If the guest has panic'd, for instance, this will be the only option.
=== VMware tools ===
It is important to keep the VMware tools up to date on all of the guests. The tools add faster network adapters, better disk drivers, etc. They also allow the ESXi host to suspend the VMs when rebooting (important for patching). Whenever a new kernel is installed on a guest, you will need to update the VMware tools. See the below instructions:
* Windows - ESXi can update the tools automatically
* Ubuntu - https://help.ubuntu.com/community/VMware/Server
* Fedora:
yum -y install gcc kernel-devel patch make
mount /media/cdrom
cp /media/cdrom/VMware*.tar.gz /tmp
cd /tmp
tar -xzvf VMware*.tar.gz
cd vmware-tools-distrib
./vmware-installer.pl
<accept all defaults>
== User documentation ==
=== Backend servers ===
Backend servers are servers that only have a private IP address.
* Backend servers do not have access to anything on the public internet, except through a web proxy. The web proxy has a whitelist for what it is allowed to access, so if you need access to a specific domain, you'll need to request it.
* Backend servers also have a disconnected, shared, public IP address that can be enabled for short periods of time, when requested. The public IP address can only be enabled by VM admins.
=== Resources ===
Resources for a VM are: number of CPUs, RAM, and storage space.
* Most resources can be added and removed as needed for most operating systems
* Resources are limited, and are allocated by need. If you need more resources, please provide justification when requesting.