context file creation during fsclone

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

context file creation during fsclone

satish
Hello erman,

I understand during fsclone,patch file system is recreated from run file system.Patch context file will be created using the template file adxmlctx.tmp.But one thing which bothers me is:

how would fsclone know which port pool patch file system is using?
Patch file system port pool is a parameter in patch context file?

Thank you

Reply | Threaded
Open this post in threaded view
|

Re: context file creation during fsclone

ErmanArslansOracleBlog
Administrator
I didn't analyze the code, but what I can say about this is;

Those port values are also stored in the context file stored in the FND_OAM_CONTEXT_FILES table.
So probably adop gets them from there.

Following are some example queries for finding the port pool in EBS 12.2 using the FND_OAM_CONTEXT_FILES;

Check Ports in Run Edition

SELECT  extractValue(XMLType(TEXT),'//oacore_server_ports'),
extractValue(XMLType(TEXT),'//forms_server_ports'),
extractValue(XMLType(TEXT),'//oafm_server_ports'),
extractValue(XMLType(TEXT),'//forms-c4ws_server_ports'),
extractValue(XMLType(TEXT),'//oaea_server_ports')
from apps.fnd_oam_context_files
where name not in ('TEMPLATE','METADATA')
and (status is null or status !='H')
and EXTRACTVALUE(XMLType(TEXT),'//file_edition_type')='run'
and CTX_TYPE = 'A';

Check Ports in Patch Edition

SELECT
extractValue(XMLType(TEXT),'//oacore_server_ports'),
extractValue(XMLType(TEXT),'//forms_server_ports'),
extractValue(XMLType(TEXT),'//oafm_server_ports'),
extractValue(XMLType(TEXT),'//forms-c4ws_server_ports'),
extractValue(XMLType(TEXT),'//oaea_server_ports')
from apps.fnd_oam_context_files
where name not in ('TEMPLATE','METADATA')
and (status is null or status !='H')
and EXTRACTVALUE(XMLType(TEXT),'//file_edition_type')='patch'
and CTX_TYPE = 'A';