This information was originally posted to the Linux-390 mailing list on January 23, 2002 by Jim Sibley.
Sharing OSA-E cards is quite simple as the card itself sets up the sharing. No external software, such as OSA/SF is needed. The complications come mostly from OSA2 cards, which require external an external OSA/SF tool to set up the sharing.
Then the number of subchannel addresses needs to be divided up between IP - 2 subchannel addresses for LCS per IP, 3 subchannel addresses for QDIO under VM per IP, and 4 subchannel addresses for QDIO under VM per IP.
Assuming 1 Linux and 1 VM LPAR, the address assignments may be something like:
subchannel LPAR address IP address lparx 4d00 10.32.86.91 4d01 10.32.86.91 4d02 10.32.86.91 vm device lparvm 4d00 10.32.86.92 900 4d01 10.32.86.92 901 4d02 10.32.86.92 902 4d03 10.32.86.93 904 <-- Linux must start on 4d04 10.32.86.93 905 an even address! 4d05 10.32.86.93 906And no, under this scheme, the LPAR that needs the most subchannel/IP addresses cannot use the addresses from the other LPARS, even if they are not used!
As to portname, that is LIC dependent and affects all OS. There is a WCS flash that talks to it. The most often recurring problem seems to be that the CASE has to be the same on all OS and the first OS to IPL sets the portname. So, if VM uses upper case for the portname, Linux must too!