This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
user:bewanyk:portfolio:vm-creation [2011/02/18 18:41] – bewanyk | user:bewanyk:portfolio:vm-creation [2012/03/13 22:03] (current) – [Accessing Your Virtual Machine] bewanyk | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Virtual Machine Creation ====== | ||
+ | Following your set up of a VM Server, log into the VM server as root using the command 'ssh root@vmserver02.student.lab' | ||
+ | =====Preparation===== | ||
+ | ===VM Server check=== | ||
+ | Once you have access to the VM Server: | ||
+ | * Check the number of running virtual machines using the 'xm list' command. | ||
+ | * If there are more than 8 virtual machines running, use a different VM Server. | ||
+ | ===VM Resource management=== | ||
+ | Now go to a separate web-browser window to choose your virtual machine hostname. | ||
+ | * Look at the chart located under "VM Server User Lists" on the [[notes: | ||
+ | *Claim an open VM by editing the table. | ||
+ | * Enter the name of the VM server you are using in the second column of the table for the appropriate virtual machine. | ||
+ | * Enter your name in the last column of the appropriate virtual machine. | ||
+ | * Note the MAC addresses of the virtual machine you've claimed on the chart (You will use it shortly.) | ||
+ | =====Creation===== | ||
+ | Returning to the terminal window, which is logged into the VM Serrver you're going to use. | ||
+ | * While inserting the hostname and MAC address noted from the chart on [[notes: | ||
+ | * Use the command ' | ||
+ | * For example, vm24's command would be ' | ||
+ | * The number in the hostname is in decimal. | ||
+ | * The number in the MAC address is in Hexidecimal. | ||
+ | * If you have no errors in / | ||
+ | * Watch for warnings! | ||
+ | =====Booting your Virtual Machine===== | ||
+ | If your Virtual Machine was created successfully you can now ' | ||
+ | <cli> | ||
+ | root@vmserver##: | ||
+ | </ | ||
+ | * Where ## is the number of the virtual machine you created in the creation section. | ||
+ | * To boot the vm without viewing it use the following command: | ||
+ | <cli> | ||
+ | root@vmserver##: | ||
+ | </ | ||
+ | *When the virtual machine has finished booting you can detach from the virtual machine, returning to the VMServer prompt, using the < | ||
+ | |||
+ | ====Accessing Your Virtual Machine==== | ||
+ | You can now access your virtual machine from any lab46 terminal window using SSH. | ||
+ | The command to connect to your virtual machine is: | ||
+ | <cli> | ||
+ | lab46:~$ ssh root@vm## | ||
+ | </ | ||
+ | |||
+ | Managing your virtual machine can be done utilizing the XM tool on the VMServer you created the virtual machine on. | ||
+ | * The command 'xm help' will show you a list of actions you can take. | ||
+ | ===Ref:=== | ||
+ | 24: T3hd00R | ||
+ | |||
+ | 31: Li0p13ur0d0n | ||
+ | |||
+ | 36: NaNaKiNg | ||
+ | |||
+ | wm3: reader | ||
+ | |||
+ | wm4: door |