VMware Cloud Community
dbarney
Contributor
Contributor
Jump to solution

Scripting for a novice - running DPM scripts on a schedule

I am woking on a new installation with ESXi 5.1 and VCenter 5 running on the virtula appliance.  I would like to use DPM but bring the cluster to full operation pior to the start of the work day.  I found the reference to the scripts which I have downloaded.

What I am unable to figure out is how to run them at a sceduled time.  Most of my research seems to point to installing and configuring vMA in order to have the ability to import these scripts and set them up on a cron job.

This seems like a bit of work just to run 2 scripts.  My question is "is there any other way to run scripts against the vCenter appliance without getting vMA working?  If so how?"

Any assistance would be appriciated.

Tags (3)
Reply
0 Kudos
1 Solution

Accepted Solutions
djradium
Enthusiast
Enthusiast
Jump to solution

If you want to disable DPM beFore your working day starts you are able to configure scheduled tasks within vcenter natively to achieve this without the need of additional scripts.

The task you will need to setup is "Change cluster power settings"

View solution in original post

Reply
0 Kudos
4 Replies
djradium
Enthusiast
Enthusiast
Jump to solution

If you want to disable DPM beFore your working day starts you are able to configure scheduled tasks within vcenter natively to achieve this without the need of additional scripts.

The task you will need to setup is "Change cluster power settings"

Reply
0 Kudos
dbarney
Contributor
Contributor
Jump to solution

Thanks,

That was what I needed.

Reply
0 Kudos
TCPvmadmin
Contributor
Contributor
Jump to solution

Can you explain in more detail how this is done? IS this done on the Vmware client or locally on the Vcenter Windows server with task scheduler? You would be very generous if you clould give me the steps in order to set this up.

Thank You

Reply
0 Kudos
dbarney
Contributor
Contributor
Jump to solution

I used the task sceduler in Vcenter to set up a task to disablle DPM in the morning prior to the start of the workday  and another to enable DPM at the end of the day.

Reply
0 Kudos