IBM TotalStorage DS6000 Series User Manual

Page 236

Advertising
background image

212

DS6000 Series: Concepts and Architecture

Table 10-3 Converting a FlashCopy task to DS CLI

So to create the DS CLI command, simply read down the third column:

mkflash -nocp -dev IBM.2105-23953 1004:1005

In Example 10-14 the user uses the DS CLI interactive mode. They issue the

mkflash

command and then use

lsflash

to check the success of the command.

Example 10-14 Using interactive dscli mode without profiles

sharon@aixsrv:/opt/ibm/dscli > dscli
dscli> mkflash -nocp -dev IBM.2105-23953 1004:1005
CMUC00137I mkflash: FlashCopy pair 1004:1005 successfully created.
dscli> lsflash -dev IBM.2105-23953 1004:1005
ID SrcLSS SequenceNum Timeout ActiveCopy Recoding Persistent Revertible
===============================================================================
1004:1005 10 0 120 Disabled Disabled Disabled Disabled
dscli>

ESS CS CLI
parameter

Saved task
parameter

DS CLI coversion

Explanation

Tasktype

FCEstablish

mkflash

An FCEstablish becomes a
mkflash.

Options

NoBackgroundCopy

-nocp

To do a FlashCopy no-copy
we use the -nocp parameter.

SourceServer

2105.23953

-dev IBM.2105-23953

The format of the serial
number changes. you must
use the exact syntax.

TargetServer

2105.23953

N/A

We only need to use the
-dev once, so this is
redundant.

Source and Target vols

1004 1005

1004:1005

The volume numbers don’t
change. We simply separate
them with a full colon.

Important:

On the ESS 800, open systems volume IDs are given in an 8 digit format,

xxx-sssss where xxx is the LUN ID and sssss is the serial number of the ESS 800. In the
example used in this appendix the volumes shown are 004-23953 to 005-23953. These
volumes are open systems, or fixed block volumes. When referring to them in the DS CLI,
you must add 1000 to the volume ID, so volume 004-23953 is volume ID 1004 and volume
005-23953 is volume ID 1005. This is very important because on the ESS 800, the
following address ranges are actually used:

0000 to 0FFF

CKD z/Series volumes (4096 possible addresses)

1000 to 1FFF

Open systems fixed block LUNs (4096 possible addresses)

If we intend to use FlashCopy to copy ESS LUN 004-23953 onto 005-23953 using DS CLI,
we must specify 1004 and 1005. If instead we specify 0004 and 0005, we will actually run
the FlashCopy against CKD volumes. This may result in an unplanned outage on the
zSeries system that was using CKD volume 0005.

The ESS CLI command,

show task

, will show the correct value for the volume ID

Advertising