Increase Entropy

If you are installing Apache Brooklyn on a virtual machine, you may find it useful to increase the Linux kernel entropy to speed up the ssh connections to the managed entities. You can install and configure rng-tools or just use /dev/urandom`.

Installing rng-tool

if you are using a RHEL-based OS:

yum -y -q install rng-tools
echo "EXTRAOPTIONS=\"-r /dev/urandom\"" | cat >> /etc/sysconfig/rngd
/etc/init.d/rngd start

if you are using a Debian-based OS:

apt-get -y install rng-tools
echo "HRNGDEVICE=/dev/urandom" | cat >> /etc/default/rng-tools
/etc/init.d/rng-tools start

The following links contain further information for RHEL or CentOS, and Ubuntu.

Using /dev/urandom

You can also just mv /dev/random then create it again linked to /dev/urandom, by issuing the following commands:

sudo mv /dev/random /dev/random-real
sudo ln -s /dev/urandom /dev/random