networks on different hosts

I'm looking to vsphere to create a new production VM but first put it into a host / data store that is for testing. The network is limited to a few vlan options and not the production vlan

Question is after i get everything built, would I be able to move this VM to a new host and data store and virtual switch?

Do you pick the new virtual lan after you right click the VM and choose "migrate"? Or is it more difficult than that?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Gareth Tomlinson CISSPNetwork and Security ManagerCommented:
You can't migrate to another host that doesn't have the same VLAN available.  You need to edit the VM so that it is in the correct VLAN before moving, I believe. Just add them temporarily to the test host then delete them after.
Data store might be more of a problem, though, unless it is accessible to both hosts.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
ALL virtual machine portgroups MUST match between hosts, so make sure your standardise on you naming convention.

e.g. ALL host configuration is identical (obviously not IP Addresses!)

When you perform a Migration, it does actually run a validation check before moving the VM to another Host, and this will tell you if it's okay to migrate.

Once you move the VM, then you can change it's networking if required.
garryshapeAuthor Commented:
Yeah I would need to change host and datastore after the VM is built.
So I would just need to add the vLan to the host I'm migrating from that matches the vLan that exists on the destination host?

The source datastore does not appear to be on the destination host however
SolarWinds® IP Control Bundle (IPCB)

Combines SolarWinds IP Address Manager and User Device Tracker to help detect IP conflicts, quickly identify affected systems, and help your team take near instantaneous action. Help improve visibility and enhance reliability with SolarWinds IP Control Bundle.

Gareth Tomlinson CISSPNetwork and Security ManagerCommented:
Your first comment is correct, that should take care of the network side
How do you plan to migrate the disks/datastore?
Can you present the datastore temporarily to the target machine, then change the storage to a local store and remove the old stores?
garryshapeAuthor Commented:
I will have to figure out a way to do that but at this point I just realized there was actually a datastore on the target host that had plenty of free space so I'm going to put the VM there instead of having to migrate it.
Gareth Tomlinson CISSPNetwork and Security ManagerCommented:
much safer!
Good luck
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Shared Nothing vMotion should also work, if the hosts are not connected to the same storage for migration.
garryshapeAuthor Commented:
Sufficient information to go off of if I run into the issue
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.