Login  Register

Re: Cloning multinode

Posted by ErmanArslansOracleBlog on Feb 03, 2017; 12:21pm
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/Cloning-multinode-tp2046p2067.html

This document that I m suggesting to you is an Oracle Support Document, but you are afraid and it is normal :)

Okay let's do the steps in Case 1 then.
One by one, step by step and tell me the outcome.

Attention: Execute the ebs-delete-node option of the adProvisionEBS.pl script from the patch file system as follows (this step should be performed only "if you are on R12.TXK.C.Delta.4 or lower"):

So if you are > delta.4 , then you do all the other steps and you skip the ebs-delete-node step.

Case 1: If the secondary node to be deleted is accessible, execute the following steps:

Login to the secondary node to be deleted.

Source the run file system.

Ensure that all application tier services from the run and patch file system for the node to be deleted are shut down.

Execute the ebs-delete-node option of the adProvisionEBS.pl script as follows:
$ perl <AD_TOP>/patch/115/bin/adProvisionEBS.pl ebs-delete-node \
-contextfile=<CONTEXT_FILE> -logfile=<LOG_FILE>
This will delete the managed servers, OHS instances and Node Manager on the current node from the run file system WebLogic domain.

If the node is a non-shared node, verify and remove the following Oracle Home entries from the Oracle Inventory:
<FMW_HOME>/webtier
<FMW_HOME>/oracle_common
<FMW_HOME>/Oracle_EBS-app1

If any of the above Oracle Home entries are already registered in Oracle Inventory, you can execute the following command to de-register or detach that Oracle Home:
$ cd <Oracle Home>/oui/bin
$ ./runInstaller -detachhome ORACLE_HOME=<Oracle Home Location>
For example:
$ cd /u02/r122/fs1/FMW_Home/oracle_common/oui/bin
$ ./runInstaller -detachhome \
ORACLE_HOME=/u02/r122/fs1/FMW_Home/oracle_common -silent
Note: The Oracle Home <FMW_HOME>/webtier should be de-registered from the Oracle Inventory before trying to remove the Oracle Home <FMW_HOME>/oracle_common.

If the node is a non-shared node, verify and remove the following Oracle Home entry from the Oracle Inventory:

<OracleAS Tools 10.1.2 ORACLE_HOME>

If the above Oracle Home entry is registered in Oracle Inventory, you can execute the following command to de-register the Oracle Home:
$ cd <Oracle Home>/oui/bin
$ ./runInstaller -removeHome ORACLE_HOME=<s_tools_oh> -silent
For example:
$ cd /u02/r122/fs1/EBSapps/10.1.2/oui/bin
$ ./runInstaller -removeHome \
ORACLE_HOME=/u02/r122/fs1/EBSapps/10.1.2 -silent
Source the patch file system.
 
Execute the ebs-delete-node option of the adProvisionEBS.pl script from the patch file system as follows (this step should be performed only if you are on R12.TXK.C.Delta.4 or lower):

$ perl <AD_TOP>/patch/115/bin/adProvisionEBS.pl ebs-delete-node \
-contextfile=<PATCH_CONTEXT_FILE> -logfile=<LOG_FILE>
This will delete the managed servers, OHS instances and Node Manager on the current node from the patch file system WebLogic domain. 

If the node is a non-shared node, verify and remove the following Oracle Home entries of the patch file system from the Oracle Inventory:
<FMW_HOME>/webtier
<FMW_HOME>/oracle_common
<FMW_HOME>/Oracle_EBS-app1

Refer to Step 5 above for complete details. 

If the node is a non-shared node, verify and remove the following Oracle Home entry from the Oracle Inventory:

<OracleAS Tools 10.1.2 ORACLE_HOME> 

Refer to Step 6 above for complete details.

2017-02-03 12:35 GMT+03:00 latifa [via Erman Arslan's Oracle Forum] <[hidden email]>:
Hi Erman,

Please tell me , this document asks us to connect to primary node ! so to delete the secondary node in a remote way: --> it will not change something in the

so it will be :

opfinbac@udkfinp03:~$ hostname
udkfinp03
opfinbac@udkfinp03:~$perl $AD_TOP/patch/115/bin/adProvisionEBS.pl ebs-delete-node \
-contextfile=/opt/application/V12/fs2/inst/apps/DBOFINP_udkfinp05/appl/admin/DBOFINP_udkfinp05.xml -hostname=udkfinp05 -logfile=/opt/application/V12/delete_node_05.log

the result:
ERROR: Can't open /opt/application/V12/fs2/inst/apps/DBOFINP_udkfinp05/appl/admin/DBOFINP_udkfinp05.xml: No such file or directoryopfinbac@udkfinp03:~$

if I do that from the node to be deleted:

opfinapp@udkfinp05:/opt/application/V12/fs2/EBSapps/appl/ad/12.0.0/patch/115/bin$ perl /opt/application/V12/fs2/EBSapps/appl/ad/12.0.0/patch/115/bin/adProvisionEBS.pl ebs-delete-node \
perl /opt/application/V12/fs2/EBSapps/appl/ad/12.0.0/patch/115/bin/adProvisionEBS.pl ebs-delete-node \
> -contextfile=/opt/application/V12/fs2/inst/apps/DBOFINP_udkfinp05/appl/admin/DBOFINP_udkfinp05.xml -hostname=udkfinp05 -logfile=/opt/application/V12/delete_node_05.log
-contextfile=/opt/application/V12/fs2/inst/apps/DBOFINP_udkfinp05/appl/admin/DBOFINP_udkfinp05.xml -hostname=udkfinp05 -logfile=/opt/application/V12/delete_node_05.log
Enter the APPS Schema password:
Enter the WebLogic AdminServer password:

/opt/application/V12/fs2/FMW_Home/wlserver_10.3/server/bin/setWLSEnv.sh is not having EXECUTE_ACCESS access
opfinapp@udkfinp05:/opt/application/V12/fs2/EBSapps/appl/ad/12.0.0/patch/115/bin$ ls -l /opt/application/V12/fs2/FMW_Home/wlserver_10.3/server/bin/setWLSEnv.sh
ls -l /opt/application/V12/fs2/FMW_Home/wlserver_10.3/server/bin/setWLSEnv.sh
/opt/application/V12/fs2/FMW_Home/wlserver_10.3/server/bin/setWLSEnv.sh: No such file or directory

opfinapp@udkfinp05:/opt/application/V12/fs2$ ls -l
ls -l
total 35062463
drwxr-xr-x   5 opfinapp gpfinapp       5 Dec 17 00:16 EBSapps
drwxr-xr-x   3 opfinapp gpfinapp       3 Feb  3 09:05 inst

No FMW_Home directory in fs2

Regards








If you reply to this email, your message will be added to the discussion below:
http://erman-arslan-s-oracle-forum.2340467.n4.nabble.com/Cloning-multinode-tp2046p2063.html
To start a new topic under EBS 12.2, email [hidden email]
To unsubscribe from Erman Arslan's Oracle Forum, click here.
NAML



--

Erman Arslan, MBA 

Applications and Database Operations Manager

Oracle Certified Expert, Certified Exadata and Linux Administrator


Author,  Practical Oracle E-Business Suite

Blog:     ermanarslan.blogspot.com

Forum:  http://ermanarslan.blogspot.com/p/forum.html


Mobile: +905301567803