Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to quickly test multiple port groups on a new ESXi 5.0 host

Posted on 2014-03-26
2
Medium Priority
?
555 Views
Last Modified: 2014-04-06
Hey folks,

I just added a new host running ESXi 5 update 1 to a new cluster. This particular cluster isn't using distributed switches and it contains a bunch of VM Network port groups. In the past I had to create a test VM and manually test network communication, then manually change the network on the vmmic and test again by going into the VM network settings, changing IP information, and run some tests.

My question is this - Is there a tool that exist that makes this process less painful? It can be GUI or script.

Thanks.

KJ
0
Comment
Question by:kj_syence
[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
2 Comments
 
LVL 123

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 1500 total points
ID: 39956686
There is not really a tool, but you could write a script using PowerCLI, that changes the Virtual Machine Portgroup the VM is connected to, and then use ping...

$OldNet = "VM Network1"
$NewNet = "VM Network1"

Open in new window


Get-VM |Get-NetworkAdapter |Where {$_.NetworkName -eq $OldNet } |Set-NetworkAdapter -NetworkName $NewNet -Confirm:$false

Open in new window

0

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
This program is used to assist in finding and resolving common problems with wireless connections.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

721 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