The parts about "in /etc/sysconfig/hardware add file hwcfg-zfcp-bus-ccw-0.0." are for SLES9 and 10.
It's different on SLES 11 where, if I recall correctly?, the first time you run zfcp_host_configure hba 1 and zfcp_disk_configure hba wwpn lun 1 to put the hba and LUN online makes udev create some udev rule(s) for the hba and LUN and udev uses the rules at boot time to automatically bring the hba and LUN online. You could also use Yast and avoid the underlying details. > -----Original Message----- > From: Linux on 390 Port [mailto:[email protected]] On Behalf Of > Harder, Pieter > Sent: Wednesday, November 04, 2009 9:14 AM > To: [email protected] > Subject: Re: DS8100 AS SCSI MODE > > I assume you want path failover/loadbalancing. Then you want 2 FCP > addresses attached to your Linux. In my samples they are 4006 and 5006. > > In your z/VM user directory add: > DEDICATE 4006 4006 > DEDICATE 5006 5006 > Or do the equivalent manual attach from an authorized user: > ATTACH 4006 <Linux guest> 4006 > ATTACH 5006 <Linux guest> 5006 > > Do q fcp att <Linux guest> > FCP 4006 ATTACHED TO SAP005 4006 CHPID 35 > WWPN C05076FD88800270 > FCP 5006 ATTACHED TO SAP005 5006 CHPID 39 > WWPN C05076FD88800378 > The two wwpn's are what you need to authorize access on the DS8100 for > the host connection. > > Then in /etc/sysconfig/hardware add file hwcfg-zfcp-bus-ccw-0.0.4006: > > #!/bin/sh > # > # hwcfg-zfcp-bus-ccw-0.0.4006 > # > # Configuration for the zfcp adapter at CCW ID 0.0.4006 > # > > STARTMODE="auto" > MODULE="zfcp" > MODULE_OPTIONS="" > MODULE_UNLOAD="yes" > > # Scripts to be called for the various events. > # If called manually the event is set to 'up'. > SCRIPTUP="hwup-ccw" > SCRIPTUP_ccw="hwup-ccw" > SCRIPTUP_scsi_host="hwup-zfcp" > SCRIPTDOWN="hwdown-scsi" > SCRIPTDOWN_scsi="hwdown-zfcp" > > # Configured zfcp disks > ZFCP_LUNS=" > 0x50050763030306a1:0x4014400400000000" > > Ditto for file /etc/sysconfig/hardware/hwcfg-zfcp-bus-ccw-0.0.5006 > > #!/bin/sh > # > # hwcfg-zfcp-bus-ccw-0.0.5006 > # > # Configuration for the zfcp adapter at CCW ID 0.0.5006 > # > > STARTMODE="auto" > MODULE="zfcp" > MODULE_OPTIONS="" > MODULE_UNLOAD="yes" > > # Scripts to be called for the various events. > # If called manually the event is set to 'up'. > SCRIPTUP="hwup-ccw" > SCRIPTUP_ccw="hwup-ccw" > SCRIPTUP_scsi_host="hwup-zfcp" > SCRIPTDOWN="hwdown-scsi" > SCRIPTDOWN_scsi="hwdown-zfcp" > > # Configured zfcp disks > ZFCP_LUNS=" > 0x50050763030806a1:0x4014400400000000" > > The address pair 0x50050763030306a1:0x4014400400000000 and > 0x50050763030806a1:0x4014400400000000 of course being dependent on your > local hardware. You need the wwpn's on the DS8100 your are granting > access on for the host connection. The lun number 4014400400000000 is > built from DS8100 id 1404. So 40, first id byte, 40, second id byte, > fill out with zeroes. > > I assume you know your way around on the DS8100. If not come back for > more details. > > Best regards, > Pieter Harder > > [email protected] > tel +31-73-6837133 / +31-6-47272537 > > -----Oorspronkelijk bericht----- > Van: Linux on 390 Port [mailto:[email protected]] Namens Tony > Bergenza > Verzonden: woensdag 4 november 2009 8:51 > Aan: [email protected] > Onderwerp: DS8100 AS SCSI MODE > > Hi all, > If someone share infomation about the procedure to configure DS8100 in > SCSI > mode with ZVM 5.4 to be used by Suse Z/Linux. > Thanks & Regards > Tony > > ---------------------------------------------------------------------- > 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 > > Brabant Water N.V. > Postbus 1068 > 5200 BC 's-Hertogenbosch > http://www.brabantwater.nl > Handelsregister: 16005077 > > ---------------------------------------------------------------------- > 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 This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. ---------------------------------------------------------------------- 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
