VMware Cloud Community
jbuburuz
Contributor
Contributor

help - no "dvportgroup" option for network?

Hello,

I am really new to this.

I have a number of virtual machines, most use networking vsphere distributed switch(dvMainSwitch). One of my virtual machines is only has standard switch options(VM network)?

How do I move the virtual machine back to the distributed switch? Its not available in drop down box for networking?

This virtual machine was on the dvportgroup yesterday, I was trying to fix the network on the machine, and chose "VM network" option for testing. After this the machine removed the option for "dvPortGroup" from network options

.

Please help.

Thanks,

jb

Reply
0 Kudos
15 Replies
jbuburuz
Contributor
Contributor

I think I see my problem.

I have two nics:

vmnic1 -> vSwitch0

vmnic0 -> dvMainSwitch

The virtual machine which has problems is using "vmnic1". I assume I have to delete the network interfaces on the virtual machine, add new ones, and make sure they are "vmnic0" ?

Any thoughts,

Thanks,

jb

Reply
0 Kudos
jbuburuz
Contributor
Contributor

Still having problems.

Currently my virtual machine has two network cards, they associated with "vmnic1 and vSwitch0".

How do I associate virtual machine with "vmnic0" ?   I do see any options to do this? vmnic0 is on drMainSwitch, which is what I need.

When I remove or add network cards to my virtual machine, there is no option to assoicate with vmnic0(dvSwitch),

Thanks,

jb

Reply
0 Kudos
elgreco81
Expert
Expert

Hi,

Did you try using the wizard?

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=101061...

Regards,

elgreco81

Please remember to mark as answered this question if you think it is and to reward the persons who helped you giving them the available points accordingly. IT blog in Spanish - http://chubascos.wordpress.com
Reply
0 Kudos
jbuburuz
Contributor
Contributor

I tried your llink.

But I must be missing something.

I use vsphere client. I don't see:

step 1 Go to the Summary page of the dvSwitch.

step 2 Click Migrate Virtual Machine Networking.

Under Inventory, I only see virtual machines. I do not see virtual switch.

What I do see through vsphere client see attached jpeg.

In the jpeg is my screen shot, I see options to migrate. I am assuming I am missing something critical. A tool or management interface.

Let me know if the screen shot help you understand my problem.

thanks,

jb

Reply
0 Kudos
jbuburuz
Contributor
Contributor

I have a second screen shot. This show my "vsphere distributed switch"

Reply
0 Kudos
elgreco81
Expert
Expert

Summary tab is the second one. You are seeing the "configuration" tab.

Regards,

elgreco81

Please remember to mark as answered this question if you think it is and to reward the persons who helped you giving them the available points accordingly. IT blog in Spanish - http://chubascos.wordpress.com
Reply
0 Kudos
jbuburuz
Contributor
Contributor

SOrry I was showing the screen shots of what I see.

Here is my summary screen shot.

From this screen shot you can see there is no option to "migrate".

I assume this is because the inventory view I am showing you is for my esxi machine. I do not have a virtual switch under my inventory.

Sorry for confusion, I am not sure if I am being very clear.

thanks,

jb

Reply
0 Kudos
elgreco81
Expert
Expert

No worries, I think you are being clear Smiley Happy I don't have access right now to my vCenter so I'm struggling with my memory right now Smiley Happy

Try to change the Inventory view from "Hosts and Clusters" to Networking.

I also belive that you can't manage a dvSwitch connectes directly to an ESXi but you will need to connect to a vCenter...at least I never managed a dvSwitch from outside my vCenter.

Regards,

elgreco81

Please remember to mark as answered this question if you think it is and to reward the persons who helped you giving them the available points accordingly. IT blog in Spanish - http://chubascos.wordpress.com
Reply
0 Kudos
HeathReynolds
Enthusiast
Enthusiast

Try clicking on "inventory" and select networking, so it will say Home>Inventory>Networking

That shoudl give you a tree view of datacenters and the distributed switches in them. You can then click on the distributed switch in the tree, and click on the configuratoin tab. You should be able to use the manage hosts wizard to migrate virtual machines between the standard and distributed switch.

Are there other VMs on the same host as this one that are working properly? It almost sounds like this VM might be on a host that isn't part of the dVS. You can check from "hosts" tab for the dVS from the networking pane.

My sometimes relevant blog on data center networking and virtualization : http://www.heathreynolds.com
Reply
0 Kudos
jbuburuz
Contributor
Contributor

See my attached inventory view. I have no network options. Once I click inventory, it takes me to previous screen shots. Which show my ESXi host and vm's.

VM's networking are working fine. The vm's networking on the "vSwitch0" and "dvMainSwitch" are working.

If you see my previous screen shots I have:

vcenter server 01 -> dvMainSwitch

vCloudDirector  -> vswitch0

Both currently work, but I had "vCloudDirector" on dvMainswitch before. I want to get it back on it.

I don't understand how to get "hosts" tab from dvs? I guess this is because I don't networking in my inventory?

thanks,

jerry

Reply
0 Kudos
elgreco81
Expert
Expert

Hi,

I wouldn't know how to manage a dVS directly from an ESXi host, sorry... I also belive it's not possible but, maybe someone else knows how to do it, posts it here and then we both learn something new Smiley Happy

As far as I understand, dVS "lives" in the vCenter Database and is managed thru vCenter (where the management plane lives). Hosts only have the data plane. So, networking works even when vCenter is down (data plane on hosts) but you won't be able to manage it (management plane on vCenter).

Regards,

elgreco81

Please remember to mark as answered this question if you think it is and to reward the persons who helped you giving them the available points accordingly. IT blog in Spanish - http://chubascos.wordpress.com
HeathReynolds
Enthusiast
Enthusiast

Jerry, quick question.

Are you connecting to the vcenter, or the host? You need to connect to vcenter to have the networking tab and manage the distributed switch.

My sometimes relevant blog on data center networking and virtualization : http://www.heathreynolds.com
jbuburuz
Contributor
Contributor

THank you "elgreco81"  and HealthReynolds!

You both are correct! See attached screen shot.

I did not see these options via client sphere.

I will let you know if this solves my problems. This looks promising.

jerry

Reply
0 Kudos
jbuburuz
Contributor
Contributor

Thanks you. Yes you were correct. My problem was I was trying to make changes through vsphere client. Vcenter was the solution. It allowed me to change my networking settings, move my vm to the dvMainSwitch.

Thanks again.

jerry

Reply
0 Kudos
elgreco81
Expert
Expert

You are welcome Jerry!

Glad it works now Smiley Happy

Regards,

elgreco81

Please remember to mark as answered this question if you think it is and to reward the persons who helped you giving them the available points accordingly. IT blog in Spanish - http://chubascos.wordpress.com
Reply
0 Kudos