FreeVPS Documentation Version 1.2

FreeVPS Tools
(version 1.2)

 

Related Docs:  

FreeVPS Installation FreeVPS Kernel H-Sphere VPS Scripts



To manage your Virtual Private Servers, you need special tools installed on your host:

For quota support inside VPS, please refer to VPS Quota Reconfiguration guide.

 

FreeVPS Tools

FreeVPS tools provide basic virtual context tools, such as:

- virtual context management:
- virtual context limits control:
- configure virtual network interfaces:
- calculate total file size on the virtual server;
- set/show extended attributes of the file in virtual context;
- tool to display top CPU processes for virtual context;
- VPS management script.

You can download the tarball with tools sources or rpm package from:

a) latest snapshots:
http://www.freevps.com/download/snapshots
b) latest stable release:
http://www.freevps.com/download/rpms/RH_73
http://www.freevps.com/download/rpms/RH_EL

Core FreeVPS tools contain the following utilities:

  1. vserver_ctl

    • create/destroy new virtual context structure in the kernel
    • set/remove capabilities for virtual context
    • allow/disallow processes creation at virtual context
    • migrate from the root context to the selected virtual context
    • execute commands in virtual context
    • display virtual context run status and brief context statistics
    • send signals to all processes in virtual server

  2. vserver_limit - manages VPS limits:

    • virtual memory usage limit for processes run in virtual context
    • resident memory usage limit for processes run in virtual context
    • limit on the number of processes run in virtual context
    • disk usage limit for the virtual context
    • limit on the number of the virtual context file handles
    • tcp connections limit to virtual context
    • root directory for virtual context

  3. showattrib, setattrib - manage files' and directories' additional attributes:

    • context tag
    • flag for files shared between contexts
    • immutable flag

  4. vdu - calculates disk usage for a context

  5. vifconfig - manages virtual network devices:

    • attach/detach virtual network interfaces
    • assign/disable IP addresses for using at virtual network interfaces
    • set virtual network interface shaper speed
    • set various flags to virtual interface

  6. vtop - display top CPU processes for virtual context

  7. vps - shows brief information about services running by contexts

  8. vserver - script to control VPS servers:

    • start/stop/restart VPS
    • enter VPS and start existing there shell
    • execute commands in VPS
    • return VPS status

You may also read man for each of these utilities to get more details on their syntax and functionality.

To build latest freevps-tools, please read building freevps-tools binaries.

 

H-Sphere VPS Scripts

H-Sphere VPS tools require FreeVPS tools to be installed on a VPS host server.

These tools serve to create and manage virtual server environment, namely:

• to install core RPMS packages for basic VPS - base template;
• to add, delete, create and install additional templates on VPS.
Following templates are available:
 samba-server - Windows File Server;
 ftp-server - FTP Server;
 pgsql-server - Postgresql SQL Database;
 web-server - Web Server;
 dns-server - DNS Name Server;
 mysql-server - MySQL Database;
 mail-server - Mail Server;
 news-server - News Server;
 system-tools - System Tools;
 development-tools - Development Tools;
 perl-full - Perl programing language modules;
Read more about H-Sphere VPS templates
• to configure basic and additional services;
• to create required system devices;
• to create/destroy virtual network interfaces or virtual network interface aliases;
• to assign/remove/up/down reconfigure IPs on existing VPS's virtual network interfaces;
• to start/stop/suspend/resume VPS;
• to manage VPS limits;
• to provide VPS management via H-Sphere Control Panel interface.

Read the H-Sphere VPS Scripts guide for the comprehensive description of H-Sphere VPS scripts.

You can download stable H-Sphere VPS tools/scripts release packages from the PSoft site:
http://www.psoft.net/shiv/HS/VPS

Read more about VPS tools and scripts configuration in the H-Sphere VPS Installation guide:

To build latest hsphere-vps scripts, please read building hsphere-vps scripts binaries.



Home   Downloads   Docs   FAQ   News  Partners   Contact
© Copyright 1998-2006. Positive Software Corporation.
All rights reserved.