|
This document provides a step-by-step instruction on adding new H-Sphere physical boxes and
adding new logical servers (or services: Web, mail, DNS, etc.).
If you are adding a new physical server,
add physical server in admin CP.
Please make sure to specify the root password in the form to provide SSH connection between CP and the newly added server.
Skip this step if you are adding new H-Sphere services (logical servers) to a live H-Sphere box.
Add new logical servers in admin CP.
Please remember the IP of physical servers you are adding new logical servers into.
Important: Make sure you created respective
custom DNS records for this logical server.
To do this automatically for this logical server's DNS zone,
click the button Generate in front of Generate custom DNS records for this logical server in the Logical Server options.
If you are adding new physical servers to a NAT configured H-Sphere cluster,
you must log into the CP server as cpanel user and
add the new physical servers' IPs to the ~cpanel/shiva/psoft_config/ips-map.xml file.
Physically install new H-Sphere server/services on the box:
-
H-Sphere 3.1 and up
Run Update Wizard in admin CP:
go to E.Manager -> Update -> Update Boxes
check the server(s) you need to install the server on and click Start Update.
Alternatively, you can still choose to download and run the respective H-Sphere 3.1+
update script (as for H-Sphere 2.5 and 3.0 - see the instruction below)
to install new servers and services.
-
H-Sphere 2.5 and 3.0
Download and run H-Sphere updater to install an H-Sphere server/service:
Log into the CP server as root.
Check the H-Sphere version you have:
# cat ~cpanel/shiva/psoft_config/HS_VERSION
Download the H-Sphere update script for the version you have (must be H-Sphere 2.5 Beta 2 or higher).
For example, for H-Sphere 3.0 Patch 7:
Linux:
# wget http://www.psoft.net/shiv/HS/releases/U30.0/U30.0P7/U30.0P7
FreeBSD:
# fetch http://www.psoft.net/shiv/HS/releases/U30.0/U30.0P7/U30.0P7
Run the update script, for example, for H-Sphere 3.0 Patch 7:
# sh U30.0P7
In the update script's command prompt, type:
hspackages ips=list_of_ips
where list_of_ips is the list of IPs delimited with comma and without spaces
for the physical servers where new logical servers are to be added. For example:
hspackages ips=192.168.139.40,192.168.139.41
The script will install all the necessary packages into the target boxes.
See the complete list of options for the hspackages script.
|