C
C
CyberCraft2019-06-10 16:10:46
Computer networks
CyberCraft, 2019-06-10 16:10:46

How to set up portgroups on ESXi 5.0 and access the virtual machine?

Hello again dear gurus! I have to ask for your help, because there are a lot of materials on the Internet and it is very difficult to find exactly what you need among it.

On the physical server HP proliant G, the ESXi hypervisor is raised (on the host it shows ESXi 4.0, the Vsphere 5.0 client is used for communication). There is an HP P3000 storage system. The configuration worked properly for a very long time (virtual AD, exchange, web servers were raised), but recently, as it usually happens, everything started to crumble ... It was not configured by me, as it usually happens, I inherited everything and are just starting to study this topic , so I will be grateful for useful tips, clear guides and manuals ....

Configuration

The input is D-link DFL-800, everything is routed through cisco sg300-28 (I didn’t see anything special, one subnet)
There are 4 physical interfaces on the server: (I don’t know how they are configured, I didn’t find any parameters in vsphere or on the hypervisor that could be would change to configure interfaces)
img1
5cfe5305cd4eb599318870.jpeg


A group of ports has been created (servers from the list of this group in the guest OS have a local network connection, they ping properly, but I can’t get access to files)
img2
5cfe53e233d84022238674.jpeg

All machines are on the same subnet.
Consequence of the problem:
The domain controller on which the DNS server was raised fell off - the network path was not found (for more details, see this topic).
Exchange server has lost its network interface: in the OS itself (win server 2008 R2) - the network cable is not connected.

Problem Description:
Port group created and working properly
img0
5cfe559b71db4346589223.jpeg

Virtual servers from this list are available over the network and are operational, if you open the config, you can see the network interface port group:
imgwork
5cfe563a973e3116647302.jpeg


After some digging into the mailer virtual machine (exchange-srv) configs, I noticed something strange.
The config does not see the port group, which, of course, does not have a locale on the virtual server.
img3
5cfe55222cc2d126758276.jpeg


In the same way, I cannot bind the network interface of any new virtual machine, it is simply not in the list ... I can provide all configs with screenshots

Answer the question

In order to leave comments, you need to log in

4 answer(s)
I
ISE73, 2019-06-11
@ISE73

Why did you have a Distributed Switch on the 1st single server (although everything seems to be fine in its config) - a banal question :)
Judging by the number of interfaces (4), there is 1 more vSwitch on the server. Just vSwitch.
It is not in the pictures and it is most likely a problem.

A
athacker, 2019-06-11
@athacker

You have distributed vSwitch configured. Which hints at the presence somewhere in the vCenter schema. Because without it, such a switch cannot be assembled. And, accordingly, it is also impossible to manage it without vCenter. You connected directly to the host, as I understand it, and are trying to do something there. It won't work.
If vCenter is cut out and access to it is somehow lost, then the networks will have to be significantly redone in order for this to work within the same host. And it’s better for you to turn to a professional for this, because you can’t explain on your fingers what types of switches are in Var, how they differ and how they are configured.
Or back up the machines, rewrite the network settings (portgroup and vlan names, as well as which machine should be in which vlan), demolish the hypervisor, and build the system from scratch on one physical host and standard vSwitch. Then restore the machines and connect them to the correct networks.
P/S/: Yes, and for information. Switches in hypervisors are not involved in routing, these are purely L2 "devices". Routing in your network is performed either by a virtual machine or a separate router piece of hardware.

C
CyberCraft, 2019-06-10
@CyberCraft

I understand that my problem is in the configuration of virtual adapters, virtual switches and ports, but I can’t find relevant information anywhere, but I don’t understand how to defeat it. Everywhere they try to solve some global problems, but I have only 20 machines and 6 servers ... Please, please explain the principle of setting up network routing of the hypervisor and virtual network, which is most suitable for my architecture

S
Sergey Leshchev, 2019-06-22
@BMSerg

On vSphere there is an excellent book in Russian authored by Mikhail Mikheev - "VMware vSphere 5 Administration" (2012 release). Was on torrents. Well, or read here the necessary information about standart vSwitch.
In your case, either find and fix the problem with vCenter Server in order to configure distributed vSwitch through it (vCenter), or convert distributed vSwitch to standart vSwitch - first create it, then transfer the interfaces of the virtual machines there, then transfer and configure the interfaces of the physical ports of the server (and respectively, the ports of the physical switches, where the links are plugged from them) for throwing / receiving L2 frames to the external network.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question