Fast Lab
Fast Lab
and Management
Lab Guide
Education Services
June 2010
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.
Version 1
Page 2 of 46
Lab Guide
Trademark Information
EMC
Trademarks
Third Party
Trademarks
Version 1
Page 3 of 46
Lab Guide
Rev #
1
File Name
FASTlab.doc
Date
June 2010
Version 1
Page 4 of 46
Lab Guide
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
Version 1
Page 5 of 46
Lab Guide
Version 1
Page 6 of 46
Lab Guide
Objectives:
References:
Version 1
Page 7 of 46
Lab Guide
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)
Version 1
Page 8 of 46
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
Version 1
Page 9 of 46
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
Version 1
Page 10 of 46
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
_________
______________
______
_______
_________
______________
______
_______
_________
______________
______
_______
_________
______________
______
_______
Version 1
Technology
Page 11 of 46
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
Version 1
Page 12 of 46
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
}
Version 1
Page 13 of 46
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
Version 1
Page 14 of 46
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
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
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
Legend:
Use Flags:
(F)ast Policy, X = Associated with Fast Policy, . = N/A
(M)asking View, X = Contained in Mask View(s),
. = N/A
Version 1
Page 16 of 46
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
}
Version 1
Page 17 of 46
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)
}
Version 1
Page 18 of 46
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}'`
iorate"
Version 1
Page 19 of 46
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
io size 64KB
Version 1
random
write;
Page 20 of 46
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;
Version 1
Page 21 of 46
21
Lab Guide
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 ;
Version 1
Page 22 of 46
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
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>
Version 1
Page 23 of 46
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
Version 1
Page 24 of 46
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
Version 1
Page 25 of 46
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.
Version 1
Page 26 of 46
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
Version 1
Page 27 of 46
Lab Guide
Objectives:
References:
1.
2.
3.
4.
5.
6.
Version 1
Page 28 of 46
Lab Guide
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
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)
Version 1
Page 29 of 46
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> ____________________________________
Version 1
Page 30 of 46
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
10
Version 1
Page 31 of 46
Lab Guide
Step Action
11 FAST Control Parameter Settings
1.
2.
3.
4.
5.
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
Version 1
Page 32 of 46
Lab Guide
Step Action
13 FAST Swap Time Window
1.
2.
3.
4.
5.
6.
7.
_________
______________
______
_______
_________
______________
______
_______
_________
______________
______
_______
Version 1
Technology
Page 33 of 46
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:
Version 1
Page 34 of 46
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
Version 1
Page 35 of 46
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
Version 1
Page 36 of 46
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
Version 1
Page 37 of 46
Lab Guide
Step Action
20 Check on the compliance of <FASTgrp2> with the policy <Policy>
1.
2.
3.
4.
Version 1
Page 38 of 46
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:
Version 1
Page 39 of 46
Lab Guide
Version 1
Page 40 of 46
Lab Guide
Objectives:
References:
Version 1
Page 41 of 46
Lab Guide
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)
Version 1
Page 42 of 46
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
Version 1
Page 43 of 46
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)
}
Version 1
Page 44 of 46
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
Version 1
Page 45 of 46
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
13
14
Version 1
Page 46 of 46