!! Overview [{$pagename}] are IDM driver cache files (#####.TAO) in the [eDirectory DIB directory|Files In Dib Directory] are named by the driver’s [LocalEntryID] on each server.%%warning Be careful TAO files are the IDM driver's cache of events. %% If you just stop it, the TAO file caches events until you start it again. ! [Ndstrace] If the [DirXML-DriverTraceLevel] is >=3\\ DSTRACE +DXML shows caching of events and anything related to the TAO (driver cache) file !! How to Find The driver for the TAO File A little known fact is that the "local ID" is available from LDAP as [LocalEntryID]. Also interestingly, the [localEntryID] is stored in decimal, the same as the file names. So when we look a the the TAO files, they look something like: {{{ l /var/opt/novell/eDirectory/data/dib/*.TAO -rw------- 1 root root 72 Sep 7 10:38 /var/opt/novell/eDirectory/data/dib/44279.TAO -rw------- 1 root root 782 Aug 27 20:06 /var/opt/novell/eDirectory/data/dib/44285.TAO -rw------- 1 root root 72 Aug 23 07:28 /var/opt/novell/eDirectory/data/dib/45670.TAO }}} So we wrote a script does all the work for us. You need to runt he following command first: {{{ LIST=`ls /var/opt/novell/eDirectory/data/dib/*.TAO` }}} This puts the file TAO filenames in the LIST varible. You can check this with: {{{ > echo $LIST /var/opt/novell/eDirectory/data/dib/44279.TAO /var/opt/novell/eDirectory/data/dib/44285.TAO /var/opt/novell/eDirectory/data/dib/45670.TAO }}} Then, use the attached script to determine which file goes with which driver by running: {{{ > ./taofiles.sh $LIST The output will look similar to: 44279.TAO = dn: cn=Generic Loopback,cn=driverSet,ou=idm,dc=willeke,dc=com 44285.TAO = dn: cn=MAD,cn=driverSet,ou=idm,dc=willeke,dc=com 45670.TAO = dn: cn=WorkOrder,cn=driverSet,ou=idm,dc=willeke,dc=com }}} We are pretty sure some of you will come up with imporvements, so let us know. %%prettify {{{ #!/bin/bash # # SCRIPT: taofiles.sh # AUTHOR: jim willeke com # DATE: 6/19/2009 8:55:46 AM T_VER=1.1A # Script Version Number # REV: 1.1.A (Valid are A, B, D, T, Q, and P) # (For Alpha, Beta, Dev, Test, QA, and Production) # # set -n # Uncomment to check script syntax, without execution. # # NOTE: Do not forget to put the # comment back in or # # the shell script will never execute! # set -x # Uncomment to debug this shell script # ########################################################## # DEFINE FILES AND VARIABLES HERE ########################################################## for fullpath in "$@" do filename="${fullpath##*/}" # Strip longest match of */ from start dir="${fullpath:0:${#fullpath} - ${#filename}}" # Substring from 0 thru pos of filename base="${filename%.[^.]*}" # Strip shortest match of . plus at least one non-dot char from end ext="${filename:${#base} + 1}" # Substring from len of base thru end if [[ -z "$base" && -n "$ext" ]]; then # If we have an extension and no base, it's really the base base=".$ext" ext="" fi if [[ $filename == *TAO* ]] then echo $filename = `ldapsearch -h 192.168.1.37 -LLL -b DC=willeke,DC=com -D cn=admin,ou=administration,dc=willeke,dc=com -w secret "(localentryid=$base)" 1.1` fi done exit }}} /% ---- !!Some other Info on TAO Files [http://www.novell.com/communities/node/5616/4-tao-files-and-drivers] [http://www.novell.com/communities/node/8946/keeping-track-tao-files-linux] !! More Information There might be more information for this subject on one of the following: [{ReferringPagesPlugin before='*' after='\n' }]