The goal of this article is to explain how Zevenet Subscriptions work and how to configure Zevenet Enterprise Edition subscriptions to maintain updated your Zevenet appliances in a very automatic way.
The Zevenet Enterprise Edition appliances requires to have connectivity to two services: certs.zevenet.com and repo.zevenet.com
Zevenet Enterprise Edition connects to https://certs.zevenet.com/ in order to check your Subscription Plan status and once this system confirms the access is granted, then it connects to https://repo.zevenet.com/ in order to check the package updates.
For this reason, it’s important to ensure that the Load Balancer is able to reach both remote points. If, due to any reason, the connection to the Internet from the load balancer it is not allowed to those sites the load balancer can be configured to add a HTTP and HTTPS proxy. Ensure to have enabled the following destination rules in your data center:
For Firewall sysadmins: Allow From the Zevenet IP to DNS resolution of certs.zevenet.com and repo.zevenet.com port 443 (HTTPS protocol)
For Proxy sysadmins: Allow From the Zevenet IP to https://certs.zevenet.com/* and https://repo.zevenet.com/* (HTTPS protocol)
Please follow the next steps in order to enable your Subscription Plan in the Zevenet Load Balancer Enterprise Edition appliances. Firstly, please ensure you’ve the appliances deployed and activated.
1. Connect to your Zevenet appliance and ensure that at least the release Zevenet 5.2.10 is installed:
root@zvnlb:~# dpkg -l | grep zevenet ii zevenet 5.2.10 amd64 ZEVENET Load Balancer Enterprise Edition
2. If your Zevenet package is in a previous version please apply the latest release that you received at the moment of the Subscription Plan acquisition.
3. If required, configure the proxy when a direct connection to the Internet is not allowed. Edit the global.conf file and configure the $http_proxy and $https_proxy variables as follows.
root@zvnlb:~# vi /usr/local/zevenet/config/global.conf #proxy $http_proxy="http://PROXY_IP:PROXY_HTTPS_PORT"; $https_proxy="https://PROXY_IP:PROXY_HTTPS_PORT";
Just in case your proxy requires validation please configure it as follows:
root@zvnlb:~# vi /usr/local/zevenet/config/global.conf #proxy $http_proxy="http://USER:PASSWORD@PROXY_IP:PROXY_HTTPS_PORT"; $https_proxy="https://USER:PASSWORD@PROXY_IP:PROXY_HTTPS_PORT";
Take into account to:
- Change USER and PASSWORD for the given proxy credentials.
- Change PROXY_IP with your own proxy IP or proxy name.
- Change PROXY_HTTPS_PORT with your own proxy port that accepts HTTPS.
- Ensure that the proxy IP and proxy port is reachable from the Load Balancer, you can use telnet for these tests.
Repeat this configuration to every Zevenet appliance that requires to have access to the remote repository for updates.
Applying package updates and hotfixes
Zevenet appliances are fully integrated with the Linux operating system based in a GNU/Debian environment, so once the release Zevenet 5.2.10 or higher is applied you will be able to update the Zevenet system as any other GNU/Debian via APT repository, please refer to the following commands to be applied in order to maintain the appliances up to date.
Update the database of packages in your Zevenet appliance from the remote APT repository.
root@zvnlb:~# apt-get update Hit:1 https://repo.zevenet.com/ee/v5/4.9.13zva5000 stretch InRelease Reading package lists... Done root@zvnlb:~# apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: cherokee zevenet zevenet-web-gui 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 1,764 kB of archives. After this operation, 3,072 B disk space will be freed. Do you want to continue? [Y/n] Y . . .
Search a certain package in the local database.
root@zvnlb:~# apt-cache search zevenet cherokee - Zevenet cherokee gdnsd - Zevenet gdnsd health-checks - Zevenet health checks pound - Zevenet pound reverse proxy ssyncd - Zevenet Ssyncd zevenet - ZEVENET Load Balancer Enterprise Edition zevenet-web-gui - Web GUI of Zevenet Enterprise zevenet-ipds - Security updates to feed IPDS module of ZEVENET Load Balancer
Read the contents and information for a certain package.
root@zvnlb:~# apt-cache show zevenet-web-gui
Update a certain package.
root@zvnlb:~# apt-get install zevenet-web-gui
Update the whole system.
root@zvnlb:~# apt-get upgrade
Compatibility and Security
Zevenet Load Balancer is based on a GNU/Debian system and fully integrated with the APT repository services. Although, it doesn’t mean that Zevenet packages are fully compatible with Debian mainstream packages, as this has been designed to be optimized and ready for high availability, scalability and security of applications.
It is capable to add third parties APT repositories for certain packages, but use this at your sole responsibility. System updates and upgrades are only supported from the official Zevenet APT repositories. In addition, for security reasons, only accept updates from signed package repositories.