10.02.2013 Views

Progress Sonic ESB Configuration and Management Guide

Progress Sonic ESB Configuration and Management Guide

Progress Sonic ESB Configuration and Management Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

License Container Comm<strong>and</strong>s<br />

merge (st<strong>and</strong>ard form)<br />

merge -storeType storeParams -storeType storeParams [-out outFile.xml] [-v]<br />

where:<br />

● The first -storeType storeParams identifies the source artifact store, <strong>and</strong><br />

the next -storeType storeParams identifies the target artifact store.<br />

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

● storeParams 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 />

● The out parameter lets you specify the preferred location of the .xml file that reports<br />

on the analysis. If you do not specify an output file, a default file (<strong>Sonic</strong>_Merge.xml)<br />

is created in the <strong>ESB</strong> Container’s working directory<br />

● -v requests verbose reporting<br />

For example, to merge an archive into a Directory Service store:<br />

merge -xar sourceStore.xar -ds Domain1 myHost:2506 aUser aPwd -out c:\out.xml<br />

merge (compound form)<br />

A variation in the syntax of the merge comm<strong>and</strong> enables the merger of two source stores<br />

into a target store. As a result, the target store is acted on but the two source stores are<br />

unmodified. The source <strong>and</strong> target stores can be XAR files, file systems, or Directory<br />

Service stores.<br />

The syntax of the advanced merge comm<strong>and</strong> in the <strong>Sonic</strong> <strong>ESB</strong> Admin Tool is:<br />

merge -sourceStore1Type sourceStore1Params<br />

-sourceStore2Type sourceStore2Params<br />

-targetStoreType targetStoreParams<br />

[-out outFile.xml]<br />

[-v]<br />

where the variation from a st<strong>and</strong>ard merge is that sourceStore1 <strong>and</strong> sourceStore2 are two<br />

distinct source types with their respective parameters that will be sequentially merged into<br />

the target store.<br />

For example, to merge a XAR <strong>and</strong> a file system into a target file system:<br />

merge -xar source.xar -fs C:/sourceDir/<strong>ESB</strong> -fs C:/targetDir/<strong>ESB</strong> -out c:\out.xml<br />

<strong>Progress</strong> <strong>Sonic</strong> <strong>ESB</strong> <strong>Configuration</strong> <strong>and</strong> <strong>Management</strong> <strong>Guide</strong> 8.5 52

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

Saved successfully!

Ooh no, something went wrong!