Skip to main content

Oracle E-Business Suite Maintenance

Select File System for maintenance:
As pre-12.2 Oracle E-Business Suite releases has one file system, there was no choice about where maintenance activities had to be carried out from.
Use of a dual file system in Release 12.2 has required the introduction of a Configuration Change Detector, which automatically detects when changes are made to one file system and replicates them to the other.
Patching cycle is in progress:
During this time maintenance tasks should be performed on the patch file system. If for some reason you need to perform such tasks on the run file system, you must either complete or abort the patching cycle first.
No patching cycle is in progress:
Maintenance tasks should be performed on run file system, then clone the run file system to the patch file system using the adop fs_clone command OR adop will run this command automatically in the prepare phase of the next patching cycle, which could increase time for patching cycle.

Generating Files:
File Types - form, report, message, and JAR (Java archive) files. Need to generate files - file is missing, license additional product.

Note: AD utilities can't be run in parallel with each other. For example, adadmin should not be run when adop is running on any of the nodes in the system.
In addition, parallel sessions of the same utility should not be run. For example, two parallel adadmin sessions can't be run either on the same node or different nodes in the system. The only exception to this is adop, which can safely be run in parallel on multiple nodes.
Setting the Environment:
Remember that there are two file systems in Release 12.2, run and patch. The environment must be set correctly on both.

1. Log in as applmgr (Applications file system owner).
2. Run the environment file for the current APPL_TOP and database.
File is typically APPL_TOP/APPS<CONTEXT_NAME>.env
APPS<CONTEXT_NAME>.env
3. If you have made any changes to the environment, check environment
$ echo $TWO_TASK
$ echo $ORACLE_HOME
$ echo $PATH
4. Ensure that there is 50 MB in the temporary directories denoted by $APPLTMP and, /tmp.
5. If you are running an AD utility to relink or update Oracle EBS product files or modify Oracle EBS DB objects, shut down the concurrent manager, Web server listeners, forms server listeners if the files are on a node that contains the associated servers.
If the files are on the node that contains the concurrent processing server, shut down the concurrent managers.
Starting a Utility:
Start AD Administration
$ adadmin
Exiting Utility:
When menu-driven utilities complete a processing task, they return you to the main menu, where you either choose another process or Exit.
adop, AD Merge Patch, and File Character Set Converter exits automatically when processing is complete.
Stopping Utility:
Before it begins processing tasks, you can stop a utility by entering abort at any prompt.

Restarting a Utility:
You can restart a utility by entering the executable name on the command line.
The utility prompts you to do one of the following:
• Continue Session (the default)
The utility checks the progress of the previous session in the restart files, and begins processing at the point where your last session stopped.
• Start New Session
The utility asks you to confirm your choice if you choose not to continue the previous session. It starts the process from the beginning.

Comments

Popular posts from this blog

MySQL InnoDB cluster troubleshooting | commands

Cluster Validation: select * from performance_schema.replication_group_members; All members should be online. select instance_name, mysql_server_uuid, addresses from  mysql_innodb_cluster_metadata.instances; All instances should return same value for mysql_server_uuid SELECT @@GTID_EXECUTED; All nodes should return same value Frequently use commands: mysql> SET SQL_LOG_BIN = 0;  mysql> stop group_replication; mysql> set global super_read_only=0; mysql> drop database mysql_innodb_cluster_metadata; mysql> RESET MASTER; mysql> RESET SLAVE ALL; JS > var cluster = dba.getCluster() JS > var cluster = dba.getCluster("<Cluster_name>") JS > var cluster = dba.createCluster('name') JS > cluster.removeInstance('root@<IP_Address>:<Port_No>',{force: true}) JS > cluster.addInstance('root@<IP add>,:<port>') JS > cluster.addInstance('root@ <IP add>,:<port> ') JS > dba.getC

MySQL slave Error_code: 1032 | MySQL slave drift | HA_ERR_KEY_NOT_FOUND

MySQL slave Error_code: 1032 | MySQL slave drift: With several MySQL, instance with master slave replication, I have one analytics MySQL, environment which is larger in terabytes, compared to other MySQL instances in the environment. Other MySQL instances with terabytes of data are running fine master, slave replication. But this analytics environment get started generating slave Error_code :1032. mysql> show slave status; Near relay log: Error_code: 1032; Can't find record in '<table_name>', Error_code: 1032; handler error HA_ERR_KEY_NOT_FOUND; the event's master log <name>-bin.000047, end_log_pos 5255306 Near master section: Could not execute Update_rows event on table <db_name>.<table_name>; Can't find record in '<table_name>', Error_code: 1032; Can't find record in '<table_name>', Error_code: 1032; handler error HA_ERR_KEY_NOT_FOUND; the event's master log <name>-bin.000047, end_l

InnoDB cluster Remove Instance Force | Add InnoDB instance

InnoDB cluster environment UUID is different on node: To fix it stop group replication, remove instance (use force if require), add instance back Identify the node which is not in sync: Execute following SQL statement on each node and identify the node has different UUID on all nodes. mysql> select * from mysql_innodb_cluster_metadata.instances; Stop group replication: Stop group replication on the node which does not have same UUID on all nodes. mysql > stop GROUP_REPLICATION; Remove instances from cluster: Remove all secondary node from the cluster and add them back if require. $mysqlsh JS >\c root@<IP_Address>:<Port_No> JS > dba.getCluster().status() JS > dba.getCluster () <Cluster:cluster_name> JS > var cluster = dba.getCluster("cluster_name"); JS >  cluster.removeInstance('root@<IP_Address>:<Port_No>'); If you get "Cluster.removeInstance: Timeout reached waiting......" JS > cluster.removeInstance(&#