persistently bind an autochanger


 
Thread Tools Search this Thread
Operating Systems Solaris persistently bind an autochanger
# 1  
Old 05-05-2007
persistently bind an autochanger

Hi,
I'm trying to persistently bind an auto changer connected to my server over fiber. the reason I wanna to that because every time I reboot my server the OS gives a different SCSI id to the device files which causes problems with Legato Networker (the backup Application) I have to reconfigure the jukebox all over again which a pain in the ass. the closest I got to solve this problem is by persistent binding on the HBA level. to do that I need to compile a line and put it in the qla.conf the syntax if this line as follows:

hba<#>-SCSI-target-id-<#>-fibre-channel-port-name="<device WWPN>";

I got the hba # from /etc/path_to_inst and the device WWPN from the command inquire but I couldn't get the SCS-target-id.

Could somebody help me to get the SCSI-target-id? or suggest a solution for this problem.

Thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Bind

Hi All I need to do bind of exiting filesystem to new storage allocated mount --bind /prod/OpenCSS /var/lib/test echo "/prod/OpenCSS /var/lib/pgsql bind bind 0 0" >> /etc/fstab will this command just work ? (2 Replies)
Discussion started by: anil529
2 Replies

2. UNIX for Dummies Questions & Answers

Can't bind to IP

When you get the message can't bind to ip already in use. is there a command to search to see everything that is using that IP? I've already check the host and hostname files (2 Replies)
Discussion started by: mchelle_99
2 Replies

3. Red Hat

BIND configuration

I have problems with a simple BIND configuration in CentOS. I have a static public IP 1.1.1.1 and I recently bought a domain name gigi.com. I just want that gigi.com points to 1.1.1.1 (Apache Web Server). This is how my named.conf file looks: options { directory "/var/named"; }; ... (0 Replies)
Discussion started by: pasadia
0 Replies

4. UNIX for Dummies Questions & Answers

mount --bind

I read it create hard link but I want to be sure, what does this command do exactly? Thank in advance. (1 Reply)
Discussion started by: programAngel
1 Replies

5. Solaris

bind error

Hi, When I use the ldapadd command I get this error. ldap_simple_bind: Conidentiality required ldap_simple_bind: additional info: confidentiality required I was able to use this command and the ldapsearch command yesterday just fine. I think I may have made a change to a file, but I don't... (2 Replies)
Discussion started by: bitlord
2 Replies

6. IP Networking

The third argument of bind()

int bind(int socket, const struct sockaddr *address, socklen_t address_len); Man page says it specifies the length of the sockaddr structure pointed to by the address argument. But why bind() can't figure out the length itself, since the first member (eg:AF_INET or... (4 Replies)
Discussion started by: vistastar
4 Replies

7. UNIX for Advanced & Expert Users

DNS Bind

Hello, I have a question about dns file zone. Every zone file begins like: @ 86400 IN SOA ns1.website.com. admin@website.com. ( It means that name server ns1 is responsible for this zone. At the ending I can add the records like mysite.com IN A 1.2.3.4 So it will... (2 Replies)
Discussion started by: mirusnet
2 Replies

8. UNIX for Advanced & Expert Users

Scalar i500 can see tape drives but not autochanger

We have a new i500 and have 4 TLO4 drives which are connected directly to 2 FC cards on the host. The host can communicate with the autochanger through whichever drive that is set as control path. When I run inquire, all 4 drives are listed but auto changer doesn't show up. Does anyone know... (1 Reply)
Discussion started by: tecky
1 Replies

9. UNIX for Advanced & Expert Users

Bind failure

Hi all, I am using Perl program to do socket communication. My application has to use port 40001 this is a condition I can't change the port. The execution of this script always gave an error 'Bind failure port already in use' netstat execution gives below line: udp 0 0 ... (5 Replies)
Discussion started by: zing_foru
5 Replies

10. AIX

Bind and AIX

I am attempting to set up bind on an AIX 5.3 machine. I ahve created a named.conf, db.cache (for root domain and hint file) and a db.domainname file for the host entries. However, when I set my pc to use the AIX box as it's dns server, I can not resolve names. Is there anything obvious maybe I... (0 Replies)
Discussion started by: zuessh
0 Replies
Login or Register to Ask a Question
callbacks(3)						User Contributed Perl Documentation					      callbacks(3)

NAME
Tk::callbacks - Specifying code for Tk to call. SYNOPSIS
One can specify a callback in one of the following ways: Without arguments: ... => &subname, ... ... => sub { ... }, ... ... => 'methodname', ... or with arguments: ... => [ &subname, args ... ], ... ... => [ sub { ... }, args... ], ... ... => [ 'methodname', args... ], ... DESCRIPTION
Perl/Tk has a callback, where Tcl/Tk has a command string (i.e. a fragment of Tcl to be executed). A perl/Tk callback can take one of the following basic forms: o Reference to a subroutine "&subname" o Anonymous subroutine (closure) "sub { ... }" o A method name 'methodname' Any of these can be provided with arguments by enclosing them and the arguments in []. Here are some examples: $mw->bind($class, "<Delete>" => 'Delete'); This will call $widget->Delete, the $widget being provided (by bind) as the one where the Delete key was pressed. While having bind provide a widget object for you is ideal in many cases it can be irritating in others. Using the list form this behaviour can be modified: $a->bind("<Delete>",[$b => 'Delete']); because the first element $b is an object bind will call $b->Delete. Note that method/object ordering only matters for "bind" callbacks, the auto-quoting in perl5.001 makes the first of these a little more readable: $w->configure(-yscrollcommand => [ set => $ysb]); $w->configure(-yscrollcommand => [ $ysb => 'set' ]); but both will call $ysb->set(args provided by Tk) Another use of arguments allows you to write generalized methods which are easier to re-use: $a->bind("<Next>",['Next','Page']); $a->bind("<Down>",['Next','Line']); This will call $a->Next('Page') or $a->Next('Line') respectively. Note that the contents of the "[]" are evaluated by perl when the callback is created. It is often desirable for the arguments provided to the callback to depend on the details of the event which caused it to be executed. To allow for this callbacks can be nested using the "Ev(...)" "constructor". "Ev(...)" inserts callback objects into the argument list. When perl/Tk glue code is preparing the argument list for the callback it is about to call it spots these special objects and recursively applies the callback process to them. EXAMPLES
$entry->bind('<Return>' => [$w , 'validate', Ev(['get'])]); $toplevel->bind('all', '<Visibility>', [&unobscure, Ev('s')]); $mw->bind($class, '<Down>', ['SetCursor', Ev('UpDownLine',1)]); SEE ALSO
Tk::bind Tk::after Tk::options Tk::fileevent KEYWORDS
callback, closure, anonymous subroutine, bind perl v5.16.3 2014-06-10 callbacks(3)