Solved

Vmware server multiple VM suspend with dos command line

Posted on 2007-12-04
4
1,917 Views
Last Modified: 2008-02-01
Hi,
I'd like to suspend 2 virtual machines running on Vmware server v1.0 for backup purpose.
I made a small batch file (using vmware-cmd <vm.vmx> suspend) for use with the arcserve agent but the batch stops after proceeding the first VM.
I Found some solutions for Linux based command line, but nothing for a DOS based script...
Any Idea?
0
Comment
Question by:dgoguet
  • 2
4 Comments
 
LVL 12

Expert Comment

by:bhnmi
ID: 20406772
Virtual Center for VMWare server allows you to have scheduled tasks to power off and on machines.
0
 

Author Comment

by:dgoguet
ID: 20407681
No other way than buying the module? I'm using the freeware version of vmware server with VMs for testing purposes.
0
 
LVL 12

Expert Comment

by:bhnmi
ID: 20407735
You can use the trial version for 30 days. Also, VMWare will keep sending you lic's when you request em from the website.
0
 
LVL 18

Accepted Solution

by:
BSonPosh earned 500 total points
ID: 20407744
Schedule task would probably be best for backup, but to answer your question about the cmd line.

You have a couple of options.

1) use plink.exe Natively you can't, but using a free download program called plink.exe you can run vmware-cmd from a windows box.
2) If your willing to install powershell as well it gets even better. I have script that will do what you want already written here http://bsonposh.com/modules/wordpress/?p=60 not to mention VMWare is going to release a set of CMDLets for powershell early next year and you will be do everything from the cmdline. Its awesome.
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
The better OS Architecture 13 89
VMware Fail Over 5 87
VM delta disk 2 48
time esx vm's to reboot 4 60
If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question