Tuesday, 28 January 2014

Load MDS

MDS Export :


1. Execute wlst.cmd :
--------------------------------------
cd ${ORACLE_HOME}/oracle_common/common/bin

Execute wlst.sh file:
----------------------
wlst.sh


2. Connect to WL Server :
--------------------------------------
connect('weblogic','welcome1','t3://hostname:port')


3. Export all files and folders from MDS:
--------------------------------------
exportMetadata(application='soa-infra', server='soa_server1',toLocation='/tmp/MDS', docs='/apps/AIAMetaData/AIAComponents/**')


4. Replace All
--------------------------------------
find ./ -type f  -exec sed -i 's/VQ2AIAAPPSIT.fxvodafone.com/vqaiaapp01/'  {} \;

5. Import
--------------------------------------
importMetadata(application='soa-infra',server='soa_server1',fromLocation='/tmp/MDS/',docs='/deployed-composites/**')



If soa-infra not able to make up. Need to load the same in offline mode.

1. download ShareSoaInfraPartition.ear from internet.
2. connect('weblogic','welcome1','t3://hostname:port')
3. deploy('ShareSoaInfraPartition','ShareSoaInfraPartition.ear',upload='true')
4. importMetadata(application='ShareSoaInfraPartition',server='AdminServer',fromLocation="/app/oracle/Oracle/Test",docs="/deployed-composites/deployed-composites.xml");

No comments:

Post a Comment