question on cloning

classic Classic list List threaded Threaded
13 messages Options
Sri
Reply | Threaded
Open this post in threaded view
|

question on cloning

Sri
Hi Erman,

We have completed our clone and instance is accessible.In our test instance,we could not see the file /u02/INST/fs1/inst/apps/TEST_ROOK/appl/admin/customTEST_ROOK.env

we are aware that adcfgclone will create INST_TOP but we need to understand why it could not create the above file.we need your valuable advices

Thank you
Reply | Threaded
Open this post in threaded view
|

Re: question on cloning

ErmanArslansOracleBlog
Administrator
Did you create the custom env file in $INST_TOP/appl/admin directory of both RUN and PATCH file systems? After that, did you set your s_custom_file variable to this file?
Sri
Reply | Threaded
Open this post in threaded view
|

Re: question on cloning

Sri
Hi Erman,

Thank you for your updates

In PROD,we  have created the custom env file in $INST_TOP/appl/admin directory of both RUN and PATCH file systems and also set our s_custom_file variable to this file in xml file.

should we take backup of this file on test before clone and replace it after clone ?
or
will adcfgclone.pl create this file(as it creates INST_TOP)

Thanks again
Reply | Threaded
Open this post in threaded view
|

Re: question on cloning

ErmanArslansOracleBlog
Administrator
Probably, adcfgclone.pl doesn't create it..
But I m also curious now :)

you can check it by running adpreclone.pl on appstier and then use find command to search for your custom env file in EBSApps directory.. If it is there, we can conclude that, adcfgclone.pl was designed to create it in clone environment.. (I expect it to be there, because we copy EBSApps during cloning)

So if it is not there, then I will think that "adcfgclone.pl was not designed to create it" and then I ll recommend you to "backup of this file on test before clone and replace it after clone.."

Also, answer the following questions;

1)Do you target/clone context file have this s_custom_file set?
2)Is your custom env file named according to the EBS standards?
3)Is this custom env gets deleted when you run autoconfig on source/prod?
Sri
Reply | Threaded
Open this post in threaded view
|

Re: question on cloning

Sri
thank you erman.

1)Do you target/clone context file have this s_custom_file set? -yes
2)Is your custom env file named according to the EBS standards? -yes
3)Is this custom env gets deleted when you run autoconfig on source/prod? -no

we have INST in seperate mount point.we copy EBSapps folder from fs1(which is in different mount point).in this case we dont see the file under EBSapps as this file is under INST which is in other mount point

Thank you
Reply | Threaded
Open this post in threaded view
|

Re: question on cloning

ErmanArslansOracleBlog
Administrator
Did you run preclone and then check using "find" command? 

7 Kas 2017 17:00 tarihinde "Sri [via Erman Arslan's Oracle Forum]" <[hidden email]> yazdı:
thank you erman.

1)Do you target/clone context file have this s_custom_file set? -yes
2)Is your custom env file named according to the EBS standards? -yes
3)Is this custom env gets deleted when you run autoconfig on source/prod? -no

we have INST in seperate mount point.we copy EBSapps folder from fs1(which is in different mount point).in this case we dont see the file under EBSapps as this file is under INST which is in other mount point

Thank you


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/question-on-cloning-tp4299p4307.html
To start a new topic under EBS 12.2, email [hidden email]
To unsubscribe from Erman Arslan's Oracle Forum, click here.
NAML
Reply | Threaded
Open this post in threaded view
|

Re: question on cloning

ErmanArslansOracleBlog
Administrator
Anyways,

I don't think adcfgclone.pl is taking these custom environment files into account.
I checked the clone directory and didn't see the word "s_custom_file" used there. (in scripts or classes)
According to my analysis, s_custom_file is there in context files stored in clone directory, but the cloning process does not make use of it..
Sri
Reply | Threaded
Open this post in threaded view
|

Re: question on cloning

Sri
Thanks erman,

Why dont we copy the inst top to get all these files like custom env,what will be the issue if we do so

Reply | Threaded
Open this post in threaded view
|

Re: question on cloning

ErmanArslansOracleBlog
Administrator
you don't copy inst top because it is instructed by the cloning documents..
don't copy it.. your cloning may fail with file exists errors.
Sri
Reply | Threaded
Open this post in threaded view
|

Re: question on cloning

Sri
In R12.1.3,we used to copy inst as well along with appl top to avoid reapplying the customizations and we didnt face any issues.We didnt try this in R12.2

Thank you
Reply | Threaded
Open this post in threaded view
|

Re: question on cloning

Susmit
In reply to this post by ErmanArslansOracleBlog
Hi erman,

Right. We need to create customEnv.env in our environment manually after each clone. adcfgclone do not create it. Instead what we did, we just kept a copy of this file outside of EBS directory and once clone completes just copy it to $INST_TOP quickly.
Thanks and Regards,
Roy Susmit
Oracle Applications DBA
Reply | Threaded
Open this post in threaded view
|

Re: question on cloning

ErmanArslansOracleBlog
Administrator
Good.
I will update you if I find something more on this subject.
Sri
Reply | Threaded
Open this post in threaded view
|

Re: question on cloning

Sri
Thank you very much for your support all the time