HA-IP Pro is a load balancer with automatic failover functionality. HA-IP Pro allows you to quickly create scalable environments which automatically split the network traffic evenly over multiple VPSes. If one of your VPSes can’t be reached, traffic will automatically be forwarded to the VPSes that can still be reached.
Your HA-IP Pro overview
After ordering you can find your HA-IP Pro in your control panel under the tab ‘BladeVPS’. Here you can review the IP addresses of your HA-IP Pro, the number of connected VPSes and the configuration of the HA-IP Pro settings.
You can also encrypt the traffic from your domain to your HA-IP by means of an SSL certificate.
How do I connect my VPSes to HA-IP Pro?
Connecting your servers is easily done through ‘Manage attached VPSes’. View which VPSes are available, and choose the VPSes you’d like to connect and click on ‘Attach’.
Where can I view the status of my connections?
On the overview page you can review if your VPSes are available, partially available, or unavailable.
How do I configure my HA-IP Pro?
You can choose a load balancing method on the ‘change settings’ page. The following options are available:
This is a turn-based system where attached VPSes are assigned to sessions one by one. For example: session 1 goes to connected VPS 1, session 2 goes to connected VPS 2, etcetera. If two VPSes in total are connected, session 3 will go to VPS 1 again.
Sessions are remembered through a unique code in the cookie the visitor of your site or application receives. If you use a session cookie for this (for PHP this usually is PHPSESSID), users with the same session will always arrive on the same server in your load balancing configuration. This method only works when ports are configured with HTTP or HTTPS mode.
Sessions are assigned to the same VPS as in previous sessions based on the source IP. The IP address of the visitors are randomly assigned to one of the connected VPSes. When a VPS is removed or becomes unavailable, the traffic will be forwarded anew at random.
Furthermore you can specify which traffic is sent to your HA-IP and which traffic is sent to your VPS. In this Knowledge Base-article the different modes are explained.
For securing the connection between HA-IP and your VPSes you can choose one out of three SSL methods:
Traffic between HA-IP and your VPSes will be forwarded without encryption.
SSL must be configured on your VPSes. Self-signed certificates are allowed.
SSL must be configured on your VPSes. Certificates must be signed by a trusted certificate authority.
You can choose if and how you’d like to forward your IPv6 traffic to your VPS’es:
Forward all your IPv6 traffic to the IPv6 address of your connected VPSes.
Accept only IPv4 traffic on your HA-IP and forward it to your connected VPSes.
Redirect IPv6 to IPv4
Accept all IPv4 and IPv6 traffic on your HA-IP and forward the IPv6 traffic as IPv4 traffic to the connected VPSes.
Additionally there’s the option to configure health checks through TCP or HTTP. The TCP health check verifies whether or not the ports on your connected VPSes accept traffic.
The HTTP health check, checks based on an HTTP status code whether the VPS is available. A 2XX – 3XX code indicates the traffic to the VPS is okay.
Of course, we also give you the possibility to optionally use a script of your own which performs the health check. The path to your script is indicated in the column ‘HTTP’ uri.
Finally, in your HA-IP settings you can set a ‘Reverse DNS’ or ‘PTR record’. Reverse DNS translates the HA-IP IP address back to a (sub)domain.
Preferably use the hostname of one of the connected VPSes or the domain from which mail is sent as your reverse DNS, for example: server.yourdomainname.com or mail.yourdomainname.com
Additionally you can encrypt the traffic from your domain to your HA-IP under ‘Manage SSL-certificates’.
You can choose to add a free Let’s Encrypte SSL certificate to your domain. Once delivered you can (dis)connect the certificates as desired.
Please note: To use an SSL-certificate with HA-IP Pro, you can only use our Comodo SSL-certificates, or generate Let's Encrypt certificates, for domains that are in the same TransIP-account that also contains HA-IP Pro.