Beruflich Dokumente
Kultur Dokumente
ADMINISTRATOR’S GUIDE
P/N 069001189
REV A01
EMC Corporation
Corporate Headquarters:
Hopkinton, MA 01748-9103
(800) 424-EMC2
http://www.EMC.com
Copyright © 2003 EMC Corporation. All rights reserved.
Published February, 2003
EMC believes the information in this publication is accurate as of its publication date. The information is
subject to change without notice.
THE INFORMATION IN THIS PUBLICATION IS PROVIDED "AS IS." EMC CORPORATION MAKES NO
REPRESENTATIONS OR WARRANTIES OF ANY KIND WITH RESPECT TO THE INFORMATION IN THIS
PUBLICATION, AND SPECIFICALLY DISCLAIMS IMPLIED WARRANTIES OF MERCHANTABILITY OR
FITNESS FOR A PARTICULAR PURPOSE.
Use, copying, and distribution of any EMC software described in this publication requires an applicable
software license.
Trademark Information
EMC2, EMC, CLARiiON, Navisphere, and Symmetrix are registered trademarks and PowerPath, Access Logix, MirrorView, SAN Copy, and SnapView
are trademarks of EMC Corporation.
All other trademarks used herein are the property of their respective owners.
Preface.............................................................................................................................. v
Related Manuals
EMC SAN Copy 1.X for EMC ControlCenter Navisphere 6.X
Administrator’s Guide (P/N 069001188)
EMC ControlCenter Navisphere Manager 6.X Administrator’s Guide
(P/N 069001125)
EMC Storage Systems CX400-Series and CX-600-Series Storage System
Configuration Planning Guide (P/N 014003113)
EMC FC4700-2 Storage System Configuration Planning Guide
(P/N 014003087)
Where to Get Help For questions about technical support and service, contact your
service provider.
If you have a valid EMC service contract, contact EMC Customer
Service at:
Follow the voice menu prompts to open a service call, then select
CLARiiON® Product Support.
Sales and Customer For the list of EMC sales locations, please access the EMC home page
Service Contacts at:
http://www.emc.com/contact/
For additional information on the EMC products and services
available to customers and partners, refer to the EMC Powerlink Web
site at:
http://powerlink.emc.com
Your Comments Your suggestions will help us continue to improve the accuracy,
organization, and overall quality of the user publications. Please send
a message to techpub_comments@emc.com with your opinions of
this guide.
This chapter introduces the SAN Copy™ software and its command
line utilities: admhost, with commands that the operating system
uses to manage SAN Copy devices; and the CLI, with commands
that manage SAN Copy sessions. Major topics are
◆ Finding Current Information ...........................................................1-2
◆ Terminology ........................................................................................1-3
◆ Introducing SAN Copy Software.....................................................1-5
◆ SAN Copy Features and Benefits ....................................................1-7
◆ SAN Copy Software Components ...................................................1-9
◆ SAN Copy Operations Overview ..................................................1-10
Terminology
Term Meaning
admhost utility The admhost utility is an executable program that you can run interactively via
script. It runs on Microsoft Windows NT®, and Windows® 2000.
checkpoint interval A user-defined time interval that lets SAN Copy resume an interrupted session from
the last checkpoint, rather than having to start the session over.
clone A copy (local mirror) of a LUN. When synchronized, it remains a bit-for-bit copy of its
source LUN. To access the clone, you must fracture it. Then, after performing the
desired operations (such as data modeling or backup), you can start synchronizing it
again. Clone functionality is provided with EMC SnapView™ software.
copy descriptor A set of parameters you create under a unique name that specifies the source and
destination devices and other settings for a SAN Copy session. Each copy descriptor
is stored in an SP. You start a session using the copy descriptor.
destination logical unit A logical unit to which SAN Copy is copying the source data. On a CLARiiON®
storage system, this device is called a LUN; on a Symmetrix® system, it is called a
volume.
domain In the context of Navisphere 6.X, a group of storage systems and/or portal servers
that you can manage from a single management application session. You can divide
the storage systems into multiple domains as long as each storage system or portal
is in only one domain.
logical unit A storage device that resides on a storage system, stores data and is independent of
storage-system type. For example, on a CLARiiON storage system, this device is
called a LUN; on a Symmetrix system, a volume.
portal A server or storage system through which you manage one or more storage systems
using Navisphere 6.X. Generally the managed systems are legacy systems such as
FC4500s and FC5300s.
Terminology 1-3
Introducing SAN Copy and Its Command Line Utilities
Term Meaning
SAN Storage Area Network: One or more servers connected to one or more storage
systems via Fibre Channel switches. Switch Zoning and EMC Access Logix software
control server access to storage systems and LUNs.
SAN Copy Software running on a SAN Copy storage system that lets you copy logical unit
information between SAN Copy storage systems and other storage systems, or
within a storage system.
SAN Copy port An SP port initiator on a SAN Copy storage system that is participating in a SAN
Copy session.
SAN Copy session A descriptor that stores all data pertaining to a unique copy process, such as session
name, session ID, source and destination logical units, and session status. You must
start the session to begin the copy process.
SAN Copy storage system A storage system with SAN Copy software installed. For example, you can install
SAN Copy on a CX400, CX600, or FC4700-Series storage system (refer to the SAN
Copy release notes for a complete list of supported storage systems)
shared storage system A storage system with the EMC Access Logix™ option, which provides data access
control (Storage Groups). A shared storage system is always a RAID Group storage
system.
snapshot A point-in-time image of a LUN. A snapshot occupies no disk space, but appears as
a normal LUN to secondary hosts. Snapshot functionality is provided with EMC
SnapView software.
source logical unit A logical unit from which SAN Copy copies data. On a CLARiiON storage system,
this device is called a LUN.
SP Agent EMC Navisphere Agent that runs on the SPs in a CX-Series or FC4700-Series
storage systems.
Storage Management Server Software that runs in a storage system or portal server and lets a person manage it
software over a network.
target storage system A storage system with logical units that are participating in a SAN Copy session, but
is not running SAN Copy software.
throttle value This parameter controls the I/O rate for a SAN Copy session. You can set the session
throttle to a value between 1 and 10 where 1 is the lowest rate and 10 is the highest.
The default throttle value is 6.
unshared storage system A storage system without the EMC Access Logix option.
zone A zone limits access to specific logical units in a storage system.; thereby increasing
security and decreasing network traffic.
Figure 1-1 shows two logical units being copied to two different
storage systems. One SAN Copy session is copying LUN 15 in the
CX600 storage system to volume 32 in the Symmetrix storage system.
The second SAN Copy session is copying LUN 6 in the FC5300
storage system to LUN 14 in the CX600 storage system.
In this example, SAN Copy software is required only on the CX600
storage system. All copy processing occurs in the SPs, freeing the
servers for applications and other tasks.
LUN 6
CX-Series or Symmetrix
FC4700-Series Storage System
Storage System EMC2448
You must fracture a SnapView clone before using it as a source LUN in a SAN
Copy session. For more details, refer to the SnapView documentation and
online help.
CX400 8 50
CX600 16 100
If the system containing the source logical unit has device replication
technology, such as EMC SnapView or EMC Timefinder, SAN Copy can
use a snapshot, clone or Symmetrix BCV (business continuation volume)
as its source logical unit -- allowing I/O with the source for the snapshot,
clone and BCV to continue during the copy process. For more details,
refer to the SnapView or TimeFinder documentation and online help.
! CAUTION
The admhost flush command does not prevent write access to the
source logical unit. You must quiesce all writes to the source logical
unit prior to starting and during a SAN Copy session in order to
prevent data loss or data corruption. If you need to keep writing to
the source logical unit, use a SnapView snapshot or a Symmetrix
BCV as the SAN Copy source logical unit.
SAN Copy ports act as host initiators to the target storage systems.
If the source logical unit resides in the SAN Copy storage system, you
can copy data to one or many destination logical units on one or many
storage systems. None of the target storage systems require the SAN
Copy software.
If the source logical unit does not reside in the SAN Copy storage system
on which you are creating the session, you must select all destination
logical units from the storage system that owns the session.
If you will be copying data from one LUN to one or many LUNs
within the same CLARiiON storage system, the following
requirements must be met before you start a SAN Copy session.
◆ The storage system must be a SAN Copy storage system.
◆ The source and all destination LUNs participating in a copy
session must belong to the same SP.
If you need to copy between LUNs owned by different SPs, you must
trespass either the source or destination LUNs before starting the session.
Switch Fabric
LUN 12
LUN 14
LUN 23
LUN 25
CX-Series or
FC4700-Series
Storage System
EMC2450
Zoning is not required for copying data within a CLARiiON storage system
Requirements
Currently, SAN Copy and MirrorView™ software cannot share the same SP
port (refer to the SAN Copy release notes for confirmation).
◆ Zone at least one port from each SP of the SAN Copy storage
system to any other storage systems participating in SAN Copy
sessions.
◆ Zone each participating SAN Copy port to one or more ports of
each SP in the target storage systems.
◆ Create a single zone that includes multiple SAN Copy and target
SP ports; create multiple zones with a single SAN Copy/target SP
port; or a create a mixture of both zone types.
Recommendations
◆ If performance is most important, zone multiple SAN Copy ports
to a target storage system. SAN Copy allows multiple sessions to
share a single port, but, if there are multiple ports available, SAN
copy will spread multiple sessions across available SAN Copy
ports to maximize total throughput.
◆ If preserving host HBA connections is most important because
there are a large number of hosts connecting to a target storage
system, zone only necessary SAN Copy ports to that storage
system. Each SAN Copy port zoned to a target SP port registers
itself as an initiator with that SP port, thereby reducing the
available host HBA connections.
◆ If availability is most important, zone multiple SAN Copy ports
to a target storage system. A SAN Copy session will fail if the
port/path used by the session fails. However, if other
ports/paths are available, you can re-start the session.
hbawwn is the World Wide Name of the SAN Copy port (from
the -portlist command)
hostname is the name of the host that has access to the LUNs in
the Storage Group
What Next? You are now ready to create SAN Copy descriptors (see sancopy
-create on page 4-8).
admhost lun_activate On a Windows NT or Windows 2000 host, the admhost admhost lun_activate
lun_activate command tells the operating system to [-l lun-worldwidename] [-d drive-letter]
scan for new copy LUNs and to mount each one (make it
available to Windows). The software assigns a drive letter Examples:
to every new device it finds. Use admhost lun_activate
on the hosts connected to both the source and admhost lun_activate
destination LUNs after a copy completes to make the Scanning for new devices.
LUN available/visible to the hosts. If you omit switches, Completed scanning for
lun_activate simply scans for new devices and assigns new devices.
drive letters to any new LUNs that have a proper file
system type on them. The software assigns the drive admhost lun_activate -l
letters according to the next available drive letter on the 60:06:01:EF:74:60:00:00:CD:BD:FE:45:7
Windows hosts.
7:9D:D7:11 -d v:
If you include the -l and -d switches, you can change the
specified LUN WWN to a drive letter. Scanning for new devices.
Successfully assigned v:
The admhost command is not supported on a UNIX® to CLARiiON LUN
host. Use the commands your operating system normally 60:06:01:EF:74:60:00:00:CD
uses to discover new LUNs. :BD:FE:45:77:
9D:D6:11.
Completed scanning for new
devices.
admhost flush On a Windows host, the command flushes all data and admhost lun_flush -o drive-letter
clears all buffers. However, unlike admhost
lun_deactivate, it does not remove the drive letter, and Examples:
allows reads from the LUN to continue. Use admhost
flush or admhost lun_deactivate for a source LUN admhost lun_flush -o F:
before starting a SAN Copy session to ensure that all Flushed F:.
cached data has been written to disk.
admhost lun_list On a Windows host, admhost lun_list displays the admhost lun_list
mapping information of the host devices such as drive [[-l lun-world-wide-name]
letters or physical drives and their corresponding LUN [-d drive-letter | physicaldrive]]
worldwide names (WWNs). [-a driveletter | physicaldrive]
You can use admhost lun_list with the -l switch to
display the current drive letter mapped to the specified
LUN WWN or use the -d switch to display the LUN WWN Examples:
mapped to the specified drive. admhost lun_list
Using admhost lun_list and lun_activate in F:=>60:06:01:EF:74:60:00:
sequence, you can obtain the lun wwn info and change 00:A2:0D:40:24:C2:B5:D6:11
the drive letter currently mapped to the desired drive with H: =>
admhost lun_activate. 60:06:01:EF:74:60:00:00:CD
:BD:FE:45:77:9D:D6:11
admhost lun_list -a driveletter
F:=>60:06:01:EF:74:60:00:
00:A2:0D:40:24:C2:B5:D6:11
admhost lun_list -a physicaldrive
PhysicalDrive1 =>
60:06:01:EF:74:60:00:00:A2
:0D: 40:24:C2:B5:D6:11
PhysicalDrive2 =>
60:06:01:EF:74:60:00:00:CD
:BD: FE:45:77:9D:D6:11
admhost help This command displays admhost usage information admhost help
XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:X
X:XX
What Next? Before you start a SAN Copy session, complete the steps described in
the next section, Preparing Logical Units for a SAN Copy Session.
! CAUTION
You must follow this procedure explicitly to avoid data loss or data
corruption.
If the destination logical units are not mounted, ignore this step.
3. From the host connected to the source logical unit, flush the host
buffers and disconnect the source logical unit from the host by
doing one of the following.
If you want to maintain read access to the source logical unit, skip step 3,
and proceed to step 4.
! CAUTION
Neither of the following steps prevents write access to the source
logical unit. You must quiesce all writes to the source logical unit
prior to starting and during a SAN Copy session in order to prevent
data loss or data corruption. If you need to keep writing to a source
logical unit, use a SnapView snapshot or a Symmetrix BCV as the
source logical unit.
This chapter explains the CLI commands that manage SAN Copy
software.
The commands in this chapter function only with a storage system that has
the optional SAN Copy software installed.
Topics are
◆ Navicli SAN Copy Command Functions .......................................4-2
◆ sancopy -create ...................................................................................4-8
◆ sancopy -destinfo ............................................................................. 4-11
◆ sancopy -duplicate ...........................................................................4-13
◆ sancopy -info.....................................................................................4-14
◆ sancopy -modify...............................................................................4-17
◆ sancopy -pause .................................................................................4-20
◆ sancopy -remove ..............................................................................4-21
◆ sancopy -resume...............................................................................4-23
◆ sancopy -settings ..............................................................................4-25
◆ sancopy -start....................................................................................4-27
◆ sancopy -stop ....................................................................................4-28
◆ sancopy -throttle...............................................................................4-29
◆ sancopy -transfer..............................................................................4-31
◆ sancopy -updateconnections ..........................................................4-32
◆ sancopy -verify .................................................................................4-33
Command Description
navicli sancopy -verify Ensures that the SAN Copy software can
access a logical unit
navicli
Sends status or configuration requests to the storage system via the
command line
Before you can use Navisphere SAN Copy CLI commands to
configure a storage system (as opposed to receive storage-system
configuration or status information), you must be a privileged user in
the SP Agent configuration file on each SP in the storage system.
User Access Anyone that can log in to the host running the Navisphere CLI can
use navicli.
-d device
Specifies the communication channel to the storage system, for
pre-FC4700 SPs only. (A CX-Series or FC4700-Series SP is a host
that you specify with the -h switch. The CLI ignores the -d switch
for CX-Series or FC4700-Series.)
-h hostname
Specifies the hostname of the storage-system SP or server. For a
CX-Series or FC-Series storage system, each SP is a host; therefore
the hostname is the IP address or network name of the
destination SP. For pre-FC4700 storage systems, the hostname is
the server hostname or network address. The environment
variable RaidAgentHost is the default for the server if the -h
switch is not present. The -h switch overrides the RaidAgentHost
setting. If RaidAgentHost is not set and the -h switch is not
present, the local hostname is used.
-m
Suppresses output except for values. This option is most useful
when used as part of a script.
-np
Suppresses polling on initial contact with the Agent. This switch
significantly increases performance when dealing with large or
multiple storage systems. The Agent automatically polls unless
this switch is specified.
When the -np switch is set, get commands may return stale data and set
commands may erase previously changed settings. Use caution when the
-np switch is set.
-p
Parses the entered CMD (command) without making a network
call to the API. If the string does not parse correctly, an error
message prints to stderr; otherwise a message verifying that the
string parsed correctly prints to stdout.
-q
Suppresses error messages. This switch is useful when included
as part of a script.
navicli 4-5
SAN Copy CLI Commands
-t timeout
Sets the timeout value. timeout specifies the value in seconds. The
default timeout value is 240 seconds unless the
RaidAgentTimeout environment variable (described on the
following page) is set differently.The timeout value includes the
time allowed for the entire command to execute (including CLI,
Agent, and storage-system software execution time). The timeout
applies to all commands except firmware.
-v
Enables verbose error descriptions. This is the default unless -q is
specified.
CMD
One of a set of commands used with the navicli command to
configure and manage a storage system. The CMD (command)
CMD switches are described on the pages that follow.
The commands in the following examples must be executed from the root
directory.
Error Codes The navicli command might return any of a numeric sequence of
errors explained in Appendix A of this manual (for SAN Copy errors)
or the CLI Reference manual, P/N 069001038 (for other errors).
navicli 4-7
SAN Copy CLI Commands
sancopy -create
Creates a copy descriptor for use in SAN Copy sessions
Description The navicli sancopy command with -create creates a copy descriptor
that you can use to start, stop, and otherwise manipulate SAN Copy
sessions. The destination logical unit(s) must exist when you execute
this command.
By default a descriptor does not start a session unless you specify the
-start switch.
For information on logical units accessible to the host use the basic
CLI command lunmapinfo explained in the CLI reference manual.
User Access You must have a username/host entry in the Navisphere SP Agent
configuration file to use this command.
-srcwwn source-lun-wwn
Specifies the WWN (worldwide name) of the source logical unit
(LUN or snapshot). The source logical unit does not need to exist
on the storage system specified by the -h switch. If it does not
exist, SAN Copy assumes that the copy is to destination logical
units on the storage system specified with -h.
-srclun source-sp sourcelunnumber
This is an alternate way of adding a source logical unit entry to
the copy descriptor. For source-sp, specify the SP hostname (or SP
IP address) that owns the source logical unit. For sourcelunnumber,
specify the logical unit number.
-device devicename
Specifies the device name of the source LUN or destination LUN.
-destwwn dest-lun-wwn
Specifies which logical unit will be the destination of the copy.
You can specify more than one destination logical unit if you
want more than one copy of the source logical unit. If all
destination logical units do not exist on the storage system
specified with -h, then the source logical units must exist on that
storage system. If the destination logical units are not reachable,
and you did not use the -o function, by the client system, the CLI
will print a warning and ask for confirmation.
-destlunnumber dest-sp destlunnumber
This is an alternate way of adding a destination LUN entry to the
copy descriptor. For dest-sp, specify the SP hostname (or SP IP
address) that owns the destination logical unit; for destlunnumber,
specify the LUN number. As with -destwwn, you can specify
more than one destination logical unit if you want more than one
copy of the source logical unit.
If you specify the -verify function, and the software cannot reach
the SP or find the logical unit on the SP, it returns an error.
-start
Starts a SAN Copy session using this copy descriptor. By default,
the create command does not start a session.
-throttle n
Specifies the I/O rate of the copy. The maximum value is 10 and
the minimum value is 1. If you omit this switch, the default value
is 5.
-verify
Verifies that SAN Copy can access all of the logical units specified
in the -create command.
-o
Suppresses any confirmation message that the descriptor was
created successfully.
Output If the version of Base software running on the SP does not support
this command, a Command is not supported error message is
printed to stderr. Other errors are
DMF_NAME_SPECIFIED_NOT_UNIQUE
DMF_CREATE_PARAMS
DMF_SRCLUN_WWN_AND_NUMBER_SPECIFIED
DMF_DESTLUN_WWN_AND_NUMBER_SPECIFIED
DMF_INVALID_THROTTLE_VALUE
sancopy -destinfo
Displays information about destination logical units for a running
session
Description The navicli sancopy command with -destinfo gets session status
from the destination point of view. Issuing this command with no
arguments displays all destination information for all copy
descriptors belonging to the specified SP.
User Access You must have a username/host entry in the Navisphere SP Agent
configuration file to use this command.
This display shows the status of the two SAN Copy copy descriptors
belonging to SP ss1_spa. The first descriptor shows no failure, the
second shows a failure.
Output If the version of Base Software running on the SP does not support
this command, a Command is not supported error message is
printed to stderr.
sancopy -duplicate
Makes a copy of a copy descriptor
User Access You must have a username/host entry in the Navisphere SP Agent
configuration file to use this command.
Output If the version of Base Software running on the SP does not support
this command, a Command is not supported error message is
printed to stderr. Other errors are
DMF_NAME_AND_UID_SPECIFIED
DMF_NAME_OR_UID_REQUIRED
DMF_UNKNOWN_DESCRIPTOR
sancopy -info
Displays information about copy descriptors
User Access You must have a username/host entry in the Navisphere SP Agent
configuration file to use this command.
Format Use sancopy -info with navicli (described on page 4-4) as follows:
sancopy -info [-peer] [-descriptorid descriptorid | -name name]
[-srcwwn] [-length] [-numdests] [-destwwn] [-sessionstatus]
[-throttle] [-counts] [-complete] [-time] [-failure]
where
-complete
Displays the percentage complete of the copy session.
-counts
Displays the number of disk blocks transferred.
-descriptorid descriptorid
Lists the descriptor IDs of all sessions belonging to the specified
SP when you issue this command without a specific descriptor
ID.
Lists the status of the specified session when you issue this
command with a specific descriptor ID.
-dests
Displays the WWNs of all destinations logial units in the
specified descriptor.
-failure
Displays failure status or No Failure for the copy descriptor’s
source and destination logical units.
-length
Displays the number of blocks to copy. Displays N/A if the
descriptor was created using the source WWN.
-name name
Lists the names of all copy descriptors belonging to the specified
SP when you issue this command without a specific copy
descriptor name.
Lists the status of the specified copy descriptor when you issue
this command with a name.
-numdests
Displays the number of destination logical units.
-peer
Lists all destination information on the peer SP.
-sessionstatus
Displays the status of the session associated with the copy
descriptor: not started, complete, stop, pause, or
failed.
-srcwwn
Displays the WWNs of all source logical units.
-throttle
Displays the current throttle value for the copy session.
-time
Displays the time when the copy completes.
Output If the version of Base Software running on the SP does not support
this command, a Command is not supported error message is
printed to stderr.
sancopy -modify
Changes the definitions in a copy descriptor
User Access You must have a username/host entry in the Navisphere SP Agent
configuration file to use this command.
Format Use sancopy -modify with navicli (described on page 4-4) as follows:
sancopy -modify -descriptorid descriptor-id | -name name
[-adddestbywwn dest-lun-wwn]
[-adddestbylunnumber destsp destlunnumber]
[-chgname newname]
[-chgsrcbywwn srcwwn]
[-chgsrcbylunnumber srcspname srclunnumber]
[-o]
[-rmdestbywwn dest-lun-wwn]
[-rmdestbylunnumber destsp destlunnumber]
[-throttle n]
where
-adddestbylunnumber destsp destlunnumber
Adds a destination logical unit to the descriptor by destination SP
(specify the SP name or IP address) and destination logical unit
number.
-adddestbywwn dest-lun-wwn
Adds a destination logical unit to the descriptor by worldwide
name.
-chgname newname
Changes the descriptor name to newname.
Output If the version of Base Software running on the SP does not support
this command, a Command is not supported error message is
printed to stderr. Other errors are
DMF_NAME_AND_UID_SPECIFIED
DMF_NAME_OR_UID_REQUIRED
DMF_UNKNOWN_DESCRIPTOR
DMF_INVALID_THROTTLE_VALUE
DMF_REMOVED_DEST_DOESNOT_EXIST
Errors returned from the driver or Agent are
UNKNOWN_DESCRIPTOR_ID
UNKNOWN_DESCRIPTOR_NAME
SESSION_NAME_EXISTS
sancopy -pause
Suspends I/O in an active SAN Copy session
Description The navicli sancopy command with -pause pauses an existing SAN
Copy session. You must specify the descriptor ID or name.
To continue the paused session, use the sancopy -resume function.
User Access You must have a username/host entry in the Navisphere SP Agent
configuration file to use this command.
Format Use sancopy -pause with navicli (described on page 4-4) as follows:
sancopy -pause -descriptorid descriptor-id | -name name
where
-descriptorid descriptorid | -name name
Either -descriptorid or -name identifies the descriptor whose
session you want to pause.
Output If the version of Base Software running on the SP does not support
this command, a Command is not supported error message is
printed to stderr. Other errors are
DMF_NAME_AND_UID_SPECIFIED
DMF_NAME_OR_UID_REQUIRED
DMF_UNKNOWN_DESCRIPTOR
Errors returned from the driver or Agent are
UNKNOWN_DESCRIPTOR_ID
UNKNOWN_DESCRIPTOR_NAME
INVALID_SIZE
sancopy -remove
Deletes a copy descriptor
Description The navicli sancopy command with -remove deletes one or all
previously stored copy descriptor(s). A copy descriptor cannot be
removed if it is currently active. An active copy descriptor must
complete the copy first or be stopped.
If you omit the override -o option, the CLI displays a message to
confirm the removal of the copy descriptor(s). This command must
have only one of following switches attached:
-descriptorid
-name
-all
User Access You must have a username/host entry in the Navisphere SP Agent
configuration file to use this command.
Format Use sancopy -remove with navicli (described on page 4-4) as follows:
sancopy -remove -descriptorid descriptor-id|-name name|-all [-o]
where
-descriptorid descriptorid | -name name | -all
Either -descriptorid or -name identifies the descriptor you want
to remove
-all directs the CLI to remove all descriptors on the SP
-o suppresses a message confirming the removal of the descriptor.
Output If the version of Base Software running on the SP does not support
this command, a Command is not supported error message is
printed to stderr. Other errors are
DMF_NAME_AND_UID_SPECIFIED
DMF_NAME_OR_UID_REQUIRED
DMF_UNKNOWN_DESCRIPTOR
sancopy -resume
Continues I/O in a SAN Copy session
User Access You must have a username/host entry in the Navisphere SP Agent
configuration file to use this command.
Format Use sancopy -resume with navicli (described on page 4-4) as follows:
sancopy -resume -descriptorid descriptor-id | -name name
where
-descriptorid descriptorid | -name name
Either -descriptorid or -name identifies the descriptor whose
session you want to resume.
sancopy -settings
Lists or changes SAN Copy environmental parameters
Description The navicli sancopy command with -settings gets and sets two SAN
Copy environmental control parameters:
◆ the maximum number of concurrent active sessions, and
◆ a checkpoint interval for session status
To find the current settings, use the -list switch; to change a setting,
omit -list and specify the setting.
If you do not change the setting specifications, the software uses
default values.
User Access You must have a username/host entry in the Navisphere SP Agent
configuration file to use this command.
-setcheckpoint CheckpointInterval
Sets the checkpoint interval in minutes (values 5, 10, 15, 20, 25, 30,
35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, or 90) or, with the literal
Disable, disables the checkpoint feature. By default,
checkpointing is enabled with a value of 10 minutes.
The SAN Copy software can track the progress of a copy session
by checkpoint interval. If a session fails while checkpointing is
enabled, then after correcting the problem you can direct the
software to resume (-resume function). It will continue copying
from the last checkpoint, if possible. If checkpointing is disabled,
or if resuming is not possible, the software will start copying from
the beginning.
Output If the version of Base Software running on the SP does not support
this command, a Command is not supported error message is
printed to stderr. Other errors are
DMF_LIST_AND_SET_SPECIFIED
DMF_INVALID_MAX_SESSION_VALUE
DMF_INVALID_CHECKPOINT_INTERVAL_VALVE
sancopy -start
Starts a SAN Copy session based on values in a copy descriptor
Description The navicli sancopy command with -start starts a SAN Copy session
with the source and destination logical unit(s) identified in the copy
descriptor. You can start a session using the descriptor ID or name.
The command works only when issued to the SP that owns the copy
descriptor.
The sancopy -info command provides useful information for the
sancopy -start command.
User Access You must have a username/host entry in the Navisphere SP Agent
configuration file to use this command.
Format Use sancopy -start with navicli (described on page 4-4) as follows:
sancopy -start -descriptorid descriptor-id | -name name
where
-descriptorid descriptorid | -name name
Either -descriptorid or -name identifies the copy descriptor for
the session you want to start.
Output If the Base Software running in the SP does not support the
command, the CLI prints a Command is not supported error
message to stderr. Other errors are
DMF_NAME_AND_UID_SPECIFIED
DMF_NAME_OR_UID_REQUIRED
DMF_UNKNOWN_DESCRIPTOR
sancopy -stop
Stops (terminates) a SAN Copy session
Description The navicli sancopy command -stop terminates the specified session.
The session stops automatically when it is complete, so this
command is not needed in the normal course of SAN Copy
operations.
User Access You must have a username/host entry in the Navisphere SP Agent
configuration file to use this command.
Format Use sancopy -stop with navicli (described on page 4-4) as follows:
sancopy -stop -descriptorid descriptor-id | -name name
where
-descriptorid descriptorid | -name name
Either -descriptorid or -name identifies the descriptor whose
session you want to stop.
Output If the version of Base Software running on the SP does not support
this command, a Command is not supported error message is
printed to stderr. Other error messages are
DMF_NAME_AND_UID_SPECIFIED
DMF_NAME_OR_UID_REQUIRED
DMF_UNKNOWN_DESCRIPTOR
sancopy -throttle
Changes the I/O rate of an active copy descriptor
Description The navicli sancopy command with -throttle lets you change the
throttle of an existing, running copy descriptor. The new throttle
value is valid only while the session is running and will not change
the value in the descriptor database.
To change the throttle value of an existing copy descriptor that is not
running, use the -sancopy -modify -throttle command (see
page 4-17)
User Access You must have a username/host entry in the Navisphere SP Agent
configuration file to use this command.
Format Use sancopy -throttle with navicli (described on page 4-4) as follows:
sancopy -throttle -descriptorid descriptor-id | -name name n
where
-descriptorid descriptor-id | -name name
Either -descriptorid or -name identifies the descriptor whose
throttle value you want to change.
n
is the new throttle value, ranging from 1 (slowest) to 10 (highest)
Output If the version of Base Software running on the SP does not support
this command, a Command is not supported error message is
printed to stderr. Other errors are
DMF_NAME_AND_UID_SPECIFIED
DMF_NAME_OR_UID_REQUIRED
DMF_INVALID_THROTTLE_VALUE
DMF_UNKNOWN_DESCRIPTOR
sancopy -transfer
Transfers a copy descriptor from the peer SP
Description The navicli sancopy command with -transfer moves the specified
descriptor from the peer SP to the SP you specify in the command.
After transferring the copy descriptor, you can start a new session on
the working SP using that descriptor.
User Access You must have a username/host entry in the Navisphere SP Agent
configuration file to use this command.
Output If the version of Base Software running on the SP does not support
this command, a Command is not supported error message is
printed to stderr. Other errors are
DMF_NAME_AND_UID_SPECIFIED
DMF_NAME_OR_UID_REQUIRED
DMF_UNKNOWN_DESCRIPTOR
DMF_PEER_SP_ALIVE
sancopy -updateconnections
Updates connection and registration information
User Access You must have a username/host entry in the Navisphere SP Agent
configuration file to use this command.
sancopy -updateconnections
sancopy -verify
Ensures that the SAN Copy software can access a logical unit
Description The navicli sancopy command with -verify ensures that the SAN
Copy software can access a logical unit. You should issue the
command to both SPs as one SP might have access, where the other
does not.
User Access You must have a username/host entry in the Navisphere SP Agent
configuration file to use this command.
Format Use sancopy -verify with navicli (described on page 4-4) as follows:
sancopy -verify
-wwn lun-wwn | -lunnumber sp-name lunnumber
[-device devicename]
where
-wwn lun-wwn
Specifies the worldwide name of the logical unit.
-lunnumber sp-name lunnumber
Is an alternate way of specifying a logical unit. For sp-name,
specify the SP hostname (or SP IP address). For lunnumber, specify
the source or destination logical unit number.
-device devicename
Specifies the storage-system device name. This switch is required
for FC4500 and FC5400 storage systems. Omit it for FC4700-Series
and CX-Series storage systems.
This appendix lists the SAN Copy error codes returned by the CLI.
The numbers proceed sequentially.
230 Cannot unbind logical unit because it is in use as an active Hot Spare.
231 Cannot unbind logical unit because a feature of the storage system is using it.
234 This version of Core Software does not support SAN Copy.
236 Both the name and uid for a copy descriptor are supplied.
238 Both the destination logical unit WWN and number are supplied.
240 The specified copy descriptor name is not unique to this SP.
246 Valid checkpoint intervals are number 5 to 90 and divisible by 5 or the word
disable to disable the checkpoint feature.
247 Both the source logical unit WWN and number are specified.
248 The destination logical unit size is less than the source logical unit size.
249 The peer SP is alive. This command works only if the peer SP is down.
252 Cannot display logical unit WWN and update logical unit map info at the same
time.
253 Input the same logical unit ID as the destination logical unit more than one time.
254 The specified destination logical unit already exists in this descriptor as the
destination.
A -pause 4-20
-a switch (admhost) 3-5 -remove 4-21
Access Logix, defined 1-4 -resume 4-23
activate command (admhost) 3-3 -settings environment parameters, setting
admhost with CLI 4-25
about 3-2 -start 4-27
activate command 3-3 -stop 4-28
command functions 3-2 -throttle 4-29
deactivate command 3-3 -transfer 4-31
flush command 3-4 -updateconnections 4-32
help command 3-4 -verify 4-33
list command 3-4 CLI, environment variables
requirements 3-2 RaidAgentDevice 4-6
session overview 4-2 RaidAgentHost 4-6
admhost utility RaidAgentTimeout 4-6
defined 1-3 CLI, RaidAgent environment variables 4-6
Agent clone, SnapView, defined 1-3
Host, defined 1-3 command functions, admhost 3-2
managed, defined 1-3 command line format, spaces in 4-6
SP, defined 1-4 copy descriptor
arguments, spaces in 4-6 creating (-create) 1-10, 4-8
getting information (-info) 4-14
-create subcommand 4-8
B
benefits, SAN Copy 1-7
D
-d switch (admhost) 3-5
C deactivate command (admhost) 3-3
CLI subcommands destination logical units
-create 4-8 deactivate
-destinfo 4-11 for NetWare 3-6
-duplicate 4-13 for UNIX 3-6
-info 4-14 for Windows 3-6
-modify 4-17 -destinfo subcommand 4-11
P
E -pause subcommand 4-20
environment parameters, setting 4-25 portal, defined 1-3
error codes for SAN Copy subcommands A-2 ports, SAN Copy
connecting to CLARiiON Storage Groups 2-6
F connecting to Symmetrix volumes 2-7
features, SAN Copy 1-7 registering 2-5
flush command (admhost), about 3-4 Powerlink 1-2
function switches, admhost 3-5, 3-7
R
H RaidAgent environment variables 4-6
help command (admhost) 3-4 RaidAgent environment variables, CLI 4-6
-remove subcommand 4-21
requirements, admhost 3-2
I -resume subcommand 4-23
-info command 4-14
S
L SAN Copy
-l switch (admhost) 3-5 configuration requirements and restrictions
list command (admhost), about 3-4 2-2
logical unit connecting SAN Copy ports to CLARiiON
defined 1-3 Storage Groups 2-6
making accessible to the SAN Copy port connecting SAN Copy ports to Symmetrix
initiator 2-5 volumes 2-7
LUN error codes A-2
destination, information (-destinfo features and benefits 1-7
command) 4-11 introduction 1-5
lun_activate command (admhost) 3-3 making logical units accessible to the SAN
lun_deactivate command (admhost) 3-3 Copy ports 2-5
lun_flush command (admhost) 3-4 operations overview 4-2
lun_list command (admhost) 3-4 registering SAN Copy ports with target
systems 2-5
M session overview 4-2
-modify subcommand 4-17 sessions
checkpoint interval, defined 1-3
defined 1-4
N preparing logical units 3-6
navicli command 4-4 software components 1-9
command switches, see individual CLI software, defined 1-4
subcommands zoning requirements and recommendations
diagnostics, see error codes 2-4
format 4-4 sancopy CLI subcommand, see Chapter 4