User Tools

Site Tools


user:jdavis34:portfolio:hpc0project2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
user:jdavis34:portfolio:hpc0project2 [2012/02/23 15:33] jdavis34user:jdavis34:portfolio:hpc0project2 [2012/03/01 16:11] (current) jdavis34
Line 1: Line 1:
 +===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. 
 +<cli> lab46:~$ ssh root@vmserver02.student.lab </cli> 
 +2. Next step is to create the VM 
 +<cli>vmserver:~# xen-create-image --hostname=vm22 --mac=00:16:3e:2e:c0:22 --role=udev</cli> 
 +3. Next is to create and edit the config file for the VM. 
 +<cli>vmserver02:~# xm create -c /xen/conf/vm22.cfg</cli> 
 +<cli>vmserver02:~#nano /xen/conf/vm22.cfg</cli> 
 +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. 
 +<cli>vmserver02:~# xm create -c /xen/conf/vm22.cfg</cli> 
 +4. Next is simply logging into  
 +<cli>lab46:~$ ssh root@vm34.student.lab</cli> **password abc123**