?
Solved

Vmware compatibility with pci parallel cards

Posted on 2011-02-12
12
Medium Priority
?
2,950 Views
Last Modified: 2012-05-11
I have a server that it has 2 PCI cards, with four serial ports each one of them PCI card.
On these cards is connected some PLC (PLC Programmable Logic Controls).
The question is if I install VM on this server, the VM is capable to see these cards??
Or the VM it will pass transparent these cards, to the installed Operating System.

P.S.The OS it will be Windows 2003.

Best Regards
0
Comment
Question by:DareDevilE12
[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
  • 5
  • 3
  • 2
  • +2
12 Comments
 
LVL 123

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 34878390
What version of VMware will you be using VMware Workstation, VMware Server, VMware Player.

In the subject you state PCI Parallel Cards, and in the question you refer to serial ports?

If the parallel ports and serial ports are detected by the host server, they can be used as passthru' to the Virtual Machine.
0
 
LVL 70

Expert Comment

by:garycase
ID: 34879004
VMWare can access both physical parallel ports and physical serial ports on the host.    It does not "see" these by default, by you can add them to the virtual machine on the Settings page.     I do not, however, know how many ports VMWare supports at once ... the most I have on any physical machine is two -- and VMWare WILL let me use both of those.    I suspect you can add as many as you need -- but can't confirm that.
0
 
LVL 28

Expert Comment

by:bgoering
ID: 34879454
I can confirm it will use at least three because at some point in the past I created and connected a bluetooth (COM) connection to a vm.

Good Luck
0
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 
LVL 28

Assisted Solution

by:bgoering
bgoering earned 1500 total points
ID: 34879468
Ahh - from the user manual (http://www.vmware.com/pdf/ws71_manual.pdf) pp 27:

"Serial (COM) Ports
    Up to four serial (COM) ports.
    Output to serial ports, Windows or Linux files, or named pipes."

So it looks like limit is likely to be four ports.

0
 
LVL 1

Author Comment

by:DareDevilE12
ID: 34879598
First of all I want to thank you for the direct support.

I want to correct my mistake, I refer to serial ports, and at VMware ESXi Server.

So its good to know that the ESXi can see or at least pass thru the PCI card to the Host Operating System.

My initial idea was this: I have two same servers. Both server have the same PCI serial cards. But the one server is active and the other is backup. So I thought to install ESXi at the Backup server and grab the live server to the ESXi.
So like this, it did not need to setup anything,Because is two identical servers with to identical PCI cards. The only issue is if the ESXi can provide this resources of cards to the OS.

Best Regards
0
 
LVL 1

Author Comment

by:DareDevilE12
ID: 34879605
bgoering the limit is four port per card or at the total?
0
 
LVL 63

Expert Comment

by:☠ MASQ ☠
ID: 34879613
A maximum of 4 ports can be redirected to the host - i.e. COM1-4 only
0
 
LVL 28

Accepted Solution

by:
bgoering earned 1500 total points
ID: 34879807
As of ESXi 4.1 you can assign serial ports on the physcial host to a vm. My previous response was for Workstation, but the limit on ESXi is also 4.

If you install ESXi on a host that has your pci card it should recognize them as

/dev/char/serial/uart0
/dev/char/serial/uart1
/dev/char/serial/uart2
...
/dev/char/serial/uartn

Note that 0 and 1 will likely be the onboard serial ports if your particular server has them.

If you only need 4 ports on your vm you should be good to go.

Now all bets are off for this method (though that is what the question asked) if your application is such that instead of accessing the COM1, COM2 device names, it loads some vendor device driver that wants to directly control the PCI card and its ports. For example, I have some FAX boards that work that way.

If that is the case you will need to look at VMDirectPath. This facility allows you to in effect, dedicate the pci card to a particular virtual machine. As with most things there are some limitations in this approach. Look at http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1010789 for more info on VMDirectPath

Good Luck
0
 
LVL 28

Expert Comment

by:bgoering
ID: 34879813
oh, and the limit is 4 serial ports per virtual machine
0
 
LVL 70

Expert Comment

by:garycase
ID: 34880114
As noted, the limit is 4 ports per virtual machine -- HOWEVER, once a port is directed to a specific VM,. it cannot be used by another VM at the same time.
0
 
LVL 1

Author Comment

by:DareDevilE12
ID: 34880344
As it seems the first solution cannot help me, because I need to see eight serial ports total, four per card.
So bgoering the other solution you mention, for VMDirectPath seems to have possibilities, because as I mention before, the application read the signals from PLC machines, and it very possible to have direct control at the serial cards.

Best Regards
0
 
LVL 28

Assisted Solution

by:bgoering
bgoering earned 1500 total points
ID: 34880383
OK, give it a shot and let us know how it works out for you
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

New style of hardware planning for Microsoft Exchange server.
If you're a modern-day technology professional, you may be wondering if certifications are really necessary. They are. Here's why.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

718 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