Windows VMs communicating through serial devices on a ESX 4 host

Posted on 2011-05-04
Medium Priority
Last Modified: 2012-06-21
Hi All,

We are currently evaluating OpManager to replace Nagios as our monitoring solution. The environemnt is ESX 4 vSphere and Opmanager is running on a Windows VM. We need to be able to have OpManager send SMS alerts through our MC35i serial GSM device.

So far we haven't been able to get this to work through a Windows VM but it works fine with a Linux VM (Nagios). The Opmanager VM is on a different host to the Nagios VM.

On the ESX 4 host the Opmanager VM belongs too, the serial device is physically connected and the VM is using /dev/ttyS0 for the Serial Port. How can we map to this port through a Windows VM.. is it even possible?

At the moment Opmanager reports "Modem is not connected properly. Please check your settings"

Thanks in advance for your responses.

Question by:ams_group
  • 2
  • 2
  • 2
LVL 125
ID: 35697053
That serial device should be mapped to COM1 in the Windows VM.

Something you may want to consider, we have much better compatibility in using USB to Serial Adaptors in VMs, and use USB passthru.

if you would like to no more see refer to this link

LVL 40

Expert Comment

ID: 35697392
Yes, by all means it's possible...at least in using serial ports. I have a serial-connected device to a VM. It uses the same setting as you stated (/dev/ttyS0). You can only have one VM using the physical host's serial connection, though. (see: http://kb.vmware.com/kb/1001979) Get the hostd logs and see if it shows us anything (see: http://kb.vmware.com/kb/1021800)


Accepted Solution

ams_group earned 0 total points
ID: 35703680
Thanks for your responses. The solution was quite simple... I enabled Serial Port 1 in the Opmanager VM's bios and it's working now.
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 40

Expert Comment

ID: 35703683
Nice! Glad it's working now...

LVL 125
ID: 35707372
Normally the Default Operation for Serial Poirts in the Virtual Machine BIOS are set to AUTO.

AUTO - Bios or OS choose configuration.

So I'm assuming your Serial Ports were both Disabled!

 Default for Serial Ports in a VMware VM is AUTO

Author Closing Comment

ID: 35727019
Problem was that the COMM port was not enabled in the VM bios.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE dā€¦
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.
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the ā€¦
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

621 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