Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Scheduling Remediation Task in Virtual Center 2.5

Posted on 2009-05-14
6
Medium Priority
?
541 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
The Ideal Solution for Multi-Display Applications

Check out ATEN’s VS1912 12-Port DP Video Wall Media Player at InfoComm 2017. Kerri describes how easy it is to design creative video walls in asymmetric layouts and schedule detailed playlists ahead of time with its advanced scheduling feature.

 
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 150 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

10 Questions to Ask when Buying Backup Software

Choosing the right backup solution for your organization can be a daunting task. To make the selection process easier, ask solution providers these 10 key questions.

Question has a verified solution.

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

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…
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…

719 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