Please Read: Significant Update Planned, Migrating Forum Software This Month

See more
See less

Monitoring and restarting from Cmd Line

  • Filter
  • Time
  • Show
Clear All
new posts

  • Monitoring and restarting from Cmd Line

    For some unknown reason one of three VM running on Win Server 2003 in thier own Fedora 2.6.X environments does a shutdown (I guess) and when it does, a web server is lost. I found on this site, the discussion on vmrum command (it was well explained) and would like to have a scheduled script execute to test if the VMs are running and to restart them if they are not. I am not a Window's person (been UNIX all my days since 197 and would like to script a test/restart job for placing in the platform's schedule. Is there anyone out there that thinks they can training an ole dog a new trick (scripting method)?
    Last edited by herbnet; 16th November 2007, 21:07. Reason: better grammar

  • #2
    Re: Monitoring and restarting from Cmd Line

    Check the vmware-cmd or the run command to getstate.

    Script the rest based on the results.
    VCDX3 #34, VCDX4, VCDX5, VCAP4-DCA #14, VCAP4-DCD #35, VCAP5-DCD, VCPx4, vEXPERTx4, MCSEx3, MCSAx2, MCP, CCAx2, A+ - VMware Virtualization Evangelist
    My advice has no warranties. Follow at your own risk.