17
Copyright © 2007, Oracle. All rights reserved. AD Administration: Non-Interactive Operation, and Maintenance Mode AD Utilities Topics

R12 d49656 gc10-apps dba 14

Embed Size (px)

DESCRIPTION

Oracle Applications, Oracle Database, D49656, Oracle Applications DBA

Citation preview

Page 1: R12 d49656 gc10-apps dba 14

Copyright © 2007, Oracle. All rights reserved.

AD Administration: Non-Interactive Operation, and Maintenance

Mode

AD Utilities Topics

Page 2: R12 d49656 gc10-apps dba 14

Copyright © 2007, Oracle. All rights reserved.1 - 2

Objectives

At the end of this module, you should be able to do the following:

• Create a defaults file

• Run AD Administration in non-interactive mode

• Enable and disable maintenance mode

Page 3: R12 d49656 gc10-apps dba 14

Copyright © 2007, Oracle. All rights reserved.1 - 3

Module Overview

This module consists of the following topics:

• Creating the AD Administration defaults file

• Running AD Administration in non-interactive mode

• Changing maintenance mode

Page 4: R12 d49656 gc10-apps dba 14

Copyright © 2007, Oracle. All rights reserved.1 - 4

Creating AD Administration Defaults File

• Specify defaultsfile=<defaults File Name> on the AD Administration command line

– The defaults file must be located under $APPL_TOP/admin/<SID>

• Run AD Administration through the maintenance task that you would like to run non-interactively in the future

• Verify that your defaults file exists

Page 5: R12 d49656 gc10-apps dba 14

Copyright © 2007, Oracle. All rights reserved.1 - 5

Running AD Administration in Non-Interactive Mode

Non-interactive mode allows the user to schedule AD Administration to run routine tasks

Page 6: R12 d49656 gc10-apps dba 14

Copyright © 2007, Oracle. All rights reserved.1 - 6

Running AD Administration in Non-Interactive Mode

Task that is not supported in non-interactive mode are:

• Convert character set

Page 7: R12 d49656 gc10-apps dba 14

Copyright © 2007, Oracle. All rights reserved.1 - 7

Running AD Administration in Non-Interactive Mode

The command line parameter to run AD Administration in non-interactive mode is interactive=no

Here is an example command to run a non-interactive session of AD Administration:

$ adadmin defaultsfile=$APPL_TOP/admin/\testdb1/defs.txt \logfile=adadmin_noninteractive.log \ workers=5 interactive=n

Page 8: R12 d49656 gc10-apps dba 14

Copyright © 2007, Oracle. All rights reserved.1 - 8

Menu Options

Menu Options AD Administration Task Option

GEN_MESSAGES Generate message files

GEN_FORMS Generate form files

GEN_REPORTS Generate reports files

GEN_JARS Generate product JAR files

RELINK Relink Applications programs

COPY_FILES Copy files to destinations

Page 9: R12 d49656 gc10-apps dba 14

Copyright © 2007, Oracle. All rights reserved.1 - 9

Menu Options

Menu Options AD Administration Task Option

SCAN_APPLTOP Scan the APPL_TOP for exceptions

SCAN_CUSTOM_DIR Scan a CUSTOM directory for exceptions

LIST_SNAPSHOTS List snapshots

UPDATE_CURRENT_VIEW Update current view snapshot

CREATE_SNAPSHOT Create named snapshot

EXPORT_SNAPSHOT Export snapshot to file

IMPORT_SNAPSHOT Import snapshot from file

Page 10: R12 d49656 gc10-apps dba 14

Copyright © 2007, Oracle. All rights reserved.1 - 10

Menu Options

Menu Options AD Administration Task Option

DELETE_SNAPSHOT Delete named snapshot

CHECK_FILES Check for missing files

CMP_INVALID Compile APPS schema

CMP_MENU Compile menu information

CMP_FLEXFIELDS Compile flexfield data in AOL tables

RELOAD_JARS Reload JAR files to database

VALIDATE_APPS Validate APPS schema

CREATE_GRANTS Recreate grants and synonyms for APPS schema

Page 11: R12 d49656 gc10-apps dba 14

Copyright © 2007, Oracle. All rights reserved.1 - 11

Menu Options

Menu Options AD Administration Task Option

MAINTAIN_MLS Maintain multi-lingual tables

CHECK_DUAL Check DUAL table

ENABLE_MAINT_MODE Enable Maintenance Mode

DISABLE_MAINT_MODE Disable Maintenance Mode

Page 12: R12 d49656 gc10-apps dba 14

Copyright © 2007, Oracle. All rights reserved.1 - 12

Maintenance Mode - Introduction

Maintenance mode:

• Must be enabled before patching Oracle Applications

• Improves patching performance

• Restricts users access to system

• Is enabled and disabled using AD Administration

Page 13: R12 d49656 gc10-apps dba 14

Copyright © 2007, Oracle. All rights reserved.1 - 13

Accessing Maintenance Mode

AD Administration Main Menu

-----------------------------------------------

1. Generate Applications Files menu

2. Maintain Applications Files menu

3. Compile/Reload Applications Database Entities

menu

4. Maintain Applications Database Entities menu

5. Change Maintenance Mode

6. Exit AD Administration

Page 14: R12 d49656 gc10-apps dba 14

Copyright © 2007, Oracle. All rights reserved.1 - 14

Change Maintenance Mode

-----------------------------------------------------

Maintenance Mode is currently: Disabled.

Maintenance mode should normally be enabled when patching

Oracle Applications and disabled when users are logged on

to the system. See the Oracle Applications Maintenance

Utilities manual for more information about maintenance

mode.

Please select an option:

1. Enable Maintenance Mode

2. Disable Maintenance Mode

3. Return to Main Menu

Changing Maintenance Mode

Page 15: R12 d49656 gc10-apps dba 14

Copyright © 2007, Oracle. All rights reserved.1 - 15

Module Summary

In this module, you should have learned how

to do the following:

• Create a defaults file

• Run AD Administration in non-interactive mode

• Change the status of Maintenance Mode

Page 16: R12 d49656 gc10-apps dba 14

Copyright © 2007, Oracle. All rights reserved.1 - 16

Module Discussion

• What are the benefits of running AD Administration in non-interactive mode?

• What is the purpose of Maintenance Mode?

Page 17: R12 d49656 gc10-apps dba 14

Copyright © 2007, Oracle. All rights reserved.1 - 17

Module Practice

• Running AD Administration in non-interactive mode

• Changing the status of Maintenance Mode