jskfan
asked on
VM machines communication
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.
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.
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.
ASKER
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 ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The vSwitch the virtual machine port groups are connected to.
ASKER
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.
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.
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.
ASKER
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
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
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
ASKER
Thank you Guys!
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