Documente Academic
Documente Profesional
Documente Cultură
No part of this publication may be reproduced or distributed in any form or by any means,
or stored in a database or retrieval system, without the prior written consent of EMC
Corporation.
The information contained in this document is subject to change without notice. EMC
Corporation assumes no responsibility for any errors that may appear.
All computer software programs, including but not limited to microcode, described in this
document are furnished under a license, and may be used or copied only in accordance with
the terms of such license. EMC either owns or has the right to license the computer software
programs described in this document. EMC Corporation retains all rights, title and interest
in the computer software programs.
EMC Corporation makes no warranties, express or implied, by operation of law or
otherwise, relating to this document, the products or the computer software programs
described herein. EMC CORPORATION DISCLAIMS ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. In no event will
EMC Corporation be liable for (a) incidental, indirect, special or consequential damages or
(b) any damages whatsoever resulting from the loss of use, data or profits, arising out of this
document, even if advised of the possibility of such damages.
Trademark Information
UNIX is a registered trademark in the United States and other countries and is licensed exclusively through X/Open Company
Ltd.
HP is a registered trademark of Hewlett-Packard Company
Windows and Windows NT are registered trademarks of Microsoft Corporation.
WinZip is a registered trademark of Nico Mak Computing, Inc.
Solaris, SPARCserver, UltraSPARC, Sun, Sun Microsystems are trademarks of Sun Microsystems, Inc.
Compaq is a registered trademark of Compaq Computer Corporation.
EMC, EMC2 (the EMC logo), EMC Enterprise Storage, and Symmetrix are registered trademarks and TimeFinder and SRDF
are trademarks of EMC Corporation.
All other trademarks used herein are the property of their respective owners.
Contents
Preface .................................................................................. xi
iii
2.7 Uninstalling Host Utilities ...................................... 27
Windows NT System............................................ 27
UNIX System ......................................................... 27
2.8 Setting Environment Variables ............................... 29
Setting the VLOGIX_DATA Environment
Variable ............................................................... 29
VCMDBDEVICE Environment Variable ........... 31
PATH Environment Variable............................... 33
2.9 Running vcmfind and fcompare at Start-up ........ 34
Windows NT System............................................ 34
UNIX System ......................................................... 35
Editing Start-up Files............................................ 36
2.10 Checking your Installation...................................... 38
Display VCMDB Device ...................................... 39
2.11 Initializing the Volume Logix Administrator....... 41
Starting the Volume Logix Administrator......... 41
Renaming Unnamed Hosts ................................. 45
Help browser ......................................................... 46
iv Contents
configurations, no unlogged tasks.................. 69
Stopping with pending tasks .............................. 70
Stopping with inactive Symmetrix configurations
71
Stopping with tasks that have not been saved to
the log file ........................................................... 72
4.3 Changing the Password........................................... 73
4.4 Configuring Access Control.................................... 74
Initialize the Volume Logix Database ................ 74
Select and Add Volumes ...................................... 75
Activate the Configuration.................................. 75
4.5 Simple Case Study.................................................... 77
Start Volume Logix Demo.................................... 78
Initialize the Volume Logix Database ................ 78
Select and Add Volumes ...................................... 80
Activate the Configuration.................................. 85
Back up Volume Logix database......................... 87
What next? ............................................................. 88
Contents v
5.9 Volume ..................................................................... 119
Actions.................................................................. 119
Type....................................................................... 119
State....................................................................... 120
Viewing volume properties ............................... 120
Viewing volumes ................................................ 122
Assigning volumes to HBAs ............................. 126
Assigning volumes to hosts .............................. 128
Releasing volumes from HBAs ......................... 130
Releasing volumes from hosts .......................... 131
5.10 Hosts......................................................................... 133
Actions.................................................................. 133
Viewing host properties ..................................... 133
Viewing hosts ...................................................... 134
Renaming a host.................................................. 135
5.11 HBA .......................................................................... 137
To view HBA properties .................................... 137
Viewing HBAs ..................................................... 138
Renaming an HBA .............................................. 141
Clearing an HBA’s access rights ....................... 143
Swapping access rights ...................................... 145
Moving an HBA to a different host .................. 147
5.12 Reporting ................................................................. 150
Report Output ..................................................... 153
vi Contents
6.5 Maintain the Volume Logix Database ................. 178
Contents vii
A Hexadecimal Conversion.........................237
viii Contents
Figures
ix
Tables
x Tables
Preface
xi
Chapter 7, "Volume Logix CLI Commands" defines
each Volume Logix command.
xii Preface
Conventions Used The following conventions are used in this manual:
in this Manual
Boldface is used to highlight complete
pathnames, and to emphasize warnings.
Preface xiii
xiv Preface
1
Chapter 1 INTRODUCING
VOLUME LOGIX
1
1.1 Why Choose Volume Logix?
When each host’s storage volumes are kept separate
from those of other hosts through direct
point-to-point cabling, hosts can only detect volumes
to which they are directly connected. In
multi-initiator environments, in which multiple
hosts are connected to a single Symmetrix port, a
problem arises when all hosts have the potential to
see and use the same storage volumes. Figure 1
illustrates the connections used in point-to-point and
multi-initiator environments.
FC Hub/
Point- Multi-
Switch
to- Intitiator
Point
SYMMETRIX SYMMETRIX
1
Symmetrix-based access control mechanism
provided by Volume Logix avoids such conflicts by
single centralized monitoring.
FC Hub/
Switch
virtual channels
FA 1 FA 2
VCM VCM
SYMMETRIX
1
through which FA ports each host HBA port is
permitted to access. Volume Logix stores this
information in a Volume Logix database (VCMDB)
residing inside the Symmetrix.
7
2.1 Preparing to Install Volume Logix
Volume Logix software has three components that
are installed separately.
• Arbitrated loop
• Switched fabric
Host Systems You can install and run Volume Logix on several
supported OS platforms. Refer to the Volume Logix
Release Notes for the specific requirements that apply
to each platform
Java Runtime The Volume Logix GUI for the Administrative host
Environment requires the Java Runtime Environment (JRE). The
Volume Logix CD includes a JRE for each supported
platform:
• /usr/symmapps/vcm
on UNIX systems.
Unsupported
Platforms
Volume Logix can provide access control for host
platforms that are not supported by this release.
Provided that a host can log on to the Fibre, its access
can be controlled by either the GUI or CLI, no matter
2
which platform it is running.
Upgrading from Two steps are required to upgrade from version 2.0
to version 2.1.
Version 2.0
1. On an Administrative host, if you install Volume
Logix 2.1 over 2.0 and want to use the latest JRE
(on the Volume Logix CD-ROM), you must first
2
unexpected results when you run the application.
cd /usr/symmapps/vcm
C:\Program Files\Symmapps\vcm
rm -rf jre
2
instructions for installing host utilities.
:
mount -F hsfs -o ro /dev/dsk/cxtxdxs0 /cdrom
6.
CD-ROM. For example:
cd /cdrom/
./startup.sh
umount /cdrom
Installing the On UNIX platforms, you may want to install only the
CLI and host utilities on an Administrative host.
Command Line
Interface 1. Create the directory /usr/symmapps/vcm. Enter:
mkdir -p /usr/symmapps/vcm
Solaris
tar -xvf /cdrom/admin/SOLARIS/ttyadmin_SunOS_2_1.tar
HP-UX:
tar -xvf /cdrom/admin/HP/ttyadmin_HP-UX_2_1.tar
4. Unmount the CD-ROM. For example, to
unmount from mount point /cdrom, type:
2
umount /cdrom
UNIX Systems This section describes how to install the host utilities
on UNIX platforms.
./startup.sh
2
Logix version 2.0 or 2.1 software.
C:\Program Files\Symmapps\vcm\Backup
C:\Program Files\Symmapps\vcm
usr/symmapps/vcm/backup
install_dir/UninstallerData
cd /usr/symmapps/vcm/UninstallerData
./Uninstall_vlogix
usr\symmapps\vcm\backup
cd /usr/symmapps
rm -rf vcm
2
systems) is installed.
C:\Program Files\Symmapps\vcm
cd /usr/symmapps/vcm
On Solaris, type
rm -f /etc/rc2.d/S99vcmfind
On HP-UX, type
rm -f /sbin/rc2.d/S99vcmfind
2
• Set the VLOGIX_DATA environment variable if
you did not install Volume Logix in the default
folder or directory.
or
VLOGIX_DATA
C:\Program Files\Symmapps\vcm
set VLOGIX_DATA=/path
export VLOGIX_DATA
\\.\PHYSICALDRIVEx
set VCMDBDEVICE=\\.\PHYSICALDRIVEx
set VCMDBDEVICE=/dev/rdsk/cxtxdxsx
export VCMDBDEVICE
;C:\Program Files\Symmapps\vcm
4. Click on Set, then Apply, then OK.
PATH=$PATH:/usr/symmapps/vcm
export PATH
1.
2.
Click Start, and then point to Settings.
fpath lshostdev
For example:
2
defined so that you can start the GUI interface.
Before moving Volume Logix to a production
environment, you should change the password for
this user account.
Starting the Follow this procedure the first time that you start
Volume Logix after installing the software. For
Volume Logix subsequent starts, see Starting the Volume Logix
Administrator Administrator on page 66.
4.
cd D:\Program Files\Symmapps\vcm
Enter vlogix.bat
2
vlogix.bat
./vlogix.sh
49
3.1 Volume Logix Administrator
Volume Logix Administrator is a Java-based GUI
that allows you to query and define access control on
Symmetrix volumes across an enterprise storage
network (ESN) from a single, central control station.
Symmetrix
FA port
Symmetrix volume
Meta volume
Host
Note some objects within the ESN that are not under
Volume Logix control — hubs and switches, for example
— are not displayed.
• Menu bar
• Tool bar
• ESN Topology pane
• Volumes pane
• Status bar
Menu Bar 55
3.4 Tool Bar
• host to Symmetrix
• host/HBA to Symmetrix
• host to FA port on a Symmetrix
• host/HBA to FA port on a Symmetrix
Icons view The Icons view displays an icon for each volume
associated with the objects selected in the ESN
Topology view.
Volumes Pane 61
If the number of volumes exceeds the available
space, a scroll bar appears on the right side of the
view.
The mouse actions are the same for both the Icon and
Table view:
Status Bar 63
64 INTRODUCING VOLUME LOGIX ADMINISTRATOR
Chapter 4 USING VOLUME
LOGIX
ADMINISTRATOR
4
This chapter explains how to configure access control
through the Volume Logix Administrator interface.
65
4.1 Starting the Volume Logix
Administrator
If you are starting Volume Logix for the first time,
see Initializing the Volume Logix Administrator on
page 41.
From the Start 1. Click on Start in the Task bar, then point to
menu Programs—Volume Logix—Volume Logix
Administrator 2.1.
3. Enter vlogix:
C:\Program Files\SymmApps\vcm>vlogix
cd /usr/symmapps/vcm
2. Enter vlogix.sh:
vlogix.sh
1. Select File-Exit.
2. Click OK.
2.
3.
Click Yes to queue the activation task to the task
list.
3.
you wish to assign.
4
Figure 10. Volume Logix demo application
4
3. Select Host dali. The host becomes highlighted
and the line from the FA port Fa16b to Host dali
is now entirely black.
2. Select Actions—Symmetrix—Activate
Configuration.
2. Select Actions—Symmetrix—Backup.
4
3. Enter the location and filename in which to back
up the database. Click the Save button.
•
•
•
Tasks Overview ..................................................... 90
Task List.................................................................. 93
Activating the Configuration ............................ 109
5
• Symmetrix.............................................................111
• FA Port.................................................................. 117
• Volume.................................................................. 119
• Hosts ..................................................................... 133
• HBA ...................................................................... 137
• Reporting ............................................................. 150
89
5.1 Tasks Overview
Actions on the objects within a Volume Logix
system. Actions are divided in two categories:
• view actions
• configuration actions
Tasks Overview 91
5.2 Reloading the Display
Reloading the display resets the Volume Logix
Administrator ESN Topology and Volumes views to
reflect the configuration stored in Volume Logix
databases for all Symmetrix systems. Reload the
display whenever changes have been made to the
ESN beyond the scope of the Volume Logix
Administrator. If a new host has been added to the
ESN, for example, the Volume Logix Administrator
will not recognize the host until you reload the
display.
2. Click Yes.
5
as a batch. Running tasks in batches is more efficient
than running them separately.
The Task List dialog has two tabs, Tasks and Log.
5
From the Task List dialog, you can:
Task List 95
To run all tasks You can use either the Edit-Tasks command or the
File-Run Tasks command to run all pending tasks.
2. Click Run.
4. Click All.
5
As the task list runs, the status bar indicates the
current task and the task counter indicates how tasks
are remaining to be run.
5. Click Close.
Task List 97
Using File-Run 1. Select File-Run Tasks.
Tasks to run all
tasks
2. Click Yes.
Task List 99
3. Click Run.
5. Click Selected.
5
the Volume Logix database.
To restore a
5
1. Select Edit-Tasks. The Volume Logix Task List
previously omitted appears. A red X to the left of a task indicated
task that it has been deleted.
The first time that you run the Save Log command,
Volume Logix prompts you to create the log file.
5
Subsequent tasks are appended to this log (until you use
the Save Log As command to change the log file).
Symmetrix 111
4. After viewing the properties (none can be
changed), click OK to cancel the Properties
sheet.
8.
list.
Click Confirm. 5
9. Run the File—Run Tasks command to complete
the initialization.
Symmetrix 113
To back up the EMC recommends that you back up the database
every time you run the task list.
Volume Logix
database 1. Select the Symmetrix whose database you want
to back up.
5. Click Confirm.
Symmetrix 115
To restore the 1. Select the Symmetrix whose database is to be
restored.
Volume Logix
database 2. Select Actions-Symmetrix-Restore. Volume
Logix prompts for a password.
6. Click Confirm.
5
properties port resides.
FA Port 117
Table 9. Properties of an FA Port
Logged Into List of host/HBAs connected to this port. List changes as access
rights on this port are granted and revoked.
Volume Count Number of Symmetrix volumes this port can access.
Total Capacity Total capacity in Gigabytes of the volumes that this port can
access.
Meta BCV
Volume 119
State A volume in a Volume Logix system is in one of the
following three states:
5
4. Select Properties to display the Properties sheet.
Volume 121
Table 10. Properties of a Volume (Continued)
BCV Indicates whether this is a BCV volume. Mutually exclusive with the
Volume VCM Volume and Meta Volume properties.
VCM Indicates whether this volume stores a Volume Logix database.
Volume Mutually exclusive with the BCV Volume and Meta Volume
properties.
Meta Indicates whether this volume is part of a meta volume. Mutually
Volume exclusive to the BCV Volume and VCM Volume properties.
5
• Select the FA ports. You can use Shift-select,
Control-select, or drag the cursor while
holding down the left mouse button. The
selected ports become highlighted and the
grey lines between those ports and
Symmetrix become black.
Volume 123
Available to a host Four related, cumulative procedures follow. Each
successive procedure builds on the previous
procedure, further refining the selected volumes.
On all Symmetrix systems:
1. In the ESN Topology view, left-click the host to
select it.
2. Black lines are drawn from that host to the
Symmetrix systems to which it is connected.
3. The Volumes view displays the volumes
available to that host.
On a specific Symmetrix:
1. In the ESN Topology view, select the Symmetrix.
2. In the Volumes view, the list contracts to only
those volumes on the selected Symmetrix.
On multiple FA ports:
1. In the ESN Topology view, click the expansion
symbol next to the Symmetrix.
2. The Symmetrix expands to show its ports.
3. Select the group of FA ports.
4. In the Volumes view, the list contracts to only
those volumes accessible through the selected
ports on the selected Symmetrix.
On a specific FA port:
1. In the ESN Topology view, select a single FA
port.
2. In the Volumes view, the list contracts even
further to only those volumes on the selected
port on the selected Symmetrix.
2.
In the ESN Topology view, click the expansion
symbol next to the Symmetrix.
The Symmetrix expands to show its ports. Select
the group of FA ports.
5
3. In the Volumes view, the list further contracts to
only those volumes accessible through the
selected ports on the selected Symmetrix.
On a specific FA port:
1. In the ESN Topology view, select a single FA
port.
2. The list contracts to only those volumes on
selected port on the selected Symmetrix.
Volume 125
Assigning Use the following procedures to grant access
privileges to specific HBAs on a host:
volumes to
HBAs 1. In the ESN Topology view, click the expansion
symbol next to the host to which the HBA is
attached. The host expands to show its HBAs.
The Volumes view displays that volumes
available to that host.
5.
6.
Select Confirm.
Volume 127
Assigning When you assign one or more volumes to a host,
Volume Logix assigns the volumes to each HBA
volumes to attached that host. Use the following procedures to
hosts grant access privileges.
4.
5.
Select Confirm.
Volume 129
Releasing Releasing volumes from HBAs revokes the HBAs’
access privileges on the volumes.
volumes from
HBAs 1. Select one or more hosts in the ESN Topology
view. Expand the host(s) to show their HBAs.
5. Select Confirm.
Volume 131
4. Select Confirm.
3.
Right-click the host to display the popup menu.
Hosts 133
Viewing hosts You can view hosts that can access a specific
Symmetrix, multiple Symmetrix systems, or FA
ports.
Hosts 135
5. Click OK.
HBA 137
Table 12. Properties of an HBA
Host Name The host to which this HBA connects.
Ports List of Symmetrix/FA port pairs this bus can access.
Total Total capacity in GigaBytes of all volumes assigned to this HBA.
Capacity
Volume Total number of volumes owned by or assigned to this HBA
Count
Viewing HBAs You can view HBAs that can access volumes on a
specific Symmetrix, or view HBAs that can access
volumes on multiple Symmetrix systems.
HBA 139
Access FA ports 1. In the ESN Topology view, click the expansion
symbol next to a Symmetrix on which the port
resides. The Symmetrix expands, showing all its
ports. A grey line is drawn between each FA port
and the hosts that can access volumes on the
Symmetrix through that port.
5
5. Type a new name for the HBA in the Bus edit
box.
HBA 141
6. Click OK.
5
5. Click Yes. Volume Logix asks for your
password.
HBA 143
7. Click Confirm to add the task to the task list.
The new HBA must not have an entry in the Volume Logix
database.
5
2. In the Symmetrix column, select the Symmetrix
to which the HBA is attached:
HBA 145
3. In the Source Candidate HBAs column, select the
HBA whose access privileges are being moved:
5. Click OK.
HBA 147
3. Select File-Properties, or right-click the HBA
and select Properties from the popup menu.
6. Click Confirm.
HBA 149
5.12 Reporting
For each type of Volume Logix object, you can view
reports online or save to a file.
3. Select Report.
Reporting 151
To save a report to 1. On the Report Dialog, select "To file".
a file
2. Press OK to generate the report.
Reporting 153
Figure 16. A Volume Report
Reporting 155
156 MANAGING VOLUME LOGIX OBJECTS
Chapter 6 USING THE VOLUME
LOGIX CLI
157
6.1 The Volume Logix CLI
You use the Volume Logix CLI through:
adddev In the Volume Logix database, adds a device to the list of devices
that a WWN can access.
rmdev In the Volume Logix database, removes a device from the list of
devices that a WWN can access.
backupdb Backs up a Volume Logix database to the specified file.
clrwwn Deletes all access rights for a WWN in the Volume Logix
database (specified either by WWN or AWWN).
swaphba Allows the swapping out of one HBA with another.
chgname Changes the AWWN for the specified WWN in the Volume Logix
database and the Login History table.
refresh Causes Symmetrix to refresh its WWN-related memory tables
with the contents in the Volume Logix database.
lshostdev Lists the Symmetrix devices that are accessed through Fibre
Channel and shows their controlling FA, TID and LUN,
Symmetrix device number, and Symmetrix serial number. Also
shows which device holds the Volume Logix database.
lsstatus Lists whether the Symmetrix FA has Volume Logix turned on.
lssymmdev Lists all FAs in a Symmetrix and which devices they can access.
6
lshosts Lists, for each FA, which hosts and HBAs are logged onto a
Symmetrix (Login History table contents).
vcmfind Runs on each host. Displays WWN identity information for the
host and assigns an alias to the WWN, if one does not yet exist.
FA 1
Fibre
HBA 1 WWN1
FC Hub/
Switch VCM
Fibre WWN2
HBA 2
FA 2
DB Backup
VCM DB
Login Table
Update the Now that you have identified each element, you
initialize the Volume Logix database and create
Volume Logix records:
Database
Table 16. Steps in Updating the Database
To do this... Use
Initial creation only: Initialize the
Volume Logix database device .
Designate, for a specified WWN,
which devices are allocated to
which HBA on this host. Use the
fpath initdb
fpath adddev 6
names/identifiers displayed in
the previous section:
VCMDB: lshostdev.
WWN: lshbawwn or vcmfind.
FA: lshosts.
Devices: lssymmdev.
Repeat for each WWN in the Fibre
Channel configuration.
HBA 1
Hub FA1a
HBA 2
Available
Device Ranges
HOST 1
000-008
HBA 1
Hub FA1b
HBA 2
HOST 2 SYMMETRIX
6
access through one Symmetrix FA to nine devices.
The other hub potentially provides access through
another Symmetrix FA to the same nine devices,
thereby providing continued availability if a hub or
its connections fail.
fpath lshostdev
fpath, Copyright EMC Corp. 1998-1999
Symmetrix Fibre Devices on this computer
Pathname TID LUN Device Symm serial FA
/dev/rdsk/clt0d0s2 0 0 000 0182601088 1a VCMDB
/dev/rdsk/c2t0d0s2 0 0 000 0182601088 1b VCMDB
In this example, the system displays two paths
by which the VCMDB can be seen from this host,
one for each FA. Either path may be used in
fpath commands. The logical volume number of
the VCMDB, in hexadecimal, is 000.
fpath lshbawwn
fpath, Copyright EMC Corp. 1998-1999
1f,0,fca@1.0 300000e06900052b
1f,0,fca@2,0 200000e0698002ad
vcmfind
vcmfind, Copyright EMC Corp. 1998-1999
ADAPTER WWN DEVICE
1f,0,fca@1.0 50060482b891601f /dev/rdsk/c1t0d0s2
1f,0,fca@1,1 50060482b891600e /dev/rdsk/c1t1d0s2
Devices Available on FA 1b
DEVICE NUMBER CAPACITY TYPE
000 0.008 FBA
001 4.510 FBA
002 4.510 FBA
003 4.510 FBA
004 4.510 FBA
005 4.510 FBA
006 4.510 FBA
007 4.510 FBA
008 4.510 FBA
Update the Now that you have identified the names of each
HBA, the FA to which it is connected, and the
Volume Logix devices that may be assigned, you are ready to
Database initialize the Volume Logix database and create
records.
6
fpath adddev -d /dev/rdsk/clt0d0s2 -w 50060482b891601f -f 1a -r "3 5-8"
fpath adddev -d /dev/rdsk/clt0d0s2 -w 50060482b891600e -f 1b -r "4"
fpath lshostdev
fpath, Copyright EMC Corp. 1998-1999
Symmetrix Fibre Devices on this computer
Pathname TID LUN Device Symm serial FA
/dev/rdsk/clt0d0s2 0 0 000 0182601088 1a VCMDB
/dev/rdsk/c1t1d0s2 0 0 000 0182601088 1b VCMDB
/dev/rdsk/c1t0d3s2 0 3 003 0182601088 1a
/dev/rdsk/c1t0d5s2 0 5 005 0182601088 1a
/dev/rdsk/c1t0d6s2 0 6 006 0182601088 1a
/dev/rdsk/c1t0d7s2 0 7 007 0182601088 1a
/dev/rdsk/c1t0d8s2 0 8 008 0182601088 1a
/dev/rdsk/c2t0d4s2 0 4 004 0182601088 1b
Hub FA1a
000-03F, 100-160
HOST2
Hub FA1b
000-03F
HOST3
HOST4
HOST5 FA15a
000, 040-07F, 100-13F
Switch
HOST6 FA15b
000, 060-09F, 0B0-0FF
HOST7
SYMMETRIX
Device Ranges
000 0FF 100 1FF
FA1a
FA1b
FA15a
FA15b
6
Figure 21. Case Study: Complex Configuration
fpath lshostdev
fpath, Copyright EMC Corp. 1998-1999
Symmetrix Fibre Devices on this computer
Pathname TID LUN Device Symm serial FA
/dev/rdsk/clt0d0s2 0 0 000 0182601088 15a VCMDB
/dev/rdsk/c1t1d0s2 0 0 000 0182601088 15b VCMDB
The system displays one device (the VCMDB) for
the Symmetrix, accessed via two paths (via FA
15a and FA 15b) from host 4. Note the VCMDB
path, /dev/rdsk/c1t0d0s2 or /dev/rdsk/c1t1d0s2,
and logical volume number, 000.
fpath lshbawwn
fpath, Copyright EMC Corp. 1998-1999
1f,0,fca@1.0 300000e06900052b
On HOST1
vcmfind
vcmfind, Copyright EMC Corp. 1998-1999
ADAPTER WWN DEVICE
adapter0 200010e0698002ad \\.\physicaldrive3
adapter1 200011e0698002ad \\.\physicaldrive4
On HOST 2
vcmfind
vcmfind, Copyright EMC Corp. 1998-1999
ADAPTER WWN DEVICE
adapter0 200020e0698002ad \\.\physicaldrive3
adapter1 200021e0698002ad \\.\physicaldrive4
Devices Available on FA 1a
DEVICE NUMBER CAPACITY TYPE
000 0.008 FBA
001 4.510 FBA
... ... ...
03F 4.510 FBA
100 4.510 FBA
... ... ...
160 4.510 FBA
Devices Available on FA 1b
DEVICE NUMBER CAPACITY TYPE
000 0.008 FBA
001 4.510 FBA
... ... ...
03F 4.510 FBA
7
179
7.1 Volume Logix CLI
Volume Logix access control functions are controlled
through the fpath command line interface that can
be invoked from any of the major shell programs.
You must be logged on as Administrator (Windows
NT) or root (UNIX systems) to run fpath.
7
fpath Command Description 181
adddev
Synopsis
fpath adddev -d db_device [-w wwn|-u awwn] -f fa -r "range"
Options -d db_device
-f fa
-r range
7
the host HBA identified by the AWWN john/0 (by a
prior fpath adddev and fpath chgname), through its
connection to Symmetrix FA 16b, may access
Symmetrix logical device 4:
Options -d db_device
-o hostpath
7
On a UNIX system, to backup the Volume Logix
database device specified by /dev/rdsk/c1t0d0s2 to
a file /usr/symmapps/vcm/backup/bkfile, type:
Synopsis
fpath chgname -d db_device -w wwn -f fa -n awwn
-w wwn
-n awwn
-f fa
7
fpath Command Description 187
fpath chgname -d \\.\physicaldrive1 -w 100003eb00000010 -f 16b -n "john/0"
Description Deletes a WWN and all access rights for that WWN
(specified by the WWN or AWWN) in the Volume
Logix database.
Options -d db_device
Example
fpath help
fpath, Copyright EMC Corp. 1998-1999$
Online help for fpath
lsstatus -d pathname indicates whether VCM is on
lshosts lists hosts logged onto a Symmetrix
lsdb lists VCM database
adddev -d pathname [-w wwn -u awwn] -f fa -r "" range of
devices
range values are hexadecimal
adds devices to access list of an fa for a symm
rmdev -d pathname [-w wwn -u awwn] -f fa -r "" range of
devices
range values are hexadecimal,
deletes devices to access list of an fa for a symm
lshostdev lists fibre devices visible from this computer
lshbawwn lists the fibre adapters and WWNs on this computer
help requests brief summary of commands
initdb -d pathname initializes VCM database
lsbackup -o hostpath displays the contents of the specified backup file in the
same format as the fpath lsdb command
chgname -d pathname -w wwn -f FA -n new_awwn
changes ASCII AWWN
refresh -d pathnamecauses the Symmetrix to refresh VCM from VCMDB
7
lssymmfas -d pathname lists the Fibre adapters on this Symmetrix
lssymmdev -d pathname lists what devices in Symm are on what FA
backupdb -d pathname -o filename
Respond "y".
Options -o hostpath
7
fpath Command Description 195
lsdb
Options -d db_device
7
listing VCM Database for FA 16a
DISKS permitted access by:
WWN = 10000060b03e8650 AWWN = /
008
fpath lshbawwn
fpath, Copyright EMC Corp. 1998-1999$
1e,0,fca@1,0 100000e06900052b
1f,0,fca@3,0 100000e0690015ba
7
fpath Command Description 199
lshostdev
fpath lshostdev
fpath, Copyright EMC Corp. 1998-1999$
Symmetrix Fibre Devices on This computer
Pathname TID LUN Device Symm serial FA
/dev/rdsk/c1t0d0s2 0 0 000 0182601088 15a VCMDB
/dev/rdsk/c1t0d1s2 0 1 001 0182601088 15a
/dev/rdsk/c1t0d2s2 0 2 002 0182601088 15a
/dev/rdsk/c1t0d3s2 0 3 003 0182601088 15a
/dev/rdsk/c1t0d4s2 0 4 004 0182601088 15a
/dev/rdsk/c1t0d5s2 0 5 005 0182601088 15a
/dev/rdsk/c1t0d6s2 0 6 006 0182601088 15a
/dev/rdsk/c1t0d7s2 0 7 007 0182601088 15a
/dev/rdsk/c1t0d8s2 0 8 008 0182601088 15a
/dev/rdsk/c1t0d9s2 0 9 009 0182601088 15a
/dev/rdsk/c1t0d10s2 0 a 00A 0182601088 15a
/dev/rdsk/c1t0d11s2 0 b 00E 0182601088 15a
/dev/rdsk/c1t1d0s2 0 0 000 0182601088 16b VCMDB
/dev/rdsk/c2t0d0s2 0 0 000 0182601088 15a VCMDB
/dev/rdsk/c2t0d1s2 0 1 001 0182601088 15a
/dev/rdsk/c2t0d2s2 0 2 002 0182601088 15a
/dev/rdsk/c2t0d3s2 0 3 003 0182601088 15a
/dev/rdsk/c2t0d4s2 0 4 004 0182601088 15a
/dev/rdsk/c2t0d5s2 0 5 005 0182601088 15a
/dev/rdsk/c2t0d6s2 0 6 006 0182601088 15a
/dev/rdsk/c2t0d7s2 0 7 007 0182601088 15a
/dev/rdsk/c2t0d8s2 0 8 008 0182601088 15a
/dev/rdsk/c2t0d9s2 0 9 009 0182601088 15a
/dev/rdsk/c2t0d10s2 0 a 00A 0182601088 15a
/dev/rdsk/c2t0d11s2 0 b 00E 0182601088 15a
/dev/rdsk/c2t1d0s2 0 0 000 0182601088 16b VCMDB
/dev/rdsk/c2t1d1s2 0 1 001 0182601088 16b
/dev/rdsk/c2t1d2s2 0 2 002 0182601088 16b
/dev/rdsk/c2t1d3s2
/dev/rdsk/c2t1d4s2
0
0
3
4
fpath lshostdev was SUCCESSFUL
003
004
0182601088 16b
0182601088 16b
7
fpath Command Description 201
lshosts
Options -d db_device
7
fpath Command Description 203
lsstatus
Options -d db_device
Example Imagine that the Symmetrix has two FAs, 15a and
16a, such that fpath lshostdev outputs:
Options -d db_device
7
fpath Command Description 205
Example To display the devices available on the Symmetrix
pointed to by /dev/rdsk/c1t0d0s2:
Devices Available on FA 1a
DEVICE NUMBER CAPACITY TYPE
000 0.008 FBA
001 4.510 FBA
... ... ...
03F 4.510 FBA
100 4.510 FBA
... ... ...
160 4.510 FBA
Devices Available on FA 1b
DEVICE NUMBER CAPACITY TYPE
000 0.008 FBA
001 4.510 FBA
... ... ...
03F 4.510 FBA
Options -d db_device
7
fpath Command Description 207
refresh
Options -d db_device
Options -d db_device
-o hostpath
7
fpath restoredb is SUCCESSFUL
Synopsis
fpath rmdev -d db_device [-w wwn -u awwn] -f fa -r "range"
Options -d db_device
-f fa
-r range
Synopsis
fpath swaphba -d db_device [-w old_wwn|-u awwn] -n new_wwn
Options -d db_device
7
fpath Command Description 213
-w old_wwn|-u awwn
-n new_wwn
-16 VCMAPI_NO_WWN_MATCH
"FAILED could not read
login-history table in Symmetrix"
"FAILED could not match WWN"
7
fpath Error Codes 215
Table 19. The fpath Command Error Codes
Number and Error Error Description
-17 VCMAPI_BAD_WWN_LENGTH "FAILED incorrect wwn length"
-18 VCMAPI_PSCsyserptr_FAILED "FAILED doing PSCsyserptr
syscall"
-19 VCMAPI_UGH_TOO_LONG "FAILED because AWWN was
too long"
-20 VCMAPI_NOT_A_SYMM_DEVICE "FAILED not a Symmetrix
device"
-21 VCMAPI_EMCINQUIRY_FAIL "FAILED doing EMCInquiry"
-22 VCMAPI_WWN_IN_DB "FAILED replacement WWN
already in VCM DB"
-23 VCMAPI_NO_FILE "No such input filename"
-24 VCMAPI_FA_NOT_ON_SYMM "FA specified is not on this
Symmetrix"
-25 VCMAPI_NO_SYMM_FIBRE_HBA "vcmfind did not find any
Symmetrix fibre hba devices"
-26 VCMAPI_NO_RANGE "No range specified"
-27 VCMAPI_NOT_A_SYMM_FIBRE_DEVICE "Device is not a Symmetrix Fibre
Device"
-28 VCMAPI_NOT_VCMDB_DEVICE "It is a symm fibre device but not
a VCMDB device"
-29 VCMAPI_BAD_RANGE "Bad range specified"
-30 VCMAPI_PSCSADVRECD_FAIL "PSCSADVRECD syscall
flopped"
-31 VCMAPI_BAD_INCOMING_AWWN "Invalid format of incoming
AWWN"
-32 VCMAPI_BAD_BACKUP_NAME "Bad backup name"
-33 VCMAPI_BACKUP_THERE "Backup file is already present"
-34 VCMAPI_CANT_WRITE_BACKUP "Could not write backup file"
-35 ""
-36 VCM_PARM_INVALID ""
-37 SYSCALL_FAILED ""
-38 VCM_ACCESS_VIOLATION ""
7
fpath Error Codes 217
218 VOLUME LOGIX CLI
8
Chapter 8 VCMFIND UTILITY
219
8.1 Overview of the vcmfind Command
The vcmfind utility should be installed on each host
attached to a Symmetrix in the Fibre Channel
environment. vcmfind has two purposes:
vcmfind 221
3. If there is no AWWN in the VCM DB entry and
no AWWN in the Login History table, then
vcmfind creates an AWWN and writes it to the
Login History table.
vcmfind
vcmfind, Copyright EMC Corp. 1998-1999
ADAPTER WWN PATHNAME FA
fca@1,0 300000e06900052b /dev/rdsk/c1t0d0s2 15a
fca@1,0 300000e06900052b /dev/rdsk/c1t1d0s2 16b
fca@3,0 100000e06900015a /dev/rdsk/c2t0d0s2 15a
fca@3,0 100000e06900015a /dev/rdsk/c2t1d0s2 16b
Using the AWWN An AWWN can only be used in the fpath adddev,
rmdev, and clrwwn commands once it has been
defined to the Volume Logix database of login
Displaying the From the administrator host, you can use the fpath
AWWN lshosts command to display the contents of the
Login History table, and thereby determine the
AWWN given to a host by vcmfind or fpath
chgname.
225
9.1 Overview of Device Naming
HBA
Discovery
Findings
FA
9
1 2 3 4
SYMMETRIX
HOST HOST
HBA HBA
Target 0 and 1
Discovery Discovery
assignments
have changed
Findings Findings
Network Network
2 4 3 1 2 4 3 1
SYMMETRIX SYMMETRIX
(Before) (After)
• HP HP-UX system
• NT Windows NT system
Synopsis fconfig
/usr/local/volume_logix
Synopsis fcompare
fcompare
9
if (( $? !=0 ))
then
echo "WARNING: fcompare has detected inconsistency"
fi
exit
For details of how to write shell scripts, see your
UNIX operating system documentation.
/usr/symmapps/vcm fcompare
fcompare , fcompare , Copyright EMC Corp. 1998-1999
fcompare SUCCESSFUL
/usr/symmapps/vcm fcompare
fcompare , fcompare , Copyright EMC Corp. 1998-1999
New RawDevice Name was not there when fconfig was run
New RawDevice Name is /dev/rdsk/c8t1d1 device 019 FA Symm 0182600765
New RawDevice Name was not there when fconfig was run
New RawDevice Name is /dev/rdsk/c8t1d2 device 01A FA Symm 0182600765
New RawDevice Name was not there when fconfig was run
New RawDevice Name is /dev/rdsk/c8t1d3 device 01B FA Symm 0182600765
New RawDevice Name was not there when fconfig was run
New RawDevice Name is /dev/rdsk/c8t1d4 device 01C FA Symm 0182600765
New RawDevice Name was not there when fconfig was run
New RawDevice Name is /dev/rdsk/c8t1d6 device 01E FA Symm 0182600765
New RawDevice Name was not there when fconfig was run
New RawDevice Name is /dev/rdsk/c8t1d7 device 01F FA Symm 0182600765
fcompare completed please check status
237
A.1 Hex to Decimal Conversion Chart
Table 22 shows the mapping between decimal and
hexadecimal numbers.
239
B.1 Considerations
When using Volume Logix it is important to
understand how HP-UX builds its device table. This
information applies to servers based on the HSC bus
(Parallel SCSI and Fibre Channel). The HSC base
controller will start scanning at target 0 and continue
sequentially up to the last target. For each target, the
HSC base controller driver begins scanning for LUNs
starting with 0 and going up to the point where it
does not find a LUN in the sequence. If for any
reason the driver does not find a LUN 0 or there is a
break in the sequence of LUNs, the driver will not
detect the remaining LUNs. This is not a defect. It is
just a fact of how the driver was designed.
Considerations 241
242 VOLUME LOGIX WITH HP-UX
Glossary
A
AWWN ASCII World Wide Name. An alias created by
Volume Logix for use in place of the 64-bit World
Wide Name. See also WWN.
C
CA Channel Adapter. See Parallel Channel Director.
DA
D
Disk Adapter. See Disk Director.
G
Destage The asynchronous write of new or updated data
from cache to disk device.
243
required to locate, read, and write data. See also
Volume.
E
EA ESCON Adapter. See Serial Channel Director.
F
FA The Fibre Channel Director/Interface Adapter
combination in the Symmetrix subsystem.
244 Glossary
Fast-Wide SCSI The component in the Symmetrix subsystem that
Channel Director interfaces between host SCSI channels and data
storage. It transfers data between the channel and
cache.
G
Gatekeeper A Symmetrix volume accessible by the host via
which the Symmetrix Manager software
communicates with the Symmetrix. Transfers the
SCSI commands executed by the Symmetrix
Manager to the Symmetrix.
H
G
HBA Host Bus Adapter
Host Bus Adapter A card in the host device that provides a connection
to a Fibre Channel loop.
Glossary 245
I
Identifier (ID) A sequence of bits or characters that identifies a
program, device, controller, or system.
K
Kilobyte (K) 1024 bytes.
L
Local Volume A Symmetrix logical volume that is not participating
in SRDF operations. All CPUs attached to the
Symmetrix may access for read/write operations. It
is available for local mirroring or dynamic sparing
operations to the Symmetrix unit in which it resides
only.
M
Media The disk surface on which data is stored.
246 Glossary
Mirrored Pair A logical volume comprised of two physical devices
with all data recorded twice, once on each device.
P
Parallel Channel The component in the Symmetrix subsystem that
Director interfaces between mainframe host bus & tag
channels and data storage. It transfers data between
the channel and cache.
R
R1 See Source Volume.
Read Hit Ratio Percentage of read hits out of all read requests.
Read Miss
Glossary 247
S
SA SCSI Adapter. See Fast-Wide SCSI Channel Director
and Ultra SCSI Channel Director.
T
Target Volume (R2) A Symmetrix logical volume that is participating in
SRDF operations. It resides in the “remote”
Symmetrix unit. It is paired with a source volume in
the local Symmetrix unit and receives all write data
from its mirrored pair. This volume is not accessed
by user applications during normal I/O operations.
A target volume is not available for local mirroring
or dynamic sparing operations.
248 Glossary
TimeFinder A business continuance solution which allows
customers to use special devices (BCVs) that contain
copies of Symmetrix devices while the standard
devices are online for regular Symmetrix operation.
A software product formerly known as Symmetrix
Multiple Mirror Facility (SMMF).
U
Ultra SCSI Channel The component in the Symmetrix subsystem that
Director interfaces between host Ultra SCSI channels and data
storage. It transfers data between the channel and
cache.
V
VCM Volume Configuration Management. See also Volume
Logix.
Volume Logix
database
A Symmetrix device used by Volume Logix as a
database storing access control information.
G
Glossary 249
W
Write Hit There is room in cache for the data presented by the
write operation.
250 Glossary
Index
A Details button 56
About Volume Logix option 55 Details view 61
Actions menu 55 Devices
Activate configuration option 109 adding 161, 167, 176
Activating the configuration 75, 85, name binding 228
109 naming process 226
Adapter number 223 relationship to FAs 205
adddev action 161, 167, 176, 178 removing 210
Administrator host station 10
ASCII WWN (AWWN) 223, 243 E
assigning 220 Edit menu 54
changing 186 Environment variable
listing 196, 220 PATH 33
Assigning volumes 75, 80, 126, VCMDBDEVICE 31
128, 182 VLOGIX_DATA 29, 231
ESN Topology View 56
B Exit option 54
Backing up VCMDB 114, 185
backupdb action 162, 168, 177, F
182, 185 FA port 58, 117
Binding 228 report 150
Boot time tasks 34 viewing 117
Bus option 55 viewing properties 117
fcompare 34, 36, 229, 233
C fconfig 229, 231
Change Password option 54, 73 Fibre Adapter (FA) 4, 244
chgname action 178, 186 Fibre Channel 4, 9, 245
clrwwn action 178, 189 File Menu 54
Configuring access control 74 First time use 41
Conventions xiii
Creating a Volume Logix database
I
176
D
Deleting a WWN 189
251
fpath Host 133
syntax 158, 181 58
action (none) 181 assigning volumes 128
action summary 159 name 223
adddev 161, 167, 176, 178 properties 133
backupdb 162, 168, 177, 182, releasing volumes 131
185 renaming 135
chgname 178, 186 report 150
clrwwn 178, 189 unnamed 45
initdb 161, 167, 176, 193 viewing 134
lsbackup 195 Host Bus Adapter (HBA) 245
lsdb 196 Host Bus Adapter (HBA), See HBA
lshbawwn 160, 164, 172, 199
lshostdev 39, 160, 164, 172,
I
200
Icons button 56
lshosts 160, 165, 174, 202
Icons view 60
lsstatus 204
Icons/Details option 54
lssymmdev 160, 165, 175, 205
initdb action 161, 167, 176, 193
lssymmfas 207
Initialize database dialog 79, 112
refresh 162, 168, 177, 208
Initializing a VCMDB 74, 78, 112,
restoredb 209
161, 167
return code 215
Initializing the GUI 41
rmdev 178, 210
inittab file 36
swaphba 178, 213
Installation
check 38
H CLI only 20
HBA 58, 137 client stations only 22
assigning volumes 126 uninstalling 25
clearing access rights 143 Unix 18
properties 137 Windows NT 15
releasing volumes 130
renaming 141
J
report 150
Java 10
swapping access rights 145
JRE 10
viewing 138
Help button 56
Help Contents option 55 L
Help menu 55 Lines in Topology view 58
Hexadecimal conversion chart 238
252 Index
Listing Report
device names 200 FA port 150
FAs/devices 205 HBA 150
Login History table 202 host 150
VCMDB contents 196 Symmetrix 150
VCMDB name 160, 164, 172, volume 150
200 restoredb action 209
WWNs of host HBAs 160, 199 Restoring the VCMDB 114, 116
Login History table 5, 165, 202, rmdev action 178, 210
223 Run Tasks button 56
lsbackup action 195 Run Tasks option 54
lsdb action 196
lshbawwn action 160, 164, 172,
S
199
Settings option 55
lshostdev action 160, 164, 172, 200
Shell script 235
lshosts action 160, 165, 174, 202
Simple case study 77
lsstatus action 204
Starting Volume Logix
lssymmdev action 160, 165, 175,
Administrator 66
205
Status bar 63
lssymmfas action 207
swaphba action 178, 213
Symmetrix 58, 111
M report 150
Menu bar 54 viewing properties 111
Microcode version 8 Symmetrix option 55
N T
Name binding 228 Task list 93
omitting tasks 102
restoring tasks 103
P
running all tasks 96
PATH environment variable 33
Task listLrunning selected tasks 99
Privileges required 66, 158
Tasks option 54
Properties button 56
Tool bar 56
Properties of objects 51
Topology view
Properties option 54
lines 58
R V
Recording name bindings 231
VCM database
refresh action 162, 168, 177, 208
restoring from backup 116, 209
Refresh Display 54, 93
I
VCMDBDEVICE environment
Refresh Display button 56
variable 31
vcmfind 34, 36, 158, 159, 160,
173, 220
return code 222
Index 253
Verifying name bindings 233 Volume Logix database 5
View menu 54 adding devices 161, 167, 176
Viewing assigning volumes 126, 128
FA port report 150 backing up 114, 162, 168,
FA ports 117 177, 182, 185
HBA report 150 clearing 193
HBAs 138, 140 creating 176
host properties 133 deleting a WWN 189
host report 150 designating db_device 8
hosts 134 initializing 78, 112, 161, 167,
Symmetrix properties 111 193
Symmetrix report 150 listing contents 196
volume properties 120 listing device names 200
volume report 150 listing VCMDB name 200
Viewing FA port properties 117 refresh 162, 168, 177
Viewing HBA properties 137 releasing volumes 130, 131
Virtual channel 3 restoring 114, 116
VLOGIX_DATA environment size 9
variable 29, 231 Volume option 55
Volume Volume report 150
assigning to HBA 126 Volumes view 60
assigning to hosts 128
properties 120
W
releasing from HBAs 130
World Wide Name (WWN) 4
releasing from hosts 131
deleting 189
states 120
listing HBAs allowed access 196
types 119
listing HBAs on host 160, 164,
Volume configuration management
172, 173, 199, 220
(VCM) 2
swapping 213
Volume Logix 2, 249
components 6
on/off 8, 204
Volume Logix Administrator 50
demo 78
icons 50
main window 52
menu bar 54
starting 66
starting first time 41
status bar 63
tool bar 56
topology view 56
volumes view 60
254 Index
Sales and Service Locations
255
Irvine, CA 714-833-1442
Lenexa, KS 913-469-9292
Long Island, NY 516-393-5045
Minneapolis, MN 612-835-1994
Montreal, Quebec 514-856-6166
Nashville, TN 615-781-4394
New York City, NY 212-564-6866
Ottawa, Ontario 613-233-0111
Orlando, FL 407-855-4087
Phoenix, AZ 602-955-0702
Philadelphia, PA 610-834-7740
Pittsburgh, PA 412-922-5222
Portland, OR 503-293-8450
Raleigh, NC 919-420-0405
Rochester, NY 716-387-0970
Salt Lake City, UT 801-532-1454
San Diego, CA 619-576-1880
San Francisco, CA 415-871-1970
Southington, CT 860-620-6730
Springfield, NJ 201-467-7979
St. Louis, MO 314-469-9005
Tampa, FL 813-282-0274
Toronto, Ontario 905-206-1580
Tulsa, OK 918-663-2255
Vancouver, BC 604-270-1657
Vienna, VA 703-893-8400