5. Localization change Сonfiguration
To ensure the functionality of changing localization, you need to make some settings. We will give an example of such a configuration with two independent installations where "(UA) PUQ WireGuard VPN" and "(PL) PUQ WireGuard VPN" are two different packages that have two independent groups of servers and have different locations. In our example, we simulate two localizations and the ability to change client packages, which allow changing localization, it is also worth noting that in our configuration example, many servers are used in each of the two groups, where the server is selected according to the least loaded one, which is necessary for correct load distribution between servers.
Attention! For the correct operation of this functionality, available servers are required. If the server is unavailable, changing the package when changing the locale will fail.
1. Add necessary services according to your requirements. (How to add servers)
2. Add your servers to specific server groups.
Add your servers for the first group:
Add your servers for the second group:
Server groups look like this:
Note. Currently only the "Add to the least full server" scenario is implemented.
3. Select the appropriate server groups in the corresponding product.
Choose your servers group for the first product:
Choose your servers group for the second product:
4. Select the appropriate package to update.
Choose your package update for the first product:
Choose your package update for the second product:
Note. Please note that in order to avoid double notification, notification by means of WHMCS is disabled, because a custom notification will be used.