Creating the VPS: Difference between revisions

From GigaTux Wiki
Jump to navigation Jump to search
Created page with 'After you have created the customer account, set up the VPS as follows: ==Creating the Physical VPS== # Navigate to the user from the list of accounts on the left. Then, click ...'
 
Line 11: Line 11:


==Verifying that the Physical VPS has been created==
==Verifying that the Physical VPS has been created==
# Log in to the relevant dom0 (e.g. node00002.gigatux.com) as your username and then ''su'' to root.
# ''cd'' to /var/lib/dtc-xen/mnt
# Examine the contents of XY.setuplvm.*, where XY is the VPS number you created. The contents should look something like this:
#:<code>File descriptor 12 left open</code>
#:<code>File descriptor 51 left open</code>
#:<code>File descriptor 52 left open</code>
#:<code>File descriptor 53 left open</code>
#:<code>File descriptor 54 left open</code>
#:<code>Seleted xenXY: 20224MB HDD and 128MB RAM</code>
#:<code>Creating disks...</code>
#:<code>&nbsp;&nbsp;Logical volume "xen08" created</code>
#:<code>&nbsp;&nbsp;Logical volume "xen08swap" created</code>
# Ensure that the first value corresponds to the correct hard drive size requested (minus swap), and the second corresponds to the correct swap size (which should be the same as the memory allocation).
# N.B. Further information can be obtained by typing ''lvdisplay /dev/lvm1/xenXY[swap]''.

Revision as of 12:35, 5 May 2009

After you have created the customer account, set up the VPS as follows:

Creating the Physical VPS

  1. Navigate to the user from the list of accounts on the left. Then, click on the Admin editor tab.
  2. In the Add a VPS for this admin section, select the next available VPS hostname in the VPS Server hostname box. 'This must be a VPS on node00002.gigatux.com, not node00001.gigatux.com.
  3. Select the product that the user has purchased. For new VPSs, this will be a product ending in ' E', e.g. Solo E as opposed to simply Solo.
  4. Ensure that Setup physical VPS (LVM) is set to Yes.
  5. Click Add VPS and wait a short while for the VPS to be created.

Verifying that the Physical VPS has been created

  1. Log in to the relevant dom0 (e.g. node00002.gigatux.com) as your username and then su to root.
  2. cd to /var/lib/dtc-xen/mnt
  3. Examine the contents of XY.setuplvm.*, where XY is the VPS number you created. The contents should look something like this:
    File descriptor 12 left open
    File descriptor 51 left open
    File descriptor 52 left open
    File descriptor 53 left open
    File descriptor 54 left open
    Seleted xenXY: 20224MB HDD and 128MB RAM
    Creating disks...
      Logical volume "xen08" created
      Logical volume "xen08swap" created
  4. Ensure that the first value corresponds to the correct hard drive size requested (minus swap), and the second corresponds to the correct swap size (which should be the same as the memory allocation).
  5. N.B. Further information can be obtained by typing lvdisplay /dev/lvm1/xenXY[swap].