Solved

Tools to quickly create vSwitch networks and bulk assign VMs to Resource Pools/VM Folders

Posted on 2014-04-04
1
492 Views
Last Modified: 2014-04-07
Hey folks,

I just recently migrated a 10-node cluster over to a new datacenter using a brand new database. I finished up most of the vCenter cluster configuration manually, but we have a ton of VMs and Template folders and many VMs that need to be assigned to resource pools. I also plan to eventually upgrade the hosts from scratch, which will entail also rebuilding the vSwitches.

We don't run Enterprise Plus just yet, so Host profiles and vDS would be the obvious place to start. But I believe a kick starter script during the install may work if it can also do vSwitch configuration (which I don't think is the case). And for the resource pools and VM folders, there isn't a way to do bulk adds instead of manually selecting one VM at a time and moving them to the appropriate pool/folder?

Thanks
0
Comment
Question by:kj_syence
1 Comment
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 39978814
The only tools to aid you and help you are using scripts and Powershell.

This is what we use to complete automated tasks quickly, rather than using the GUI.

I would recommend using the following, also VMware recommends the use of PowerCLI, which is PowerShell interface with vSphere-specific additions.

http://communities.vmware.com/community/vmtn/server/vsphere/automationtools/powercli

One of the simplest PowerCLI examples, and something which is actually extremely useful on its own, is the Get-VM cmdlet. Which lists VMs.

PowerCLI can be a bit overwhelming to use,  But it can be enhanced with a nice toolset and a library of preconfigured scripts to jump-start your mass changes, which is possible with PowerGUI

http://powergui.org/index.jspa

and

VMware Community Pack

http://www.virtu-al.net/featured-scripts/vmware-powerpack/
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
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.
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

749 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