|
Last modified: 27 Dec 2007
In H-Sphere 3.1 Beta 1, you can install VPS server based on FreeVPS
or OpenVZ solution. If you already have a VPS logical server based on one of the solutions,
starting with H-Sphere VPS 2.0 it is possible to switch to another solution in console or
from H-Sphere Control Panel:
For more information on VPS, please contact
vps@psoft.net.
To change VPS solution from FreeVPS to OpenVZ and vice versa, use ./vps-change.pl script.
The script takes new solution name for a particular virtual server or for all registered on the host virtual servers.
For help, run:
# hsphere-scripts/vps-change.pl -?
Usage:
vps-change.pl --vps=VPS_NAME|--all --soluion=SOLUTION [--help|--?|--man]
Options:
--vps=*VPS_NAME*
Virtual Private Server Name
--all
Change solution for all registered in the host virtual servers
--solution=*SOLUTION*
New virtual private server solution. Following are available: *openvz* *freevps*
--help|--?
Print the usage message
--man
Print the entire manual page
The VPS will work under new solution after the box is booted with corresponding kernel.
VPS is suspended while solution is changed. It is required to resume it.
The following tasks are performed during the solution change:
- Virtual server config structure is changed to become compatible with and acceptable by new solution
- VPS virtual network is completely reconfigured. Old virtual interfaces are removed, and the new ones are created with the same IP address configuration. The old/unused virtual network configuration is completely removed.
- Virtual context flags are changed to be compatible with new solution.
- Internal virtual server services (daemon) scripts will be changed.
- Virtual server pre/post start/stop scripts are changed.
WARNING:
- VPS is suspended during the solution change.
- VPS will work under new solution only after the box is booted with a corresponding solution kernel, e.g.
if you change VPS solution from FreeVPS into OpenVZ, you must boot the box with OpenVZ kernel.
- Please pay attention to virtual servers which solution was not changed: they will not work until the box
boots the kernel of other solutions! These virtual servers will be considered as corrupted.
H-Sphere users can easily switch from FreeVPS to OpenVZ (and vice versa) solution from their Control panel.
For this:
- Switch from one solution to another in VPS server additional options
- Run H-Sphere updater from CP
|