VMware vCenter virtual appliance : schedule reboot


My experience is, in my whitebox environment to reboot the VMware vCenter virtual appliance from time to time. I used to do this manually but I decided to create a scheduled task. Hey we are IT people right? 🙂

vmware001

First login to the console with your password (I hope you changed the default root/vmware password combination :-))

vmware002

go to the /etc directory and open the crontab file

Edit the crontab (just press the i key for insert, and go to the bottom line).

As you see there are 5 options before the command :

  • minute (from 0 to 59)
  • hour (from 0 to 23)
  • day of the month (from 1 to 31)
  • month (from 1 to 12)
  • day of the week (from 0 to 6, 0=sunday)

If you use a * it means every, In my example every friday at 1 o’clock in the morning my appliance will reboot itself)

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.