Updating Virtual Private Server for H-Sphere 2.3.1 RC 3
This procedure should be performed only for vserver build 1056256121 (H-Sphere 2.3.1 RC 2).
Check the VPS build: # cat /proc/vservers/setup | grep "vserver build"
You will get something like this: vserver build 1056256121
If your vserver build is less than 1056256121, plase
update your kernel.
Check the Virtual Private Server tools version: # rpm -qa|grep hsphere-vps
You will see something similar to: hsphere-vps-0.98-29
Suspend all VPS before the server reboot: # cd /hsphere/shared/scripts # ./vps-suspend.pl -a
Uninstall old VPS tools: # rpm -e hsphere-vps-x.xx-xx
where x.xx-xx is the old VPS version and release number.
Download and install new VPS tools: # wget http://www.psoft.net/shiv/HS/VPS/hsphere-vps-y.yy-y.noarch.rpm
where y.yy-yy is the new VPS tools version and release number.
It is also recommended to install the latest VPS package
(for now, it is hsphere-vps-0.98-30.noarch.rpm): # rpm -ivh hsphere-vps-0.98-30.noarch.rpm
Run update script: # cd /hsphere/shared/scripts/
Run configuration script: # ./vps-configure.pl
and follow the script instructions step by step.
Resume suspended VPS: # cd /hsphere/shared/scripts
# ./vps-resume.pl <vps_name>
where <vps_name> is a suspended VPS server name.
To resume all suspended VPS servers, run: # ./vps-resume.pl --all