H-Sphere VPS Versions


H-Sphere VPS 2.0-0 Beta 5 Installation

(H-Sphere 3.1 and up)

Under Development

Features   |   Update


WARNING:
The information below is just an announcement! This version is under development and is not yet available! Please refer to latest stable version.

This document is the step-by-step instruction of adding a VPS hosting box into an H-Sphere cluster by means of H-Sphere update script.

For more information on VPS, please contact vps@psoft.net.

 

Step 1. Preparation

See Preparing Server for H-Sphere VPS Installation in a separate document.

 

Step 2. Installation

Important!
Add a VPS service to a separate physical box reserved only for VPS. We don't recommend to add other services to this box like web, mail etc.

  1. Add an H-Sphere VPS physical and logical server to the prepared box.
  2. When adding a VPS logical server, choose which solution - FreeVPS or OpenVZ - should be installed.

Depending on the solution you have chosen, the following VPS related packages will be installed:

  • FreeVPS
    • FreeVPS kernel - the kernel package contains the Linux kernel patched with FreeVPS patches

      Package version:

      • RHEL3, TRUSTIX22: kernel-freevps-1.5-15
      • RHEL4: kernel-freevps-1.5-15.3
    • FreeVPS tools: - FreeVPS control and management tools
      Package version: freevps-tools-1.4-8
  • OpenVZ
    • ovzkernel - the kernel package contains the Linux kernel (vmlinuz), the core of any Linux operating system. The kernel handles the basic functions of the operating system: memory allocation, process allocation, device input and output, etc.

      Package version:

      • RHEL4: ovzkernel-
      • RHEL5: ovzkernel-
    • vzctl - this utility allows system administator to control Virtual Environments, i.e. create, start, shutdown, set various options and limits etc.
      Package version: vzctl-
    • vzctl-lib - Virtual Environments control API library.
      Package version: vzctl-lib-
    • vzquota - Virtual Private Servers as a part of Virtuozzo product family are full isolated "virtual machines" available for a user without total hardware emulation like solutions of VMware type. This utility allows system administator to control disk quotas for such environments.
      Package version: vzquota-
  • H-Sphere VPS - provides VPS management API for H-Sphere Control Panel
    Package version: hsphere-vps-2.0-0.b5.noarch

The packages may vary depending upon the operating system. For a full list of VPS related packages installed on VPS box, please refer to VPS Server per supported operating systems in H-Sphere 3.1 Beta 1 and up.

 

Step 3. Edit Boot Loader Configuration File

Edit this file (/boot/grub/grub.conf, or /etc/lilo.conf) so its default variable is set to take newly installed kernel as the boot image.

Important! Keep the old kernel image settings, so the system can start if anything goes wrong with the new kernel installation.

  • FreeVPS
    (Example for RedHat EL 4 and its clones)
    • grub.conf
      default=0
      timeout=10
      splashimage=(hd0,0)/grub/splash.xpm.gz
      title Red Hat Linux (2.4.21-freevps-1.5-15.3)
        root (hd0,0)
        kernel /vmlinuz-2.4.21-freevps-1.5-15.3 ro root=/dev/sda5
        initrd /initrd-2.4.21-freevps-1.5-15.3.img
      title Red Hat Linux (2.4.18-3)
        root (hd0,0)
        kernel /vmlinuz-2.4.18-3 ro root=/dev/sda5
        initrd /initrd-2.4.18-3.img
      
    • lilo.conf
      prompt
      timeout=50
      default=linux_patched
      boot=/dev/sda
      map=/boot/map
      install=/boot/boot.b
      message=/boot/message
      linear
      
      image=/boot/vmlinuz-2.4.18-3
          label=linux
          initrd=/boot/initrd-2.4.18-3.img
          read-only
          root=/dev/sda5
      
      image=/boot/vmlinuz-2.4.21-freevps-1.5-15.3 
          label=linux_patched
          initrd=/boot/initrd-2.4.21-freevps-1.5-15.3.img
          read-only
          root=/dev/sda5
      
  • OpenVZ
    (Example for RedHat EL 4 and its clones)
    • grub.conf
      default=0
      timeout=10
      splashimage=(hd0,0)/grub/splash.xpm.gz
      title Red Hat Enterprise Linux ES (-smp)
          root (hd0,0)
          kernel /vmlinuz--smp ro root=/dev/hda3 console=tty0 console=ttyS1,38400n8
          initrd /initrd--smp.img
      title Red Hat Linux (2.4.18-3)
          root (hd0,0)
          kernel /vmlinuz-2.4.18-3 ro root=/dev/sda5
          initrd /initrd-2.4.18-3.img
      
    • lilo.conf
      prompt
      timeout=50
      default=linux_patched
      boot=/dev/sda
      map=/boot/map
      install=/boot/boot.b
      message=/boot/message
      linear
      
      image=/boot/vmlinuz-2.4.18-3
          label=linux
          initrd=/boot/initrd-2.4.18-3.img
          read-only
          root=/dev/sda5
      
      image=/boot/vmlinuz--smp
          label=linux_patched
          initrd=/boot/initrd-.img
          read-only
          root=/dev/sda5
      

Now apply changes to lilo.conf (skip this step if you use grub boot loader):

# lilo

If you correctly edit lilo.conf, the command will list all labels' values as added.

 

Step 4. Reboot the Server

Run:

# shutdown -r now

 

Step 5. Check Kernel Version

Run:

# uname -a

If the procedure has been performed correctly, this command will return a line with parameters of the server which must include the correct kernel version.

 

Step 6. VPS Host Configuration

(optional step - for advanced configuration)

To configure your virtual servers, run the configuration script:

# /hsphere/shared/scripts/vps-configure.pl

With the further steps, you'll perform basic configuration of your virtual servers. See more on VPS host configuration.

 

Step 7. Configure Network Gateways

Follow insructions on adding VPS network gateways.





See Also:

FreeVPS
H-Sphere Versions
H-Sphere Documentation
H-Sphere VPS (Sysadmin Guide)
H-Sphere VPS (Admin Guide)
H-Sphere VPS (User Guide)
   
Request VPS Installation



Copyright 1998-2017. Positive Software Corporation.
All rights reserved.