Startup/Shutdown Script for vmWare: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
To stop all virtual machines run the following command:
To stop all virtual machines hosted on a Linux Operating System run the following command:


= VMware Server 1.0.x =
<pre>
<pre>
find /var/lib/vmware/ -iname "*.vmx" -exec vmware-cmd {} stop \;
find /var/lib/vmware/ -iname "*.vmx" -exec vmware-cmd {} stop \;
Line 10: Line 11:
</pre>
</pre>


To suspend all virtual machines
<pre>
find /var/lib/vmware/ -iname "*.vmx" -exec vmware-cmd {} suspend \;
</pre>
To backup all virtual machines see the page [[Backup_Script_for_VMware|Backup Script for VMware]]
[[Category: vmWare]]
[[Category: vmWare]]

Latest revision as of 11:26, 16 November 2008

To stop all virtual machines hosted on a Linux Operating System run the following command:

VMware Server 1.0.x

find /var/lib/vmware/ -iname "*.vmx" -exec vmware-cmd {} stop \;

To start all virtual machines run the following command:

find /var/lib/vmware/ -iname "*.vmx" -exec vmware-cmd {} start \;

To suspend all virtual machines

find /var/lib/vmware/ -iname "*.vmx" -exec vmware-cmd {} suspend \;

To backup all virtual machines see the page Backup Script for VMware