Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


silver565

170 posts

Master Geek


#96384 26-Jan-2012 09:01
Send private message

Is this function in built? I'd like two VMs to be power off, and then on automatically at 1am every day(they are running non persistent disks, restarting as a guest doesn't make it go back to how it was). Is it possible?

I'm not sure what terms I should be googling for


Cheers! 




--If at first you don't succeed call it version 1.0--

Create new topic
gehenna
8667 posts

Uber Geek
+1 received by user: 3883

Moderator
Trusted
Lifetime subscriber

  #573445 26-Jan-2012 09:36
Send private message

You could set up a scheduled task to shutdown the servers within their own OS...

As for scheduling a startup I'm not so sure...but you'd be halfway there :)



silver565

170 posts

Master Geek


  #573446 26-Jan-2012 09:38
Send private message

We have Vcentre here, I suspect that could manage it?

Thanks for that though, but I can't shutdown the physical machine :( 




--If at first you don't succeed call it version 1.0--

silver565

170 posts

Master Geek


  #573447 26-Jan-2012 09:38
Send private message

Oops, misread you. I'll have a look into that option. Thanks :)




--If at first you don't succeed call it version 1.0--



Sidh
4 posts

Wannabe Geek


  #573451 26-Jan-2012 09:45
Send private message

silver565: We have Vcentre here, I suspect that could manage it?

Thanks for that though, but I can't shutdown the physical machine :( 

Are you trying to shutdown the VMs or the actual ESXi host? I have a script which can shutdown an ESXi server remotely. When the script initiates the shutdown, the VMs will be shutdown first of course followed by the actual host.
In order to turn it back on, just use a Wake on Lan script.

silver565

170 posts

Master Geek


  #573454 26-Jan-2012 09:51
Send private message

I have two VMs on an esxi server. I'd like them to "power off" and "power on" at 1:30am in the morning so the non persistent disks reset




--If at first you don't succeed call it version 1.0--

Sidh
4 posts

Wannabe Geek


  #573470 26-Jan-2012 10:11
Send private message

silver565: I have two VMs on an esxi server. I'd like them to "power off" and "power on" at 1:30am in the morning so the non persistent disks reset

ok, I have a script for you and some instructions. It's best if I e-mail it to you. Can you please pm me your e-mail address.

 
 
 

Move to New Zealand's best fibre broadband service (affiliate link). Free setup code: R587125ERQ6VE. Note that to use Quic Broadband you must be comfortable with configuring your own router.
silver565

170 posts

Master Geek


  #573474 26-Jan-2012 10:15
Send private message

Done!




--If at first you don't succeed call it version 1.0--

Sidh
4 posts

Wannabe Geek


  #573480 26-Jan-2012 10:26
Send private message

ok, just sent the e-mail. I use it to shutdown the ESXi servers automatically from the UPS monitoring software in an event of power outage.

Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.