- Adctrl is one of the ad-utilities, which is used to check the status of workers and to manage the workers.
We can skip a worker using option 8 in adctrl which is hidden. We will go for skipping a worker when we have executed the job which the worker is supposed to do.
[/et_pb_toggle][et_pb_toggle _builder_version=”3.0.52″ title=”How adpatch knows what are the pre-requisite for the patch which it is applying?” open=”off” use_background_color_gradient=”on” border_style=”ridge” background_color=”#ffffff” title_font=”Montserrat|on||on|” title_text_color=”#ffffff” body_font=”Montserrat||||” body_font_size=”15″ background_color_gradient_end=”#000000″ background_color_gradient_direction=”181deg” use_border_color=”on” icon_color=”#0c71c3″ title_font_size=”18″ body_line_height=”1em” border_width=”3px” background_color_gradient_start=”#ffffff” open_toggle_text_color=”#ff0000″ body_text_color=”#ffffff”]With every patch there is a file called b.ldt file which contains the pre-requisite information. Adpatch load this into database using FNDLOAD and check, whether those pre-requisite patches were applied or not.
[/et_pb_toggle][et_pb_toggle _builder_version=”3.0.52″ title=”What is FNDLOAD ?” open=”off” use_background_color_gradient=”on” border_style=”ridge” background_color=”#ffffff” title_font=”Montserrat|on||on|” title_text_color=”#ffffff” body_font=”Montserrat||||” body_font_size=”15″ background_color_gradient_end=”#000000″ background_color_gradient_direction=”181deg” use_border_color=”on” icon_color=”#0c71c3″ title_font_size=”18″ body_line_height=”1em” border_width=”3px” background_color_gradient_start=”#ffffff” open_toggle_text_color=”#ff0000″ body_text_color=”#ffffff”]FNDLOAD is a utility which is similar to SQL-LOADER but loads code objects into database, where as SQL-LOADER loads data objects into database.
[/et_pb_toggle][et_pb_toggle _builder_version=”3.0.52″ title=”What C-driver will do?” open=”off” use_background_color_gradient=”on” border_style=”ridge” background_color=”#ffffff” title_font=”Montserrat|on||on|” title_text_color=”#ffffff” body_font=”Montserrat||||” body_font_size=”15″ background_color_gradient_end=”#000000″ background_color_gradient_direction=”181deg” use_border_color=”on” icon_color=”#0c71c3″ title_font_size=”18″ body_line_height=”1em” border_width=”3px” background_color_gradient_start=”#ffffff” open_toggle_text_color=”#ff0000″ body_text_color=”#ffffff”]C-driver copies the files from patch unzipped directory to required location in the application file system. Before copying, it will check the file version of the existing file at the file system with file version in the patch. If the patch file version is higher than the file at file system level, only then C-driver will copy that files.
[/et_pb_toggle][et_pb_toggle _builder_version=”3.0.52″ title=”How adpatch will know the file versions of the patch delivered files?” open=”off” use_background_color_gradient=”on” border_style=”ridge” background_color=”#ffffff” title_font=”Montserrat|on||on|” title_text_color=”#ffffff” body_font=”Montserrat||||” body_font_size=”15″ background_color_gradient_end=”#000000″ background_color_gradient_direction=”181deg” use_border_color=”on” icon_color=”#0c71c3″ title_font_size=”18″ body_line_height=”1em” border_width=”3px” background_color_gradient_start=”#ffffff” open_toggle_text_color=”#ff0000″ body_text_color=”#ffffff”]With each patch a file with name f.ldt is delivered , which contain the file versions. Adpatch will use this file to compare the file versions with the file on file system.
[/et_pb_toggle][et_pb_toggle _builder_version=”3.0.52″ title=”What is the adpatch log file location?” open=”off” use_background_color_gradient=”on” border_style=”ridge” background_color=”#ffffff” title_font=”Montserrat|on||on|” title_text_color=”#ffffff” body_font=”Montserrat||||” body_font_size=”15″ background_color_gradient_end=”#000000″ background_color_gradient_direction=”181deg” use_border_color=”on” icon_color=”#0c71c3″ title_font_size=”18″ body_line_height=”1em” border_width=”3px” background_color_gradient_start=”#ffffff” open_toggle_text_color=”#ff0000″ body_text_color=”#ffffff”]$APPL_TOP/admin/[SID-name]/log
[/et_pb_toggle][et_pb_toggle _builder_version=”3.0.52″ title=”What are the different modes you can run your adpatch?” open=”off” use_background_color_gradient=”on” border_style=”ridge” background_color=”#ffffff” title_font=”Montserrat|on||on|” title_text_color=”#ffffff” body_font=”Montserrat||||” body_font_size=”15″ background_color_gradient_end=”#000000″ background_color_gradient_direction=”181deg” use_border_color=”on” icon_color=”#0c71c3″ title_font_size=”18″ body_line_height=”1em” border_width=”3px” background_color_gradient_start=”#ffffff” open_toggle_text_color=”#ff0000″ body_text_color=”#ffffff”]a) Interactive – default mode
b) Non interactive – Use defaults files to store prompt values (adpatch defaultsfile= interactive=no)
b) Test – Without actually applying a patch just to check. (adpatch apply=no)
[/et_pb_toggle][et_pb_toggle _builder_version=”3.0.52″ title=”What is autoconfig?” open=”off” use_background_color_gradient=”on” border_style=”ridge” background_color=”#ffffff” title_font=”Montserrat|on||on|” title_text_color=”#ffffff” body_font=”Montserrat||||” body_font_size=”15″ background_color_gradient_end=”#000000″ background_color_gradient_direction=”181deg” use_border_color=”on” icon_color=”#0c71c3″ title_font_size=”18″ body_line_height=”1em” border_width=”3px” background_color_gradient_start=”#ffffff” open_toggle_text_color=”#ff0000″ body_text_color=”#ffffff”]
Autoconfig is an adutility which is used to maintain application environment and configuration files.
[/et_pb_toggle][et_pb_toggle _builder_version=”3.0.52″ title=”What are the parameter autoconfig will ask for?” open=”off” use_background_color_gradient=”on” border_style=”ridge” background_color=”#ffffff” title_font=”Montserrat|on||on|” title_text_color=”#ffffff” body_font=”Montserrat||||” body_font_size=”15″ background_color_gradient_end=”#000000″ background_color_gradient_direction=”181deg” use_border_color=”on” icon_color=”#0c71c3″ title_font_size=”18″ body_line_height=”1em” border_width=”3px” background_color_gradient_start=”#ffffff” open_toggle_text_color=”#ff0000″ body_text_color=”#ffffff”]Context file name and APPS user password.
[/et_pb_toggle][et_pb_toggle _builder_version=”3.0.52″ title=”What is context file?” open=”off” use_background_color_gradient=”on” border_style=”ridge” background_color=”#ffffff” title_font=”Montserrat|on||on|” title_text_color=”#ffffff” body_font=”Montserrat||||” body_font_size=”15″ background_color_gradient_end=”#000000″ background_color_gradient_direction=”181deg” use_border_color=”on” icon_color=”#0c71c3″ title_font_size=”18″ body_line_height=”1em” border_width=”3px” background_color_gradient_start=”#ffffff” open_toggle_text_color=”#ff0000″ body_text_color=”#ffffff”]Context file is a central repository, which stores all application configuration information.
[/et_pb_toggle][et_pb_toggle _builder_version=”3.0.52″ title=”How you will find autoconfig is enabled/not for your applications?” open=”off” use_background_color_gradient=”on” border_style=”ridge” background_color=”#ffffff” title_font=”Montserrat|on||on|” title_text_color=”#ffffff” body_font=”Montserrat||||” body_font_size=”15″ background_color_gradient_end=”#000000″ background_color_gradient_direction=”181deg” use_border_color=”on” icon_color=”#0c71c3″ title_font_size=”18″ body_line_height=”1em” border_width=”3px” background_color_gradient_start=”#ffffff” open_toggle_text_color=”#ff0000″ body_text_color=”#ffffff”]- Open any .env or configuration files, the first few lines will tell u that this files are maintained by autoconfig.
- If contextname.xml file is there in $APPL_TOP/admin
- Autoconfig will go to each and every top template directory take the templates from there and fill the values from context.xml file and create the required files.
It will check for the corrupted objects in apps schema
[/et_pb_toggle][et_pb_toggle _builder_version=”3.0.52″ title=”What is “Compile APPS Schema” option in adadmin?” open=”off” use_background_color_gradient=”on” border_style=”ridge” background_color=”#ffffff” title_font=”Montserrat|on||on|” title_text_color=”#ffffff” body_font=”Montserrat||||” body_font_size=”15″ background_color_gradient_end=”#000000″ background_color_gradient_direction=”181deg” use_border_color=”on” icon_color=”#0c71c3″ title_font_size=”18″ body_line_height=”1em” border_width=”3px” background_color_gradient_start=”#ffffff” open_toggle_text_color=”#ff0000″ body_text_color=”#ffffff”]It will compile the invalid database objects.
[/et_pb_toggle][et_pb_toggle _builder_version=”3.0.52″ title=”How to find invalid objects in database?” open=”off” use_background_color_gradient=”on” border_style=”ridge” background_color=”#ffffff” title_font=”Montserrat|on||on|” title_text_color=”#ffffff” body_font=”Montserrat||||” body_font_size=”15″ background_color_gradient_end=”#000000″ background_color_gradient_direction=”181deg” use_border_color=”on” icon_color=”#0c71c3″ title_font_size=”18″ body_line_height=”1em” border_width=”3px” background_color_gradient_start=”#ffffff” open_toggle_text_color=”#ff0000″ body_text_color=”#ffffff”]select count(*) from dba_objects where status=’INVALID’;
[/et_pb_toggle][et_pb_toggle _builder_version=”3.0.52″ title=”What is adrelink?” open=”off” use_background_color_gradient=”on” border_style=”ridge” background_color=”#ffffff” title_font=”Montserrat|on||on|” title_text_color=”#ffffff” body_font=”Montserrat||||” body_font_size=”15″ background_color_gradient_end=”#000000″ background_color_gradient_direction=”181deg” use_border_color=”on” icon_color=”#0c71c3″ title_font_size=”18″ body_line_height=”1em” border_width=”3px” background_color_gradient_start=”#ffffff” open_toggle_text_color=”#ff0000″ body_text_color=”#ffffff”]Adrelink will relink the executables with the libraries. Generally we go for adrelink when some patch delivers some library files, or when executable were corrupted.
[/et_pb_toggle][et_pb_toggle _builder_version=”3.0.52″ title=”What is adodfcmp utility?” open=”off” use_background_color_gradient=”on” border_style=”ridge” background_color=”#ffffff” title_font=”Montserrat|on||on|” title_text_color=”#ffffff” body_font=”Montserrat||||” body_font_size=”15″ background_color_gradient_end=”#000000″ background_color_gradient_direction=”181deg” use_border_color=”on” icon_color=”#0c71c3″ title_font_size=”18″ body_line_height=”1em” border_width=”3px” background_color_gradient_start=”#ffffff” open_toggle_text_color=”#ff0000″ body_text_color=”#ffffff”]This utility is used to recreate/repair corrupted database objects from ODF(object definition files) files.
[/et_pb_toggle][/et_pb_column][/et_pb_row][/et_pb_section]