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

Create successful ePaper yourself

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

Reporting Differences<br />

Reporting Differences<br />

The diff command assesses the difference between two artifact stores. Unlike a generic<br />

differencing engine, the <strong>ESB</strong>Admin diff command only assesses specific filetypes in certain<br />

store types. The stores can be <strong>Sonic</strong> archive files—XAR files—(-xar store type), file<br />

systems (-fs store type), or Directory Service stores (-ds store type).<br />

Differences include:<br />

● Artifacts that are in both stores, yet do not have identical content. You can choose to<br />

identify only that the files are dissimilar or to expose the differences in detail.<br />

● Artifacts that are in the source store, but not in the target store.<br />

● Artifacts that are in the target store, but not in the source store.<br />

The syntax of the diff command in the <strong>Sonic</strong> <strong>ESB</strong> Admin Tool is:<br />

diff -storeType storeParameters -storeType storeParameters<br />

[-out outputFile.xml] [-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 preferred target XML file name and location for the analysis<br />

report on the file system. When you do not specify this parameter, the output file<br />

is created as <strong>Sonic</strong>_Diff.xml in the tool’s directory.<br />

■ -v requests verbose reporting.<br />

Examples of diff Commands<br />

● Comparing two XAR files:<br />

<strong>ESB</strong>Admin> diff -xar sourceStore.xar -xar targetStore.xar<br />

● Comparing a XAR file with a Directory Service store:<br />

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

● Comparing a file system with a XAR file in verbose output:<br />

<strong>ESB</strong>Admin> diff -fs C:/myinstalldir/<strong>ESB</strong> -xar targetStore.xar -v<br />

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

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

Saved successfully!

Ooh no, something went wrong!