Solved

Scheduling Remediation Task in Virtual Center 2.5

Posted on 2009-05-14
6
535 Views
Last Modified: 2012-05-07
Hi.

I've recently added in a new scheduled task to re mediate the downloaded patches from VUM and I've successfully scheduled it. However my concern is, when this task starts, will it shutdown my existing VM's while shifting to Maintenance Mode?

Do I need to add another task prior to this just to power off my VM's in that host?

Thanks!
0
Comment
Question by:artena
  • 4
6 Comments
 
LVL 10

Expert Comment

by:elf_bin
ID: 24383471
Not if you have DRS enabled.  When the ESX(i) host goes into maintenance mode the VMs will power off (not necessarily shutdown - well uit depends on the OS's use din the VMs).

Hope this helps
0
 
LVL 19

Expert Comment

by:vmwarun - Arun
ID: 24383983
If the ESX Hosts are in DRS, then putting one of the hosts in Maintenance Mode will vMotion (Live Migrate) the Virtual Machines using DRS algorithms to other available hosts.

Please note that the new Hosts should have adequate resources for the migrating VMs to work properly.
0
 

Author Comment

by:artena
ID: 24388480
Thank you for the reply. I failed to mentioned that the licensing version that I've got is "Foundation" and I dont have those features such as DRS, HA and Vmotion.

So without these additional features, do you think it will shutdown the VM's?
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 10

Expert Comment

by:elf_bin
ID: 24392853
Generally no - the VMs will be powered off.  Here's a pointer to a perl script that can be used to shutdown VMs when power loss is detected (requires UPS though) - http://communities.vmware.com/docs/DOC-9531

Hope this helps.

0
 
LVL 10

Accepted Solution

by:
elf_bin earned 50 total points
ID: 24392872
And as a second thought you could run a script at the service console (ESX) which would be something like:
# Get a list of VM's configs
VMS=vmware-cmd -l
# For every VM found...
for conf in ${VMLIST}
do
# Try to suspend the VM
# You could try the soft stop option too (*sometimes* works):
# vmware-cmd $conf stop trysoft
vmware-cmd $config suspend
# Close the loop
done
# Switch ESX to maintenance mode
vimsh -n -e /hostsvc/maintenance_mode_enter
# Power off ESX
shutdown -h now

Hope this helps.
0
 
LVL 10

Expert Comment

by:elf_bin
ID: 24392888
Those "boxes" in the above are supposed to be back ticks (`)
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…

815 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now