User Tools

Site Tools


system:install_guides:xen:newvm

Differences

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

Link to this comparison view

Next revision
Previous revision
system:install_guides:xen:newvm [2008-04-03T19:20:14+0000] – created nathanksystem:install_guides:xen:newvm [2022-01-28T05:25:02+0000] (current) michael_paoli
Line 1: Line 1:
-Creation of a new VM+====== New VM Setup Guide ====== 
 + 
 +**All commands unless otherwise noted are done though sudo** 
  
-All commands unless other wise noted are done though sudo 
 1. run vgdisplay should show something like.. 1. run vgdisplay should show something like..
-[root@c002-h01-mb ~]# vgdisplay + 
 +  [root@c002-h01-mb ~]# vgdisplay 
   --- Volume group ---   --- Volume group ---
   VG Name               VolGroup00   VG Name               VolGroup00
Line 28: Line 31:
 **Free  PE / Size       5224 / 163.25 GB** Our current free space. We now need to cut a chunk out.  **Free  PE / Size       5224 / 163.25 GB** Our current free space. We now need to cut a chunk out. 
  
-2.  lvcreate -L50G -nSandbox VolGroup00 - This will give us a new 50G volume we can use for our new VM. +2.  lvcreate -L50G -n<newvm> VolGroup00 - This will give us a new 50G volume we can use for our new VM. See it with lvdisplay  
 + 
 +**NOTE**: From here on out you will need X forwarding until a fix is found for the console
  
 3. virt-manager (works with ssh -X ..) FIXME 3. virt-manager (works with ssh -X ..) FIXME
  
-4. +4. enter root password FIXME should be able to sudo somehow 
 + 
 +5. connect to local xen  
 + 
 +6. once inside virt-manager, Select File/New Machine 
 + 
 +7. Enter a name  
 + 
 +8. Select type of virt method, use fully virt if possible.  
 + 
 +9. Browse or type path to location of ISO file 
 + 
 +10. Select normal disk partition, path should be /dev/VolGroup00/<newvm> 
 +11. Select the memory usage and cpus to use. 
 + 
 +12. Hit finish and wait.. if the vm console shows up go to step 14.  
 + 
 +13. The new vm should show up in virt-manager's main window select it and click open.  
 + 
 +14. Proceed with install..  
 + 
 +15. once finished the system may not reboot, just goto to the console and type xm create <newvm>
 + 
 +To access the console inside virt-manager select the domain and click open.  
system/install_guides/xen/newvm.1207250414.txt.bz2 · Last modified: 2008-04-03T19:20:14+0000 by nathank

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Run on Debian Driven by DokuWiki