0% found this document useful (0 votes)
68 views

Fast Lab

The document provides instructions for a lab exercise to manage EMC Symmetrix FAST using SYMCLI and SMC. It describes logging into hosts, checking SYMCLI and FAST configuration, identifying storage groups and tiers, and generating I/O loads.

Uploaded by

hartapa
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
68 views

Fast Lab

The document provides instructions for a lab exercise to manage EMC Symmetrix FAST using SYMCLI and SMC. It describes logging into hosts, checking SYMCLI and FAST configuration, identifying storage groups and tiers, and generating I/O loads.

Uploaded by

hartapa
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 46

Symmetrix FAST Configuration

and Management
Lab Guide

Education Services
June 2010

Symmetrix FAST Configuration and Management

Lab Guide

Copyright

Copyright 1996, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,2008, 2009, 2010 EMC Corporation. All
Rights Reserved.
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.
EMC, ICDA (Integrated Cached Disk Array), and EMC2 (the EMC logo), and Symmetrix, are registered
trademarks of EMC Corporation. EMC and SRDF are trademarks of EMC Corporation.
All other trademarks used herein are the property of their respective owners.

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 2 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Trademark Information

EMC
Trademarks

EMC2, EMC, Symmetrix, Celerra, CLARiiON, CLARalert, Connectrix, Dantz,


Documentum, HighRoad, Legato, Navisphere, PowerPath, ResourcePak,
SnapView/IP, SRDF, TimeFinder, VisualSAN, and where information lives are
registered trademarks and EMC Automated Networked Storage, EMC
ControlCenter, EMC Developers Program, EMC OnCourse, EMC Proven, EMC
Snap, Access Logix, AutoAdvice, Automated Resource Manager, AutoSwap,
AVALONidm, C-Clip, Celerra Replicator, Centera, CentraStar, CLARevent,
CopyCross, CopyPoint, DatabaseXtender, Direct Matrix, Direct Matrix
Architecture, EDM, E-Lab, Enginuity, FarPoint, FLARE, GeoSpan, InfoMover,
MirrorView, NetWin, OnAlert, OpenScale, Powerlink, PowerVolume, RepliCare,
SafeLine, SAN Architect, SAN Copy, SAN Manager, SDMS, SnapSure, SnapView,
StorageScope, SupportMate, SymmAPI, SymmEnabler, Symmetrix DMX,
Universal Data Tone, and VisualSRM are trademarks of EMC Corporation. All
other trademarks used herein are the property of their respective owners.

Third Party
Trademarks

AIX is a registered trademark of International Business Machines Corporation.


Brocade, SilkWorm, SilkWorm Express, and the Brocade logo are trademarks or
registered trademarks of Brocade Communications Systems, Inc., in the United
States and/or in other countries. Compaq and the names of Compaq products
referenced herein are either trademarks and/or service marks or registered
trademarks and/or service marks of Compaq. Hewlett-Packard, HP, HP-UX,
OpenView, and OmniBack are trademarks, or registered trademarks of HewlettPackard Company. McDATA, the McDATA logo, and ES-2500 are registered
trademarks of McDATA Corporation. Microsoft, Windows, and Windows NT are
either registered trademarks or trademarks of Microsoft Corporation in the United
States and/or other countries. NobleNet is a registered trademark of Rogue Wave
Software, Inc. SANbox is a trademark of QLogic Corporation. Sun, Sun
Microsystems, the Sun Logo, SunOS and all Sun-based trademarks and logos, Java,
the Java Coffee Cup Logo, and all Java-based trademarks and logos, Solaris, and
NFS, are trademarks or registered trademarks of Sun Microsystems, Inc. in the
United States and other countries. UNIX is a registered trademark of The Open
Group.

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 3 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Document Revision History

Rev #
1

File Name
FASTlab.doc

Copyright 2010 EMC Corporation. All Rights Reserved.

Date
June 2010

Version 1

Page 4 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Table of Contents: Symmetrix FAST Configuration and


Management

Copyright ............................................................................................................................2
Trademark Information .......................................................................................................3
Document Revision History ................................................................................................4
Table of Contents: Symmetrix FAST Configuration and Management ..............................5
Lab Exercise 1: Manage FAST using SYMCLI ...................................................................7
Lab Exercise 1: Manage FAST using SYMCLI ...................................................................8
Lab Exercise 2: Manage FAST using SMC .......................................................................28
Lab Exercise 2 : Manage FAST using SMC .....................................................................29
Lab Exercise 3 (optional): Cleanup ..................................................................................41
Lab Exercise 3 : Clean up FAST objects on Symm 2 .......................................................42

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 5 of 46

Symmetrix FAST Configuration and Management

Copyright 2010 EMC Corporation. All Rights Reserved.

Lab Guide

Version 1

Page 6 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Lab Exercise 1: Manage FAST using SYMCLI


Purpose:

Objectives:

References:

In this lab exercise students will manage the FAST environment


using SYMCLI. Students will also start an I/O load on FAST
managed devices assigned to them

1. Examine FAST and Optimizer settings


2. Identify a FAST managed storage group containing
physical devices that are accessible for writes by your host
3. Identify the FAST tiers and policy associated with the
storage group
4. Run IO driver named iorate to generate IO activity on your
storage group

EMC Solutions Enabler Symmetrix Array Controls CLI Version


7.1 PRODUCT GUIDE P/N 300-002-940 REV A07
EMC Solutions Enabler Symmetrix Array Management CLI
Version 7.1 PRODUCT GUIDE P/N 300-002-939 REV A07

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 7 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Lab Exercise 1: Manage FAST using SYMCLI

Step Action
1
The host IP addresses will be provided by the instructor
Enter the IP address of the host (host1) connected to Symmetrix 1
(Symm1)________________
Enter the IP address of the Windows host running the SMC Server
<SMC Server1> ______________
Write down the Username <SMCUser> _____ and Password <SMC Pass> ____
provided by the instructor
2

Log into <host1> using the name and password assigned to you by the
instructor
Example:
login: sun1
Password: ****

General Note: After logging in on any host, change your user ID to superuser
and check your user interface
# su
Password: <root password provided by instructor>
# ps
If you would prefer a different user interface than the default shell provided by the
operating system, type in the name of the shell. Note that not all of these shells are
available on all operating systems.
Example:
# csh (invokes C-shell)
# ksh
# tcsh (enhanced version of C-shell)
# sh
# bash (combines Bourne, Korn and C-shell features)

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

(invokes Korn shell)


(invokes Bourne shell)

Page 8 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Step Action
4
Check to see if the directory for SYMCLI executables and the local directory
( . ) are included in your PATH variable and if not set, set it and export it
# echo $PATH
Are the directories /usr/symcli/bin and . included in the PATH? _________
If not add /usr/symcli/bin and/or . to your PATH
For Unix C shell: set path = ($path /usr/symcli/bin .)
For Unix Korn or Bourne shell: PATH=$PATH:/usr/symcli/bin:.
export PATH
Enter the command:
# symcli
What is the Solutions Enabler version installed on the host ___________
5

Identify the unique serial number of the local Symmetrix array <Symm1> .
# symcfg discover
# symcfg list
What is the serial number of the Array <Symm1> ___________________
What is the Symmetrix model ____________ What is the Enginuity Version _____
In subsequent lab exercises use last 2 digits of <Symm1> in place of the <Symm1
sid> parameter

Check if Optimizer and FAST are enabled


# symoptmz sid <Symm1 sid> query
Is Optimizer enabled [Y/N] _____
# symfast sid <Symm1 sid> list state
Is FAST Enabled [Y/N] _____ If not, seek assistance from the instructor
What is the current activity [Idle / Fetching Stats / Analyzing Stats / Pending Plan /
Running Plan] ________________________

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 9 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Step Action
7
Examine Time Windows for Optimizer and FAST and confirm that the user
defined parameters are set properly. The parameter values in bold letters
should be the same in your environment as shown below. The parameters in
normal font can be different.
# symoptmz show parms sid <Symm1 sid>
Example:
DMX800SUN1/> symoptmz show -parms -sid 34
Optimizer Control Parameters
Swap Mode
: Auto
Min Perf Period
: 1
Workload Period
: 1
Max Simult Swaps
: 8
Max Swaps Per Day
: 64

Time Window ID
: WideOpenSwapWin
Type
: Swap
Flags
: Inclusive
Periodicity
: WeeklyByDay
Start Date
: Sat May 1 18:00:00 2010
Stop Date
: Sun May 1 18:00:00 2011
Days of the week
: Sunday Monday Tuesday
Wednesday Thursday Friday Saturday
Start Time (hh:mm)
: 00:00
Stop Time (hh:mm)
: 23:59

Time Window ID
: WideOpenPerfWin
Type
: Performance
Flags
: Inclusive
Periodicity
: WeeklyByDay
Start Date
: Sat May 1 18:00:00 2010
Stop Date
: Sun May 1 18:00:00 2011
Days of the week
: Sunday Monday Tuesday
Wednesday Thursday Friday Saturday
Start Time (hh:mm)
: 00:00
Stop Time (hh:mm)
: 23:59

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 10 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Step Action
8
Examine parameters for FAST and confirm that the user defined parameters
are set properly. The parameter values in bold letters should be the same in
your environment as shown below. The parameters in normal font can be
different.
# symfast list control_parms sid <Symm1 sid>
Example:
# symfast list -control_parms -sid 34
Symmetrix ID: 000194900634
Data Movement Mode
Min Initial Workload Period(hrs)
Workload Analysis Period(hrs)
Max Simultaneous Device Moves
Max Device Moves Per Day
Swap Not Visible Devices
Allow Only Swap
9

:
:
:
:
:
:
:

Auto_Approve
1
1
8
64
Enabled
Disabled

Identify the disk groups in the Symmetrix


# symdisk list dskgrp_summary sid <Symm1 sid>
Example:
# symdisk list dskgrp_summary sid 34
Fill out the table below based on the output
Disk Group #

Disk Group Name

_________

______________

______

_______

_________

______________

______

_______

_________

______________

______

_______

_________

______________

______

_______

Copyright 2010 EMC Corporation. All Rights Reserved.

Disk Count (CNT)

Version 1

Technology

Page 11 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Step Action
10 Identify the storage tiers in the Symmetrix <Symm1>
# symtier list sid <Symm1 sid>
Based on the output fill out the following table
Tier Name

Technology

Target Protection

Inc Type

________________

______

______________

_______

________________

______

______________

_______

________________

______

______________

_______

________________

______

______________

_______

Example:
DMX800SUN1/> symtier list -sid 34
Symmetrix ID

: 000194900634

------------------------------------------------------------------------------Target
Inc
Total
Free
Used
Tier Name
Tech Protection
Type
(GB)
(GB)
(GB)
-------------------------- ---- ------------ ---- --------- --------- --------RAID1_FC
RAID5_SATA
RAID6_FC
Legend:
Inc Type

FC
RAID-1
SATA RAID-5(3+1)
FC
RAID-6(6+2)
:

S
S
S

8513
7452
2053

8036
7418
2053

477
34
0

S = Static, D = Dynamic

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 12 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Step Action
11 Identify the disk groups associated with RAID1_FC and RAID_5 SATA
# symtier show tier_name RAID1_FC sid <Symm1 sid>
# symtier show tier_name RAID5_SATA sid <Symm1 sid>
Based on the output fill in the disk group number for each tier:
Disk group number for RAID1_FC ______
Disk group number for RAID5_SATA _____
Example:
# symtier show -tier_name RAID5_SATA -sid 34
Symmetrix ID

: 000194900634

Tier Name
Technology
Target Protection
Include Type

:
:
:
:

RAID5_SATA
SATA
RAID-5(3+1)
Static

Disk Groups(1)
{
-------------------------------------------------------------Dsk Dsk
Speed Disk
Total
Free
Used
Grp Group Name
(RPM) Count
(GB)
(GB)
(GB)
--- -------------- ------- ----- --------- --------- --------003 DISK_GROUP_003
7200
8
7452
7422
30
----- --------- --------- --------Total
8
7452
7422
30
}

Disk group number for RAID5_SATA

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 13 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Step Action
12 Note the Symmetrix device names (dev1 through dev6) and physical device
names (pdev1 through pdev6) of the first six regular devices (2-Way-Mir or
RAID-6 or RAID-5) that are accessible to this host. Exclude the ACLX device.
# symdev list pd sid <Symm1 sid> | more
<dev1> ___________ <pdev1> ____________________________________
<dev2> ___________ <pdev2> ____________________________________
<dev3> ___________ <pdev3> ____________________________________
<dev4> ___________ <pdev4> ____________________________________
<dev5> ___________ <pdev5> ____________________________________
<dev6> ___________ <pdev6> ____________________________________
Enter the capacity in MB of these devices (L_MB) ____
Example
# symdev list pd sid 34 | more
Symmetrix ID: 000194900634
Device Name
Directors
Device
--------------------------- ------------- ------------------------------------Cap
Sym Physical
SA :P DA :IT Config
Attribute
Sts
(MB)
--------------------------- ------------- ------------------------------------0028
00B1
00B2
00B3
00B4
00B5
00B6

c2t50000972C009E95Cd0*
/dev/rdsk/emcpower86c
/dev/rdsk/emcpower83c
/dev/rdsk/emcpower74c
/dev/rdsk/emcpower73c
/dev/rdsk/emcpower76c
/dev/rdsk/emcpower93c

08F:0
07F:0
07F:0
07F:0
07F:0
07F:0
07F:0

07D:D2
07A:C0
07C:C6
08D:C0
08C:D6
07D:D2
07D:C1

2-Way Mir
2-Way Mir
RAID-5
2-Way Mir
RAID-5
2-Way Mir
2-Way Mir

N/Grp'd ACLX RW
N/Grp'd
RW
N/Grp'd
RW
N/Grp'd
RW
N/Grp'd
RW
N/Grp'd
RW
N/Grp'd
RW

90
1078
1078
1078
1078
1078
1078

<dev1> B1
<pdev1> /dev/rdsk/emcpower86c
............................................................................................
<dev1> B6
<pdev1> /dev/rdsk/emcpower93c
Capacity in MB of these devices (L_MB) 1078

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 14 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Step Action
13 Identify the FAST group(s) to which devices <dev1> through <dev6> belong
# symaccess list type storage dev <dev1>:<dev6> -sid <Symm1
sid>
Example:
# smaccess list -type storage -dev B1:B6 -sid 34
Symmetrix ID
Symm
Dev
---00B1
00B2
00B3
00B4
00B5
00B6

: 000194900634

Storage Group Name


-------------------------------sun1_StorageGroup
sun1_FastGroup
sun1_StorageGroup
sun1_FastGroup
sun1_StorageGroup
sun1_FastGroup
sun1_StorageGroup
sun1_FastGroup
sun1_StorageGroup
sun1_FastGroup
sun1_StorageGroup
sun1_FastGroup

Copyright 2010 EMC Corporation. All Rights Reserved.

Dev
Count
----64
6
64
6
64
6
64
6
64
6
64
6

Version 1

View
Count
----1
0
1
0
1
0
1
0
1
0
1
0

Page 15 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Step Action
14 Of the group(s) to which <dev1> through <dev6> belong, identify the FAST
managed storage group <FASTgrp1>
# symsg list sid <Symm1 sid>
Enter the name of the FAST managed group <FASTgrp1> _______________
Example:
# symsg list -sid 34
S T O R A G E
Symmetrix ID:

G R O U P S

000194900634

Number
Use
Storage Group Name
Devices F M
----------------------------------hp1_FastGroup
6 X .
hp1_StorageGroup
64 . X
ibm1_FastGroup
6 X .
ibm1_StorageGroup
64 . X
lin1_FastGroup
6 X .
lin1_StorageGroup
64 . X
sun1_FastGroup
6 X .
sun1_StorageGroup
64 . X
WIN1_StorageGroup
64 . X

FAST managed Group

Legend:
Use Flags:
(F)ast Policy, X = Associated with Fast Policy, . = N/A
(M)asking View, X = Contained in Mask View(s),
. = N/A

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 16 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Step Action
15 Examine the storage group
# symsg show <FASTgrp1> -sid <Symm1 sid>
The listing should show just the 6 devices <dev1> through <dev6>. If that is not the
case ask for assistance from the instructor.
Example:
# symsg show sun1_FastGroup
Name: sun1_FastGroup
Symmetrix ID
Last updated at
Masking Views
FAST Policy

:
:
:
:

000194900634
Mon Jun 07 14:08:58 2010
No
Yes

Devices (6):
{
--------------------------------------------------------Sym
Device
Cap
Dev
Pdev Name
Config
Sts
(MB)
--------------------------------------------------------00B1
/dev/rdsk/emcpower86c
RAID-5
RW
1078
00B2
/dev/rdsk/emcpower83c
RAID-5
RW
1078
00B3
/dev/rdsk/emcpower74c
RAID-5
RW
1078
00B4
/dev/rdsk/emcpower73c
RAID-5
RW
1078
00B5
/dev/rdsk/emcpower76c
RAID-5
RW
1078
00B6
/dev/rdsk/emcpower93c
RAID-5
RW
1078
}

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 17 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Step Action
16 Identify the Tiers and the Policy associated with the storage group
<FASTgrp1>
# symfast show association sg <FASTgrp1> -sid <Symm1 sid>
Do all six devices: belong to the RAID5_SATA tier [Y/N] ___
Are they part of a policy called 100FC100SATA [Y/N] _____
Does the policy have a priority of 2 [Y/N] ____
Are there two tiers named in the policy [Y/N] _____
Are the tier names RAID1_FC and RAID5_SATA [Y/N] _____
Is the max participation for each tier as denoted by Max SG percent 100% [Y/N] __
Example:
# symfast show -association -sg sun1_FastGroup -sid 34
Symmetrix ID

: 000194900634

Storage Group
: sun1_FastGroup
Devices(6)
{
--------------------------------------------------------------Policy
Dsk Dsk
Cap
Sym Protection
Tier Name
Grp Group Name
Tech
(GB)
---- ------------ ------------- ---- -------------- ----- ----00B1 RAID-5(3+1) RAID5_SATA
003 DISK_GROUP_003 SATA
1
00B2 RAID-5(3+1) RAID5_SATA
003 DISK_GROUP_003 SATA
1
00B3 RAID-5(3+1) RAID5_SATA
003 DISK_GROUP_003 SATA
1
00B4 RAID-5(3+1) RAID5_SATA
003 DISK_GROUP_003 SATA
1
00B5 RAID-5(3+1) RAID5_SATA
003 DISK_GROUP_003 SATA
1
00B6 RAID-5(3+1) RAID5_SATA
003 DISK_GROUP_003 SATA
1
}
Policy Name
Priority

: 100FC100SATA
: 2

Tiers(2)
{
-----------------------------------------------------------Max SG
Target
Tier Name
Percent Tech Protection
--------------------------------- ------- ----- -----------RAID1_FC
100 FC
RAID-1
RAID5_SATA
100 SATA RAID-5(3+1)
}

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 18 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Step Action
17 Change directory to the IORATE subdirectory and examine the script
student_devlst.csh. This script creates a file called devices_for_fast.ior
# cd IORATE
# cat student_devlst.csh
#!/bin/csh
set SID=`symcfg list | grep Local | awk '{print $1}' |
set CAP=`symdev list pd -sid 34 -N 2 | grep dev | grep
set OF=devices_for_fast.ior
@ numdev=6
#
set devlst=`symdev list pd -N $numdev -cap $CAP | grep
echo "#This file contains devices on which to write an
foreach i ($devlst)
echo Device = \"$i\" capacity 1000MB\; >> $OF
end
echo "These are the devices that will be written to by
cat $OF

18

cut -c 10-12`
-v ACLX | awk '{print $8}'`

dev | awk '{print $2}'`


IORATE pattern" > $OF

iorate"

Run the script student_devlst.csh. It creates devices_for_fast.ior and prints


the contents of the file on the screen. Confirm that the listed devices match
the devices <pdev1> through <pdev6> recorded in step 11
Example:
# ./student_devlst.csh
These are the devices that will be written to by iorate
#This file contains devices on which to write an IORATE pattern
Device = "/dev/rdsk/emcpower86c" capacity 1000MB;
Device = "/dev/rdsk/emcpower83c" capacity 1000MB;
Device = "/dev/rdsk/emcpower74c" capacity 1000MB;
Device = "/dev/rdsk/emcpower73c" capacity 1000MB;
Device = "/dev/rdsk/emcpower76c" capacity 1000MB;
Device = "/dev/rdsk/emcpower93c" capacity 1000MB;

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 19 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Step Action
19 Check the write patterns that are available for iorate to use
# cat patterns_for_fast.ior
#
# Pattern file for general drive I/O testing
#
# Note that any one pattern will do either read or write,
either random or
# sequential, of a given block size. To mix I/O types, a
given test will
# use a mix of I/O patterns. For details on the file
format, see the
# iorate(1) man page.
#
# WARNING:
# The write tests done with iorate are DESTRUCTIVE. Any
pattern that
# you define here that does writes will cause all of the
devices/files
# under test to be overwritten with pre-defined test data if
you are
# doing write testing. Only conduct write tests on
files/devices
# where the data is DISPOSABLE.
#
Pattern
Pattern
Pattern
Pattern
Pattern
Pattern
Pattern
Pattern
Pattern
Pattern
Pattern
write;
Pattern

1 = "2k Seq Read" io size 2KB sequential read;


2 = "2k Random Read" io size 2KB random read;
3 = "2k Seq Write" io size 2KB sequential write;
4 = "2k Random Write" io size 2KB random write;
5 = "8k Seq Read" io size 8KB sequential read;
6 = "8k Random Read" io size 8KB random read;
7 = "8k Seq Write" io size 8KB sequential write;
8 = "8k Random Write" io size 8KB random write;
9 = "64k Seq Read" io size 64KB sequential read;
10 = "64k Random Read" io size 64KB random read;
11 = "64k Seq Write" io size 64KB sequential
12 = "64k Random Write"

Copyright 2010 EMC Corporation. All Rights Reserved.

io size 64KB

Version 1

random

write;

Page 20 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Step Action
20 Examine the test file test_fast_wrt.ior
# cat test_fast_wrt.ior
#IO test designed to run for 12 hours with
Test = "Mixed Pattern" for 45 min ignore 0
8 size 1000MB;
Test = "Mixed Pattern" for 15 min ignore 0
Pattern 8 size 1000MB;
Test = "Mixed Pattern" for 45 min ignore 0
8 size 1000MB;
Test = "Mixed Pattern" for 15 min ignore 0
Pattern 8 size 1000MB;
Test = "Mixed Pattern" for 45 min ignore 0
8 size 1000MB;
Test = "Mixed Pattern" for 15 min ignore 0
Pattern 8 size 1000MB;
Test = "Mixed Pattern" for 45 min ignore 0
8 size 1000MB;
Test = "Mixed Pattern" for 15 min ignore 0
Pattern 8 size 1000MB;
Test = "Mixed Pattern" for 45 min ignore 0
8 size 1000MB;
Test = "Mixed Pattern" for 15 min ignore 0
Pattern 8 size 1000MB;
Test = "Mixed Pattern" for 45 min ignore 0
8 size 1000MB;
Test = "Mixed Pattern" for 15 min ignore 0
Pattern 8 size 1000MB;
Test = "Mixed Pattern" for 45 min ignore 0
8 size 1000MB;
Test = "Mixed Pattern" for 15 min ignore 0
Pattern 8 size 1000MB;
Test = "Mixed Pattern" for 45 min ignore 0
8 size 1000MB;
Test = "Mixed Pattern" for 15 min ignore 0
Pattern 8 size 1000MB;
Test = "Mixed Pattern" for 45 min ignore 0
8 size 1000MB;
Test = "Mixed Pattern" for 15 min ignore 0
Pattern 8 size 1000MB;
Test = "Mixed Pattern" for 45 min ignore 0
8 size 1000MB;
Test = "Mixed Pattern" for 15 min ignore 0
Pattern 8 size 1000MB;
Test = "Mixed Pattern" for 45 min ignore 0
8 size 1000MB;
Test = "Mixed Pattern" for 15 min ignore 0
Pattern 8 size 1000MB;
Test = "Mixed Pattern" for 45 min ignore 0
8 size 1000MB;
Test = "Mixed Pattern" for 15 min ignore 0
Pattern 8 size 1000MB;

Copyright 2010 EMC Corporation. All Rights Reserved.

15 mins of idle time each hour


sec 50% Pattern 6, 50% Pattern
sec 1 iops 50% Pattern 6, 50%
sec 50% Pattern 6, 50% Pattern
sec 1 iops 50% Pattern 6, 50%
sec 50% Pattern 6, 50% Pattern
sec 1 iops 50% Pattern 6, 50%
sec 50% Pattern 6, 50% Pattern
sec 1 iops 50% Pattern 6, 50%
sec 50% Pattern 6, 50% Pattern
sec 1 iops 50% Pattern 6, 50%
sec 50% Pattern 6, 50% Pattern
sec 1 iops 50% Pattern 6, 50%
sec 50% Pattern 6, 50% Pattern
sec 1 iops 50% Pattern 6, 50%
sec 50% Pattern 6, 50% Pattern
sec 1 iops 50% Pattern 6, 50%
sec 50% Pattern 6, 50% Pattern
sec 1 iops 50% Pattern 6, 50%
sec 50% Pattern 6, 50% Pattern
sec 1 iops 50% Pattern 6, 50%
sec 50% Pattern 6, 50% Pattern
sec 1 iops 50% Pattern 6, 50%
sec 50% Pattern 6, 50% Pattern
sec 1 iops 50% Pattern 6, 50%

Version 1

Page 21 of 46

Symmetrix FAST Configuration and Management

21

Lab Guide

Examine the file iorate.cmd


# cat iorate.cmd
iorate -f devices_for_fast.ior -t test_fast_wrt.ior -p
patterns_for_fast.ior
What this command does
iorate is an I/O generator developed by EMC for all Unix platforms. It is periodically
updated by EMC Performance Engineering and is available from the public ftp site:
ftp://ftp.emc.com/pub/symm3000/iorate. The device file specifies the devices that
will be exercised. The patterns specify the write patterns that are available. The test
file specifies that pattern 8 (8K random writes) and pattern 6 (8K random reads) will
be used on the specified devices. The I/O patterns will run all out for 45 minutes
and slow down to 1 IO per second for 15 minutes. This combination will continue
for 12 hours, which is why there are 24 lines in the test file.
If you need more information on iorate read the iorate.man page in the same
diredctory.

22

Start the I/O tests. Note that you must keep this terminal session running for
the rest of the day in order for the tests to continue.
# iorate.cmd
iorate: Starting IORATE (iorate) version 2.0
- - - - - - Log of Devices Data from 'devices_for_fast.ior'- - - - Device
1000MB
Device
1000MB
Device
1000MB
Device
1000MB
Device
1000MB
Device
1000MB

1 = "/dev/rdsk/emcpower86c"
block size 512B ;
2 = "/dev/rdsk/emcpower83c"
block size 512B ;
3 = "/dev/rdsk/emcpower74c"
block size 512B ;
4 = "/dev/rdsk/emcpower73c"
block size 512B ;
5 = "/dev/rdsk/emcpower76c"
block size 512B ;
6 = "/dev/rdsk/emcpower93c"
block size 512B ;

offset 8KB capacity


offset 8KB capacity
offset 8KB capacity
offset 8KB capacity
offset 8KB capacity
offset 8KB capacity

- - - - - - End of Devices Data - - - - -

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 22 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Step Action
23 At the bottom of the iorate output referred to in the previous step, note the
starting time of the tests

Test
Test
Test
Test
Test
Test

24

1
1
1
1
1
1

Beginning test 1 'Mixed Pattern':


Ignore: 0 sec
Duration: 45 min
I/Os per Second: Not limited
50% pattern 6 '8k Random Read'
50% pattern 8 '8k Random Write'
starting, file '/dev/rdsk/emcpower86c', at
starting, file '/dev/rdsk/emcpower83c', at
starting, file '/dev/rdsk/emcpower74c', at
starting, file '/dev/rdsk/emcpower73c', at
starting, file '/dev/rdsk/emcpower76c', at
starting, file '/dev/rdsk/emcpower93c', at

Thu
Thu
Thu
Thu
Thu
Thu

Jun
Jun
Jun
Jun
Jun
Jun

10
10
10
10
10
10

2010
2010
2010
2010
2010
2010

15:03:21
15:03:21
15:03:21
15:03:21
15:03:21
15:03:21

Start another terminal session on host1 and verify that I/O is being driven to
the devices by iorate
# symstat i 10 sid <Symm1 sid>

Move to Lab Exercise 2. Come back to step 25 later

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 23 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Step Action
25 Let at least an hour pass. After that time check the movement history from
the time class started. The times are based on the host time. If you are logged
into a host from a different time zone, make the appropriate adjustment
# symfast list history sid <sym1 sid> -start_date
MMDDYYYY:hhmmss
Example using the time when the tests started in Step 23:
# symfast list history sid 34 start_date 06102010:150321
Have any devices moved [Y/N] ____ If not wait a while and repeat the command
If one or more devices have moved, is it one of your devices <dev1> through
<dev6> [Y/N] ___
Do not be disappointed if your device has not moved. FAST works well over
several days, not so predictably over a few hours. Also, there are relative
differences between the hosts abilities to drive IO. A powerful host will see its
devices move sooner than a slower host.
Lastly, the FC/SATA cross tier algorithm is an algorithm that targets busy devices.
So if host1 is driving a heavy IO load, its devices will get moved. If host 2 is driving
a light IO load, its devices may not experience any moves even if it may be
experiencing poor response times.
26

If one or more of your devices has moved, write down the device number(s)
Device number of first device that moved (e.g. B1) ____
More devices that may have moved ____ _____ ______ ______ _____
Using the editor, or using the echo command as shown below, create a file called
Migrate.devs with a list of the moved devices.
Example:
# echo B4 > Migrate.devs
# echo B5 >> Migrate.devs
Sample contents of Migrate.devs
B4
B5

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 24 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Step Action
27 Check the storage group
# symfast show association sg <FASTgrp1> -sid <Symm1 sid>
Have the disks moved from RAID5_SATA to RAID1_FC [Y/N] ___
Based on the information gathered in step 11, which disk group does this tier
occupy ____

28

Check the Symmetrix audit log for entries MM/DD/YYYY refers to todays
date
# symaudit list sid <Symm1 sid> -function_class FAST start
MM/DD/YYYY
To view detailed information on one entry enter:
# symaudit list sid <Symm1 sid> -v n 1 record_num <number
of entry you want to see>

29

Browse to the SMC Server and invoke SPA


From your desktop launch internet explorer and browse to
http://<SMC Server1>:7071
Use the username <SMC User> and password <SMC pass> provided in step 1

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 25 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Step Action
30 Examine the performance snapshot of your storage group
1. Expand the Symmetrix Masking folder under your local Symmetrix
2. Expand the Storage Groups folder
3. Select <FASTgrp1>
Example

4. Expand each display by clicking on the magnifying glass. If you need help
understanding the statistics, consult the instructor
5. After you have finished, close down the SPA window by clicking the x in
the top right corner of the window.

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 26 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Step Action
31 Stop the iorate process you started earlier. Using the file Migrate.devs move
the disks that were moved by FAST (see step 26) back to RAID5_SATA tier
which is in the disk group you identified in Step 11. Then delete the
Migrate.devs file
# symmigrate name <your initials> -tgt_unconfig tgt_dsk_grp
<Disk Group # for RAID5_SATA> -tgt_raid5 tgt_prot 3+1 sid
<Symm1 sid> -f Migrate.devs est
Check on the status of migration periodically. Then terminate the migration after
the status shows Migrated.
# symmigrate name <your initials> -sid <Symm1 sid> query
# symmigrate name <your initials> -sid <Symm1 sid> terminate
# rm Migrate.devs
32

Delete the file devices_for_fast.ior from the IORATE subdirectory


# rm devices_for_fast.ior

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 27 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Lab Exercise 2: Manage FAST using SMC


Purpose:

Objectives:

References:

In this lab exercise students will set up a FAST environment using


the Symmetrix Management Console

1.
2.
3.
4.
5.
6.

Check if FAST is enabled


Set up FAST control parameters
Create FAST tier
Create FAST Storage Group
Create FAST policy
Observe results when storage group is out of compliance

EMC Solutions Enabler Symmetrix Array Controls CLI Version


7.1 PRODUCT GUIDE P/N 300-002-940 REV A07
EMC Solutions Enabler Symmetrix Array Management CLI
Version 7.1 PRODUCT GUIDE P/N 300-002-939 REV A07

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 28 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Lab Exercise 2 : Manage FAST using SMC


Note : For pictures of SMC screens refer to the Lecture Module 3

Step Action
1
The host IP addresses will be provided by the instructor
Enter the IP address of the host (host2) connected to Symmetrix 2
<Symm2>________________
Enter the IP address of the Windows host running the SMC Server
<SMC Server2> ______________
Write down the Username <SMCUser> _____ and Password <SMC Pass> ____
provided by the instructor
2

Use telnet to log in to <host2>


# telnet <IP address of host 2>
Log into <host2> using the name and password assigned to you by the
instructor
Example:
login: sun1
Password: ****

General Note: After logging in on any host, change your user ID to superuser
and check your user interface
# su
Password: <root password provided by instructor>
# ps
If you would prefer a different user interface than the default shell provided by the
operating system, type in the name of the shell. Note that not all of these shells are
available on all operating systems.
Example:
# csh (invokes C-shell)
# ksh
# tcsh (enhanced version of C-shell)
# sh
# bash (combines Bourne, Korn and C-shell features)

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

(invokes Korn shell)


(invokes Bourne shell)

Page 29 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Step Action
4
Check to see if the directory for SYMCLI executables and the local directory
( . ) are included in your PATH variable and if not set, set it and export it
# echo $PATH
Are the directories /usr/symcli/bin and . included in the PATH? _________
If not add /usr/symcli/bin and/or . to your PATH
For Unix C shell: set path = ($path /usr/symcli/bin .)
For Unix Korn or Bourne shell: PATH=$PATH:/usr/symcli/bin:.
export PATH
Enter the command:
# symcli
What is the Solutions Enabler version installed on the host ___________
5

Identify the unique serial number of the local Symmetrix array <Symm2> .
# symcfg discover
# symcfg list
What is the serial number of the Array <Symm2> ___________________
What is the Symmetrix model ____________ What is the Enginuity Version _____
In subsequent lab exercises use last 2 digits of <Symm2> in place of the <Symm2
sid> parameter

Note the Symmetrix device names <DEV1> and <DEV2> and physical device
names <PDEV1> and <PDEV2> of the first two regular devices (2-Way-Mir
only) that are accessible to this host. Exclude the ACLX device.
# symdev list pd sid <Symm2 sid> -N 10
<DEV1> ___________ <PDEV1> ____________________________________
<DEV2> ___________ <PDEV2> ____________________________________

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 30 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Step Action
7
Browse to SMC Server <SMC Server2>
From your desktop launch Internet Explorer and connect to
http://<SMC Server2>:7070
Use the username <SMC User> and password <SMC Pass> provided in Step 1
8

Check if FAST license is enabled


1. In SMC Select the Tasks Pane
2. From the Administration Panel select Show License Keys
3. Scroll through the list of licenses and verify that FASTand Optimizer
licenses are present

Check if Optimizer is enabled


1.
2.
3.
4.
5.
6.

10

Select the Properties Pane


Right Click on the local Symmetrix
Select Optimizer
Select Enable/Disable
Verify that Opimizer is enabled (i.e. the Disable box is highlighted)
Click on Close

Check if FAST is enabled


1.
2.
3.
4.
5.
6.

Right Click on the local Symmetrix in the Properties pane


Select FAST
Select FAST Control Parameters
Select Enable/Disable FAST
Verify that FAST is enabled (i.e. the Disable box is highlighted)
Click on Close

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 31 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Step Action
11 FAST Control Parameter Settings
1.
2.
3.
4.
5.

Right Click on the local Symmetrix in the Properties pane


Select FAST
Select FAST Control Parameters
Select Settings
Select the General Tab

Verify that the values you see are as shown. If not, change them to match the
values below:
Data Movement Mode Automatic
Maximum number of moves per day: 64
Maximum Simultaneous volumes moved: 8
Workload Analysis Period: 1 hour
Initial Period: 1 hour
Migration Restriction: Allow Swaps and Moves
Used Host Invisible Devices for Swaps: Enabled
12

FAST Performance Time Window


1.
2.
3.
4.
5.
6.
7.

Right Click on the local Symmetrix


Select FAST
Select FAST Control Parameters
Select Settings
Select the Time Window Tab
Click on Performance Time Windows
If a user defined Time Window does not exist, click on the New button and
enter the values as shown. If a user defined Time Window exists, click on
the Edit button and verify the values which should be as follows:

Time Window Name: Any user defined name


Time Window Type: Inclusive
Recurrence: Weekly Recurrence
Recurrence Range: Start Date: Any date before today
End Date: Any date after today
Recurrence Pattern: Mon Tue Wed Thu Fri Sat Sun
Start time: 00:00
End time: 23:59
8. If you entered new information Click on OK otherwise click on Cancel

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 32 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Step Action
13 FAST Swap Time Window
1.
2.
3.
4.
5.
6.
7.

Right Click on the local Symmetrix


Select FAST
Select FAST Control Parameters
Select Settings
Select the Time Window Tab
Click on Performance Time Windows
If a user defined Time Window does not exist, click on the New button and
enter the values as shown. If a user defined Time Window exists, click on
the Edit button and verify the values which should be as follows:

Time Window Name: Any user defined name


Time Window Type: Inclusive
Recurrence: Weekly Recurrence
Recurrence Range: Start Date: Any date before today
End Date: Any date after today
Recurrence Pattern: Mon Tue Wed Thu Fri Sat Sun
Start time: 00:00
End time: 23:59
8. If you entered new information Click on OK otherwise click on Cancel
14

Identify the disk groups in the Symmetrix


Expand the folders under the local Symmetrix Disks Disk Groups. Select
each disk group in turn and enter the information below. Highlight the disk group
with the maximum amount of free space. We will refer to this as <FastDiskGrp>
from now on
Disk Group #

Disk Group Name

_________

______________

______

_______

_________

______________

______

_______

_________

______________

______

_______

Copyright 2010 EMC Corporation. All Rights Reserved.

No. of Data Disks

Version 1

Technology

Page 33 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Step Action
15 Create a Symmetrix Tier <TierName>
1. Right Click on FAST under the local Symmetrix in the navigation panel
2. Select Tier Management -> Create Tier
3. The Tier Management Dialog appears
Enter one of the following tier names (Please, no creative names):
If your host is running HP-UX then type in the tier name:
hptier53
If your host is running IBM AIX then type in the tier name:
ibmtier57
If your host is running Sun Solaris then type in the tier name:
suntier61
If your host is running Linux the type in the tier name:
lintier142
(If there is more than one host running the same OS, you can use a host number,
e.g. hp1tier53, hp2tier57, hp3tier61 and hp4tier142. However, there should not be
more than four hosts on one Symmetrix for this lab).
4. Under Technology select FC
5. Under protection select:
a. RAID-5(3+1) if you are on HP-UX
b. RAID-5(7+1) if you are on IBM AIX (or host #2, e.g. hp2)
c. RAID-6(6+2) if you are on Sun Solaris (or host #3, e.g. hp3)
d. RAID-6(14+2) if you are on Linux (or host #4, e.g. hp4)
6. Check the box Manually Select Policy
7. Select the disk group with the largest amount of free space
8. Click on OK
Example:

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 34 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Step Action
16 Verify that the tier was created correctly
In the navigation panel on the left
1.
2.
3.
4.

17

Click on the plus sign next to FAST under the local Symmetrix
Click on the plus sign next to Symmetrix Tiers
Highlight the tier you just created
Examine the information under the General and Disk Groups tabs in the
Properties window on the right

5. If you made a mistake in the previous step and want to modify or delete the
tier, you can do so by right clicking on the tier name on the left and selecting
Tier Management
Create storage group <FASTgrp2> using devices <DEV1> and <DEV2>
identified in step 6
1. Expand the Symmetrix Masking folder in the navigation panel
2. Right click on Storage Groups
3. Select Device Masking and Mapping -> Storage Group Maintenance ->
Create Storage Group
4. In the Storage Group Management Create dialog enter a name
Enter one of the following Storage Group names (Please, no creative names):
If your host is running HP-UX then type in the tier name:
hpFsg
If your host is running IBM AIX then type in the tier name:
ibmFsg
If your host is running Sun Solaris then type in the tier name:
sunFsg
If your host is running Linux the type in the tier name:
linFsg
(If there is more than one host running the same OS, you can use a host number,
e.g. hp1Fsg, hp2Fsg, hp3Fsg and hp4Fsg. However, there should not be more
than four hosts on one Symmetrix for this lab).
5. In the Device Source Type box select Symmetrix
6. From the list of devices that appears, select <DEV1> and click on Add then
select <DEV2> and click Add
7. Click on OK
8. Once the group is created it should be visible if you expand the Storage
Groups folder in the navigation panel
9. If you made an error, you can right click on the name of the storage group
<FASTgrp2> then select Device Masking and Mapping -> Storage Group
Maintenance -> then pick the action to delete, modify or rename the group

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 35 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Step Action
18 Creation of a Policy that will be referred to later as <Policy>
1. Right click on the FAST folder on the left and then select FAST -> FAST
Policy Management -> Create Policy
2. In the FAST Policy Management Create FAST Policy dialog enter the
following information:
Enter one of the following policy names (Please, no creative names):
If your host is running HP-UX then type in the policy name:
hp_policy
If your host is running IBM AIX then type in the policy name:
ibm_policy
If your host is running Sun Solaris then type in the policy name: sun_policy
If your host is running Linux the type in the policy name:
lin_policy
(If there is more than one host running the same OS, you can use a host number,
e.g. hp1_policy, hp2_policy, etc. However, there should not be more than four
hosts on one Symmetrix for this lab)
3. In the first space for the Tier name select <TierName> created in step 15
from the drop down
4. Next to it for % MAX of Storage Group select 100
5. Leave the other two tiers blank
6. Click OK
Example

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 36 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Step Action
19 Associate Storage Group <FASTgrp2> with policy <Policy>
1.
2.
3.
4.
5.
6.
7.

Click on and open the FAST folder for the local Symmetrix
Click on and open the Policies folder
Right click on the policy <Policy> in the right pane
Select FAST-> FAST Policy Management -> Associate Storage Group
Select the storage group <FASTgrp2>
Click on Add to move the group to the Associate Storage Groups
Click on OK

Example

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 37 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Step Action
20 Check on the compliance of <FASTgrp2> with the policy <Policy>
1.
2.
3.
4.

Expand the Symmetrix Masking folder for the local array


Expand the Storage Groups folder
Select the storage group <FASTgrp2>
In the Properties pane on the right youll see three tabs: General, Devices
and FAST Compliance
5. Select the FAST Compliance tab
6. The display should indicate that <FASTgrp2> is in a Tier called
[OutOfPolicy] whereas the tier you created, <Policy> should be empty.
Example

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 38 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Step Action
21 Configure FAST Alerts
1. Click on the Tasks pane and select Enable/Disable Alerts
2. Check off User Approval required for Optimizer/FAST Config Change and
FAST Controller switched State if they are not already checked off
Note that you will not see these alerts being triggered during class since the FAST
controller has been set to work in Auto_approve mode. This exercise is to show you
where the alerts can be set.
There may be old alerts that may be visible in the Alerts list, if they have not been
cleared.
22

Wait . at least an hour or longer. Check the compliance of the storage group
<FASTgrp2> with <Policy> as in Step 20.
Did your storage group undergo a compliance move [Y/N] ____
Do not be disappointed if your devices do not move in the time available for class.
FAST moves happen slowly.
If there was a compliance move, right click the FAST folder under the local
Symmetrix.
Select FAST FAST Control Parameters Swap/Move History
Enter a suitable time to filter out older moves. Have your devices moved [Y/N] _____
Example:

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 39 of 46

Symmetrix FAST Configuration and Management

Copyright 2010 EMC Corporation. All Rights Reserved.

Lab Guide

Version 1

Page 40 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Lab Exercise 3 (optional): Cleanup


Purpose:

Objectives:

References:

Clean up the FAST objects from Lab 2

Clean up FAST objects from Lab 2

EMC Solutions Enabler Symmetrix Array Controls CLI Version


7.1 PRODUCT GUIDE P/N 300-002-940 REV A07
EMC Solutions Enabler Symmetrix Array Management CLI
Version 7.1 PRODUCT GUIDE P/N 300-002-939 REV A07

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 41 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Lab Exercise 3 : Clean up FAST objects on Symm 2


Note : For pictures of SMC screens refer to the lecture module 3

Step Action
1
Log into <host2> using the name and password assigned to you by the
instructor
Example:
login: sun1
Password: ****
2

General Note: After logging in on any host, change your user ID to superuser
and check your user interface
# su
Password: <root password provided by instructor>
# ps
If you would prefer a different user interface than the default shell provided by the
operating system, type in the name of the shell. Note that not all of these shells are
available on all operating systems.
Example:
# csh (invokes C-shell)
# ksh
# tcsh (enhanced version of C-shell)
# sh
# bash (combines Bourne, Korn and C-shell features)

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

(invokes Korn shell)


(invokes Bourne shell)

Page 42 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Step Action
3
Check to see if the directory for SYMCLI executables is included in your
PATH variable and if not set, set it and export it
# echo $PATH
Is the directory /usr/symcli/bin included in the PATH? _________
If not add /usr/symcli/bin to your PATH
For Unix C shell: set path = ($path /usr/symcli/bin)
For Unix Korn or Bourne shell: PATH=$PATH:/usr/symcli/bin
export PATH
Enter the command:
# symcli
4

Note the Symmetrix device names <DEV1> and <DEV2> and physical device
names <PDEV1> and <PDEV2> of the first two regular devices (2-Way-Mir
only) that are accessible to this host. Exclude the ACLX device.
# symdev list pd sid <Symm2 sid> -N 10
<DEV1> ___________ <PDEV1> ____________________________________
<DEV2> ___________ <PDEV2> ____________________________________
Confirm that <DEV1> and <DEV2> make up the storage group <FASTgrp2>
defined in Lab 2
# symsg show <Fastsg> -sid <Symm2 sid>
Create a text file called Migrate.devs containing the names of the two devices:
# echo <DEV1> > Migrate.devs
# echo <DEV2> >> Migrate.devs

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 43 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Step Action
5
Confirm the Policy and Tier names associated with <Fastgrp2>
# symfast show association sg <FASTgrp2> -sid <Symm2 sid>
The tier name should match <TierName> from Lab Exercise 2
The policyname should match <Policy> from Lab Exercise 2
Write down the Disk Group number to which the storage group belongs <DG#> __
Example:
DMX8HP2/> symfast show -association -sg hpFsg -sid 35
Symmetrix ID

: 000194900635

Storage Group
: hpFsg
Devices(2)
{
--------------------------------------------------------------Policy
Dsk Dsk
Cap
Sym Protection
Tier Name
Grp Group Name
Tech
(GB)
---- ------------ ------------- ---- -------------- ----- ----0029 RAID-5(3+1) hptier53
001 DISK_GROUP_001 FC
1
002A RAID-5(3+1) hptier53
001 DISK_GROUP_001 FC
1
}
Policy Name
Priority

: hp_policy
: 2

Tiers(1)
{
-----------------------------------------------------------Max SG
Target
Tier Name
Percent Tech Protection
--------------------------------- ------- ----- -----------hptier53
100 FC
RAID-5(3+1)
}

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 44 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Step Action
6
Disassociate the storage group from the policy <Policy>
# symfast sid <Symm2 sid> -fp_name <Policy> disassociate sg
<FASTgrp2>
Example
# symfast -sid 35 -fp_name hp_policy disassociate -sg hpFsg

Disassociate the tier <TierName> from the policy <Policy>


# symfast sid <Symm2 sid> -fp -fp_name <Policy> remove
tier_name <TierName>
Example
# symfast -sid 35 -fp -fp_name hp_policy remove -tier_name
hptier53

Delete the policy, tier and storage group


# symfast delete -fp -fp_name <Policy> -sid <Symm2 sid>
Example
# symfast delete -fp -fp_name hp_policy -sid 35

Delete the tier after removing the disk group


Identify the disk group associated with <TierName> as you did in Lab 1 Step 11
# symtier show tier_name <TierName> -sid <Symm2 sid>
# symtier remove tier_name <TierName> -dsk_grp <DG#> -sid
<Symm2 sid>
where DG# represents the disk group identified by the first command
# symtier delete -tier_name <TierName> -sid <Symm2 sid>
Example
# symtier remove -tier_name hptier53 -dsk_grp 1 -sid 35
# symtier delete -tier_name hptier53 -sid 35

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 45 of 46

Symmetrix FAST Configuration and Management

Lab Guide

Step Action
10 Delete the storage group
# symsg delete <FASTgrp2> -force sid <Symm2 sid>
11

Migrate the devices that used to be part of the storage group to RAID 1
protected devices using the device file Migrate.devs from step 4 and the disk
group number <DG#> identified in step 5. In other words the devices stay in
the same disk group but they change RAID protection
# symmigrate name <your initials> -tgt_unconfig tgt_dsk_grp
<DG#> -tgt_raid1 f Migrate.devs nop sid <Symm2 sid>
establish

Example
# symmigrate name ss tgt_unconfig tgt_dsk_grp 1 tgt
_raid1 f Migrate.devs nop sid 35 est
12

Check on the status of the migration periodically


# symmigrate name <your initials> -sid <Symm2 sid> query

13

Once the status shows Migrated, terminate the session

14

# symmigrate name <your initials> -sid <Symm2 sid> terminate


Delete the file Migrate.devs
# rm Migrate.devs

Copyright 2010 EMC Corporation. All Rights Reserved.

Version 1

Page 46 of 46

You might also like