User Tools

Site Tools


user:jdavis34:portfolio:hpc0project2

Creating a Virtual machine

The scope of this project is to establish a virtual machine, inside of the preexisting virtual server we had previously created.

Creating the VM

1. First step is to log into the Virtual server we created.

 lab46:~$ ssh root@vmserver02.student.lab 

2. Next step is to create the VM

vmserver:~# xen-create-image --hostname=vm22 --mac=00:16:3e:2e:c0:22 --role=udev

3. Next is to create and edit the config file for the VM.

vmserver02:~# xm create -c /xen/conf/vm22.cfg
vmserver02:~#nano /xen/conf/vm22.cfg

add these 2 lines under memory line.

kernel      = '/boot/vmlinuz-2.6.26-2-xen-686'
ramdisk     = '/boot/initrd.img-2.6.26-2-xen-686'

Run the previous command again.

vmserver02:~# xm create -c /xen/conf/vm22.cfg

4. Next is simply logging into

lab46:~$ ssh root@vm34.student.lab

password abc123

user/jdavis34/portfolio/hpc0project2.txt · Last modified: 2012/03/01 16:11 by jdavis34