Apr 24, 2012

VMWare Data Recovery 1.2 – schedule weekly reboot


We run VMWare vSphere 4.1, and VMWare Data Recovery 1.2.
We have a weekly window with no backups happening, and due to some instabilities, we would like to try scheduling an automatic weekly reboot of the VMWare Data Recovery appliance.

More specific details:
– VMWare Data Recovery 1.2 seems to be based on CentOS 5.2.
– We use NFS for data storage. The appliance sees this as local storage, but the drive is actually stored in a different building. Seems to work great, and so far has been significantly faster and more stable than CIFS (which we used before).

I have tried scheduling the reboot using /etc/cron.d within the VDR appliance itself:


45 1     * * sun   /usr/local/bin/custom_reboot.sh >> /var/log/reboot.log


/bin/echo "==================================="
/bin/echo "Rebooting server now."

I also restarted crond, /etc/init.d/crond restart
However, /var/log/reboot.log stays empty, and uptime shows that no reboot ever happened.

What am I missing?

Asked by UrkoM


Any reason you can’t schedule the reboot outside of the OS, as detailed here? Reboot Virtual Machine every 20 minutes

Answered by JakeRobinson

Related posts:

  1. File Level Restore – Confused over access to Data Recovery appliance
  2. vmware Data Recovery questions
  3. Linux: Schedule command to run once after reboot (RunOnce equivalent)
  4. Best Commercial Data Recovery Software
  5. Can anybody recommend a good data recovery strategy?

Leave a comment