29.01.2013 Views

WebSphere Application Server V7.0: Concepts ... - IBM Redbooks

WebSphere Application Server V7.0: Concepts ... - IBM Redbooks

WebSphere Application Server V7.0: Concepts ... - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Example 15-1 Migration management command<br />

zmmt.sh -workspace /xxx -transfer -allocate -responseFile<br />

/xxx/ZCellcmd.responseFile<br />

This command performs the following tasks:<br />

► Generate the migration jobs to the location specified by profilePath in the<br />

response file.<br />

► Allocate the target CNTL and DATA datasets, using the high level qualifier<br />

specified by targetHLQ in the response file.<br />

► Transfer the jobs from the file system to the CNTL and DATA datasets.<br />

Runtime considerations<br />

When using the zMMT.sh script to create the migration JCL, there are two points<br />

that you must be aware of:<br />

► The script will be run in the osgi command shell, as seen in Example 15-2.<br />

Example 15-2 osgi shell for the zMMT.sh script<br />

/usr/lpp/z<strong>WebSphere</strong>/V7R0/bin#>rkspace –responseFile<br />

/tmp/zDMgr01.responseFile<br />

osgi><br />

Note: An osgi command shell is an execution environment that allows the<br />

remote management of Java application and components. It is based on<br />

the OSGI open standard.<br />

Because the script will take a relative long time to proceed, it might look as<br />

though nothing is happening. However, the script will write messages as seen<br />

in Example 15-3.<br />

Example 15-3 osgi messages when issuing the zMMT.sh script<br />

osgi> Customization definition successfully written to /tmp/ZDMgr01<br />

Attempting to allocate dataset: BOSS.VICOM.BOSS0173.CNTL<br />

Allocation successful.<br />

Attempting to allocate dataset: BOSS.VICOM.BOSS0173.DATA<br />

Allocation successful.<br />

Copying CNTL files to BOSS.VICOM.BOSS0173.CNTL...<br />

Copy successful.<br />

Copying DATA files to BOSS.VICOM.BOSS0173.DATA...<br />

Copy successful.<br />

496 <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> <strong>V7.0</strong>: <strong>Concepts</strong>, Planning, and Design

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

Saved successfully!

Ooh no, something went wrong!