• Status: Solved
  • Priority: Medium
  • Security: Private
  • Views: 61
  • Last Modified:

Prevent VM From Being Powered On

In ESX 6.5, is there a way to prevent or at least make it more difficult for a VM to be powered on? I have some VMs that have moved to another vCenter, but am required to leave the originals behind for now. Since these are exact copies there are risks of network conflicts if someone accidentally powers them on.

All my searches come back with how to disable power off in Windows, but not the VM itself.

Thanks!
0
Brian B
Asked:
Brian B
3 Solutions
 
Bryant SchaperCommented:
why not just remove from inventory
0
 
Brian BEE Topic Advisor, Independant Technology ProfessionalAuthor Commented:
That's a good backup plan, but still want them visible so nobody panics if they do have to go looking.

That reminds me, if it's possible to do what I want, I'll put a note in the comments for each server so others will know what is going on.
0
 
Bryant SchaperCommented:
I modify the name too, you could pull the permissions as well assuming vcenter and unique users.
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Create a new ROLE for the VM, No Power ON ROLE.....- simple. (and remove Power ON from the ROLE).

We archive VMs, by moving them to NFS Storage, and then remove from Inventory, because if they are in the Inventory, people will fiddle!!!! for shits and giggles, and then you end up in a world of shit.

If they are no in the inventory, people cannot fiddle with them.....
0
 
Paul SolovyovskySenior IT AdvisorCommented:
Another way to prevent them conflict is to power up the VM without the network connection being checked and connect via console and disable the network card.  In this case even if a VM is powered up there is no access from the VM to the network and no conflicts.
0
 
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
A simple way to prevent starting a VM is to rename the disk file on datastore. There is no way to start the VM then ;-).
0
 
Dariusz TykaICT Infrastructure Specialist Senior Commented:
Or you can change the name in the inventory to sth like that 'VM_name_Keep_turned_off'. But its up to others if they will follow that rule :-)
0
 
Peter HutchisonSenior Network Systems SpecialistCommented:
Change the VM's network card settings to 'Internal' mode, so that they could be powered on but will not able be access via the network, it will be   only accessible via the vCenter console. Also, no network conflicts.
0
 
Brian BEE Topic Advisor, Independant Technology ProfessionalAuthor Commented:
Sorry for the delay. These above are the most practical answers to what I actually needed.

Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now