10.02.2013 Views

esb_deploy - Progress Sonic ESB Deployment Guide 8.5 - Product ...

esb_deploy - Progress Sonic ESB Deployment Guide 8.5 - Product ...

esb_deploy - Progress Sonic ESB Deployment Guide 8.5 - Product ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Using Merge for Multiple Stores<br />

Importing or Merging <strong>ESB</strong> Artifacts With the <strong>ESB</strong> Admin Tool<br />

The merge command enables a merge of two source stores into a target store. As a result,<br />

the target store is acted on but the two source stores are not modified. The source and<br />

target stores can be XAR files, file systems, or Directory Service stores.<br />

The syntax of the merge command of one store into another in the <strong>ESB</strong> Admin Tool is:<br />

merge -sourceStore1Type sourceStore1Parameters<br />

-sourceStore2Type sourceStore2Parameters<br />

-targetStoreType targetStoreParameters<br />

-out outputFile.xml<br />

[-v]<br />

where:<br />

■ sourceStore1 and sourceStore2 are the sources of the <strong>ESB</strong> artifacts to be merged<br />

into the target.<br />

■ targetStore is the target store where sourceStore1 is merged and then<br />

sourceStore2 is merged.<br />

■ storeType is { xar | fs | ds }.<br />

■ storeParameters are:<br />

❑ When storeType is xar, the archive location on a file system<br />

❑ When storeType is fs, the root of the hierarchy on a file system<br />

❑ When storeType is ds, the management connection to a domain in the form:<br />

domain url [username password] [managementNode]<br />

■ outputfile is the target XML file for the post-merge report on the file system.<br />

■ -v requests verbose reporting.<br />

Examples of merge Commands on Multiple Stores<br />

● Performing a merge of a XAR and a DS into a target XAR:<br />

<strong>ESB</strong>Admin> merge -xar sourceStore.xar<br />

-ds domain url [username password] [managementNode]<br />

-xar targetStore.xar<br />

● Merging a XAR and a file system into a target file system:<br />

<strong>ESB</strong>Admin> merge -xar source.xar -fs C:/source_dir/<strong>ESB</strong> -fs C:/target_dir/<strong>ESB</strong><br />

<strong>Progress</strong> <strong>Sonic</strong> <strong>ESB</strong> <strong>Deployment</strong> <strong>Guide</strong> <strong>8.5</strong> 119

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!