Site icon Franky's Web

Exchange 2013: OpenSource Loadbalancer Zen

On my forays through the Internet, I came across Zen. Zen is an OpenSource load balancer that is easy to install and has a nice web configuration interface. Reason enough for me to write a howto.

So quickly set up and install a VM

The installation of Zen is identical to the minimal installation of Debian, a few basic configurations such as IP, gateway and DNS are requested and everything is installed.

As soon as Zen is installed, you can log in to the configuration website. The Zen configuration is accessed via https://ZEN_IP:444 (User: admin Password: admin)

After logging in, you will see the web interface

Da ich Zen in einer VM mit nur einer Netzwerkkarte installiert habe, lege ich eine virtuelle Netzwerkkarte an, die den Virtual Service für Exchange bereitstellen wird. Die Konfiguration der der virtuellen Schnittstelle erfolgt unter „Settings“ –> „Interfaces“. Bei mir wurde das Default Gateway, welches ich bei der Installation angegeben habe, nicht übernommen, hier kann es nachgetragen werden.

Jetzt kann unter „Manage“ –> „Farms“ die Farm, also der Virtual Service erstellt werden, unter dem Exchange zukünftig erreichbar ist. Als Virtual IP wähle ich das zuvor erstellte Virtual Interface aus. Als Name habe ich „Exchange2013“ und bei Profile TCP ausgewählt. Als Virtual Port wird nur 443 (HTTPS) benötigt.

Die Farm wurde erfolgreich erzeugt, jetzt können die Exchange Server der Farm hinzugefügt werden. Sobald die Farm erzeugt wurde, findet sich in der Spalte „Actions“ der Button „Edit Farm Settings“

Exchange servers can now be added in the farm settings

Fertig. Das war schon alles. In der Farm Übersicht findet sich der Button „View Backend Status“. Hier kann überprüft werden, ob die Exchange 2013 Server erreichbar sind und wie viele Verbindungen jeder Server hält.

Now all that remains is to configure Exchange, but I have already described this in detail in this article (including Kerberos authentication):

https://www.frankysweb.de/exchange-2013-authentifizierung-auf-kerberos-umstellen/

Note: If you do not want to use Kerberos, you only need to use these commands from the above article:

Get-OwaVirtualDirectory | Set-OwaVirtualDirectory -InternalUrl "https://outlook.frankysweb.local/owa"
Get-EcpVirtualDirectory | Set-EcpVirtualDirectory -InternalUrl "https://outlook.frankysweb.local/ecp"
Get-WebServicesVirtualDirectory | Set-WebServicesVirtualDirectory -InternalUrl "https://outlook.frankysweb.local/EWS/exchange.asmx"
Get-OabVirtualDirectory | Set-OabVirtualDirectory -InternalUrl "https://outlook.frankysweb.local/OAB"
Get-ActiveSyncVirtualDirectory | Set-ActiveSyncVirtualDirectory -InternalUrl "https://outlook.frankysweb.local/Microsoft-Server-ActiveSync"
Get-OutlookAnywhere | Set-OutlookAnywhere -InternalHostname outlook.frankysweb.local -InternalClientsRequireSsl:$true

The values for the InternalUrl/InternalHostname parameters must then correspond to the configured DNS entry and the IP address of the DNS entry must correspond to the farm IP

Important: Also remember the certificate! The new internal host name must also be on the certificate.

https://www.frankysweb.de/exchange-2013-san-zertifikat-und-interne-zertifizierungsstelle-ca/

Exit mobile version