Networker

Re: [Networker] Jukebox control port using persistent names

2012-10-25 14:53:21
Subject: Re: [Networker] Jukebox control port using persistent names
From: Francis Swasey <Frank.Swasey AT UVM DOT EDU>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 25 Oct 2012 14:50:58 -0400
Yaron,

Thank you!  I was hoping it would be that simple.

-- Frank


On Oct 25, 2012, at 2:48 PM, Yaron Zabary <yaron AT aristo.tau.ac DOT il> wrote:

> 
>  That's the relevant part from the res file. Just shutdown Networker and edit 
> the res file to point at the right by-id device.
> 
> application key:;
> application name:;
> auto clean: Yes;
> auto media management: No;
> autodetect id: <OVERLANDNEO Series      0636 at SCSI Bus 3 Target 1 LUN 1>;
> available slots: 1-499;
> bar code reader: Yes;
> cleaning delay: 60;
> cleaning slots: 500-500;
> comment:;
> control port: /dev/tape/by-id/scsi-200900de794120009;
> 
> [root@legato nsrdb]# ls -l /dev/tape/by-id/
> total 0
> lrwxrwxrwx 1 root root  9 Oct 14 17:04 scsi-200900de794120009 -> ../../sg7
> lrwxrwxrwx 1 root root  9 Oct 14 17:04 scsi-3500110a00132d026 -> ../../st3
> lrwxrwxrwx 1 root root 10 Oct 14 17:04 scsi-3500110a00132d026-nst -> 
> ../../nst3
> lrwxrwxrwx 1 root root  9 Oct 14 17:04 scsi-3500110a00132d0a2 -> ../../st2
> lrwxrwxrwx 1 root root 10 Oct 14 17:04 scsi-3500110a00132d0a2-nst -> 
> ../../nst2
> lrwxrwxrwx 1 root root  9 Oct 14 17:04 scsi-3500110a00132d17e -> ../../st1
> lrwxrwxrwx 1 root root 10 Oct 14 17:04 scsi-3500110a00132d17e-nst -> 
> ../../nst1
> lrwxrwxrwx 1 root root  9 Oct 14 17:04 scsi-350060b0000b8b366 -> ../../st0
> lrwxrwxrwx 1 root root 10 Oct 14 17:04 scsi-350060b0000b8b366-nst -> 
> ../../nst0
> [root@legato nsrdb]# inquire
> [email protected]:HP      LOGICAL VOLUME  5.14|Disk, /dev/sg1
>                                          S/N: 5001438020EC2A30
>                                          WWNN=600508B1001CDD1754BFA46ABABF5FA6
> [email protected]:HP      P410i           5.14|(Unknown Device Type c), /dev/sg0
>                                          S/N: 5001438020EC2A30
>                                          VENN=5001438020EC2A30
> [email protected]:hp      DVD A  DS8A5LH  1HE4|CD-ROM, /dev/sg2
> [email protected]:HP      Ultrium 4-SCSI  H63H|Tape, /dev/nst0
>                                          S/N: HU175112C3
>                                          ATNN=HP      Ultrium 4-SCSI  
> HU175112C3
>                                          WWNN=50060B0000B8B366
>                                          WWPN=50060B0000B8B364
>                                          WW2N=50060B0000B8B366
>                                          PORT=00000001
> [email protected]:HP      Ultrium 4-SCSI  H63H|Tape, /dev/nst1
>                                          S/N: HU195185CF
>                                          ATNN=HP      Ultrium 4-SCSI  
> HU195185CF
>                                          WWNN=500110A00132D17E
>                                          WWPN=500110A00132D17C
>                                          WW2N=500110A00132D17E
>                                          PORT=00000001
> [email protected]:HP      Ultrium 4-SCSI  H63H|Tape, /dev/nst2
>                                          S/N: HU195185D3
>                                          ATNN=HP      Ultrium 4-SCSI  
> HU195185D3
>                                          WWNN=500110A00132D0A2
>                                          WWPN=500110A00132D0A0
>                                          WW2N=500110A00132D0A2
>                                          PORT=00000001
> [email protected]:HP      Ultrium 4-SCSI  H63H|Tape, /dev/nst3
>                                          S/N: HU195185CK
>                                          ATNN=HP      Ultrium 4-SCSI  
> HU195185CK
>                                          WWNN=500110A00132D026
>                                          WWPN=500110A00132D024
>                                          WW2N=500110A00132D026
>                                          PORT=00000001
> [email protected]:OVERLANDNEO Series      0636|Autochanger (Jukebox), /dev/sg7
>                                          S/N: 1R52100009
>                                          ATNN=OVERLANDNEO Series      
> 1R52100009
>                                          IENN=00900DE794120009
>                                          PORT=00000001
> 
> 
> On 10/25/2012 08:38 PM, Francis Swasey wrote:
>> Has anyone created a jukebox using persistent names yet?  I have a jukebox 
>> attached to my linux system, that since I upgraded to RHEL6 the order the 
>> HBAs initialize is not consistent, so the scsi host number changes from boot 
>> to boot.
>> 
>> I'd delete the jukebox and recreate it using persistent names, but with 1400 
>> tapes in the blasted thing it would take two or three days for the 
>> obligatory first inventory, and I can't afford that much downtime.
>> 
>> I've had an issue open with EMC since Monday, but so far, the people I am 
>> talking too just keep reiterating that I need to set up persistent binding.  
>> Even though I keep explaining to them that it is not the order the devices 
>> attached to the HBA are initialized but rather the actual order the HBAs are 
>> getting initialized, and persistent binding is not going to help me with 
>> that (or else I completely misunderstand persistent binding).  I keep asking 
>> them what is the control port value in a jukebox that is set up using 
>> persistent naming.  They don't have an answer.  /sigh
>> 
>> So, if any of you have created a jukebox using the persistent naming option, 
>> would you be kind enough to tell me if the control port defined for the 
>> jukebox is something other than "[email protected]"?
>> 
>> Thanks,
>> -- Frank
>> 
> 
> 
> -- 
> 
> -- Yaron.