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.

Chapter 5: Importing <strong>Deployment</strong> Artifacts into a Domain<br />

Using the Merge Command<br />

An alternative to the import command is the merge command. It performs the action of<br />

applying the source store to the target store, and while it replaces <strong>ESB</strong> artifacts that are<br />

different in the target store and adds <strong>ESB</strong> artifacts that are new to the target store, it does<br />

not overwrite existing, unchanged files.<br />

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

merge -storeType storeParameters -storeType storeParameters<br />

-out outputFile.xml<br />

[-v]<br />

where:<br />

■ The first -storeType storeParameters identifies the source artifact store, and<br />

the next -storeType storeParameters identifies the target artifact store.<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 name for the post-merge impact report on the<br />

file system.<br />

■ -v requests verbose reporting.<br />

Examples of merge Commands<br />

● Merging a XAR into a Directory Service store:<br />

<strong>ESB</strong>Admin> merge -xar sourceStore.xar -ds Domain1 myHost:2506 aUser aPassword<br />

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

<strong>ESB</strong>Admin> merge -fs C:/<strong>ESB</strong>_install_dir/<strong>ESB</strong> -xar targetStore.xar<br />

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

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

Saved successfully!

Ooh no, something went wrong!