Hello,
An easy way to configure synchronization between multiple YubiRADIUS instances is to first start with a fully configured instance of YubiRADIUS (but without Synchronization configured on it) and make copies of the same VM (after powering down the VM). After making copies, start the cloned VMs one by one, change their IP address and add Synchronization configuration on each instance. This will ensure you will start with identical state of internal counters and YubiKey mappings on all synchronized instances of YubiRADIUS.
If you are planning to deploy 3 instances you can use the three servers by setting sync level to 33%; so if one server fails the remaining two can handle the authentication requests.
FYI, we do not recommend customers to use only two servers for synchronization because if one server is down all data will be centralized to the remaining server and if that server also fails then there will be data loss. If you still interested in using 2 servers for synchronization, please set the sync level to 0. We recommend you to have four servers and set the sync level to 25% to have each request sync with at least one other server. (And for three servers set the sync level to 33%).
BTW, you can set the default sync level required in the validation server(s) but the clients can also tell the servers how much sync they require per request.
For more information about the sync level, please refer the link:
http://code.google.com/p/yubikey-val-server-php/Here are the step by step instructions to set the sync level in YubiRADIUS:
1) SSH to the YubiRADIUS
2) Navigate to the location '/etc/ykval'
3) Open the ykval-config.php file
# vim ykval-config.php
4) Set the $baseParams['__YKVAL_SYNC_DEFAULT_LEVEL__'] value as per your requirement (33 in case of 3 servers)
5) Save the file
6) restart the ykval sync service
/etc/init.d/ykval-queue restart
If you have further questions, please feel free to write to “support @yubico.com”.
Hope this helps!
Best regards,
Samir.