PHP Classes
elePHPant
Icontem

I use it to shutdown/suspend our VMs and shutdown the server ...

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      VMware ESX/ESXi  >  All threads  >  I use it to shutdown/suspend our VMs...  >  (Un) Subscribe thread alerts  
Subject:I use it to shutdown/suspend our VMs...
Summary:Package rating comment
Messages:2
Author:Sceptre
Date:2012-04-23 15:43:15
Update:2012-05-14 05:59:32
 

Sceptre rated this package as follows:

Utility: Sufficient
Consistency: Good

  1. I use it to shutdown/suspend our VMs...   Reply   Report abuse  
Picture of Sceptre Sceptre - 2012-04-23 15:43:15
I use it to shutdown/suspend our VMs and shutdown the server after that. I added the poerOFFServer method to handle this:
public function powerOFFServer( )
{
$response = $this->exec( "shutdown.sh && poweroff" );
if ( stripos( $response, "Time:" ) === false )
return false;

return true;
}

  2. Re: I use it to shutdown/suspend our VMs...   Reply   Report abuse  
Picture of jomajo jomajo - 2012-05-14 05:59:20 - In reply to message 1 from Sceptre
Hello.

Could you can provide a solution how to use this great class?

Thanks!