On 08/11/2009 08:31 PM, Scott Rohling wrote: > #CP DEFINE NIC 900 TYPE QDIO#CP COUPLE 900 GUESTA MYLAN > > eth2 came up automatically on Linux and once I did the above on both guests > - it worked and I can ping using IP. > > So - can you 'stack' commands using the vmcp within Linux?
Hm, don't know but I fear there will be a race with udev trying to establish your ccwgroup for eth2 as long as you have /etc/sysconfig/network-scripts/ifcfg-eth2 with the parameter SUBCHANNELS=0.0.0900,0.0.0901,0.0.0902. > I believe the > problem is that Linux recognizes the 900 device -- but brings it online > using ifcfg-eth2 before it's actually coupled to the lan - which causes it > to be inoperable. Doing the couple immediately following seems to work -- Nice analysis. > so maybe all I needed was to put the vmcp commands in a script so it > happened soon enough? I define my GuestLANs in profile.exec so I've never run into the problem you encountered with dynamic definition. Defining and coupling before the guest OS runs is the safest choice that comes to my mind. Would that work for you? Otherwise you could define and couple and only then create the ifcfg file, and finally activate it with udevtrigger. Steffen Linux on System z Development IBM Deutschland Research & Development GmbH Vorsitzender des Aufsichtsrats: Martin Jetter Geschäftsführung: Erich Baier Sitz der Gesellschaft: Böblingen Registergericht: Amtsgericht Stuttgart, HRB 243294 ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
