Virtual appliance
Install HAProxy ALOHA on Microsoft Hyper-V
This section describes how to install the virtual appliance on Microsoft Hyper-V.
Install the virtual appliance on Microsoft Hyper-V Jump to heading
Follow these steps to install HAProxy ALOHA on Microsoft Hyper-V.
-
From the HAProxy Technologies Customer Portal, create a new support ticket to request your download credentials.
-
Browse to the URL https://www.haproxy.com/download/aloha/16.5/va-installer. Enter your credentials to access the folder.
-
Download the file
aloha-albva-hyperv.zip
and extract its contents. -
Open Hyper-V Manager and create a new virtual machine:
- Click New > Virtual Machine from the Actions menu.
- On the Connect Virtual Hard Disk screen, choose
Use an existing virtual hard disk
, and browse to the filealoha-albva.vhd
. - Complete the wizard to import the virtual machine.
-
The virtual machine is created, but not yet running. Right click it and select Settings. Under Network Adapter, set Virtual Switch to
Default Switch
and then apply the change. -
Right click the virtual machine and choose Start.
Assign an IP address Jump to heading
You must assign an IP address belonging to the internal network to your HAProxy ALOHA appliance. Although you have the option of using DHCP to assign an IP address dynamically, which is useful for connecting to the HAProxy ALOHA for the first time before you’ve set up a static IP, it is typical to prefer a static IP, since you will want HAProxy ALOHA to have a predictable address on your network.
When starting your appliance for the first time, you can either:
- use DHCP to assign an IP address dynamically, then assign a static address either through the web user interface or the CLI, or
- assign a static address to the appliance immediately.
Once you have assigned an IP address, you can then connect to the HAProxy ALOHA web UI and change IP address assignments using the graphical interface.
Use DHCP Jump to heading
By default, DHCP automatically assigns an IP address to your HAProxy ALOHA virtual appliance at first boot.
-
Start your virtual appliance. The following message displays:
textRetrieve IP using DHCP or configure static ... 10sec (D/s)?textRetrieve IP using DHCP or configure static ... 10sec (D/s)? -
Enter
D
for DHCP or wait for 10 seconds. The web UI’s URL displays, for example:textAccess WEB User Interface: http://192.168.1.71:4444textAccess WEB User Interface: http://192.168.1.71:4444
Later, you should assign a static IP address to the appliance.
Save the changed configuration by executing config save
in the CLI.
Assign a static IP address Jump to heading
-
Start your appliance. The following message displays:
textRetrieve IP using DHCP or configure static ... 10sec (D/s)?textRetrieve IP using DHCP or configure static ... 10sec (D/s)? -
Enter
s
to enter a static IP address. When no DHCP server is available, this is the default mode. The following message displays:textConfigure IP manuallyUse IP address (192.186.0.200)?textConfigure IP manuallyUse IP address (192.186.0.200)? -
Enter the IP address you want to assign to the appliance. The following message displays:
textUse netmask (255.255.255.0)?textUse netmask (255.255.255.0)? -
Enter the netmask you want to assign to the appliance. The following message displays:
textUse default gateway (192.186.0.1)?textUse default gateway (192.186.0.1)? -
Optional: Enter the IP address of the appliance’s default gateway. The following message displays:
textCommit and save this configuration (N/y)?textCommit and save this configuration (N/y)? -
To save your configuration, enter
y
. The web UI’s URL displays, for example:textAccess WEB User Interface: http://192.168.0.200:4444textAccess WEB User Interface: http://192.168.0.200:4444
You can now access the HAProxy ALOHA web UI at the address http://<IP Address>:4444/
.
Log in to the web user interface Jump to heading
Copy the Access WEB User Interface
address that’s displayed when you connect to the command-line terminal. This takes you to a login screen.
To log in, use the username and password admin
.
Once logged in, run the initial configuration wizard.
Do you have any suggestions on how we can improve the content of this page?