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

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

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

Chapter 1: Using <strong>Progress</strong> <strong>Sonic</strong> <strong>ESB</strong> <strong>Configuration</strong> <strong>and</strong> <strong>Management</strong> Tools<br />

<strong>Sonic</strong>FS Maintenance Comm<strong>and</strong>s<br />

The following file <strong>and</strong> Directory Service actions are used in maintenance of the <strong>Sonic</strong> File<br />

System, <strong>Sonic</strong>FS.<br />

add file<br />

add file name filename [override]<br />

Add a file as a resource to the domain with the specified name. If a resource already exists<br />

with that name, the comm<strong>and</strong> fails unless you specify override on the comm<strong>and</strong> line.<br />

For example, to import PO.xml to the specified location in <strong>Sonic</strong>FS, creating f1 <strong>and</strong> f2 in<br />

the process:<br />

<strong>ESB</strong>Admin> add file /f1/f2/PO.xml C:\PO.xml<br />

Adding file into Directory Service...<br />

name = /f1/f2/PO.xml<br />

file = C:\PO.xml<br />

override = false<br />

For example, to import C:\PO.xml to /Resources in <strong>Sonic</strong>FS:<br />

<strong>ESB</strong>Admin> add file PO.xml C:\PO.xml<br />

Adding file into Directory Service...<br />

name = PO.xml<br />

file = C:\PO.xml<br />

override = false<br />

add directory<br />

add directory sonicfs_directory source_directory<br />

Recursively add the specified source directory (on disk) to the <strong>Sonic</strong>FS in the Directory<br />

Service store. The sonicfs_directory argument can specify a fully qualified path in<br />

<strong>Sonic</strong>FS. If sonicfs_directory is not fully qualified, it is assumed to be in the /Resources<br />

directory in <strong>Sonic</strong>FS.<br />

For example, to add the local directory, myDir, to <strong>Sonic</strong>FS:<br />

add directory /Resources/myDir c:/myDir<br />

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

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

Saved successfully!

Ooh no, something went wrong!