Thursday 24 November 2011

AD Relink (adrelink.sh)



AD Relink is used to relink AD executables. The other executables must be relinked using adadmin.

This must be done when:
  • the executable programs become corrupt
  • the executable programs are accidentally deleted
  • the server libraries are updated
NOTE: If an executable needs to be relinked during a patching this will be done automatically by AutoPatch. 



The owner of the Middle-Tier (applmgr)



adrelink force={y|n} [<optional args>] <targets>    => to relink programs individually
or:
adrelink force={y|n} [<optional args>] filelist=<file>    => to relink many programs (are written in a "filelist" file)

where
 <targets> = { <product module> [<product module>] ... }
 <product module> = "<product> <module name>"
- <product> should be in lower case
- <module name> should exactly match the executable name

Valid <optional args> are:

envfile=adsetenv.sh
Used only by the 'adsetup' script
link_debug={y|n}
Will we link executables with debug or not? Default is 'n'

backup_mode={none|all|file}
Which executables will we back up when linking with force=y?

Default is 'file'. Meanings are:
- none: do not back up any executables
- all : back up all executables
- file: do what $APPL_TOP/admin/adlinkbk.txt says to do
NOTES: 
a) force={y|n} is used to specify whether to relink regardless of the status of the library or object files.

b) adrelink.sh is situated in $AD_TOP/bin/ directory.


More Information:

1 comment:

naguakkina said...

More information on apps DBA
Visit: http://way2apps.blogspot.com