How to setup servers, group and SSH credentials

How to set up servers you can watch in this video:

Note: if SSH user use sudo, sudo must be with option: NOPASSWD

First of all you have to create local user on your HAProxy services. Let's it calls a "proxyadmin". Generate SSH key for it or set password. If you choose SSH key then upload it locally, use command ssh-copyid 127.0.0.1.

After you have create the user, go to the HAProxy-WI "Admin area" and create a new group:

add_group

A new group is not necessary, but groups are more convenient to manage servers

After you have created group good idea create a new HAProxy-WI user. Use default users isn't good idea. Go to the "Users" tab in the "Admin area" and press "Add" button. You will see:

add_user

Next step is adding remote user. Go to the "SSH credentials" tab and create a new user:

add_ssh_cred

You can choose which auth method HAProxy-WI will use: SSH key or password. Is dependent on your first step. If you have choosen the SSH key auth method, then you have to upload the private key, which you generated in the first step:

upload_ssh

And the final step is adding a new server! Go the "Servers" tab in the "Admin area" and press the "Add" button. You will see:

add_server

Press the "Add" button, and enjoy!

Also you can check connection between the HAProxy-WI server and the HAProxy server by pressing "Check" button