VPS – upgrading parameters

  Virtual Servers (VPS SSD)

The virtual server can be modified to a higher version. It is only possible to increase the options that are listed in our offer, specifically:

  • 15 GB HDD, 1 GB RAM, 1 proc. 
  • 30 GB HDD, 2 GB RAM, 1 proc. 
  • 60 GB HDD, 4 GB RAM, 2 proc. 
  • 90 GB HDD, 6 GB RAM, 2 proc. 
  • 120 GB HDD, 8 GB RAM, 3 proc.

In the case of VPS SSD are available these variations:

  • 15 GB HDD, 2 GB RAM, 1 proc. 
  • 30 GB HDD, 4 GB RAM, 1 proc. 
  • 60 GB HDD, 8 GB RAM, 2 proc. 
  • 120 GB HDD, 16 GB RAM, 4 proc.
  • 240 GB HDD, 32 GB RAM, 8 proc.

Other combinations are not possible.

Important information:

  • The upgrade of parameters is required shutdown. The duration of the outage depends on the amount of data that the customer is stored on VPS. Approximate time estimate is that 10 gigabytes of used space ~ 3 minutes.
  • Given that it will restart the server, make sure that you have set the server so that after it’s reboot all services starts automatically.
  • When you increase VPS you do not lose data.
  • Switching to a lower version is not possible, it’s too complicated. We recommend to order a new VPS with lower parameters původní and terminate old VPS.
  • The process of the increase can not be undone. After the upgrade, it is not possible to return to a lower variant.

Performing upgrade

Customers can initiate an upgrade by themselves in the customer center without coordination with our customer support.

  1. It is necessary to turn off VPS before the upgrade. Properly shut down the operating system and turn off the server. Otherwise, VPS will be turned off forcibly at the start of upgrading.
  2. In customer center open detail of particular VPS, in left menu use link Upgrade configuration, select the new variant in the form and click on upgrade.
  3. Wait until the upgrade is completed (the process takes about 5-20 minutes). Be patient.
  4. When the upgrade is complete the VPS will turn on automatically.
  5. After the upgrade a check that was also automatic enlarged partition and file system. If not, perform a manual increase according to instructions below in this article.

After the upgrade, next working day, you will receive the invoice payable in 7 days to pay the difference in price between configurations counted to the end of the current subscription period, or if you have sufficient credit, the surcharge invoice is automatically deducted from the credit account (more info about making an additional payment).

Increasing file system

When you upgrading VPS options it will increase the available disk space, but it is necessary to enlarge the file system on your hard drive.

Linux virtual servers installed or pre-installed after in January 2013 will increase partition and file system automatically.

Linux servers installed before 2013, Windows servers, or other systems that were installed by the customer, does not increase file system automatically. That should be made by the customer, the procedure depends on the operating system and file system.

For Linux, you need to increase the partition v and then enlarge the file system.

WARNING! Perform increasing in the filesystem by yourself only if you really know what you are doing and understand this issue. Otherwise, data on the disk can be easily and permanently damaged.

If you are not sure, please contact our support and give us the password for the root. Our technicians will increase your filesystem for free.

Linux VPS with our configuration

The following instructions apply only if you use our pre-installed Linux! If not, it may be a different procedure – you need to enlarge one partition (if possible) or add a new.

To enlargement of the disk space is required to do 3 steps:

  • enlarge the appropriate partition by using program fdisk (enlargement partition = partition deletes and creates a new larger with the same beginning)
  • restart the VPS (is necessary fo VPS to use the new partition table)
  • In this enlarged partition enlarge file system by using command resize2fs

First, it is necessary to determine how is named disk device and partition on your VPS:

  • /dev/vda – newer versions of Linux, connected via virtio
  • /dev/sda – newer versions of Linux, without virtio (IDE emulation device)
  • /dev/hda – older versions of Linux (IDE emulation device)

Here we will work with the variant /dev/vda, otherwise, the procedure is the same for all.

Our preinstalled VPS with the following partition:

  • /dev/vda1, 300 MB,mounted as / boot contains the Linux kernel – this partition does not interfere
  • /dev/vda2, The remaining space on the disk mounted as / – this partition needs to increase

So first we increase the partition /dev/vda2, run the fdisk program:

fdisk /dev/vda

By using command p view the current partition layout and note the initial position of the partition VDA2 (value in the column – is the same as the end position partition vda1). The view looks like this:

Command (m for help): p

Device    Boot  Start    End    Blocks  Id  System
/dev/vda1    *      3    612    307200  83  Linux
/dev/vda2         612  62415  31148936  83  Linux

Here we see that VDA2 starts at position 612.

Now by using command d delete partition 2:

Command (m for help): d
Partition number (1-4): 2

By using command n create a partition 2 again, it must start at the same position (here 612), as last cylinder use the default value (partition will be until the end of the disc):

Command (m for help): n
Command action
   e extended
   p primary partition (1-4)
p
Partition number (1-4): 2
First cylinder (1-62415, default 1): 612
Last cylinder, +cylinders or +size{K,M,G} (612-62415, default 62415):
Using default value 62415

By using command p check that the partition layout and especially if vda2 really starts at exactly the same position as the original.

Save your changes and exit the fdisk by using command w.

Now you need to restart the server by commnad reboot, to make sure that the Linux kernel uses a new partition.

After the restart of VPS perform the last step – enlargement of the file system in the enlarged partition. Use the command resize2fs, increases is done on-line, it does not affect the availability of data on disk.

resize2fs /dev/vda2

Linux with LVM

If you have installed OS by yourself and you are using LVM, the general procedure is as follows.

In this case, do not interfere the already existing partition, but create a new partition via fdisk program (eg. vda3).

After adding of partition restart the VPS.

Now add new partition (here vda3) to the LVM, commands are approximately as follows (may be different individually):

  • pvcreate /dev/vda3 (initialization of partition vda3 for use with LVM, vda3 – new partition created with fdisk)
  • vgextend GROUP /dev/vda3 (the name of the group you want to expand you will find over command lvs – column VG)
  • /dev/mapper/GROUP-UNIT (name of the unit find out similarly as a group – column LV)
  • lvextend –size +15G /dev/mapper/GROUP-UNIT (enlargement of the 15GB)
  • resize2fs /dev/GROUP/UNIT (enlargement of an existing filesystem, in LVM)

Windows Server 2008

The last option is to increase the capacity of HDD in the OS Windows Server 2008. In Windows, simply right-click on My Computer and choose Manage…. Here it is necessary to go to the section Storage -> Disk Management. After right-clicking on the partition that will need to be enlarged is enough to choose to expand volume.

Děkujeme za zpětnou vazbu!