The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Prevent output to window katrvu Shell Programming and Scripting 3 02-20-2008 10:52 AM
Prevent ftp usage NineInch AIX 1 03-03-2006 09:16 PM
SSH - prevent roaming around the server Bab00shka Security 2 03-03-2006 05:41 AM
how to prevent deadlock on this... yimab High Level Programming 5 10-11-2005 05:57 PM
Prevent bash from interpretation : uday UNIX for Dummies Questions & Answers 7 06-25-2002 10:35 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 03-25-2008
Registered User
 

Join Date: Mar 2008
Posts: 13
How to prevent /dev/rmt* re-assignments

Hi all,

Sometimes, when I reboot my AIX server, my tape drive /dev/rmt# assignments change. This creates some tedious TSM work prior to and after a reboot of the server.
Is there a way to ensure that the /dev/rmt# assignments come up the same every time?

Thanks
Reply With Quote
Forum Sponsor
  #2  
Old 03-25-2008
Bughunter Extraordinaire
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,262
hmmm, coming up every time the same *is* the default behavior. There must be something wrong with your machine.

I can only guess, but i suspect that something with the ODM is wrong and therefore the cfgmgr which runs at boot time tries (probably in vain) to correct that. Maybe the following helps: completely remove the tape drive from the ODM (use "rmdev -dl" generously) and make sure the tape drive shows up nowhere in the ODM (check CuAt and PdDv tables primarily). Then reboot the machine so that the drives configuration is written anew.

I hope this helps.

bakunin
Reply With Quote
  #3  
Old 03-25-2008
grial's Avatar
El UNIX es como un toro
 

Join Date: Jun 2006
Location: Madrid (Spain)
Posts: 531
Helo.
First of all, I'm not an expert in backup but here the experts have configured a script that, everytime the TSM server reboots, configures the tapes. It basically deletes the tape devices and then, hba by hba, configures them again, changing "alt_pathing" into "yes" when appropriate. This process, I think, depends on your configuration and must be mantained by hand.
I hope this helps.
Regards.
Reply With Quote
  #4  
Old 03-25-2008
Registered User
 

Join Date: Mar 2008
Posts: 13
Thanks for the input... interesting posts. One states: "must be something wrong with machine", other states: "... everytime the server reboots, we reconfigure...".
Apparently, I'm not the only one who is seeing this behavior.
Reply With Quote
  #5  
Old 03-25-2008
Bughunter Extraordinaire
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,262
Quote:
Originally Posted by jwholey View Post
One states: "must be something wrong with machine",
hm, this meant only that the reason is not something in AIX but in your machine. "wrong" was probably a stretch. For instance, hdisk devices (which are similar insofar as several equivalent ones are usually there) aren't changing every reboot either.

Maybe there is some script which deletes and reconfigures the devices upon (re)-boot time for some unknown reason?

bakunin
Reply With Quote
  #6  
Old 03-30-2008
Registered User
 

Join Date: Feb 2008
Posts: 8
Hi

That is not the normal behavior of AIX. Different from Solaris where you have to make a persistent binding of the tape devices, AIX it's supposed to save all information about devices in the ODM DB so in the next reboot it will configure devices still connected based on information of that ODM.

You can use commands in order to review contents of your ODM:

odmget CuAt > /tmp/cuat
odmget CuDep > /tmp/cudep
odmget CuDv > /tmp/cudv
odmget CuDvDr > /tmp/cudvdr
odmget CuVPD > /tmp/cuvpd

is this environment a LPAR ?? if so, adapter where rmt devices are connected (either SCSI or HBA) is a desired or required resource at LPAR configuration ?

Hope this helps
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
solaris

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 06:55 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0