Solved

VM machines communication

Posted on 2014-03-17
11
261 Views
Last Modified: 2014-04-01
In most environments , VMs are store in a SAN.
so in Vsphere client if we go to Networking, we'll see a virtual switch with 1 or more physical NICs and VM port group, the physical NICs of the Virtual Switch , if I understand are the ones plugged to ESX host…correct?

so if VM1 wants to talk to VM2 , while both are in the SAN, would VM1 will go out of the SAN NIC then through physical NIC on ESX host then come back through that physical NIC to the SAN NIC  in order to talk to VM2 which is in fact in the same SAN as VM1 ?

Any explanation will be very much appreciated.

Thank you.
0
Comment
Question by:jskfan
[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
  • 4
  • 4
  • 3
11 Comments
 
LVL 122
ID: 39935740
The physical network interfaces in the host ESXi server physical uplinks are connected to a vSwitch.
So you are correct with your logic.

Its got nothing to do with SAN.

Network traffic leaves the VM via its network interface connected to a virtual machine port group.

The virtual machine port group is connected to a vSwitch.

If both VM1 and VM2 are connected to vSwitch traffic will pass between the VMs.

The host server controls communication to your SAN in the background via whatever topology that us...FC iSCSI or NFS
0
 
LVL 56

Expert Comment

by:andyalder
ID: 39936518
The VMs reside on the SAN but they run on the host. Just like a PC the OS resides on a hard disk but it runs on the CPU/RAM. If you transfer a file from one VM to another then it does go SAN-VM-VM-SAN so does go over the SAN twice.
0
 

Author Comment

by:jskfan
ID: 39937785
VM1 and VM2 physical files are in the SAN , physical NIC that Virtual switch is connected to is on the ESX Host…so if VM1 wants to Talk to VM2 , what would be the route it will take ?
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 56

Accepted Solution

by:
andyalder earned 250 total points
ID: 39937859
Straight through the virtual switch on the host, no external network traffic would exist if it was a simple ping or remote control session. There could be some traffic on the SAN though since ping.exe would have to be transferred from the disk to RAM over the SAN before it could be executed.
0
 
LVL 122
ID: 39938064
The vSwitch the virtual machine port groups are connected to.
0
 

Author Comment

by:jskfan
ID: 39947458
Andyalder:

I agree, the VM Operating System is in the SAN.
RAM/CPU and Network Adapter are on the ESX Host.

if the SAN is 30 feet away from ESX Host, then there should be some communication that goes between the VM OS located in the SAN and its Resources that are on ESX host..

 I Want to understand the communication road map…what are the entrance/exit points that the communication will take.
0
 
LVL 56

Expert Comment

by:andyalder
ID: 39947655
The VM doesn't run on the SAN, it is stored there. The communication between RAM and disk is exactly the same in a physical environment as in a virtual one except that in this case your VM's disk is separated from the host by Ethernet rather than SCSI cable.
0
 

Author Comment

by:jskfan
ID: 39953348
So there are still those trips between the VM OS in the SAN and RAM/CPU/NIC  which in ESX host.

for instance: let's say I have a script that runs on VM1 that copies files to VM2… (VM1 and VM2 are in the SAN)
I believes those files will not end up on VM2, without involving RAM/CPU/NIC adapters that are in ESX
0
 
LVL 122

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 250 total points
ID: 39953473
That assumption is correct.
0
 
LVL 56

Expert Comment

by:andyalder
ID: 39953834
The file transfer I described a week ago - SAN to VM (on host), then VM to VM (on same host so no LAN traffic), then VM on host to SAN. The only way to avoid the file traversing the SAN twice is to use a shared filesystem such as StorNext and its client installed on each VM which is prohibitively expensive.
0
 

Author Closing Comment

by:jskfan
ID: 39968678
Thank you Guys!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
A look at what happened in the Verizon cloud breach.
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
Suggested Courses

622 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