VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
2 Replies Last post: Jul 22, 2008 2:59 AM by SigmaEng  

Problem on Null Modem between 2 VM posted: Jul 14, 2008 10:06 AM

Click to view sdonnet's profile Enthusiast 33 posts since
Dec 26, 2007

I have several Linux VM under a Centos 5 64 bits host, with VMware v2 RC1.

I need to link 2 Virtual Machines by Serial Port (for a LVS heartbeat). I have declared a Serial Port under the first one, with following settings : Use name pipe, Name=Serial0, Near End=Server, Far End = A virtual machine, no Yield on CPU pool. And declared a Serial Port under the second one, with following settings : Use named pipe, Name=Serial0, Near End=Client, Far End = A virtual machine, no Yield on CPU pool.

I have rebooted the 2 VM, and, verified that their /dev/ttyS0 are effective (I suppose that "Serial Port 1" in "Settings" is connected to /dev/ttyS0, but NOT SURE).

I am not very fluent in serial communications, minicom and such stuff, but whenI start minicom on each VM, and send a bunch of characters, I did not seen them on the other side...

Are my settings correct ? Is there is a simple way to create and check my null modem between 2 VM ?

BTW : my current LVS heartbeat relies on TCP/IP unicast checks. And there are a lot of dropped packets. That's why I want to switch it to a ttyS*.

Re: Problem on Null Modem between 2 VM

1. Jul 22, 2008 2:51 AM in response to: sdonnet
Click to view SigmaEng's profile Enthusiast 39 posts since
Nov 18, 2007
I have similar needs to link two virtual machines via serial. I just wonder would it be possible to link two serials virtually an not via host's serials. => need virtual serial cables ! ;) This is like vmnet, but now vmserial...

Re: Problem on Null Modem between 2 VM

2. Jul 22, 2008 2:59 AM in response to: sdonnet
Click to view SigmaEng's profile Enthusiast 39 posts since
Nov 18, 2007
sdonnet wrote:
......

I have rebooted the 2 VM, and, verified that their /dev/ttyS0 are effective (I suppose that "Serial Port 1" in "Settings" is connected to /dev/ttyS0, but NOT SURE).

......

You are useing hos't's fysical ports here and now you need to have two of those in use. Settings on VM1: /dev/ttyS0 and on VM2: /dev/ttyS1 and these both serials are serial 1 on guest os.

VMware Beta Programs

Want to be Considered for Future Beta Programs?

Learn More

VMware Developer

Download SDKs, APIs, videos,
training, and more in the Developer community.

Learn More

Developer
Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld
Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

Only VMware ... Delivers Nexus 1000V

Ensure consistent, policy-based network capabilities to virtual machines across your data center.

Learn More

Communities