- 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]
Oracle Solutions We believe in delivering tangible results for our customers in a cost-effective manner