Download viber from the following site:
wget http://download.cdn.viber.com/cdn/desktop/Linux/viber.deb
Install the package using dpkg:
dpkg -i viber.deb
Open it and start using Viber.
If the following error appears after trying to execute Viber.sh on Debian Wheezy manually:
/usr/share/viber/Viber.sh
/usr/share/viber/Viber: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.24' not found (required by /usr/share/viber/Viber)
You need the latest version of glibc, to do that add the following to /etc/apt/sources.list:
sudo vi /etc/apt/sources.list
deb http://debian.co.il/debian/ testing main
deb-src http://debian.co.il/debian/ testing main
Update apt and install the latest glibc library:
sudo apt-get update
sudo apt-get -t testing install libc6
When configuring HA through the gui, the default timeout in case of a failure is 30 seconds. It's important to increase it to avoid unnecessary restarts:
1. Disable HA through the GUI.
2. Connect to the Pool Master and type the following:
xe pool-ha-enable heartbeat-sr-uuids=<NFS's SR Storage> ha-config:timeout=<TimeInSeconds>
To change the timeout of the NFS mounts:
vi /opt/xensource/sm/nfs.py xen
Change the mathematical expression from:
SOFTMOUNT_TIMEOUT = int((40.0/3.0) * 10.0) # 1/10 s
To the desired timeout, change only the 10.0 value:
SOFTMOUNT_TIMEOUT = int((40.0/3.0) * 40.0) # 1/10 s
Upload the patch to the server:
xe patch-upload -s <hostname> -u root -pw <password>file-name=<path to xsupdate file>
Apply the patch to the master server:
xe -s <hostname> -u root -pw <password> patch-pool-apply uuid=<uuid from the step 1's output>
Verify that the servers were updated:
xe patch-list -s <hostname> -u root -pw <password> name-label=<Updates ID>
Run the following command to find a server with the master role:
xe pool-list params=uuid,master
Copy the UUID of the server and paste it in the following template:
xe host-list uuid=<uuid from last step>
The following error appears after disabling IPv6:
Could not parse arguments: Cannot open display:
This is a known bug that hasn't been fixed yet, to fix it use the following command (it instructs sshd not to use IPv6):
sed -i 's/#AddressFamily any/AddressFamily inet/' /etc/ssh/sshd_config