ESX 5 FS Persistency
Most of ESX 5 files reside in a in-memory filesystem. This means faster access and also non persistency across reboots, which can be inconvenient at the time of managing a ESX farm for a OpenNebula cloud.
Here is a recipe to make the configuration needed for OpenNebula persistent across reboots. The changes need to be done as root.
<xterm> # vi /etc/rc.local
## Add this at the bottom of the file
mkdir /etc/ssh/keys-oneadmin cat > /etc/ssh/ssh-oneadmin/authorized_keys « _SSH_HEYS_ ssh-rsa <really long string with oneadmin's ssh public key> _SSH_KEYS_ chmod 600 /etc/ssh/keys-oneadmin/authorized_keys chmod +s /sbin/vmkfstools /bin/vim-cmd chmod 755 /etc/ssh/keys-oneadmin chown oneadmin /etc/ssh/keys-oneadmin/authorized_keys
# /sbin/auto-backup.sh </xterm>
This information was based on this blog post.