Saturday, December 12, 2009

Using a defaults file

Why  is it required?


While running adadmin / adctrl ,  instead of responding to prompts  every time manually,

We can provide a file, called defaults file, with the answers for the prompts -----

Then Ad-utilities proceed  without prompting for answers...


How to create a defaults file ??

Run adadmin as follows for the first time, which creates the defaults file


$ adadmin defaultsfile=$APPL_TOP/admin/SID/kkdefaults.txt


Select a Menu and perform a task.


Now the defaults file got created….

Using the defaults file------

Run adadmin non-interactively as follows------


$ adadmin  interactive=n defaultsfile= $APPL_TOP/admin/SID/kkdefaults.txt   logfile=xxxxx.log   workers=8    menu_option=CHECK_DUAL

Restart a Failed Session in non-interactive mode------

Add ------->>>>>       restart=y   --------- to above commnad


  This option restarts the previous session without asking you again…...

No comments:

Post a Comment