Rcloud README

Table of Contents

1 Accessing rCloud from Outside IIT

ssh username@login.iitb.ac.in -p 39022 to connect to the controller-node for the cloud.

2 Launching Virtual Machines

From the landing/controller node (Deep-blue, IP is 10.129.34.1), ssh to one of the machines in the cluster. You will not be able to ssh to any machine outside the cluster.

ssh username@10.129.34.2 . You are now on a machine capable of running KVM Virtual Machines.

We have prepared a sample VM template (Ubuntu 10.04 server 32bit) — the script to launch the same is provided in the home folder

Run script ./r1_lucid32.sh . This runs the 32bit version of ubuntu 10.04.2 server, as a non-root user.

Script is really simple, it runs the disk-image located in /images [NFS mounted. NFS share is on deepblue on /srv/cloud/one], and allocates 2GB memory, amd sets up the network (TUN/TAP).

This should open the qemu window (assuming ssh -Y). We can later change this to -nographic or -vnc.

The VM ip is 10.129.34.51. User ids coep and iitd are created, so ssh username@10.129.34.51 connects you to the Virtual Machine.

Please use the script to run the VM, because the MAC-addr needs to be fixed. Otherwise, the VM will not have ethernet access.

To keep your VMs running persistently (even after you log-out), you can either run them in the background (./r1_lucid32.sh &) , or using screen/tmux.

3 Killing/Restarting VMs

Shutting down the VM can be carried out by the usual commands (poweroff). Alternatively you may choose to kill the qemu process itself.

4 IP Address information

Once on Deepblue (10.129.34.1) , you can ssh to the following Physical Machines: 10.129.34.2 10.129.34.3 10.129.34.4 10.129.34.5

For the virtual machines, please use the following IP range :

10.129.34.51 to 10.129.34.99 .

5 Access restrictions

Connections to any machine outside of the designated cluster machines is restricted.

6 Transferring data

SSH, SCP can be used to transfer data.

7 Network configuration

All physical and virtual machines must be in 10.129.34.x range . IPMI addresses of the physical machines is generally 10.129.34.(200+x).

Author: prateek sharma

Date: 2011-12-23 14:13:24 IST

HTML generated by org-mode 7.4 in emacs 23