?
Solved

use a script to shutdown virtual machine and copy

Posted on 2009-02-13
10
Medium Priority
?
993 Views
Last Modified: 2012-06-21
I would like to schedule a script that can automatically shutdown a virtual machine, then copy those vm files to a storage location.
0
Comment
Question by:optikconnex
  • 5
  • 5
10 Comments
 
LVL 21

Expert Comment

by:za_mkh
ID: 23637583
What are you using to host your VM's. Vmware ESX or ESXi or VMWare Server?
0
 

Author Comment

by:optikconnex
ID: 23637596
Vmware ESXi
I forgot to mention after copying the files I will want the script to start the VM as well.
0
 
LVL 21

Expert Comment

by:za_mkh
ID: 23637602
As I may not answer quick enought, plese find this link ... hopefully it will help you achieve what you want ...
http://www.petri.co.il/images/virtual_script_startup_shutdown_vmware_servers_01.jpg
 
0
Threat Trends for MSPs to Watch

See the findings.
Despite its humble beginnings, phishing has come a long way since those first crudely constructed emails. Today, phishing sites can appear and disappear in the length of a coffee break, and it takes more than a little know-how to keep your clients secure.

 

Author Comment

by:optikconnex
ID: 23637628
I have the VMWare CLI installed so I will see if I can get this to work on my own but if anyone has the documentation put together already that would be great.
0
 
LVL 21

Expert Comment

by:za_mkh
ID: 23637635
If your ESXi is unlicensed i.e. Free Edition, then the best way and only way is to use a freeware tool like VEEAMs Fast SCP which will allow you to create a scheduled file transfer.
http://www.veeam.com/esx-fastscp.html
 
0
 
LVL 21

Expert Comment

by:za_mkh
ID: 23637667
This thread will also help you with the specifics if you don't want to use Veeam's solution ...
http://communities.vmware.com/thread/161168
 
0
 

Author Comment

by:optikconnex
ID: 23637788
Veeam FactSCP only seems to allow connections to ESX servers. I have gone into our esxi server and allowed the SSH port 22 and can connect via PUTTY.
0
 

Author Comment

by:optikconnex
ID: 23637853
I found the BETA that now supports ESXi. I will try that.
0
 
LVL 21

Accepted Solution

by:
za_mkh earned 2000 total points
ID: 23637865
Oh, I can forget thing sometimes .. I should go and sleep ... -------------------

There is a Veeam FastSCP 3.0 for ESX/ESXi Public Beta that has been officially launched!

http://forum.veeam.com/forums/viewtopic.php?t=596
I will be trying it out next week once I am back at the office
--------------
 
0
 

Author Comment

by:optikconnex
ID: 23637901
I am testing it now.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
A look into Log Analysis and Effective Critical Alerting.
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…
Suggested Courses

850 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