Thursday, 5 August 2021

 

Deleting an Application Tier Nodes in Multi Tier environment EBS 12.2


There are some cases where we do wrong configuration of system then we need to cleanup that node and then add it back / if nodes have been abandoned then also we need to follow delete and add and there are many cases where we will be using simple script for deletion of the node.


If Host is accessible :


$ perl $AD_TOP/patch/115/bin/adProvisionEBS.pl ebs-delete-node -contextfile=$CONTEXT_FILE


If host is not accessible then run below from other node.


$ perl $AD_TOP/patch/115/bin/adProvisionEBS.pl ebs-delete-node -contextfile=$CONTEXT_FILE -hostname=<Host2bdeleted>


Things it will take care :


1. It checks the admin server in both RUN & PATCH file system


2. Cleaning up database topology information for node Host mentioned in both RUN & Patch File system.


From AD_NODES_CONFIG_STATUS 1 row deleted successfully.

From fnd_oam_context_files 7 row deleted successfully.

From FND_NODES 1 row deleted successfully.

From ADOP_VALID_NODES 1 row deleted successfully.

Deleting RUN file system configuration information.

Server oacore_server4 deleted successfully.

Server forms_server4 deleted successfully.

Server oafm_server4 deleted successfully.

Server forms-c4ws_server4 deleted successfully.


3. Once all above done it will cleanup OHS


OHS instance EBS_web_<Instance>_Instance_Num unregistered successfully.


 


 

No comments:

Post a Comment