Re: defining zfcp devices on SLES11

2014-01-29 Thread Grzegorz Powiedziuk
We have exactly same setup so I thought I could share simple scripts I use for automation. You can run it by executing ./script.sh lun_number (script bellow) XIV uses lun numbers is decimal, and zfcp scripts in linux use hex numbers. Script does dec - hex conversion so you can provide a lun

defining zfcp devices on SLES11

2013-12-09 Thread Karl Kingston
We have an XIV connected to 2 switches which in turn is connected to our z10 through 4 adapters. We have defined 5 luns for use under SLES11SP2. Right now, we are using YaST to define all of the connections. This seems to be cumbersome. Is there a way for us to to scan and define each lun

Re: defining zfcp devices on SLES11

2013-12-09 Thread David Kreuter
Certainly. There are ways in both Linux and CMS. I often do this in CMS by attaching the FCP device and running SCSIDISC. David Kreuter. Original Message Subject: defining zfcp devices on SLES11 From: Karl Kingston karlkings...@ongov.net Date: Mon, December 09, 2013 1:57 pm

Re: defining zfcp devices on SLES11

2013-12-09 Thread Steffen Maier
On 12/09/2013 07:57 PM, Karl Kingston wrote: We have an XIV connected to 2 switches which in turn is connected to our z10 through 4 adapters. We have defined 5 luns for use under SLES11SP2. Right now, we are using YaST to define all of the connections. This seems to be cumbersome. Is there

Re: defining zfcp devices on SLES11

2013-12-09 Thread Michael O'Reilly
ist.edu Subject defining zfcp devices on SLES11 12/09/2013 10:57

Re: defining zfcp devices on SLES11

2013-12-09 Thread Mark Post
On 12/9/2013 at 01:57 PM, Karl Kingston karlkings...@ongov.net wrote: We have defined 5 luns for use under SLES11SP2. Right now, we are using YaST to define all of the connections. This seems to be cumbersome. Is there a way for us to to scan and define each lun without having to do

Re: defining zfcp devices on SLES11

2013-12-09 Thread Richard Troth
Karl -- If you know the LUNS and (especially) the storage WWPNs then set things up using /sbin/zfcp_host_configure and /sbin/zfcp_disk_configure If the SAN volumes must be online early then you'll need to re-cut your initial RAM disk with 'mkinitrd' after defining the

Re: defining zfcp devices on SLES11

2013-12-09 Thread Alan Altmark
On Monday, 12/09/2013 at 02:11 EST, Steffen Maier ma...@linux.vnet.ibm.com wrote: (NPIV is a hard requirement for auto LUN scan, the other requirements are best practice because otherwise you would attach everything visible in your fabric which might cause competition for the same LUNs in