Sie sind auf Seite 1von 120

Symmetrix VMAXe Administration and Management Lab Guide

January 2012

Lab Guide
April 2011

EMC Education Service

Copyright
Copyright 1996, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 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. EMC2, EMC, Data Domain, RSA, EMC Centera, EMC ControlCenter, EMC LifeLine, EMC OnCourse, EMC Proven, EMC Snap, EMC SourceOne, EMC Storage Administrator, Acartus, Access Logix, AdvantEdge, AlphaStor, ApplicationXtender, ArchiveXtender, Atmos, Authentica, Authentic Problems, Automated Resource Manager, AutoStart, AutoSwap, AVALONidm, Avamar, Captiva, Catalog Solution, C-Clip, Celerra, Celerra Replicator, Centera, CenterStage, CentraStar, ClaimPack, ClaimsEditor, CLARiiON, ClientPak, Codebook Correlation Technology, Common Information Model, Configuration Intelligence, Configuresoft, Connectrix, CopyCross, CopyPoint, Dantz, DatabaseXtender, Direct Matrix Architecture, DiskXtender, DiskXtender 2000, Document Sciences, Documentum, elnput, E-Lab, EmailXaminer, EmailXtender, Enginuity, eRoom, Event Explorer, FarPoint, FirstPass, FLARE, FormWare, Geosynchrony, Global File Virtualization, Graphic Visualization, Greenplum, HighRoad, HomeBase, InfoMover, Infoscape, Infra, InputAccel, InputAccel Express, Invista, Ionix, ISIS, Max Retriever, MediaStor, MirrorView, Navisphere, NetWorker, nLayers, OnAlert, OpenScale, PixTools, Powerlink, PowerPath, PowerSnap, QuickScan, Rainfinity, RepliCare, RepliStor, ResourcePak, Retrospect, RSA, the RSA logo, SafeLine, SAN Advisor, SAN Copy, SAN Manager, Smarts, SnapImage, SnapSure, SnapView, SRDF, StorageScope, SupportMate, SymmAPI, SymmEnabler, Symmetrix, Symmetrix DMX, Symmetrix VMAX, TimeFinder, UltraFlex, UltraPoint, UltraScale, Unisphere, VMAX, Vblock, Viewlets, Virtual Matrix, Virtual Matrix Architecture, Virtual Provisioning, VisualSAN, VisualSRM, Voyence, VPLEX, VSAM-Assist, WebXtender, xPression, xPresso, YottaYotta, the EMC logo, and where information lives, are registered trademarks or trademarks of EMC Corporation in the United States and other countries. All other trademarks used herein are the property of their respective owners. Copyright 2012 EMC Corporation. All rights reserved. Published in the USA.

Revision Date: 01/28/2012 Revision Number: MR-9XN-VMAXEAM.5875.1.0.

EMC Education Service

Document Revision History

Rev #

File Name

Date

VAMXeAM_LabGuide.docx

January 2012

EMC Education Service

This page intentionally left blank.

EMC Education Service

COPYRIGHT ...................................................................................................................................................................... 2 DOCUMENT REVISION HISTORY ......................................................................................................................................... 3 LAB EXERCISE 1: EXPLORE SYMMETRIX ENVIRONMENT WITH SMC AND SYMCLI .................................................................... 7 LAB 1 PART 1: LAB INFORMATION ............................................................................................................................................................. 8 LAB 1 PART 2: EXPLORE LAB SETUP SMC ................................................................................................................................................ 9 LAB 1 PART 3: EXPLORE LAB SETUP SYMCLI.......................................................................................................................................... 12 LAB EXERCISE 2: CREATE DEVICES AND POOLS ................................................................................................................ 17 LAB 2 PART 1: USE SMC TO CREATE THIN AND DATA DEVICES AND THIN POOLS ............................................................................................. 18 LAB 2 PART 2: USE SYMCLI TO CREATE DEVICES AND POOLS ...................................................................................................................... 26 LAB 2 PART 3: PORT CHARACTERISTICS .................................................................................................................................................... 30 LAB EXERCISE 3: CREATE RDF GROUPS AND PAIRS............................................................................................................ 33 LAB 3 PART 1: USE SYMCLI TO CREATE RDF GROUPS AND PAIRS ................................................................................................................ 34 LAB 3 PART 2: USE SMC TO CREATE RDF GROUPS AND PAIRS..................................................................................................................... 36 LAB 3 PART 3: RDF GROUP ATTRIBUTES .................................................................................................................................................. 40 LAB EXERCISE 4: DEVICE MASKING WITH AUTOPROVISIONING GROUPS ............................................................................. 43 LAB 4 PART 1: USE SMC TO ALLOCATE STORAGE TO THE PRIMARY HOST ....................................................................................................... 44 LAB 4 PART 2: USE SYMCLI TO ALLOCATE STORAGE TO THE SECONDARY HOST .............................................................................................. 49 LAB 4 PART 3: ALLOCATE STORAGE TO THE REMOTE HOST .......................................................................................................................... 53 LAB EXERCISE 5: MISCELLANEOUS VIRTUAL PROVISIONING OPERATIONS ........................................................................... 55 LAB 5 PART 1: EXPAND THIN POOL AND REBALANCE DATA DISTRIBUTION ...................................................................................................... 56 LAB 5 PART 2: THIN DEVICE SPACE RECLAMATION ..................................................................................................................................... 60 LAB 5 PART 3: UNBIND THIN DEVICES AND REMOVE DATA DEVICES FROM POOL ............................................................................................. 62 LAB 5 PART 4: EFFECT OF THIN POOL SUBSCRIPTION LIMIT .......................................................................................................................... 64 LAB EXERCISE 6: VIRTUAL LUN MIGRATION ...................................................................................................................... 67 LAB 6 PART 1: VIRTUAL LUN MIGRATION VP ........................................................................................................................................... 68 LAB EXERCISE 7: IMPLEMENT AND MANAGE FAST VP ........................................................................................................ 71 LAB 7 PART 1: FAST VP STATUS AND SETTINGS ........................................................................................................................................ 72 LAB 7 PART 2: IMPLEMENT FAST VP ...................................................................................................................................................... 74 LAB EXERCISE 8: TIMEFINDER/CLONE OPERATIONS .......................................................................................................... 79 LAB 8 PART 1: LOCATE DEVICES AND CREATE FILE SYSTEM ON SOURCE DEVICE ............................................................................................... 80 LAB 8 PART 2: CREATE DEVICE GROUP, CREATE & ACTIVATE CLONE SESSION ................................................................................................. 84 LAB 8 PART 3: ACCESS CLONE REPLICA ON SECONDARY HOST ...................................................................................................................... 88 LAB 8 PART 4: CLONE RESTORE .............................................................................................................................................................. 91 LAB EXERCISE 9: SRDF SETUP AND CONCURRENT ACCESS ................................................................................................. 95 LAB 9 PART 1: LOCATE RDF DEVICES AND CREATE DEVICE GROUP ................................................................................................................ 96 LAB 9 PART 2: SET SRDF MODES OF OPERATION ...................................................................................................................................... 99 LAB 9 PART 3: SUSPEND/RESUME SRDF LINKS ....................................................................................................................................... 101 LAB 9 PART 4: SRDF CONCURRENT ACCESS............................................................................................................................................ 103

EMC Education Service

LAB EXERCISE 10: SRDF/S DISASTER RECOVERY .............................................................................................................107 LAB 10 PART 1: SRDF FAILOVER MOVE PRODUCTION TO REMOTE SITE .................................................................................................... 108 LAB 10 PART 2: SRDF FAILBACK RETURN PRODUCTION TO PRIMARY SITE ................................................................................................. 112 LAB EXERCISE 11: SINGLE GROUP SRDF/A OPERATIONS ..................................................................................................115 LAB 11 PART 1: LOCATE RDF DEVICES AND CREATE DEVICE GROUP ............................................................................................................ 116 LAB 11 PART 2: SRDF/A OPERATIONS .................................................................................................................................................. 118

EMC Education Service

Lab Exercise 1: Explore Symmetrix Environment with SMC and SYMCLI


Purpose: In this lab exercise students explore the equipment they will be using for all the lab exercises. Both SYMCLI and SMC will be used.

Objectives:

Explore Configuration Lab setup Identify local and remote Symmetrix serial numbers Check Free Disk Space List Existing Disk groups Check License Usage

References:

SMC Online Help EMC Solutions Enabler Symmetrix Array Controls CLI Version 7.3.1 PRODUCT GUIDE EMC Solutions Enabler Symmetrix Array Management CLI Version 7.3.1 PRODUCT GUIDE

EMC Education Service

Lab 1 Part 1: Lab Information

Step 1

Action Every Student Group will have access to: 1 Primary Host With access to devices from a Local Symmetrix. Consider this host your Production host. 1 Secondary Host With access to devices from a Local Symmetrix. This host will be used as the mount host for TimeFinder/Clone Replicas 1 Remote Host With access to devices from a SRDF connected Remote Symmetrix. This host will be used as the DR host for the SRDF Labs. Access to an SMC Server

The hosts can be reached via the EMC Virtual Data Center Gateway. The instructor will give instructions on the login procedure. 2 Following information will be provided by the instructor:
Student Group Number (SGN) Primary Host Name/IP Address Username/Password Secondary Host Name/IP Address Username/Password Remote Host Name/IP Address Username/Password SMC Server - IP Address Username/Password Local Symmetrix ID Remote Symmetrix ID

End of Lab 1 Part 1

EMC Education Service

Lab 1 Part 2: Explore Lab Setup SMC

Step 1

Action Login into your assigned Symmetrix Management Console server From your desktop launch Internet Explorer and connect to http://<SMCServerIP>:7070 Use the username and password provided by the instructor to log in to SMC.

Perform a Symmetrix Discovery and list the Symmetrix arrays managed by SMC Click on the File menu option and then choose Symmetrix Discover ... Click Ok on the confirmation dialog to start the discovery process. The Progress Monitor bar will appear. Wait for the discovery process to complete and then proceed with the lab. Click on the Properties button to switch the view to the properties view, then click on the Symmetrix Arrays folder in the tree panel and record the following information (only record information for your local and remote Symmetrix arrays): Symm ID Local Remote Drill down into the Symmetrix Array folder in the tree and then click on the Local Symmetrix. Record the following information: Local Symm ID: _______________ Used Capacity (GB): ___________ Free Capacity (GB): ____________ Number of Configured (Symm) Devices: ___________________ Number of Configured Actual Disks: ______________________ Number of Configured Spare Disks: ______________________ Model Microcode Cache

EMC Education Service

Step 3

Action Gather disk group summary information Drill down into the Local Symmetrix in the tree, then drill into the Disks folder. Click on the Disk Groups folder and then record the following from the Properties view Disk Group Tech (FC/SATA)

In the tree panel drill down into the Disk Groups folder and then click on each of the Disk Groups and then from the Data Disks tab in the properties view record the RPM of the Disks in each of the Disk Groups Disk Group RPM

Identify device types configured on the Local Symmetrix Drill down into the Local Symmetrix in the tree, then drill into the Devices folder and record the devices types in this folder: Devices Folder: _______________________________________ ____________________________________________________ Drill into the Private Devices folder and record the devices types in this folder: Private Devices Folder: __________________________________ _____________________________________________________ Click on the Devices Folder, then scroll through the properties view of these devices and record the most common Thin (TDEV) device capacity (in Cyl) on this Symmetrix _______

EMC Education Service

10

Step 5 Show license usage

Action

Click on the Tasks button to switch the view to the Tasks View Click on the Show License Usage hyperlink in the Administration panel to launch the License Usage window. Make sure to set the Symmetrix ID to your local Symmetrix (Use the pull down). Are the following features licensed: SYMM_VMAX(E)_ENGINUITY ___ SYMM_VMAX(E)_OPTIMIZER ___ SYMM_VMAX(E)_FAST_VP ___ SYMM_VMAX(E)_SRDF ___ SYMM_VMAX(E)_SRDF_A ___ SYMM_VMAX(E)_SRDF_S ___ SYMM_VMAX(E)_TF_CLONE ___ Click on the Close button to close the License Usage window. End of Lab 1 Part 2

EMC Education Service

11

Lab 1 Part 3: Explore Lab Setup SYMCLI


Step 1 Action Log into your Primary host using the username and password assigned to you by the instructor Open a Terminal Window (UNIX) or a Command Prompt Window (Windows) and then enter the following command in that window. # hostname What is the name of your Primary host <Primary hostname> ___________________ 2 General Note: Ensure you have Administrator privileges if you are using Windows. On Unix hosts, use the command below to become super-user # su Password: <root password provided by instructor> # ps On UNIX 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 (C-shell) # tcsh (enhanced C-shell)

# ksh # sh

(Korn shell) (Bourne shell)

# bash (combines Bourne, Korn and C-shell features)

EMC Education Service

12

Step 3

Action Check the default PATH On Unix # 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 On Windows: Check the PATH variable by issuing the command: C:\> PATH The following path should be in your environment to complete the lab exercises: \Program Files\emc\symcli\bin (location of SYMCLI binaries) If needed, add to the PATH Environment Variable by clicking on: Start Settings Control Panel System Advanced Tab Environment Variables Select Path from the System Variables, and then edit the default path. If you need more help, ask the instructor. On Unix and Windows: # symcli (where # represents the system prompt regardless of Operating System) What is the Solutions Enabler version installed on the host ___________

EMC Education Service

13

Step 4

Action To avoid database access conflicts if more than one user group is sharing a host. Set the environment variable SYMCLI_CTL_ACCESS to PARALLEL and the variable SYMCLI_WAIT_ON_DB to 1. Then verify that the variables were successfully set. For Unix C shell: # setenv SYMCLI_CTL_ACCESS PARALLEL # setenv SYMCLI_WAIT_ON_DB 1 # symcli def For Unix Korn or Bourne shell: # SYMCLI_CTL_ACCESS=PARALLEL # export SYMCLI_CTL_ACCESS # SYMCLI_WAIT_ON_DB=1 # export SYMCLI_WAIT_ON_DB # symcli -def For Windows # set SYMCLI_CTL_ACCESS=PARALLEL # set SYMCLI_WAIT_ON_DB=1 # symcli def

Identify the unique serial numbers of the local and remote Symmetrix units. If there are multiple local/remote arrays, request the instructor to identify the correct local/remote Symmetrix IDs # symcfg discover # symcfg list SymmID Local SID:_____________ Remote SID:___________ In subsequent lab exercises use last 2 digits of the Local array in place of the <local SID> parameter and the last 2 digits of the Remote array in place of the <remote SID> parameter. Model Mcode Version Cache Size Num Symm Devices

EMC Education Service

14

Step 6

Action Note the size in cylinders (L_Cyl) of the most common thin devices on the local array On Unix # symdev list sid <local_sid> -cyl | grep TDEV On Windows # symdev list sid <local_sid> -cyl | find TDEV Example # symdev list cyl sid 28 | grep "TDEV"
0240 Not Visible 0241 Not Visible 0242 Not Visible ???:? ???:? ???:? NA:NA NA:NA NA:NA TDEV TDEV TDEV N/Grp'd N/Grp'd N/Grp'd NR NR NR 1100 1100 1100

What is the size in cylinders (L_Cyl) _____________ (In the example shown 1100 is the most common size so L_Cyl is 1100) 7 Check the amount of free space on the Local Symmetrix # symconfigure list free sid <local sid> How many formatted cylinders are there on the Symmetrix _______________ 8 Gather disk group summary information # symdisk list sid <local sid> -dskgrp_summary Fill in the information below for each disk group Disk Group Num 1 2 3 Name DISK_GROUP_001 DISK_GROUP_002 DISK_GROUP_003 Disk Tech (FC/SATA) Speed (RPM)

In later exercises we will use symbolic names for the disk groups:
We will refer to Disk Group 1 as <FC15K> / <FC10K> / <SATA> (circle one based on the table) We will refer to Disk Group 2 as <FC15K> / <FC10K> / <SATA> (circle one based on the table) We will refer to Disk Group 3 as <FC15K> / <FC10K> / <SATA> (circle one based on the table)

EMC Education Service

15

Step 9

Action Verify that the Symmetrix can be configured using symconfigure # symconfigure verify sid <local sid> Did you see the following message [Y/N] _______ The configuration verification session has succeeded Please contact the instructor if the verification fails.

10

Show license usage # symlmf query -type emclm -sid <local sid> Are the following features licensed: SYMM_VMAX(E)_ENGINUITY ___ SYMM_VMAX(E)_OPTIMIZER ___ SYMM_VMAX(E)_FAST_VP ___ SYMM_VMAX(E)_SRDF ___ SYMM_VMAX(E)_SRDF_A ___ SYMM_VMAX(E)_SRDF_S ___ SYMM_VMAX(E)_TF_CLONE ___

End of Lab Exercise 1

EMC Education Service

16

Lab Exercise 2: Create Devices and Pools


Purpose: In this exercises students will create a number of Symmetrix Devices and Device Pools. The devices created in this Lab Exercise will be used in the rest of the Lab Exercises. Both SMC and SYMCLI will be used. Use SMC to create devices and pools on the Local Symmetrix o Eight Thin Devices o Ten 2-Way-Mir Data Devices on 15K FC Drives o Five RAID6 Data Devices on SATA Drives o Three Thin Pools and add Data devices and bind devices to the thin pool Use SYMCLI to create devices and pools on the Remote Symmetrix o Three Thin Devices o Five 2-Way-Mir Data Devices on 15K FC Drives o One Thin Pool and add Data devices and bind devices to the thin pool Use SMC to examine and set port characteristics

Objectives:

References:

Lectures Module 3 (Virtual Provisioning Operations) EMC Solutions Enabler Symmetrix Array Controls CLI Version 7.3.1 PRODUCT GUIDE EMC Solutions Enabler Symmetrix Array Management CLI Version 7.3.1 PRODUCT GUIDE SMC Online Help

EMC Education Service

17

Lab 2 Part 1: Use SMC to Create Thin and Data Devices and Thin Pools
Step 1 Action Login into your assigned Symmetrix Management Console server From your desktop launch Internet Explorer and connect to http://<SMCServerIP>:7070 Use the username and password provided by the instructor to log in 2 Create a Config Session for 8 Thin devices Click on the Properties button to switch the view to the Properties view. Drill down into the Symmetrix Arrays folder in the tree and right click on your Local Symmetrix then choose Device Configuration Create Device to launch the Create Device dialog. Click on the Thin Device tab and specify the following: Number of Devices: 8 Configuration: Use the pull down to choose TDEV Emulation: Use the pull down to choose FBA Capacity (Cyl): <L_Cyl> (Use the pull down and select the L_Cyl value identified in Lab 1) Dynamic Capability (You may not see this option): Use pull down to choose DynRdf Leave all the other settings at the default values We will bind the thin devices later. Click on the Add to Config Session List button to create the configuration session. The view will immediately switch to the Config Session session view. Click on the My Active Tasks tab. Record the following information Execution Order Config Item Status User ID (scroll to right)

Click on the All Active Tasks tab. Are there any Config Tasks listed other than the ones created by you? _____________________________________________ Click on the My Active Tasks tab. PLEASE DO NOT Click on Commit All at this stage.

EMC Education Service

18

Step 3

Action Create a Config Session for 10 2-Way-Mir Data devices on 15K FC Drives Right click on your Local Symmetrix then choose Device Configuration Create Device to launch the Create Device dialog. Click on the Data Device tab and specify the following: Number of Devices: 10 Configuration: Use the pull down to choose 2-Way Mir Emulation: FBA Capacity (Cyl): <L_Cyl> (Use the pull down and select the L_Cyl value identified in Lab 1) Disk Group Number: Use pull down to choose the Disk Group which corresponds to the 15K FC Disk group Caution: DO NOT SELECT Any Available Disks Leave all the other settings at the default values We will add these Data devices to a Thin pool later. Click on the Add to Config Session List button to create the configuration session. The view will immediately switch to the Config Session session view. PLEASE DO NOT Click on Commit All in the Config Session view yet.

Create a Config Session for 5 RAID-6 (6+2) Data devices Right click on your Local Symmetrix then choose Device Configuration Create Device to launch the Create Device dialog. Click on the Data Device tab and specify the following: Number of Devices: 5 Configuration: Use the pull down to choose RAID-6 Data Member Count: Use the pull down to choose 6+2 Emulation: FBA Capacity (Cyl): <L_Cyl> (Use the pull down and select the L_Cyl value identified in Lab 1) Disk Group Number: Use pull down to choose the Disk Group which corresponds to the SATA Disk group Caution: DO NOT SELECT Any Available Disks Leave all the other settings at the default values We will add these Data devices to a Thin pool later. Click on the Add to Config Session List button to create the configuration session. The view will immediately switch to the Config Session session view. PLEASE DO NOT Click on Commit All in the Config Session view yet.

EMC Education Service

19

Step 5 Commit Configuration Sessions

Action

Click on the My Active Tasks tab in the Config Session view. Do you see all three device configuration tasks that you created? ______________ Click on the All Active Tasks tab. Are there any Config Tasks listed other than the ones created by you? ___________If Yes, coordinate with other groups so that two groups are not creating or deleting devices simultaneously on the same Symmetrix. Click on the My Active Tasks tab. Click on the Commit All button to commit these tasks. Click on the Yes button in the confirmation dialog. Follow the configuration progress in the Log section of the Config Session view. From the Log section record the following: Config Change Session start time: _________________________ Config Change Session end time: __________________________ Device numbers of the new devices that were created: Thin Devices: T1 ______ T2 ______ T5 ______ T6 ______ T3 ______ T4 ______ T7 ______ T8 ______

2-Way Mir Data Devices: D1 ______ D2 ______ D3 ______ D4 ______ D5 ______ D6 ______ D7 ______ D8 ______ D9 ______ D10 ______ RAID6 Data Devices D11 ______ D12 ______

D13 ______ D14 ______ D15 ______

Hint: If the device numbers in the log are hard to read Click on the Properties button and then Click on the Config Session button again and then look at the log section again, now you should be able to scroll and read the log more easily. How long did the configuration take? ____________________________ Contact the instructor if the Config session fails

EMC Education Service

20

Step 6

Action Create a Thin Device Pool add Data Devices D1: D5 (Five Devices) Click on the Properties button to switch the view to the Properties View Drill down into your Local Symmetrix. Click on the Pools folder. How many Pools are currently configured on this Symmetrix? ____________ List the Pool names and the Pool Type: _____________________________ _____________________________________________________________ Right click on the Pools folder of your Local Symmetrix then choose Device Pool Management Create Device Pool to launch the Create Device Pool dialog. Specify the following: Pool Name: Name the Pool <SGN>_RDFPool (where <SGN> is your group number) Pool Type: Use the pull down to choose Thin Check the Enable New Pool Member box Highlight Data Devices D1, D2, D3, D4 & D5 (2-way mir data devices on 15K FC drives) that you had created earlier from the Available column and add it to the Target column by clicking on the Add button Click the OK button to create the pool

Record properties of the Thin Pool <SGN>_RDFPool Drill down into the Thin Pools folder under the Pools folder and click on the Thin Pool you just created. Record the following information from the Properties view. General Tab: Pool Name: ____________ Pool Type: _____________ Dev Configuration:_____ Number of Devices: ______ Disabled Devices:________Enabled Devices: ______ Enabled Capacity:________________ Free Capacity: _____________________ Current Subscription: ______________ Maximum Subscription: _____________ Pool State: ____________

EMC Education Service

21

Step 8

Action Create a Second Thin Device Pool add Data Devices D6: D8 (Three Devices) Right click on the Pools folder of your Local Symmetrix then choose Device Pool Management Create Device Pool to launch the Create Device Pool dialog. Specify the following: Pool Name: Name the Pool <SGN>_FC15Pool (where <SGN> is your group number) Pool Type: Use the pull down to choose Thin Check the Enable New Pool Member box Highlight Data Devices D6, D7 & D8 (2-way mir data devices on 15K FC drives) that you had created earlier from the Available column and add it to the Target column by clicking on the Add button Click the OK button to create the pool

Record properties of the Thin Pool <SGN>_FC15Pool Drill down into the Thin Pools folder under the Pools folder and click on the Thin Pool you just created. Record the following information from the Properties view. General Tab: Pool Name: ____________ Pool Type: _____________ Dev Configuration:_____ Number of Devices: ______ Disabled Devices:________Enabled Devices: ______ Enabled Capacity:________________ Free Capacity: _____________________ Current Subscription: ______________ Maximum Subscription: _____________ Pool State: ____________ Create a Third Thin Device Pool for the RAID6 data devices and add Data Devices D11:D15 (Five Devices) Right click on the Pools folder of your Local Symmetrix then choose Device Pool Management Create Device Pool to launch the Create Device Pool dialog. Specify the following: Pool Name: Name the Pool <SGN>_SATAPool (where <SGN> is your group number) Pool Type: Use the pull down to choose Thin Check the Enable New Pool Member box Highlight Data Devices D11, D12, D13, D14 & D15 (RAID6 data devices on SATA drives) that you had created earlier from the Available column and add it to the Target column by clicking on the Add button Click the OK button to create the pool

10

EMC Education Service

22

Step 11

Action Record properties of the Thin Pool <SGN>_SATAPool Drill down into the Thin Pools folder under the Pools folder and click on the Thin Pool you just created. Record the following information from the Properties view. General Tab: Pool Name: ____________ Pool Type: _____________ Dev Configuration:_____ Number of Devices: ______ Disabled Devices:________Enabled Devices: ______ Enabled Capacity:________________ Free Capacity: _____________________ Current Subscription: ______________ Maximum Subscription: _____________ Pool State: ____________ Create a Config Session to Bind Thin Devices to Thin Pool <SGN>_ RDFPool Right click on your <SGN>_RDFPool thin pool then choose Device Pool Management Bind/Unbind Thin Devices to launch the Bind/Unbind Thin Devices dialog. Specify the following: Highlight the Thin devices T1, T2 & T3 that you had created earlier in this lab from the Available column and add it to the Target column by clicking on the Add button. Click on the Add to Config Session List button to add this task to the configuration sessions. The view will automatically switch to the Config Session view. PLEASE DO NOT Click on Commit All in the Config Session view yet.

12

13

Create a Config Session to Bind Thin Devices to Thin Pool <SGN>_ FC15Pool Right click on your <SGN>_FC15Pool thin pool then choose Device Pool Management Bind/Unbind Thin Devices to launch the Bind/Unbind Thin Devices dialog. Specify the following: Highlight the Thin devices T4, T5 & T6 that you had created earlier in this lab from the Available column and add it to the Target column by clicking on the Add button. Click on the Add to Config Session List button to add this task to the configuration sessions. The view will automatically switch to the Config Session view. PLEASE DO NOT Click on Commit All in the Config Session view yet.

EMC Education Service

23

Step 14

Action Create a Config Session to Bind Thin Devices to Thin Pool <SGN>_ SATAPool Right click on your <SGN>_SATAPool thin pool then choose Device Pool Management Bind/Unbind Thin Devices to launch the Bind/Unbind Thin Devices dialog. Specify the following: Highlight the Thin devices T7 & T8 that you had created earlier in this lab from the Available column and add it to the Target column by clicking on the Add button. Click on the Add to Config Session List button to add this task to the configuration sessions. The view will automatically switch to the Config Session view. PLEASE DO NOT Click on Commit All in the Config Session view yet.

15

Commit the Bind Configuration tasks Click on the My Active Tasks tab in the Config Session view. Do you see your three Bind configuration tasks? __________ Click on the Commit All button to commit these tasks. Click on the Yes button in the confirmation dialog. Follow the configuration progress in the Log section of the Config Session view.

16

Record properties of Thin Pool <SGN>_RDFPool after Binding a Thin Device Click on your Thin Pool (<SGN>_RDFPool) in the tree panel. Switch the view to the Properties View by clicking on the Properties button. Click on the Refresh View button and then record the following information from the Properties view. General Tab: Allocated Capacity:________________ Free Capacity: _____________________ Current Subscription: ______________ Maximum Subscription: _____________ Bound Thin Devices Tab:
Dev T1 _____ T2 _____ T3 _____ Pool Cap (MB) Total Subscribed % Pool Alloc Cap (MB) Pool Allocated %

EMC Education Service

24

Step 17

Action Record properties of Thin Pool <SGN>_FC15Pool after Binding a Thin Device Click on your Thin Pool (<SGN>_FC15Pool) in the tree panel. Switch the view to the Properties View by clicking on the Properties button. Click on the Refresh View button and then record the following information from the Properties view. General Tab: Allocated Capacity:________________ Free Capacity: _____________________ Current Subscription: ______________ Maximum Subscription: _____________ Bound Thin Devices Tab:
Dev T4 _____ T5 _____ T6 _____ Pool Cap (MB) Total Subscribed % Pool Alloc Cap (MB) Pool Allocated %

18

Record properties of Thin Pool <SGN>_SATAPool after Binding a Thin Device Click on your Thin Pool (<SGN>_SATAPool) in the tree panel. Switch the view to the Properties View by clicking on the Properties button. Click on the Refresh View button and then record the following information from the Properties view. General Tab: Allocated Capacity:________________ Free Capacity: _____________________ Current Subscription: ______________ Maximum Subscription: _____________ Bound Thin Devices Tab:
Dev T7_____ T8 _____ Pool Cap (MB) Total Subscribed % Pool Alloc Cap (MB) Pool Allocated %

End of Lab 2 Part 1

EMC Education Service

25

Lab 2 Part 2: Use SYMCLI to Create Devices and Pools


Step 1 Action Log into your Primary host using the username and password assigned to you by the instructor Make sure that you have administrator or root privileges and that the PATH variable is setup properly (as you did in Lab 1 Part 3 Steps 2&3) Record the SID of your Remote Symmetrix # symcfg list Remote Symmetrix SID _____________ Create Three Thin devices on the REMOTE Symmetrix Create a file with the name mkRMTdev.txt with the following content. create dev count=3, size=<L_Cyl>, config=TDEV, emulation=fba, dynamic_capability=dyn_rdf; <L-Cyl> is the size in cylinders you noted in Lab 1. Use the same L_Cyl values you used when using SMC to create devices on the Local Symmetrix. Note: On VMAXe arrays the dynamic_capability=dyn_rdf need not be specified as all thin devices on VMAXe are dynamic RDF capable. 4 Use the file mkRMTdev.txt as input to the following symconfigure command Make sure to run this command against the REMOTE Symmetrix # symconfigure sid <REMOTE SID> -file mkRMTdev.txt v nop prepare If errors occur, fix the problem in the file mkRMTdev.txt and rerun prepare. If the prepare step succeeds issue the command: # symconfigure sid <REMOTE SID> -file mkRMTdev.txt -v nop commit In the screen output from the symconfigure command, notice the range of devices being created next to the notation: New symdevs: <First>:<Last> ________ _________

EMC Education Service

26

Step 5

Action Display Thin Devices RMT1 through RMT3 on the Remote Symmetrix # symdev list sid <REMOTE SID> -tdev Did the devices you created appear on this list [Y/N] _____ Write down the Device numbers (e.g. 1A1, 1A2, 1A3) for the Remote thin devices. RMT1 ______ RMT2 _________ RMT3 ________

Create Five Data devices on the REMOTE Symmetrix Create a file with the name mkRMDATA.txt with the following content. create dev count=5, size=<L_Cyl>, config=2-Way-Mir, emulation=fba, disk_group=<FC15>, attribute=datadev; <L-Cyl> is the size in cylinders you noted in Lab 1, <FC15> is the Disk Group number which corresponds to the disk group with 15 K FC Drives In this environment the Local and Remote Symmetrix are setup the same way. So use the same L_Cyl and FC15 values you used when using SMC to create devices on the Local Symmetrix.

Use the file mkRMDATA.txt as input to the following symconfigure command Make sure to run this command against the REMOTE Symmetrix # symconfigure sid <REMOTE SID> -file mkRMDATA.txt v nop prepare If errors occur, fix the problem in the file mkRMDATA.txt and rerun prepare. If the prepare step succeeds issue the command: # symconfigure sid <REMOTE SID> -file mkRMDATA.txt -v nop commit In the screen output from the symconfigure command, notice the range of devices being created next to the notation: New symdevs: <First>:<Last> ________ _________

EMC Education Service

27

Step 8

Action Display DATA Devices RMD1 through RMD5 on the Remote Symmetrix # symdev list sid <REMOTE SID> -datadev Did the devices you created appear on this list [Y/N] _____ Write down the Device numbers (e.g. 1B1, 1B2, 1B3, 1B4, 1B5) for the Remote Data devices. RMD1 ______ RMD2 _________ RMD3 ________ RMD4 ________ RMD5 ________

Create a Thin Pool and add Data Devices on the Remote Symmetrix Create a file with the name mkPool.txt with the following content. <SGN> is your Student Group Number. create pool <SGN>_RMTPool type=thin; add dev <RMD1:RMD5> to pool <SGN>_RMTPool type=thin, member_state=ENABLE; Use the file mkPool.txt as input to the following symconfigure command Make sure to run this command against the REMOTE Symmetrix # symconfigure sid <REMOTE SID> -file mkPool.txt v nop prepare If errors occur, fix the problem in the input file and rerun prepare. If the prepare step succeeds issue the command: # symconfigure sid <REMOTE SID> -file mkPool.txt -v nop commit

10

Bind Thin Devices to the Thin Pool on the Remote Symmetrix Create a file with the name bind.txt with the following content. <SGN> is your Student Group Number. bind tdev <RMT1>:<RMT3> to pool <SGN>_RMTPool; # symconfigure sid <REMOTE SID> -file bind.txt v nop prepare If errors occur, fix the problem in the input file and rerun prepare. If the prepare step succeeds issue the command: # symconfigure sid <REMOTE SID> -file bind.txt -v nop commit

EMC Education Service

28

Step 11

Action Display detailed information about the thin pool <SGN>_RMTPool on the Remote Symmetrix # symcfg show pool <REMOTE SID> <SGN>_RMTPool thin detail sid

Record the following information Symmetrix ID: ______________________ Pool Name: ____________ Pool Type: _____________ Dev Configuration:_____ Number of Devices: ______ Enabled Devices: ______ Pool State: ____________ Maximum Subscription: _____________ Data Device Information: Data Dev Total Tracks Alloc Tracks Free Tracks Full(%) Device State

Bound Thin Device Information: Thin Dev Total Tracks Pool Subs (%) Pool Pool Total Allocated Allocated Written Tracks % Tracks Total Written % Status

End of Lab 2 Part 2

EMC Education Service

29

Lab 2 Part 3: Port Characteristics


Step 1 2 Action You should be still logged into your Primary host Identify the directors on the Symmetrix to which your Primary host is connected # symaccess list hba The output in the last column shows the fibre ports to which your host is connected. Enter <local dir1> (e.g. 7F) _________________ and <local port1> (e.g. 0) _____ Enter <local dir2> (e.g. 8F) _________________ and <local port2> (e.g. 0) _____ Example: # symaccess list hba
Identifier ---------------10000000c92ab6de 10000000c93124ae Physical Device Path -------------------------------c2t50000972C002D158d0s2 c3t50000972C002D15Cd0s2 Symmetrix ID -----------000194900180 000194900180 Dir:P ----07F:0 08F:0

Use SYMCLI to look at the Port Flag settings for <local dir 1>:<local port1> # symcfg list fa <local dir 1> -p <local port 1> -sid <local sid> -v List the SCSI Flags that are enabled for this Port: _____________________________ ____________________________________________________________________ List the Fibre Specific Flags that are enabled for this Port: _______________________ _______________________________________________________________________

EMC Education Service

30

Step 4

Action Use SMC to look at the Port Flag settings for <local dir 1>:<local port1>: Login into your assigned Symmetrix Management Console server Click on the Properties button to switch the view to the properties view. In the tree panel Drill down into: Symmetrix Arrays Your Local Symmetrix Directors Fibre <local dir 1> Ports Folder Click on <local port 1> and record the following: General Tab: List of Enabled Port Flags: ___________________________________________________ ________________________________________________________________________ _______________________________________________________________________ Do these match the SYMCLI output from the previous step? _________________ Masking Views Tab: List of Masking Views:___________________________________________

Use SMC to see what port attributes can be changed Right Click on <local port 1> Port and Director Configuration Set Port Attributes From the Set Port Attributes dialog record the port flags that are currently enabled: ________________________________________________________________________________ Which of these flags cannot be disabled? _______________________________________________ Click on Cancel to close out of the Set Port Attributes dialog.

End of Lab Exercise 2

EMC Education Service

31

EMC Education Service

32

Lab Exercise 3: Create RDF Groups and Pairs


Purpose: In this lab exercise students will create dynamic RDF groups and pairs and set group attributes. Note: The devices created in Lab Exercise 2 will be used in this Exercise Use SYMCLI to create a RDF Group and device pairs Use SMC to create a second RDF Group and device pairs Use SMC to set RDF Group attributes

Objectives:

References:

Lecture Module 4 (Meta Devices, Symmetrix and Device Attributes) EMC Solutions Enabler Symmetrix Array Controls CLI Version 7.3.1 PRODUCT GUIDE EMC Solutions Enabler Symmetrix SRDF Family CLI Version 7.3.1 PRODUCT GUIDE EMC Symmetrix Remote Data Facility (SRDF) Connectivity Guide SMC Online Help

EMC Education Service

33

Lab 3 Part 1: Use SYMCLI to Create RDF Groups and Pairs


Step 1 Action Log into your Primary host using the username and password assigned to you by the instructor Make sure that you have administrator or root privileges and that the PATH variable is setup properly (as you did in Lab 1 Part 3 Steps 2&3) Identify an RDF director on each array to use for dynamic RDF group (RDFG) # symcfg list ra all sid <local sid> # symcfg list ra all sid <remote sid> You may see multiple RDF directors, use the lowest numbered director What is the local RDF director number <local RDF dir#> (e.g.7H) _____________ What is the remote RDF director number <remote RDF dir#> (e.g. 7H) _________ 3 Create a new dynamic RDFG using the following RDFG numbering and label naming scheme based on your Student Group Number (SGN). Student Group Number (SGN) 1 2 3 4 5 6 7 8 9 10 11 12 Local RDFG # 101 102 103 104 105 106 107 108 109 110 111 112 Remote RDFG # 101 102 103 104 105 106 107 108 109 110 111 112 RDF Group Label sync101 sync102 sync103 sync104 sync105 sync106 sync107 sync108 sync109 sync110 sync111 sync112

The Local and Remote RDFG group numbers listed in the table above should not exist. Refer to the output from previous step to ensure that this is so. Please contact the instructor if the RDF Group numbers assigned to you are already in use.

EMC Education Service

34

Step 4

Action Create a dynamic RDF group between the local Symmetrix and the remote Symmetrix using the RDF group number (e.g. 101) and RDF label (e.g. sync101) that matches your Student Group Number(SGN) #symrdf addgrp -sid <local sid> -rdfg <local rdfg#> -dir <local RDF dir#> -remote_sid <remote sid> -remote_rdfg <remote rdfg#> -remote_dir <remote RDF dir#> -label <RDF Group Label> Did the group creation succeed? [Y/N] ____ # symcfg list sid <local sid> -rdfg <local rdfg#> Do you see the newly created RDF group? [Y/N] _____ This RDF Group will be used in a future lab for SRDF/Synchronous operation. We will refer to this as the Sync RDF Group from now on.

Create a dynamic RDF device pair with thin device T1 and remote thin device RMT1 and the Sync RDF Group you just created. Devices T1 and RMT1 were created in Lab 2. Record the Sym Dev Names of T1 and RMT1 T1 __________(e.g. 101) RMT1 __________________(e.g. 1A1) Create a file called RDFPair1.txtcontaining the text: <T1> <RMT1> Example: Contents of file devpair 101 1A1 Create the dynamic RDF pair # symrdf createpair file RDFPair1.txt -sid <local sid> -rdfg <local rdfg#> -type RDF1 rdf_mode acp_disk establish Did the pair creation succeed? [Y/N] ____ # symrdf list sid <local sid> -rdfg <local rdfg#> Do you see the newly created RDF pair? [Y/N] _____ End of Lab 3 Part 1

EMC Education Service

35

Lab 3 Part 2: Use SMC to Create RDF Groups and Pairs


Step 1 2 Action Login into your assigned Symmetrix Management Console server Identify an RDF director on each array to use for dynamic RDF group (RDFG) Click on the Properties button to switch the view to the properties view. In the tree panel drill down into the Symmetrix Arrays Your Local Symmetrix Directors Click on the RDF folder. List the RDF Directors: _____________________________ You will use the highest numbered local RDF director number <local RDF dir#> (e.g.8H) ___________________ Drill down into the Symmetrix Arrays Your Remote Symmetrix Directors Click on the RDF folder. List the RDF Directors: _____________________________ You will use the highest numbered remote RDF director number <remote RDF dir#> (e.g. 8H) __________________ 3 Create a new dynamic RDFG using the following RDFG numbering and label naming scheme based on your Student Group Number (SGN). Student Group Number (SGN) 1 2 3 4 5 6 7 8 9 10 11 12 Local RDFG # 151 152 153 154 155 156 157 158 159 160 161 162 Remote RDFG # 151 152 153 154 155 156 157 158 159 160 161 162 RDF Group Label async151 async152 async153 async154 async155 async156 async157 async158 async159 async160 async161 async162

EMC Education Service

36

Step 4

Action Explore the current SRDF groups configured on the Local and Remote Symmetrix Arrays The view should still be the Properties View. In the tree panel drill down into the Replication Views folder of your Local Symmetrix. Then drill down into the SRDF Views folder and then click on the RDF Groups folder. How many RDG Groups do you see? __________________________________ Is the RDF Group number assigned to you in Step 3 on this list? ________________________ Please make sure that the RDF Group number assigned to you is not listed here. Is the Sync RDF Group that you created with SYMCLI in the previous part listed here? _________ It should be. In a similar manner, drill down into the Replication Views folder of your Remote Symmetrix. Then drill down into the SRDF Views folder and then click on the RDF Groups folder. How many RDG Groups do you see? __________________________________ Is the RDF Group number assigned to you in Step 3 on this list? ________________________ Please make sure that the RDF Group number assigned to you is not listed here. Please contact the instructor if the SRDF Group numbers assigned to you are already in use.

Create a new SRDF Group The view should still be the Properties View. In the tree panel drill down into the Symmetrix Arrays folder. Right click on your Local Symmetrix and choose: Replication SRDF Configuration Create SRDF Group This will launch the Create SRDF Group window. Input the information for the SRDF Group (from Part 2 Steps 2 & 3) RDF Group label, Remote Symmetrix ID, RDF Group Number and Remote RDF Group number, Director and Remote Director Leave all the other settings at the default values Then click OK this will create the SRDF group. You will see a progress bar and a success window. Click on OK to close the success window.

EMC Education Service

37

Step 6

Action Confirm the creation of the new SRDF group The view should still be the Properties View. In the tree panel drill down into the Replication Views folder of your Local Symmetrix. Then drill down into the SRDF Views folder and then click on the RDF Groups folder. Is the new SRDF group you just created listed in the properties view? _______________ This RDF Group will be used in a future lab for SRDF/Asynchronous operation. We will refer to this as the Async RDF Group from now on. From the properties view record the following about your Sync and Async RDF groups RDFG RDFG Label Remote RDFG Remote SymmID Type CSRMTDA

Create SRDF Pairs with thin devices T2:T3 and remote thin devices RMT2:RMT3 and the Async RDF Group you just created. Devices T2:T3 and RMT2:RMT3 were created in Lab 2. Record the Sym Dev Names of T2:T3 and RMT2:RMT3 T2:T3 __________(e.g. 102:103) RMT2:RMT3 ______________(e.g. 1A2:1A3) The view should still be the Properties View. In the tree panel drill down into the Replication Views folder of your Local Symmetrix. Then drill down into the SRDF Views and drill down into the RDF Groups folder. Right click on the Async SRDF group that you just created with SMC and choose Replication SRDF Configuration Add SRDF Mirror ---- This will launch the Add SRDF Mirror window. Input the following: RDF Mirror Type: R1 (use pull down) RDF Mode: Adaptive Copy Disk (use pull down) RDF Group: This should be preselected to your RDF group No. Devices in Range: 2 (Type in) Local Start Device: Type in <T2> (e.g. 102 T2 was created in Lab 2) Remote Start Device: Type in <RMT2> (e.g. 1A2 RMT2 was created in Lab 2) Choose Invalidate R2 Mirror and check the Start RDF Data Copy box and then click on the Add Devices button Click on OK to create this SRDF device pair Click on Yes in the confirmation window You will see a progress bar followed by an information window, click on OK to close the information window

EMC Education Service

38

Step 8

Action Confirm the creation of the SRDF Pairs The view should still be the Properties View. Click on your Async SRDF Group (created in Step 5) in the RDF Groups folder of the Local Symmetrix. The properties view should show a Devices tab. Click on the Devices tab and make sure that T2:T3 are listed. Click on each of the devices to see additional information. Click on the RDF Info tab in the lower half of the view. And record the following: Local Device T2 ____ T3 ____ The information in this table should match the configurations that you have done to this point. Make sure that this is so. Remote SymmID RDev RDev Config RDFG Pair State MDACE

End of Lab3 Part 2

EMC Education Service

39

Lab 3 Part 3: RDF Group Attributes


Step 1 2 Action You should still be logged into SMC Examine the SRDF group attributes of your Sync and Async RDF groups Click on the Properties button to switch the view to the properties view. In the tree panel drill down into the Replication Views folder of your Local Symmetrix. Then drill down into the SRDF Views folder and then click on the RDF Groups folder. From the properties view record the following about both your RDF groups (Sync and Async) RDFG RDFG Label Remote SID Link Limbo Cycle Time Priority

Change RDF Group attributes for the Async RDF Group Drill down into the RDF Groups folder and then right click on your Async RDF Group and choose: Replication SRDF Configuration Set SRDF Group Attributes In the Set SRDF Group Attributes dialog: Set the RDF/A Min Cycle time to 30 Set the RDF/A Session Priority to 10 Click on Ok. Then Click on Yes in the Confirmation dialog. Click on Yes in the Warning Dialog. You will see a progress bar and then a Success dialog. Click on Ok to close the success dialog.

Confirm the changes made to the Async RDF Group In the tree panel click on your Async RDF Group and from the General tab of the Properties view confirm that the changes you made to the Minimum Cycle Time and Priority have taken effect.

EMC Education Service

40

Step 5

Action Reset the RDF Group attributes for the Async RDF Group to the default values Drill down into the RDF Groups folder and then right click on your Async RDF Group and choose: Replication SRDF Configuration Set SRDF Group Attributes In the Set SRDF Group Attributes dialog: Set the RDF/A Min Cycle time to 15 Set the RDF/A Session Priority to 33 Click on Ok. Then Click on Yes in the Confirmation dialog. Click on Yes in the Warning Dialog. You will see a progress bar and then a Success dialog. Click on Ok to close the success dialog.

Confirm the changes made to the Async RDF Group In the tree panel click on your Async RDF Group and from the General tab of the Properties view confirm that the Minimum Cycle Time and Priority have been reset to the default values.

End of Lab Exercise 3

EMC Education Service

41

EMC Education Service

42

Lab Exercise 4: Device Masking with Autoprovisioning Groups


Purpose: In this lab students will perform device masking tasks with Autoprovisioning groups Note: The devices created in Lab Exercise 2 will be used in this Exercise Mask thin devices to the Primary host Mask thin devices to the Secondary host Mask thin devices to the Remote host

Objectives:

References:

Lecture Module 5 (Autoprovisioning Groups) EMC Solutions Enabler Symmetrix Array Controls CLI Version 7.3.1 PRODUCT GUIDE EMC Solutions Enabler Symmetrix Array Management CLI Version 7.3.1 PRODUCT GUIDE SMC Online Help

EMC Education Service

43

Lab 4 Part 1: Use SMC to Allocate Storage to the Primary host


Step 1 Action Log into your Primary host using the username and password assigned to you by the instructor Make sure that you have administrator or root privileges and that the PATH variable is setup properly (as you did in Lab 1 Part 3 Steps 2&3) Identify the WWNs of the Primary hosts HBAs <hba wwn1> and <hba wwn2> that connect your Primary Host to your Local Symmetrix # symaccess list hba What are the WWNs of the HBA <hba wwn1> and <hba wwn2> connecting the Primary host to the Symmetrix <hba wwn1> ____________________ and <hba wwn2> ___________________ What are the director and port numbers to which the host connects <local dir1> ___________________ and <local port1> ________________ <local dir2> ___________________ and <local port2> ________________ If the login host is running Solaris, note the controller numbers of the HBAs <controller 1> ________________ <controller 2> _______________ In the following example the controller numbers for hba 10000000c92ab6de and hba 10000000c93124ae are c2 and c3
DMX800SUN1> symaccess list hba Identifier Physical Device Path Symmetrix ID ---------------- -----------------------------------10000000c92ab6de c2t50000972C002D158d0s2 000194900180 10000000c93124ae c3t50000972C002D15Cd0s2 000194900180

Dir:P ----07F:0 08F:0

EMC Education Service

44

Step 3 If PowerPath is running on the host

Action

# powermt display paths class=symm How many Total paths to the Local Symmetrix are shown in the penultimate column? _____ Are there any dead paths? _________________________ If powermt is not in your default path, find it in /etc or /usr/sbin or /sbin or \Program Files\EMC\PowerPath 4 5 Login into your assigned Symmetrix Management Console server Identify the Initiator Group and Masking View to which the HBAs belong Click on the Properties button to switch the view to the properties view. In the tree panel drill down into the Symmetrix Arrays folder and then drill down into: Your Local Symmetrix Symmetrix Masking Host Bus Adapters Fibre Find the WWNs of your Primary host in the list of HBAs in the Fibre folder and then click on the first WWN <hba wwn1>. The properties of this WWN should be shown in the Properties view. In the Properties view click on the Masking Views tab and record the following Masking View <Prod_MV> _________________ Storage Group <Prod_SG> _________________ Port Group <Prod_PG> ____________________ Initiator Group <Prod_IG> _________________ Check the Properties of the second WWN <hba wwn2> to confirm that this WWN belongs to the same Initiator Group and the same Masking View as the other WWN. 6 Get details on the Storage Group <Prod_SG> In the tree panel drill down into Your Local Symmetrix Symmetrix Masking Storage Groups folder and click on the Storage Group <Prod_SG> . Click on the Devices tab in the target panel and record the following information about the devices Number of devices in storage group: _____________________

EMC Education Service

45

Step 7

Action Add thin devices T1:T6 to the Storage Group <Prod_SG> Thin Devices T1:T6 were created in Lab Exercise 2 Record the Sym Dev Names of T1:T6 T1:T6 _______________(e.g. 111:116) Right click on the Storage Group <Prod_SG> then choose Device Masking and Mapping Storage Groups Maintenance Modify Storage Group to launch the Storage Group Management Modify dialog. Select Symmetrix from the Device Source Type pull down menu. Select devices T1, T2, T3, T4, T5 & T6 from the Available Devices column (Note: You may have to go to Page 2 to find your devices) Add them to the Group Members column by clicking on the Add button. Click on the Set Dynamic LUN Addresses button to launch the Set LUN Addresses dialog. An expandable folder with the name of your masking view Prod_MV will appear. Expand the folder and the Port folders underneath to see the list of LUNs for each port. Scroll down and determine the LUN addresses that will be assigned to the devices being added to the SG (proposed address will be in Blue font). Proposed LUN Addresses _____________ The LUN Address can be edited by double clicking on the proposed value and typing in a new value if necessary. We will take the default LUN address in this exercise. Click on the OK button to close the LUN Addresses dialog and return to the Storage Group Management Modify dialog. Click on the OK button in the Storage Group Management Modify dialog. Then click on the Yes button in the Confirmation dialog to complete the modification.

Confirm the addition of devices to the Storage Group <Prod_SG> In the tree panel drill down into Your Local Symmetrix Symmetrix Masking Storage Groups folder and click on the Storage Group <Prod_SG> . Click on the Devices tab in the target panel Are DevicesT1:T6 listed? ___________________

EMC Education Service

46

Step 9

Action Go back and login to your Primary host again Make sure that you have administrator or root privileges and that the PATH variable is setup properly (as you did in Lab 1 Part 3 Steps 2&3) Rescan the bus of the Primary host for the newly masked devices as follows: On Solaris type # devfsadm On Windows use the DISKPART utility to rescan the bus C:\>DISKPART DISKPART> rescan DISKPART> exit

10

11

If PowerPath is running on the host issue the command On Unix # powermt config On Windows # powermt check reconfig followed by (Unix or Windows) # powermt display paths class=symm How many total paths are shown in the penultimate column _____ Is the number different from what you saw earlier [Y/N] _____

12

Run a new discovery and list the physical devices # symcfg discover # symdev list pd -tdev Do the Devices <T1:T6> show up on the list [Y/N] _____ If not, get help from the instructor.

EMC Education Service

47

Step 13

Action Use the symdev show command on the Device <T1> to confirm its front end mapping # symdev show <T1> sid <local sid> Is the device mapped to the front end Dir:Ports identified in Step 2? _________ If not, ask for assistance from the instructor. Devices <T1:T6> should be mapped to the same front end ports. Run the symdev show command against some of the other devices to confirm this.

End of Lab 4 Part 1

EMC Education Service

48

Lab 4 Part 2: Use SYMCLI to Allocate Storage to the Secondary Host


Step 1 Action Log into your Secondary host using the username and password assigned to you by the instructor Make sure that you have administrator or root privileges and that the PATH variable is setup properly (as you did for the Primary Host in Lab 1 Part 3 Steps 2&3) Identify the WWNs of the Secondary hosts HBAs <Sec wwn1> and <Sec wwn2> that connect your Secondary Host to your Local Symmetrix # symaccess list hba What are the WWNs of the HBA <hba wwn1> and <hba wwn2> connecting this host to the Symmetrix <Sec wwn1> ____________________ and <Sec wwn2> ___________________ What are the director and port numbers to which the host connects <local dir1> ___________________ and <local port1> ________________ <local dir2> ___________________ and <local port2> ________________ If the login host is running Solaris, note the controller numbers of the HBAs <controller 1> ________________ <controller 2> _______________ In the following example the controller numbers for hba 10000000c92ab6de and hba 10000000c93124ae are c2 and c3 DMX800SUN1/usr/sengupta> symaccess list hba
Identifier ---------------10000000c92ab6de 10000000c93124ae Physical Device Path Symmetrix ID -----------------------------------c2t50000972C002D158d0s2 000194900180 c3t50000972C002D15Cd0s2 000194900180 Dir:P ----07F:0 08F:0

EMC Education Service

49

Step 3

Action Identify the Initiator Group and Masking View to which the HBAs belong
# symaccess list sid <local sid> -type initiator wwn <Sec wwn1> -v # symaccess list sid <local sid> -type initiator wwn <Sec wwn2> -v

What is the name of the Initiator Group <Sec_IG> _____________________ What is the name of the Masking View <Sec_MV> _____________________ 4 Get details on the Masking View <Sec_MV> # symaccess sid <local sid> show view <Sec_MV> Record the following information Initiator Group Name <Sec_IG>: _______________ Host Initiators: ______________________ Are the Host Initiators the same as those identified in Step 2? ____________________ Port Group Name <Sec_PG>:____________ Director Identification: ___________________ Are the Dir:Ports the same as those identified in Step 2? ____________________ Storage Group Name <Sec_SG> __________________________ List of Devices in Storage Group ___________________________ 5 If PowerPath is running on the host # powermt display paths class=symm How many Total paths to the Local Symmetrix are shown in the penultimate column? _____ Are there any dead paths? _________________________ If powermt is not in your default path, find it in /etc or /usr/sbin or /sbin or \Program Files\EMC\PowerPath

EMC Education Service

50

Step 6

Action Add thins devices T7:T8 to the Storage Group <Sec_SG> Thin Devices T7:T8 were created in Lab Exercise 2 Record the Sym Dev Names of T7:T8 T7:T8 _______________(e.g. 91:92) Add Devices <T7>:<T8> # symaccess sid <local sid> add devs <T7>:<T8> -name <Sec_SG> -type storage

Confirm that the devices have been added to the Storage Group <Sec_SG> # symaccess sid <local sid> show <Sec_SG> -type storage Are Devices <T7:T8> listed in the output? _________________

Rescan the bus of the Secondary host for the newly masked devices as follows: On Solaris type # devfsadm On Windows use the DISKPART utility to rescan the bus C:\>DISKPART DISKPART> rescan DISKPART> exit

If PowerPath is running on the host issue the command On Unix # powermt config On Windows # powermt check reconfig followed by (Unix or Windows) # powermt display paths class=symm How many total paths are shown in the penultimate column _____ Is the number different from what you saw earlier [Y/N] _____

EMC Education Service

51

Step 10

Action Run a new discovery and list the physical devices # symcfg discover # symdev list pd -tdev Do the Devices <T7:T8> show up on the list [Y/N] _____ If not, get help from the instructor.

End of Lab 4 Part 2

EMC Education Service

52

Lab 4 Part 3: Allocate Storage to the Remote Host


Step 1 Action Note: Detailed instructions are not given for this Part. You can do this Part with SYMCLI or SMC. Please refer to either Part 1 (SMC) or Part 2 (SYMCLI) for detailed instructions. Log into your Remote host using the username and password assigned to you by the instructor. Make sure that you have administrator or root privileges and that the PATH variable is setup properly (as you did for the Primary Host in Lab 1 Part 3 Steps 2&3) Identify the WWNs of the Remote hosts HBAs <RMT wwn1> and <RMT wwn2> that connect your Remote Host to your Remote Symmetrix. Use SYMCLI or SMC to identify the Masking View, Initiator Group, Storage Group and Port Group that is used by your Remote Host Use SYMCLI or SMC to add Devices <RMT1:RMT3> from the Remote Symmetrix to the Storage Group used by your Remote Host RMT1:RMT3 were created on the Remote Symmetrix in Lab Exercise 2 Rescan the bus of the Remote host for the newly masked devices Re-configure PowerPath Run a new discovery and list the physical devices Make sure that Devices RMT1:RMT3 are visible to the Remote Host End of Lab Exercise 4

4 5

6 7 8

EMC Education Service

53

EMC Education Service

54

Lab Exercise 5: Miscellaneous Virtual Provisioning Operations


Purpose: In this exercise students will perform various virtual provisioning tasks. Note: All these tasks can be performed with SMC or SYMCLI. In this lab exercise we will use SMC.

Objectives:

Expand a Thin pool and rebalance data distribution across the pool Perform space reclamation on a Thin device Unbind Thin Devices and Remove Data Devices from a Thin pool Set Thin pool Subscription limits

References:

Lecture Modules 3 (Virtual Provisioning Operations) and 6 (Virtual Provisioning Miscellaneous Operations) SMC Online Help

EMC Education Service

55

Lab 5 Part 1: Expand Thin Pool and Rebalance Data Distribution


Step 1 2 Action Login into your assigned Symmetrix Management Console server Record details of the Thin Pool <SGN>_FC15Pool <SGN>_FC15Pool was created in Lab 2 Click on the Properties button to switch the view to the properties view. In the tree panel drill down into the Symmetrix Arrays folder and then drill down into: Your Local Symmetrix. Drill down into the Thin Pools folder under the Pools folder and click on your Thin Pool <SGN>_FC15Pool. Record the following information from the Properties view. General Tab: Pool Name: ____________ Dev Configuration:________ Number of Devices: ______ Disabled Devices:________ Enabled Devices: ______ Enabled Capacity (Trks):________________ Allocated Capacity(Trks): _______________ Allocated % _______________________ Data Devices Tab: Dev D6__________ D7__________ D8__________ Bound Thin Devices Tab: Dev T4___________ T5___________ T6___________ Cap (MB) Pool Alloc Cap (MB) Total Written Cap (MB) State Used Tracks Free Tracks

EMC Education Service

56

Step 3

Action Fully pre-allocate Thin Devices T4 and T5 You should still be on the Bound Thin Devices Tab Properties View of your <SGN>_FC15Pool. Highlight thin devices T4 & T5 in the Properties view and then right click and choose Device Configuration Start Allocate/Free/Reclaim to launch the dialog In the Start Allocate/Free Dialog: Click on the Start Allocate radio button. Check the Full Device box Click on the Add to Config Session List button to add this task to the configuration sessions. The view will automatically switch to the Config Session view. Click on the Commit All button to commit this task. Click on the Yes button in the confirmation dialog. Follow the configuration progress in the Log section of the Config Session view. Record details of the Thin Pool <SGN>_FC15Pool after pre-allocation Click on the Properties button to switch the view to the properties view. Drill down into the Thin Pools folder under the Pools folder of your Local Symmetrix and click on your Thin Pool <SGN>_FC15Pool. Click the Refresh button to refresh the data. Record the following information from the Properties view. General Tab: Enabled Capacity (Trks):________________ Allocated Capacity(Trks): _______________ Allocated % ________________________ In the number of allocated tracks different from Step 2? ___________________ Data Devices Tab: Dev D6__________ D7__________ D8__________ Is the number of used tracks about the same for all the data devices? _______________ Bound Thin Devices Tab: Dev T4___________ T5___________ T6___________ Cap (MB) Pool Alloc Cap (MB) Total Written Cap (MB) State Used Tracks Free Tracks

EMC Education Service

57

Step 5

Action Expand Thin Pool <SGN>_FC15Pool with Data Devices D9:D10 Data Devices D9:D10 were created in Lab2 Record the Sym Dev Names of D9:D10 D9:D10 _______________(e.g. 91:92) In the tree panel right click on your thin pool <SGN>_FC15Pool and choose Device Pool Management Add/Remove Pool Members to launch the dialog. Specify the following: Check the Enable New Pool Member box Ensure that the Start Write Balancing box is checked (This will ensure that as soon as data devices are added and enabled the rebalancing will start automatically) Highlight Data Devices D9 & D10 (2-way mir data devices on 15K FC drives) that you had created in Lab 2 from the Available column and add it to the Target column by clicking on the Add button Click the OK button to expand the pool and start the rebalancing process.

Record details of the Thin Pool <SGN>_FC15Pool after expansion Click on the Properties button to switch the view to the properties view. Drill down into the Thin Pools folder under the Pools folder of your Local Symmetrix and click on your Thin Pool <SGN>_FC15Pool. Click the Refresh button to refresh the data. Record the following information from the Properties view. General Tab: Number of Devices: ______ Disabled Devices:________ Enabled Devices: ______ Enabled Capacity (Trks):________________ Allocated Capacity(Trks): _______________ Allocated % ________________________ Is this different from Step 4? ___________ Pool State ___________________________ Data Devices Tab: Dev D6__________ D7__________ D8__________ D9___________ D10__________ Is the number of used tracks about the same for all the data devices? _______________ You may see a state of Balancing. Click on Refresh a few times until pool is balanced. State Used Tracks Free Tracks

EMC Education Service

58

Step 7 Fully pre-allocate Thin Devices T6

Action

Click on the Bound Thin Devices Tab of your <SGN>_FC15Pool in the Properties View. Highlight thin device T6 in the Properties view and then right click and choose Device Configuration Start Allocate/Free/Reclaim to launch the dialog In the Start Allocate/Free Dialog: Click on the Start Allocate radio button. Check the Full Device box Click on the Add to Config Session List button to add this task to the configuration sessions. The view will automatically switch to the Config Session view. Click on the Commit All button to commit this task. Click on the Yes button in the confirmation dialog. Follow the configuration progress in the Log section of the Config Session view. Record details of the Thin Pool <SGN>_FC15Pool after pre-allocation Click on the Properties button to switch the view to the properties view. Drill down into the Thin Pools folder under the Pools folder of your Local Symmetrix and click on your Thin Pool <SGN>_FC15Pool. Click the Refresh button to refresh the data. Record the following information from the Properties view. General Tab: Enabled Capacity (Trks):________________ Allocated Capacity(Trks): _______________ Allocated % ________________________ Is this different from Step 6? ___________ Data Devices Tab: Dev D6__________ D7__________ D8__________ D9___________ D10__________ Is the number of used tracks about the same for all the data devices? _______________ State Used Tracks Free Tracks

End of Lab 5 Part 1

EMC Education Service

59

Lab 5 Part 2: Thin Device Space Reclamation


Step 1 2 Action You should still be logged in to your assigned Symmetrix Management Console server Record details of the Thin Pool <SGN>_FC15Pool Click on the Properties button to switch the view to the properties view. Drill down into the Thin Pools folder under the Pools folder of your Local Symmetrix and click on your Thin Pool <SGN>_FC15Pool. Click the Refresh button to refresh the data. Record the following information from the Properties view. General Tab: Enabled Capacity (Trks):________________ Allocated Capacity(Trks): _______________ Allocated % ________________________ Bound Thin Devices Tab: Dev T4___________ T5___________ T6___________ 3 The three thin devices should be fully allocated. Reclaim space on Thin Devices T4:T6 You should still be on the Bound Thin Devices Tab Properties View of your <SGN>_FC15Pool. Highlight thin devices T4:T6 in the Properties view and then right click and choose Device Configuration Start Allocate/Free/Reclaim to launch the dialog In the Start Allocate/Free Dialog: Click on the Start Reclaim radio button (or Start Free and Reclaim radio buttons). Check the Full Device box Click on the Add to Config Session List button to add this task to the configuration sessions. The view will automatically switch to the Config Session view. Click on the Commit All button to commit this task. Click on the Yes button in the confirmation dialog. Follow the configuration progress in the Log section of the Config Session view. Cap (MB) Pool Alloc Cap (MB) Total Written Cap (MB)

EMC Education Service

60

Step 4

Action Record details of the Thin Pool <SGN>_FC15Pool after space reclamation Click on the Properties button to switch the view to the properties view. Drill down into the Thin Pools folder under the Pools folder of your Local Symmetrix and click on your Thin Pool <SGN>_FC15Pool. Click the Refresh button to refresh the data. Record the following information from the Properties view. General Tab: Enabled Capacity (Trks):________________ Allocated Capacity(Trks): _______________ Allocated % ________________________ In the number of allocated tracks different from Step 3? ___________________ Data Devices Tab: Dev D6__________ D7__________ D8__________ D9__________ D10_________ Has the number of used tracks per data device reduced compared to Lab 5 Part 1 Step 8? __________________ Bound Thin Devices Tab: Dev T4___________ T5___________ T6___________ Has the pool allocated capacity per thin device reduced compared to Step 3? _________ Cap (MB) Pool Alloc Cap (MB) Total Written Cap (MB) State Used Tracks Free Tracks

End of Lab 5 Part 2

EMC Education Service

61

Lab 5 Part 3: Unbind Thin Devices and Remove Data Devices from Pool
Step 1 2 Action You should still be logged in to your assigned Symmetrix Management Console server Not Ready Thin Devices T4:T6 in preparation for unbinding Click on the Properties button to switch the view to the properties view. Drill down into the Thin Pools folder under the Pools folder of your Local Symmetrix and click on your Thin Pool <SGN>_FC15Pool. Click on the Bound Thin Devices Tab of your <SGN>_FC15Pool in the Properties View. Highlight thin devices T4:T6 in the Properties view and then right click and choose Device Configuration Set Device Status to launch the dialog In the Device Status dialog: Use the pull down and choose Device Not Ready Highlight all three thin devices and then click on OK to not ready the devices. 3 Unbind devices T4:T6 from pool <SGN>_FC15Pool In the tree panel right click on your thin pool <SGN>_FC15Pool and choose Device Pool Management Bind/Unbind Thin Device to launch the dialog. Click on the Remove All button in the Bind/Unbind dialog to move all three bound thin devices from the Target to the Available Column Click on the Add to Config Session List button to add this task to the configuration sessions. The view will automatically switch to the Config Session view. Click on the Commit All button to commit this task. Click on the Yes button in the confirmation dialog. Follow the configuration progress in the Log section of the Config Session view. 4 Record details of the Thin Pool <SGN>_FC15Pool after unbinding devices Click on the Properties button to switch the view to the properties view. Drill down into the Thin Pools folder under the Pools folder of your Local Symmetrix and click on your Thin Pool <SGN>_FC15Pool. Click the Refresh button to refresh the data. Are there any bound thin devices? ________________________________ (The Bound Thin Devices tab should no longer be visible)

EMC Education Service

62

Step 5

Action Disable Data Devices <D8:D10> in pool <SGN>_FC15Pool Drill down into the Thin Pools folder under the Pools folder of your Local Symmetrix and click on your Thin Pool <SGN>_FC15Pool. Click on the Data Devices tab in the properties view. Highlight Data Devices D8:D10 in the properties view. Right click and choose Device Pool Management Disable Device Click on Yes in the Question dialog to disable these data devices. Click on OK in the Success dialog. Ensure that the properties view shows a disabled state for these three data devices. Remove Data Devices <D8:D10> from pool <SGN>_FC15Pool and set Max Subscription % to 120 Drill down into the Thin Pools folder under the Pools folder of your Local Symmetrix. Right click on your Thin Pool <SGN>_FC15Pool and choose Device Pool Management Add/Remove Pool Members to launch the dialog Highlight Data Devices D8, D9 & D10 from the Target column and click on the Remove button to move them to the Available column. Check the Max Subscription% Box and type in 120 Click the OK button to complete the removal of the data devices and to set the max subscription limit. Click the OK button on the Success dialog.

Record details of the Thin Pool <SGN>_FC15Pool Click on the Properties button to switch the view to the properties view. Drill down into the Thin Pools folder under the Pools folder of your Local Symmetrix and click on your Thin Pool <SGN>_FC15Pool. Click the Refresh button to refresh the data. General Tab: Number of Devices: ______ Disabled Devices:________ Enabled Devices: ______ Maximum Subscription % _________________________________________ Data Devices Tab: Are Data Devices D8:D10 listed? _____________ They should not be listed.

End of Lab 5 Part 3

EMC Education Service

63

Lab 5 Part 4: Effect of Thin Pool Subscription Limit


Step 1 2 Action You should still be logged in to your assigned Symmetrix Management Console server Try binding devices T4:T6 to pool <SGN>_FC15Pool Click on the Properties button to switch the view to the properties view. Drill down into the Thin Pools folder under the Pools folder of your Local Symmetrix. Right click on your thin pool <SGN>_FC15Pool and choose Device Pool Management Bind/Unbind Thin Device to launch the dialog. Highlight the Thin devices T4, T5 & T6 from the Available column and add it to the Target column by clicking on the Add button. Click on the Add to Config Session List button to add this task to the configuration sessions. Did this work? ____________________________________ You should see an error because the Max Subscription is set to 120% and binding three devices would require 150%. Click OK on the Error Dialog. Click Cancel on the Bind/Unbind Dialog. 3 Unset the Max Subscription of pool <SGN>_FC15Pool and add Data Devices D8:D10 Click on the Properties button to switch the view to the properties view. Drill down into the Thin Pools folder under the Pools folder of your Local Symmetrix. Right click on your thin pool <SGN>_FC15Pool and choose Device Pool Management Add/Remove Pool Members to launch the dialog. Check the Enable New Pool Member Box Uncheck the Max Subscription% Box Highlight Data Devices D8, D9 & D10 from the Available column and click on the Add button to move them to the Target column. Click the OK button to complete the addition of the data devices and to unset the max subscription limit. Click the OK button on the Success dialog.

EMC Education Service

64

Step 4

Action Record details of the Thin Pool <SGN>_FC15Pool Click on the Properties button to switch the view to the properties view. Drill down into the Thin Pools folder under the Pools folder of your Local Symmetrix and click on your Thin Pool <SGN>_FC15Pool. Click the Refresh button to refresh the data. General Tab: Number of Devices: ______ Disabled Devices:________ Enabled Devices: ______ Maximum Subscription % _________________________________________ Data Devices Tab: Are Data Devices D6:D10 listed? _____________ They should be.

Bind devices T4:T6 to pool <SGN>_FC15Pool Click on the Properties button to switch the view to the properties view. Drill down into the Thin Pools folder under the Pools folder of your Local Symmetrix. Right click on your thin pool <SGN>_FC15Pool and choose Device Pool Management Bind/Unbind Thin Device to launch the dialog. Highlight the Thin devices T4, T5 & T6 from the Available column and add it to the Target column by clicking on the Add button. Click on the Add to Config Session List button to add this task to the configuration sessions. The view will automatically switch to the Config Session view. Click on the Commit All button to commit this task. Click on the Yes button in the confirmation dialog. Follow the configuration progress in the Log section of the Config Session view. Record details of the Thin Pool <SGN>_FC15Pool Click on the Properties button to switch the view to the properties view. Drill down into the Thin Pools folder under the Pools folder of your Local Symmetrix and click on your Thin Pool <SGN>_FC15Pool. Click the Refresh button to refresh the data. Bound Thin Devices Tab: Are Thin Devices T4:T6 listed? _____________ They should be.

End of Lab Exercise 5

EMC Education Service

65

EMC Education Service

66

Lab Exercise 6: Virtual LUN Migration


Purpose: In this lab exercise students perform Virtual LUN migration of Thin Devices.

Objectives:

Use the SMC LUN Migration wizard to migrate thin devices from one RAID 1 Thin Pool to a RAID 6 Thin Pool

References:

Lecture Module 7 (Virtual LUN Migration) SMC Online Help

EMC Education Service

67

Lab 6 Part 1: Virtual LUN Migration VP


Step 1 Action Login into your assigned Symmetrix Management Console server In this exercise we will use thin devices T4:T6 created in Lab 2. Recall that T4:T6 were bound to Thin Pool <SGN>_FC15Pool. VLUN migration will be used to migrate devices T4:T6 to the Thin Pool <SGN>_SATAPool. The Data Devices in <SGN>_FC15Pool are 2-Way-Mir devices residing in the FC15 Disk Group. The Data Devices in <SGN>_SATAPool are RAID6 devices residing in the SATA Disk Group. 2 Use SMC to Confirm that Thin Devices T4:T6 are bound to pool <SGN>_FC15Pool Click on the Properties button to change the view to the Properties View. In the tree panel drill down into Symmetrix Arrays Your Local Symmetrix Pools Thin Pools Click on your thin pool <SGN>_FC15Pool. From the General Tab: Number of Enabled Data Devices: __________ Device Configuration: ____________________ From the Bound Thin Devices Tab: Are Thin Devices T4:T6 listed here? _______________ They should be. In the Properties view click on device T4, then click on the Storage Groups tab that appears in the bottom half of the view. Record the Storage Group to which device T4 belongs:__________________________ In a similar manner determine the Storage Group for devices T5:T6. T4:T6 should belong to the same Storage Group. This storage group should be the same as <Prod_SG> (Identified in Lab 4 Part 1). Is this the case? _______________________________ 3 Record properties of the Thin Pool <SGN>_SATAPool In Lab 2 the <SGN_SATAPool> was created and Data Devices D11:D15 were added. Thin devices T7:T8 were bound to this pool. In the Thin Pools folder click on your Thin Pool <SGN>_SATAPool. Number of Enabled Data Devices: __________ Device Configuration: ____________________ How many thin devices are bound to this pool? _________ There should be two.

EMC Education Service

68

Step 4

Action Launch the LUN Migration Wizard in order to migrate Devices T4:T6 from <SGN>_FC15Pool to <SGN>_SATAPool Click on the Tasks button to switch to the Tasks view Click on the Migrate Storage Locally (LUN Migration Wizard) hyperlink to launch the LUN Migration Wizard (Located in the Operations Panel under Migration and Replication)

Use the LUN Migration Wizard to start the LUN Migration: Welcome Page: Read the Welcome Page and then Click Next Select Source Devices: Symmetrix ID: Your Local Symmetrix (Use the pull down for selection) Migration Type: Virtual Pool (Click on the Virtual Pool radio button) Session Name: Group_<SGN> (Type in e.g. Group_08) Group Type: Storage Group (Use the pull down) Group Name: <Prod_SG> (Click on the Select button to pick your Production SG) Selecting the SG will automatically include all the Thin Devices from this SG into the Selected Source Devices Column. Click on Remove All to move all the devices into the Available Devices column Highlight device T4, T5 & T6 in the Available Devices column and then click on Add to move T4:T6 to the Selected Source Devices column Confirm that only Devices T4:T6 appear in the Selected Source Devices Column Click Next Select Target Virtual Pool: Pin Devices: No (Click on the No radio button) Click on your <SGN>_SATAPool Click Next Summary Page: Review the Summary to confirm that only devices T4:T6 will be migrated to <SGN>_SATAPool. Click Finish LUN Migration process will start and then an information dialog will pop up. Read the dialog and click on OK to close it.

EMC Education Service

69

Step 6

Action Monitor the VLUN Migration Session Click on the Properties button to switch to the Properties View. In the tree panel drill down into your Local Symmetrix Migration Sessions folder Click on your Migration Session and take a look at its properties General Tab: Status: ____________ Percent Complete: ____________ Session Pairs Tab: SRC Status %Done TGT Disk Group TGT Type TGT Description

Is Status showing a value of Migrated? ____________________ Click on the Refresh button if necessary till the Status changes to Migrated. 7 Confirm that Thin Devices T4:T6 are now bound to pool <SGN>_SATAPool In the tree panel drill down into Symmetrix Arrays Your Local Symmetrix Pools Thin Pools Click on your thin pool <SGN>_SATAPool. In the Properties view click on the Bound Thin Devices Tab: Are Thin Devices T4:T6 listed here? _______________ They should be. 8 Confirm that Thin Devices T4:T6 are no longer bound to pool <SGN>_FC15Pool In the tree panel click on your thin pool <SGN>_FC15Pool. Are there any devices bound to this pool? _______________ There should NOT be. 9 Terminate the Migration Session In the tree panel drill down into your Local Symmetrix Migration Sessions folder Right click on your Migration Session and choose Migration Terminate Migration Session Click on Yes in the question dialog to terminate your migration session.

End of Lab Exercise 6

EMC Education Service

70

Lab Exercise 7: Implement and Manage FAST VP


Purpose: In this exercise students will manage a FAST VP Environment. Note: All these tasks can be performed with SMC or SYMCLI. In this lab exercise SMC will be used.

Objectives:

Check the status of FAST VP Determine current FAST VP settings Implement FAST VP for thin devices

References:

Lecture Modules 8 (FAST VP Concepts) and 9 (Managing FAST VP) SMC Online Help

EMC Education Service

71

Lab 7 Part 1: FAST VP Status and Settings

Step 1 2

Action Login into your assigned Symmetrix Management Console server Verify that FAST VP is Enabled with the FAST Status Report Right click on your Local Symmetrix and then choose FAST FAST Status Report This will launch the FAST Status Report. Record the following FAST VP information from the Status report: FAST VP State and Activities FAST VP State Data Movement Mode FAST VP Current Activities FAST VP Performance Time Windows FAST VP Move Time Windows FAST VP should be Enabled. Inform your instructor if this is not the case. The Data Movement Mode should be Automatic and the time windows should be Open.

Check FAST VP Settings Right click on your Local Symmetrix and then choose FAST FAST Control Parameters Settings This will launch the FAST Settings dialog. Click on the General Tab Verify that the values in bold letters match the values for FAST VP on your system. If not, change them to match the values below: Shared Parameters Between Optimizer, FAST and FAST VP Workload Analysis Period: 2 hours Time to Sample Before First Analysis: 2 hours FAST VP Specific Settings Data Movement Mode: Automatic Relocation Rate: 5 Pool Reserved Capacity (%): 10

EMC Education Service

72

Step 4

Action Check the defined Performance Time Windows The FAST Settings dialog should still be open. Click on the Performance Time Window Tab Make sure that the defined performance time windows allow performance data collection for all days and all times. (This is the default) Include Start Time End Time Repeat

Please contact the instructor if the performance time windows are not setup to collect data 24X7. 5 Check the defined Move Time Windows for FAST VP The FAST Settings dialog should still be open. Click on the Move Time Window Tab. Click on the Virtual Pool radio button. By default move time windows do not exist. In this setup a 24x7 move time window has already been defined for FAST VP. Make sure that the defined Virtual pool time windows allow FAST VP data movement for all days and all times. Allow Provisioning Start Time End Time Repeat

Please contact the instructor if the Virtual Pool move time windows are not setup to allow data movement 24x7. Click on the New button to take a look at the dialog to create new Time Windows. Click on Cancel to close the new Time Window dialog. Click on Cancel to close out the FAST Settings dialog, Click on Yes in the question dialog. End of Lab 7 Part 1

EMC Education Service

73

Lab 7 Part 2: Implement FAST VP


Step 1 2 Action You should be still logged into SMC Create two FAST VP Tiers Click on the Properties button to switch the view to the Properties view. In the tree panel drill down into the Symmetrix Arrays folder. Then drill down into your Local Symmetrix FAST Symmetrix Tiers Folder Right click on the Symmetrix Tiers folder and choose: Tier Management Create Tier In the Create Tier dialog Tier Type: Virtual Pool (click on the Virtual Pool radio button) Tier Name: <SGN>_VPFC15Tier (Type in e.g. 08_VPFC15Tier) Pick your <SGN>_FC15Pool from the listed selection (Recall that <SGN>_FC15Pool was created in Lab 2) Click OK to create the tier Click OK in the Information dialog In a similar manner create a second VP tier with name <SGN>_VPSATATier with your <SGN>_SATAPool as the member. 3 Confirm the creation of the new FAST VP Tiers Drill down into your Local Symmetrix FAST Symmetrix Tiers Folder Does the Virtual Pool Tiers folder exist? ______________________ Drill down into the Virtual Pool Tiers folder. Are the two VP tiers you created listed? _______ Record the information about these tiers Name Tier Type Tech Target Protection Type Total (GB) Free (GB)

Is this information consistent with what you had created? _________________________

EMC Education Service

74

Step 4

Action Create a Storage Group with Devices T4:T6 T4:T6 were created in Lab 2 and were made accessible to your Production Host in Lab 4. Drill down into the Symmetrix Masking Folder. Right click on the Storage Groups Folder and choose Device Masking and Mapping Storage Groups Maintenance Create Storage Group In the Storage Group Management Create dialog: Storage Group Name: <SGN>_FASTVPSG (Type in e.g. 08_FASTVPSG) Select Symmetrix from the Device Source Type pull down menu. Select devices T4:T6 from the Available Devices column (Note: You may have to go to Page 2 or Page 3 to find your devices ) Add them to the Group Members column by clicking on the Add button. Click on the OK button in the Storage Group Management Create dialog to complete the creation of the Storage Group. Drill down into the Storage Groups folder. Is your new SG listed? _______________ Click your newly created SG and then click on the Devices Tab in the properties view. Are devices T4:T6 listed? ____________________________________________

Create a FAST VP policy and associate Storage Group Drill down into the FAST folder of your Local Symmetrix. Right click on the Policies folder and choose FAST FAST Policy Management Create Policy In the Create FAST Policy dialog: Policy Type: Virtual Pool (Click on the Virtual Pool radio button) Policy Name: <SGN>_VP_Policy (Type in e.g. 08_VP_Poicy) Tier: <SGN>_VPFC15Tier (Use the pull down to pick) %Max of Storage Group: 50 Tier: <SGN>_VPSATATier (Use the pull down to pick) %Max of Storage Group: 50 Note: In this example we are specifying two Tiers with a 50:50 split. Click on the Associate Storage Groups button In the Storage Group Association dialog pick your <SGN>_FASTVPSG group from the Select Storage Groups column and Add it the Associated Storage Groups column. Click OK to close the Storage Group Association dialog. Click OK to create the FAST Policy Click OK in the Success Dialog

EMC Education Service

75

Step 6

Action Confirm the creation of FAST policy and the association of the Storage Group In the tree panel drill down into the Policies folder under FAST and then drill down into the Virtual Pool Policies folder. Click on your <SGN>_VP_Policy Click on the General Tab in the properties view and confirm that this policy uses the two VP tiers you had created. Click on the Storage Groups Tab and confirm that your <SGN>_FASTVPSG group is listed

Inspect the FAST Compliance of the Storage Group In the tree panel drill down into the Symmetrix Masking folder of your local Symmetrix. Drill down into the Storage Groups folder and then click on your <SGN>_FASTVPSG group. Click on the General tab in the properties view and confirm that the <SGN>_VP_Policy is listed as the FAST Policy Name Click on the FAST Compliance Tab. Click on the Refresh button. Record the following: Tier Protection Tech Max SG% Limit (MB) FAST SG Used (MB) Growth (MB)

Does this SG comply with the associated FAST Policy? _____________________________ What is the significance of the information in the Growth column? __________________ A negative value in Growth column indicates that policy is out of compliance. In the current example the Thin devices have no data written to them and as a consequence there are very few allocated tracks and the SG should be in compliance.

EMC Education Service

76

Step 8

Action Fully pre-allocate Thin Devices T4:T6 You should still be in the properties view of storage group <SGN>_FASTVPSG Click on the Devices tab in the properties view Highlight thin devices T4, T5 & T6 then right click and choose Device Configuration Start Allocate/Free/Reclaim to launch the dialog In the Start Allocate/Free Dialog: Click on the Start Allocate radio button. Check the Full Device box Click on the Add to Config Session List button to add this task to the configuration sessions. The view will automatically switch to the Config Session view. Click on the Commit All button to commit this task. Click on the Yes button in the confirmation dialog. Follow the configuration progress in the Log section of the Config Session view.

Inspect the FAST Compliance of the Storage Group again Click on the Properties button to switch the view to the Properties view. In the tree panel drill down into the Symmetrix Masking folder of your local Symmetrix. Drill down into the Storage Groups folder and then click on your <SGN>_FASTVPSG group. Click on the FAST Compliance Tab. Click on the Refresh button. Record the following: Tier Protection Tech Max SG% Limit (MB) FAST SG Used (MB) Growth (MB)

Does this SG still comply with the associated FAST Policy? ________________________ If not why not? __________________________________________________________ 10 Inspect the FAST Compliance of the Storage Group after one day It will take FAST some time to bring the Storage Group into compliance. So please move on with the rest of the Labs and check the FAST Compliance of the Storage Group after 24 hours.

End of Lab Exercise 7

EMC Education Service

77

EMC Education Service

78

Lab Exercise 8: TimeFinder/Clone Operations


Purpose: In this Lab exercise TimeFinder/Clone will be used to replicate a production file system. Note: TimeFinder/Clone Operations can be performed with SYMCLI or SMC. SMC will be used in this lab.

Objectives:

Create a File System on the Source Device Create a Device Group and add Clone Source and Target devices Create and Activate a Clone Session Access the data on the Clone Target from a Secondary host Perform a Clone Restore

References:

Lecture Module 10 (TimeFinder/Clone Operations) SMC Online Help

EMC Education Service

79

Lab 8 Part 1: Locate Devices and Create File System on Source

Device
Step 1 Action Devices to be used for TimeFinder/Clone Lab In this exercise we will use thin devices T1 and T7 that were created in Lab 2. Record the Sym Dev Names of T1 and T7 from Lab 2. T1 __________(e.g. 101) T7 __________________(e.g. 1A1) T1 was converted to an SRFD R1 Device in Lab 3 and presented to your Primary Host in Lab 4. T7 was presented to your Secondary Host in Lab 4 In this Lab device T1 will be the Clone Source device and device T7 will be the Clone Target Log into your Secondary Host and confirm that this host can access device T7 Make sure that you have administrator or root privileges and that the PATH variable is setup properly (as you did for the Primary host in Lab 1 Part 3 Steps 2&3) # symdev list pd tdev sid <local sid> Is T7 listed in the output? _________________ It should be Record the information for T7
T7 Sym Dev (e.g. 1A1) Physical Device Name (e.g. /dev/rdsk/emcpower7c or PHYSICALDRIVE8) Config (e.g. TDEV) Capacity (MB) (e.g. 1078)

T7 should be of type TDEV. 3 Log into your Primary Host and confirm that this host can access device T1 Make sure that you have administrator or root privileges and that the PATH variable is setup properly (as you did in Lab 1 Part 3 Steps 2&3) # symdev list pd rdf1 tdev sid <local sid> Is T1 listed in the output? _________________ It should be Record the information for T1
T1 Sym Dev Name (e.g. 101) Physical Device Name (e.g. /dev/rdsk/emcpower2c or PHYSICALDRIVE10) Config (e.g. RDF1+TDEV) Capacity (MB) (e.g. 1078)

T1 should be of type RDF1+TDEV because in Lab 3 it was converted to an SRDF R1 device. The Capacity of T1 and T7 should match.

EMC Education Service

80

Step 4

Action Label Device T1 on Solaris Primary Host: (Skip to step 5 if you are using a Windows host) 1. Run the format command. 2. Identify device T1 (based on its Physical Device name as seen in the previous step) 3. Label it. The partition in the device list shown by format may be something other than c, e.g. a So emcpower64c may show up as emcpower64a Example: # format Searching for disks... ..................
342. emcpower64a <EMC-SYMMETRIX-5874 cyl 1148 alt 2 hd 15 sec 128> /pseudo/emcp@64 343. emcpower65a <EMC-SYMMETRIX-5874 cyl 1148 alt 2 hd 15 sec 128> /pseudo/emcp@65

Specify disk (enter its number): selecting emcpower64a [disk formatted] Disk not labeled. Label it now? y format> quit

342

EMC Education Service

81

Step 5

Action Create File System on Device T1, mount the file system On SUN Create File System
# newfs v /dev/rdsk/<Physical Device Name of Dev1> Example:# newfs v /dev/rdsk/emcpower2c Create Mount Point # mkdir /prodfs<SGN> Example:# mkdir /prodfs08 Mount the File System # mount /dev/dsk/<Physical Device Name of Dev1> /prodfs<SGN> Example:# mount /dev/dsk/emcpower2c /prodfs08

On WINDOWS In a command window, execute the diskpart command


C:\> diskpart This will bring you to the DISKPART prompt, execute the series of commands as shown below: DISKPART> list disk You should see a listing of all disks. The list will show the disks as Disk #. In step 3 if T1 had a physical name of PHYSICALDRIVE10 then it will be listed as Disk 10 in the output. DISKPART>select disk <#> (Select the Disk that corresponds to T1) Example: DISKPART>select Disk 10 DISKPART> list partition Are there any partitions on this disk? _________ There should be no partitions on this disk DISKPART> create partition primary align=64 DISKPART> list partition There should one partition DISKPART> select partition 1 DISKPART> list volume Record the drive letters in use: ______________________ The Volume with the * in the first column will not have an associated drive letter DISKPART> assign letter=<choose a letter not in use> Example: DISKPART> assign letter=f DISKPART> list volume Your Volume should now have the Drive letter you assigned DISKPART> exit You should now be back at the C prompt. Do a quick format of the partition, with NTFS and also assign a label C:\> format <your drive letter>: /q /fs:ntfs /v:prodfs<SGN> Example:. C:\> format f: /q /fs:ntfs /v:prodfs08

EMC Education Service

82

Step 6

Action Add Data to your Production File System SUN


# /students/scripts/CreateFiles.sh /prodfs<SGN> 100 nop # ls l /prodfs<SGN>/test* |wc -l

How many files are created? ______________________________________ Flush the file system # sync WINDOWS Copy the contents of the C:\Program Files\EMC\SYMCLI folder to the Drive Letter of your Production FS Flush the file system C:\> symntctl flush drive <ProdFS Drive letter>: Example: C:\> symntctl flush drive f:

End of Lab 8 Part 1

EMC Education Service

83

Lab 8 Part 2: Create Device Group, Create & Activate Clone Session
Step 1 Action Login into your assigned Symmetrix Management Console server In this exercise we will use thin devices T1 and T7 that were created in Lab 2. Record the Sym Dev Names of T1 and T7 from Lab 2. T1 __________(e.g. 101) T7 __________________(e.g. 1A1) 2 Create a Device Group for Clone Operations Click on the Properties button to switch to the Properties view In the tree panel, right click on the Device Groups folder, choose DG/CG Management Create Group This will launch the Device Group Management window In the Device Group Management window: Device Group Name: prod<SGN> (Type in) Symmetrix ID: Local Symmetrix ID (pick from the drop down list) Device Group Type: RDF1 (pick from the drop down list) Click on STD in the Device Type column In the Available column highlight device T1 Click on the Add button to add it to the Group Members column, the device will also appear in the Device Group Summary Click on TGT in the Device Type column In the Available column highlight device T7 Click on the Add button to add it to the Group Members column, the device will also appear in the Device Group Summary. The summary should show the STD and the TGT devices In the Device Group Management Window click on the OK button You should see a progress bar and then a message window which indicates the successful creation of the device group. Click on OK to close the message window.

EMC Education Service

84

Step 3

Action Confirm the creation of the new device group The prod<SGN> Device Group should appear in the Device Groups folder in the tree panel. Drill down into the Device Groups folder and confirm that this is so. Click on the Properties button, then drill down into your device group and click on the Standard Devices folder, confirm that T1 is listed in the properties view and record the following:
Dev T1:_______ LDEV Dev Config Cap (MB/Cyl) Dev Status

Click on the Associated TGTs folder, confirm that T7 is listed in the properties view and record the following:
TGT Dev T7:______ LDEV Dev Config Cap (MB/Cyl) SRC Dev Pair State Dev Status

Create a Clone session with the Precopy option You should still be logged into SMC. In the tree panel drill down into the Device Groups folder. Right click on your prod<SGN> device group and choose Replication TimeFinder/Clone This will launch Page 1 of the TimeFinder/Clone window. On Page 1 of the TimeFinder/Clone window: Clone Type: Local TGT (use the pull down menu) Check the Set Exact Pairs box (in the lower part of the window); the Action will automatically change to Create. The Exact Pairs option will look at the Ldev names in the device group and pair up DEV001 with TGT001. Make sure the Action is set to Create and then click on the Next button. On Page 2 of the TimeFinder/Clone window. Uncheck the Copy box and Check the PreCopy box Make sure that the Differential box is checked What does the precopy option do? _________________________________ Click on the Finish button to create the Clone session. Click on the OK button in the Question box You should see a progress bar and then a message window which indicates the successful completion of the operation. Click on OK to close the message window

EMC Education Service

85

Step 5

Action Explore the Clone Query tab of your Clone device group Click on the Properties button and then click on your prod<SGN> device group in the tree panel. The properties view of the device group should now show a Clone Query tab. Click on the Clone Query tab and record the following:
STD Prot Tracks TGT CGDP State %Copied

What does the CGDP column indicate? _________________________________________________________ Has the pre-copy operation completed one cycle? ____________________ Click on the Refresh button. Did the Prot Tracks and %Copied columns change? ______________________ Check the Status of the TGT devices after Create In the tree panel drill down into your Clone device group and then click on the Associated TGTs folder. From the properties view record the Dev Status of the TGT device:
TGT Dev T7:______ LDEV Dev Config Cap (MB/Cyl) SRC Dev Pair State Dev Status

What should the Dev Status of the TGT devices be after a Clone Create operation? ___________________ Activate the Clone session with the Consistent option In the tree panel right click on your prod<SGN> device group and choose Replication TimeFinder/Clone On Page 1 of the TimeFinder/Clone window: Set the Action to Activate, then click on the Select All button to ensure the device pair is selected and then click Next On Page 2 of the TimeFinder/Clone window: Check the Consistent box and then click on Finish to activate the session Click on the OK button in the Question box You should see a progress bar and then a window which indicates the successful completion of the operation. Click on OK to close the message window. What is the purpose of the Consistent option? __________________

EMC Education Service

86

Step 8

Action Explore the Clone Query tab of your Clone device group after activation Click on the Properties button and then click on your prod<SGN> device group in the tree panel. Click on the Clone Query tab and record the following:
STD Prot Tracks TGT CGDP State %Copied

Click on the Refresh button and check the State and %Copied columns. Wait a bit and then click on the Refresh button again. Do this till the %Copied column shows 100% and the State shows Copied Check the Status of the TGT devices after activation In the tree panel drill down into your Clone device group and then click on the Associated TGTs folder. From the properties view record the Dev Status of the TGT device:
TGT Dev T7:______ LDEV Dev Config Cap (MB/Cyl) SRC Dev Pair State Dev Status

10

What should the Dev Status of the TGT devices be after a Clone Activate operation? ___________________ Login to your Primary Host and then add some more Data to your Production File System SUN
# /students/scripts/CreateFiles.sh /prodfs<SGN> 50 nop # ls l /prodfs<SGN>/test* |wc l

How many files does this FS now have? ____________________________ # sync WINDOWS Copy the contents of the C:\Program Files\EMC\SYMAPI folder to the Drive Letter of your Production FS and the flush the file system. C:\> symntctl flush drive <ProdFS Drive letter>: Should you expect to see this additional Data on the Clone replica file system? _______ End of Lab 8 Part 2

EMC Education Service

87

Lab 8 Part 3: Access Clone Replica on Secondary Host


Step 1 Action Login to the Secondary Host Make sure that you have administrator or root privileges and that the PATH variable is setup properly (as you did for the Primary host in Lab 1 Part 3 Steps 2&3) What is the Physical Device Name of your Clone Target Device (T7) __________________ (This was determined in Lab 8 Part 1 Step 2) Mount the Clone replica File System on the Secondary host SUN # mkdir /clonefs<SGN> Example: # mkdir /clonefs08 # fsck Y /dev/rdsk/<Physical Device Name of T7> Example: # fsck Y /dev/rdsk/emcpower3c # mount /dev/dsk/<Physical Device Name of T7> /clonefs<SGN> Example: # mount /dev/dsk/emcpower3c /clonefs08 WINDOWS C:\> diskpart DISKPART> rescan DISKPART> list disk You should see a listing of all disks. The list will show the disks as Disk #. If T7 had a physical name of PHYSICALDRIVE11 then it will be listed as Disk 11 in the output. DISKPART>select disk <#> (Select the Disk that corresponds to R5Dev1) DISKPART> list partition Are there any partitions on this disk? _________ There should be one partition on this disk DISKPART> select partition 1 DISKPART> list volume Record the drive letters in use: ______________________ Does the Volume with an * in the first column have a drive letter assigned to it? ______ If Yes What is the Drive Letter? ______________ If No: Assign a drive letter DISKPART> assign letter=<choose a letter not in use> Example: DISKPART> assign letter=f DISKPART> list volume Your Volume should now have the Drive letter you assigned DISKPART> exit

EMC Education Service

88

Step 3

Action Examine the contents of the Clone replica File System on the Secondary host SUN # ls l /clonefs<SGN>/test* |wc -l How many files does the Clone FS Have? _________________________________ WINDOWS Use Windows explorer to examine the contents of Clone Drive. Do you see the additional data you added in Lab 8 Part 2 Step 10 after the initial activation of the Clone Session? ________ Is this what you expected? _____________

Un-mount the Clone replica File System on the Secondary Host SUN # umount /clonefs<SGN> Example: # umount /clonefs08 WINDOWS C:\> symntctl umount drive <Clone FS Drive letter>: Example: C:\> symntctl umount drive f: Go back to your assigned Symmetrix Management Console server and perform an Incremental Establish of the clone session In the tree panel drill down into the Device Groups folder. Right click on your prod<SGN> device group and choose Replication TimeFinder/Clone On Page 1 of the TimeFinder/Clone window: Set the Action to Incremental Establish, then click on the Select All button to ensure the device pair is selected and then click Next On Page 2 of the TimeFinder/Clone window: Check the Consistent box and then click on Finish to perform the incremental establish Click on the OK button in the Question box You should see a progress bar and then a window which indicates the successful completion of the operation. Click on OK to close the message window. What is the purpose of the Incremental Establish action? __________________

EMC Education Service

89

Step 6

Action Explore the Clone Query tab of your Clone device group after incremental establish Click on the Properties button and then click on your prod<SGN> device group in the tree panel. Click on the Clone Query tab and record the following:
STD Prot Tracks TGT CGDP State %Copied

7 8

Click on the Refresh button and check the State and %Copied columns. Wait a bit and then click on the Refresh button again. Do this till the %Copied column shows 100% and the State shows Copied Go back to the Secondary Host and mount the Clone replica File System again (Use the procedure listed in Step 2, the mkdir command should be skipped on SUN) Examine the contents of the Clone replica File System on the Secondary host again SUN # ls l /clonefs<SGN>/test* |wc -l How many files does the Clone FS Have? ______________________________________ WINDOWS Use Windows explorer to examine the contents of Clone Drive. Do you now see the additional data that was added in Lab 8 Part 2 Step 10? _________ Is this what you expected? _____________ Un-mount the Clone replica File System on the Secondary Host (Use the procedure listed in Step 4)

End of Lab 8 Part 3

EMC Education Service

90

Lab 8 Part 4: Clone Restore


Step 1 2 Action Login to your Primary Host Delete some files on your Production File System SUN # cd /prodfs<SGN> Example: # cd /prodfs08 Use the rm command and delete a few files from your Production FS WINDOWS Use Windows Explorer to delete some folders from your Production FS Drive Letter Un-mount the Production File System on the Primary Host SUN # umount /prodfs<SGN> Example: # umount /prodfs08 WINDOWS C:\> symntctl umount drive <ProdFS Drive letter>: Example: C:\> symntctl umount drive f: Go back to your assigned Symmetrix Management Console server and perform an Incremental Restore of the clone session In the tree panel drill down into the Device Groups folder. Right click on your prod<SGN> device group and choose Replication TimeFinder/Clone On Page 1 of the TimeFinder/Clone window: Set the Action to Incremental Restore, then click on the Select All button to ensure the device pair is selected and then click Next On Page 2 of the TimeFinder/Clone window: Check the Force box under options and then click on Finish to perform the incremental restore action (We use the Force option because the Clone source device is an SRDF R1 device which is actively replicating to an R2.) Click on the OK button in the Question box You should see a progress bar and then a window which indicates the successful completion of the operation. Click on OK to close the message window.

EMC Education Service

91

Step 5

Action Explore the Clone Query tab of your Clone device group after incremental restore Click on the Properties button and then click on your prod<SGN> device group in the tree panel. Click on the Clone Query tab and record the following:
STD Prot Tracks TGT CGDP State %Copied

Click on the Refresh button and check the State. Ensure that State shows Restored. Go back to your Production host and Mount the Production File System on the Primary host again SUN # mount /dev/dsk/<Physical Device Name of T1> /prodfs<SGN> Example: # mount /dev/dsk/emcpower2c /prodfs08 WINDOWS C:\> diskpart DISKPART> rescan DISKPART> list disk You should see a listing of all disks. The list will show the disks as Disk #. If T1 had a physical name of PHYSICALDRIVE10 then it will be listed as Disk 10 in the output. DISKPART>select disk <#> (Select the Disk that corresponds to Dev1) DISKPART> list partition Are there any partitions on this disk? _________ There should be one partition on this disk DISKPART> select partition 1 DISKPART> list volume Record the drive letters in use: ______________________ Does the Volume with an * in the first column have a drive letter assigned to it? ______ If Yes What is the Drive Letter? ______________ If No: Assign a drive letter DISKPART> assign letter=<choose a letter not in use> Example: DISKPART> assign letter=f DISKPART> list volume Your Volume should now have the Drive letter you assigned DISKPART> exit Examine the contents of the Production File System after the restore Have the deleted files been recovered? _________________ They should have been.

EMC Education Service

92

Step 8

Action Go back to your assigned Symmetrix Management Console server and try to perform a Recreate of the clone session In the tree panel drill down into the Device Groups folder. Right click on your prod<SGN> device group and choose Replication TimeFinder/Clone On Page 1 of the TimeFinder/Clone window: Can you set the Action to Recreate? Why? ____________________________________________ What are the possible Actions? ________________________ One has to split a restored clone session before doing a recreate or an incremental establish.

Terminate the Close Session You should still be in the TimeFinder/Clone Window On Page 1 of the TimeFinder/Clone window: Set the Action to Terminate, then click on the Select All button to ensure the device pair is selected and then click Next On Page 2 of the TimeFinder/Clone window: Click on Finish to terminate the clone session Click on the OK button in the Question box You should see a progress bar and then a window which indicates the successful completion of the operation. Click on OK to close the message window. Click on the Properties button and then click on your prod<SGN> device group in the tree panel. The Clone Query tab will no longer be visible as the clone session has been terminated. Delete the prod<SGN> device group In the tree panel drill down into the Device Groups folder. Right click on your prod<SGN> device group and choose DG/CG Management Delete Group Click on the Yes button in the Question box Click on OK to close the message window. Your device group should not be visible in the Device Groups folder. End of Lab Exercise 8

10

EMC Education Service

93

EMC Education Service

94

Lab Exercise 9: SRDF Setup and Concurrent Access


Purpose: In this Lab exercise SRDF Setup Operations will be performed. This will be followed by an SRDF split to allow concurrent access of both the SRDF R1 and SRDF R2 devices. SRDF Operations can be performed with SYMCLI or SMC. In this exercise SYMCLI will be used. Create Device Group on the Production and Remote Host and check the communication links between Symmetrix Arrays Set various RDF Modes of Operation Suspend and Resume RDF Links Perform SRDF Split and access data on the R2 Devices

Objectives:

References:

Lecture Module 11 (SRDF/Synchronous Operations) EMC Solutions Enabler Symmetrix SRDF Family CLI Version 7.3.1 Product Guide

EMC Education Service

95

Lab 9 Part 1: Locate RDF Devices and Create Device Group

Step 1

Action Devices to be used for SRDF Operations In this exercise we will use: T1 SRDF R1 Device on Local Symmetrix RMT1 SRDF R2 Device on Remote Symmetrix T1 and RMT1 were created in Lab 2. T1 and RMT1 were made into and SRDF pair in Lab 3 T1 was presented to your Primary Host in Lab 4 RMT1 was presented to your Remote Host in Lab 4 In the Clone Lab a file system was created on T1 and some data was added. Record the Sym Dev Names of T1 and RMT1 from Lab 2. T1 __________(e.g. 101) RMT1 __________________(e.g. 1A1) Physical Device Name of T1 on the Primary Host ________________________________

Log into your Primary Host Make sure that you have administrator or root privileges and that the PATH variable is setup properly (as you did in Lab 1 Part 3 Steps 2&3) Create a Device Group and add RDF Device # symdg type RDF1 create prod<SGN> # symdg g prod<SGN> add dev <T1> -sid <local sid>

Display Device Group Details # symdg show prod<SGN> Is this Device Group in GNS control? _________________________________________ Is device T1 listed under the STD section? _________________________

EMC Education Service

96

Step 5 Run a SRDF Query # symrdf g prod<SGN> query

Action

Record the following: Device Group (DG) Name: ___________________ DG's Type: ______________________________ DG's Symmetrix ID: _________________________ Remote Symmetrix ID: ____________________ RDF (RA) Group Number: ___________________ (This is your SRDF/S RDFG) Source (R1) View Dev State R1 Inv R2 Inv Links Tracks Tracks Dev Target (R2) View State R1 Inv R2 Inv Tracks Tracks Modes MDAE RDF Pair State

Based on the way the Devices pairs were created in Lab 3, the SRDF Mode should be Adaptive Copy Disk and the Links should be RW. Is the current SRDF Mode set to Adaptive Copy Disk? __________________ Are the SRDF Links RW? ______________________ Are there any Invalid tracks? __________________ Please make sure that the Mode is Adaptive Copy Disk and that the RDF Links are RW. Make sure the Pair State is SyncInProg or Synchronized. Verify that the remote Symmetrix is reachable # symrdf ping sid <remote sid> Was the Ping Successful? _________________________

Display the status of the RDF Directors # symcfg RA all list sid <local sid> What is the Status of the Local RDF Directors? ______________________ Which Local RDF Director(s) is your SRDF/S RDFG using? ________________________ # symcfg RA all list sid <remote sid> What is the Status of the Remote RDF Directors? ______________________ Which Remote RDF Director(s) is your SRDF/S RDFG using? ______________________

EMC Education Service

97

Step 8

Action Log into your Remote Host and confirm that this host can access device RMT1 Make sure that you have administrator or root privileges and that the PATH variable is setup properly (as you did for the Primary host in Lab 1 Part 3 Steps 2&3) # symdev list pd rdf2 -tdev sid <remote sid> Is RMT1 listed in the output? _________________ It should be Record the information for RMT1 RMT1 Sym Dev Name (e.g. 1A1) Physical Device Name (e.g. /dev/rdsk/emcpower2c
or PHYSICALDRIVE10)

Config
(e.g. RDF2+TDEV)

Capacity (MB) (e.g. 1078)

RMT1 should be of type RDF2+TDEV because in Lab 3 T1 and RMT1 made into an SRDF pair. 9 On the Remote Host - Create a Device Group of Type RDF2 and add the SRDF R2 Device # symdg type RDF2 create remote<SGN> # symdg g remote<SGN> add dev <RMT1> -sid <remote sid> # symdg show remote<SGN> What is the Group Type? _________________________ Is Device RMT1 a member of this Device Group? ___________________________ 10 On the Remote Host Run a SRDF Query # symrdf g remote<SGN> query Record the following: Device Group (DG) Name: ___________ DG's Type: _________________ DG's Symmetrix ID: _________________ Remote Symmetrix ID: _______________ RDF (RA) Group Number: ______________ (This is your SRDF/S RDFG) Target (R2) View Dev State R1 Inv R2 Inv Links Tracks Tracks Dev Source (R1) View State R1 Inv R2 Inv Tracks Tracks Modes MDAE RDF Pair State

Is the RDF query output from the Remote Host consistent with the output seen from the Primary Host? __________________________ It should be.

End of Lab 9 Part 1

EMC Education Service

98

Lab 9 Part 2: Set SRDF Modes of Operation


Step 1 Action Log into your Primary Host Make sure that you have administrator or root privileges and that the PATH variable is setup properly (as you did in Lab 1 Part 3 Steps 2&3) Set the RDF Mode to Adaptive Copy Write Pending # symrdf g prod<SGN> set mode acp_wp -nop Run a SRDF Query # symrdf g prod<SGN> query Record the following: Source (R1) View Dev State R1 Inv R2 Inv Links Tracks Tracks Dev Target (R2) View State R1 Inv R2 Inv Tracks Tracks Modes MDAE RDF Pair State

Has the Mode changed to Adaptive Copy Write Pending? ____________________________ What is the difference between Adaptive Copy Disk and Adaptive Copy Write Pending? ______________________________________________________________________ 3 Set the RDF Mode to Synchronous # symrdf g prod<SGN> set mode sync -nop Run a SRDF Query # symrdf g prod<SGN> query Record the following: Source (R1) View Dev State R1 Inv R2 Inv Links Tracks Tracks Dev Target (R2) View State R1 Inv R2 Inv Tracks Tracks Modes MDAE RDF Pair State

Has the Mode changed to Synchronous? ____________________________

EMC Education Service

99

Step 4

Action Set the RDF Mode to Adaptive Copy Disk # symrdf g prod<SGN> set mode acp_disk -nop Run a SRDF Query # symrdf g prod<SGN> query Record the following: Source (R1) View Dev State R1 Inv R2 Inv Links Tracks Tracks Dev Target (R2) View State R1 Inv R2 Inv Tracks Tracks Modes MDAE RDF Pair State

Has the Mode changed to Adaptive Copy Disk? ____________________________ 5 Turn off Adaptive Copy # symrdf g prod<SGN> set mode acp_off -nop Run a SRDF Query # symrdf g prod<SGN> query Record the following: Source (R1) View Dev State R1 Inv R2 Inv Links Tracks Tracks Dev Target (R2) View State R1 Inv R2 Inv Tracks Tracks Modes MDAE RDF Pair State

What is the RDF Mode after turning off adaptive copy? ____________________________ The RDF Mode should be Synchronous. Is this the case? ___________________________ What is the Pair State? ___________________________(Should be SyncInProg or Synchronized) Are there any Invalid tracks? ___________________________ If the Pair State is SyncInProg, wait a couple of minutes and run symrdf query again. Do this until the Pair State is Synchronized.

End of Lab 9 Part 2

EMC Education Service

100

Lab 9 Part 3: Suspend/Resume SRDF Links


Step 1 2 Action You should be still logged into your Primary Host Delete all files from the Production File System (This step assumes that your Production File System is still mounted Make sure to mount your Production File System if it is un-mounted. Use the detailed procedures used in Lab 8) SUN # cd /prodfs<SGN> # rm test* WINDOWS Use Window Explorer to open the Drive Letter which you had used for your Production File System. Delete all the files from this drive letter. Run a SRDF Query # symrdf g prod<SGN> query Record the following: Source (R1) View Dev State R1 Inv R2 Inv Links Tracks Tracks Dev Target (R2) View State R1 Inv R2 Inv Tracks Tracks Modes MDAE RDF Pair State

Make sure that the RDF Mode is Synchronous, Pair State is Synchronized and there are no invalid tracks. 4 Suspend the RDF Link and run a SRDF Query # symrdf g prod<SGN> suspend -nop # symrdf g prod<SGN> query Record the following: Source (R1) View Dev State R1 Inv R2 Inv Links Tracks Tracks Dev Target (R2) View State R1 Inv R2 Inv Tracks Tracks Modes MDAE RDF Pair State

Is the RDF Pair State Suspended? ______________________ Are there any invalid tracks? _________________________

EMC Education Service

101

Step 5

Action Add Data to your Production File System SUN # /students/scripts/CreateFiles.sh /prodfs<SGN> 100 nop # ls l /prodfs<SGN>/test* |wc -l How many files are created? ______________________________________ # sync WINDOWS Copy the contents of the C:\Program Files\EMC\SYMCLI folder to the Drive Letter of your Production FS and flush the file system C:\> symntctl flush drive <Production FS Drive letter>: Run a SRDF Query # symrdf g prod<SGN> query Record the following: Source (R1) View Dev State R1 Inv R2 Inv Links Tracks Tracks Dev Target (R2) View State R1 Inv R2 Inv Tracks Tracks Modes MDAE RDF Pair State

Are there any Invalid Tracks? _____________________________There should be. Where are the Invalid Tracks? (Source (R1) View or Target (R2) View) ________________ Are the Invalid Tracks R1 Inv Tracks or R2 Inv Tracks? _____________________________ How many Invalid Tracks? _____________________________ 7 Resume the RDF Link and run a SRDF Query # symrdf g prod<SGN> resume -nop # symrdf g prod<SGN> query Record the following: Source (R1) View Dev State R1 Inv R2 Inv Links Tracks Tracks Dev Target (R2) View State R1 Inv R2 Inv Tracks Tracks Modes MDAE RDF Pair State

What is the RDF Pair State? ______________________ Are there any invalid tracks? _________________________ Is the number of invalid tracks less than that seen in the previous step? ______________ If the Pair State is SyncInProg, wait a couple of minutes and run symrdf query again. Do this until the Pair State is Synchronized and there are no invalid tracks. End of Lab 9 Part 3

EMC Education Service

102

Lab 9 Part 4: SRDF Concurrent Access

Step 1 2

Action You should be still logged into your Primary Host, your Production File System should still be mounted Run a SRDF Query # symrdf g prod<SGN> query Make sure that the RDF Pair State is Synchronized and that there are no Invalid tracks. What is the State of the Source (R1) Device? _______________________ What is the State of the Target (R2) Device? _______________________ Perform a SRDF split operation # symrdf g prod<SGN> split -nop Run a SRDF Query # symrdf g prod<SGN> query Record the following: Source (R1) View Dev State R1 Inv R2 Inv Links Tracks Tracks Dev Target (R2) View State R1 Inv R2 Inv Tracks Tracks Modes MDAE RDF Pair State

What is the Pair State? ___________________________(Should be Split) Are there any Invalid tracks? ___________________________ What is the State of the Source (R1) Device? ______ Is this different from Step 2? ______ What is the State of the Target (R2) Device? ______ Is this different from Step 2? ______ The R2 Device should be RW. 4 Login to the Remote Host Make sure that you have administrator or root privileges and that the PATH variable is setup properly (as you did for the Primary host in Lab 1 Part 3 Steps 2&3) What is the Physical Device Name of your SRDF R2 Device (RMT1) __________________ (This was determined in Lab 9 Part 1 Step 8)

EMC Education Service

103

Step 5

Action On the Remote Host Run a SRDF Query # symrdf g remote<SGN> query Record the following: Target (R2) View Dev State R1 Inv R2 Inv Links Tracks Tracks Dev Source (R1) View State R1 Inv R2 Inv Tracks Tracks Modes MDAE RDF Pair State

Is the RDF query output from the Remote Host consistent with the output seen from the Primary Host? __________________________ It should be. RDF Pair State should be Split and the R2 Device should be RW. Mount the R2 replica File System on the Remote host SUN # mkdir /remotefs<SGN> Example: # mkdir /remotefs08 # fsck Y /dev/rdsk/<Physical Dev Name of RMT1> Example: # fsck Y /dev/rdsk/emcpower2c # mount /dev/dsk/<Physical Dev Name of RMT1> /remotefs<SGN> Example: # mount /dev/dsk/emcpower2c /remotefs08 WINDOWS C:\> diskpart DISKPART> rescan DISKPART> list disk You should see a listing of all disks. The list will show the disks as Disk #. If RMT1 had a physical name of PHYSICALDRIVE10 then it will be listed as Disk 10 in the output. DISKPART>select disk <#> (Select the Disk that corresponds to RMT1) DISKPART> list partition Are there any partitions on this disk? _________ There should be one partition on this disk DISKPART> select partition 1 DISKPART> list volume Record the drive letters in use: ______________________ Does the Volume with an * in the first column have a drive letter assigned to it? ______ If Yes What is the Drive Letter? ______________ If No: Assign a drive letter DISKPART> assign letter=<choose a letter not in use> Example: DISKPART> assign letter=f DISKPART> list volume Your Volume should now have the Drive letter you assigned DISKPART> exit

EMC Education Service

104

Step 7

Action Examine the contents of the R2 replica File System on the Remote host SUN # ls l /remotefs<SGN>/test* |wc -l How many files does the Remote FS Have? __________________________ WINDOWS Use Windows explorer to examine the contents of Remote Drive. Do you see the same data on the Remote FS as was on the Production FS? _____ Is this what you expected? _____________ Add some Data to your Remote File System SUN # /students/scripts/CreateFiles.sh /remotefs<SGN> 50 nop # ls l /remotefs<SGN>/test* |wc -l How many files are listed? ______________________________________ WINDOWS Copy the contents of the C:\Program Files\EMC\SYMAPI folder to the Drive Letter of your Remote FS Un-mount the Remote replica File System on the Remote Host SUN # umount /remotefs<SGN> Example: # umount /remotefs08 WINDOWS C:\> symntctl umount drive <Remote FS Drive letter>: Example: C:\> symntctl umount drive f: On the Remote Host Run a SRDF Query # symrdf g remote<SGN> query Record the following: Target (R2) View Dev State R1 Inv R2 Inv Links Tracks Tracks Dev Source (R1) View State R1 Inv R2 Inv Tracks Tracks Modes MDAE RDF Pair State

10

Are there any Invalid Tracks? _____________________________There should be. Where are the Invalid Tracks? (Source (R1) View or Target (R2) View) ________________ Are the Invalid Tracks R1 Inv Tracks or R2 Inv Tracks? _____________________________ How many Invalid Tracks? _____________________________

EMC Education Service

105

Step 11

Action Perform an SRDF Establish Operation SRDF Operations can be performed from either the Local or Remote sites. In this case we will execute the Establish operation from the Remote Host # symrdf g remote<SGN> establish -nop What does a symrdf establish operation do? ___________________________ What happens to the additional data that was added to the Remote File System after an establish operation? __________________________________ What needs to be done to preserve this additional data on the Remote File System? __________________________________________________________________ Go back to the Primary Host and run a SRDF query # symrdf g prod<SGN> query Record the following: Source (R1) View Dev State R1 Inv R2 Inv Links Tracks Tracks Dev Target (R2) View State R1 Inv R2 Inv Tracks Tracks Modes MDAE RDF Pair State

12

What is the Pair State? ____________________(Should be SyncInProg or Synchronized) Are there any Invalid tracks? ___________________________ What is the State of the Source (R1) Device? __________ (Should be RW) What is the State of the Target (R2) Device? __________ (Should be WD) 13 Examine the contents of the Production File System SUN # ls l /prodfs<SGN>/test* |wc -l How many files does the Production FS Have? ________________________________ WINDOWS Use Windows explorer to examine the contents of Production Drive. Does your Production FS contain the additional data that was added to the Remote Replica File System? _____ Should it? _____________ It should not. The Establish operation only preserves changes made to the Source R1 device. Changes made to the Target R2 device are lost after the establish operation.

End of Lab Exercise 9

EMC Education Service

106

Lab Exercise 10: SRDF/S Disaster Recovery


Purpose: In this Lab exercise SRDF/S Disaster Recovery Operations will be performed. SRDF Operations can be performed with SYMCLI or SMC. In this exercise SYMCLI will be used. Perform a SRDF Failover and move production operations to the remote site Perform a SRDF Failback and bring production operations back to the local site

Objectives:

References:

Lecture Module 11 (SRDF/Synchronous Operations) EMC Solutions Enabler Symmetrix SRDF Family CLI Version 7.3.1 Product Guide

EMC Education Service

107

Lab 10 Part 1: SRDF Failover Move Production to Remote Site


Step 1 Action Devices to be used for SRDF/S Disaster Recovery Lab This Lab exercise is a continuation of Lab 9. We will use the same SRDF Devices, Production File System and Device Groups. T1 SRDF R1 Device on Local Symmetrix RMT1 SRDF R2 Device on Remote Symmetrix T1 was presented to your Primary Host in Lab 4 RMT1 was presented to your Remote Host in Lab 4 Record the Sym Dev Names of Dev1 and RMT1. T1 __________(e.g. 101) RMT1 __________________(e.g. 1A1) Physical Device Name of T1 on the Primary Host _____________________________ Physical Device Name of RMT1 on the Remote Host ____________________________ Device Group prod<SGN> on the Primary Host was created in Lab 9 Device Group remote<SGN> on the Remote Host was created in Lab 10 The Production File System on T1 on the Primary host should be mounted. The SRDF Mode should be Synchronous and the RDF State should be Synchronized and there should be no invalid tracks. 2 Log into your Primary Host Make sure that you have administrator or root privileges and that the PATH variable is setup properly (as you did in Lab 1 Part 3 Steps 2&3) Run a SRDF Query # symrdf g prod<SGN> query Record the following: Source (R1) View Dev State R1 Inv R2 Inv Links Tracks Tracks Dev Target (R2) View State R1 Inv R2 Inv Tracks Tracks Modes MDAE RDF Pair State

Please make sure that the Mode is Synchronous, Pair State is Synchronized and that there are no invalid tracks.

EMC Education Service

108

Step 3

Action Examine the contents of the Production File System SUN # ls l /prodfs<SGN>/test* |wc -l How many files does the Production FS Have? ________________________________ WINDOWS Use Windows explorer to examine the contents of Production Drive. Un-mount the Production File System on the Primary Host in preparation for a planned SRDF Failover Note: In a true disaster situation we would not have the luxury of un-mounting Production File Systems. In this lab we are doing a planned SRDF Failover. SUN # cd / # umount /prodfs<SGN> Example: # umount /prodfs08 WINDOWS C:\> symntctl umount drive <Production FS Drive letter>: Example: C:\> symntctl umount drive f: Login to the Remote Host Make sure that you have administrator or root privileges and that the PATH variable is setup properly (as you did for the Primary host in Lab 1 Part 3 Steps 2&3) What is the Physical Device Name of your SRDF R2 Device (RMT1) __________________ On the Remote Host Run a SRDF Query # symrdf g remote<SGN> query Record the following: Target (R2) View Dev State R1 Inv R2 Inv Links Tracks Tracks Dev Source (R1) View State R1 Inv R2 Inv Tracks Tracks Modes MDAE RDF Pair State

What is the State of the Source R1 Device? _____________________________ What is the State of the Target R2 Device? ______________________________ Please make sure that the Mode is Synchronous, Pair State is Synchronized and that there are no invalid tracks. 7 On the Remote Host Perform a SRDF Failover operation SRDF Operations can be executed from the Local or Remote site. In a true disaster the Failover will be usually executed from the Remote site. # symrdf g remote<SGN> failover -nop What does a Failover Operation do? ___________________________________________

EMC Education Service

109

Step 8

Action On the Remote Host Run a SRDF Query # symrdf g remote<SGN> query Record the following: Target (R2) View Dev State R1 Inv R2 Inv Links Tracks Tracks Dev Source (R1) View State R1 Inv R2 Inv Tracks Tracks Modes MDAE RDF Pair State

What is the Pair State? __________________ (Should be Failed Over) What is the Links State? _________________ (Should be NR) What is the State of the Source R1 Device? _____ (Should be WD) What is the State of the Target R2 Device? _____ (Should be RW) 9 Mount the R2 replica File System on the Remote host SUN # fsck Y /dev/rdsk/<Physical Device Name of RMT1> Example: # fsck Y /dev/rdsk/emcpower2c # mount /dev/dsk/<Physical Device Name of RMT1> /remotefs<SGN> Example: # mount /dev/dsk/emcpower2c /remotefs08 WINDOWS C:\> diskpart DISKPART> rescan DISKPART> list disk You should see a listing of all disks. The list will show the disks as Disk #. If RMT1 had a physical name of PHYSICALDRIVE10 then it will be listed as Disk 10 in the output. DISKPART>select disk <#> (Select the Disk that corresponds to RMT1) DISKPART> list partition Are there any partitions on this disk? _________ There should be one partition on this disk DISKPART> select partition 1 DISKPART> list volume Record the drive letters in use: ______________________ Does the Volume with an * in the first column have a drive letter assigned to it? ______ If Yes What is the Drive Letter? ______________ If No: Assign a drive letter DISKPART> assign letter=<choose a letter not in use> Example: DISKPART> assign letter=f DISKPART> list volume Your Volume should now have the Drive letter you assigned DISKPART> exit

EMC Education Service

110

Step 10

Action Examine the contents of the R2 replica File System on the Remote host SUN # ls l /remotefs<SGN>/test* |wc -l How many files does the Remote FS Have? ___________________________________ WINDOWS Use Windows explorer to examine the contents of Remote Drive. Do you see the same data on the Remote FS as was on the Production FS? _____ Is this what you expected? _____________ Add some Data to your Remote File System SUN # /students/scripts/CreateFiles.sh /remotefs<SGN> 50 nop # ls l /remotefs<SGN>/test* |wc -l How many files are listed? ______________________________________ WINDOWS Copy the contents of the C:\Program Files\EMC\SYMAPI folder to the Drive Letter of your Remote FS On the Remote Host Run a SRDF Query # symrdf g remote<SGN> query Record the following: Target (R2) View Dev State R1 Inv R2 Inv Links Tracks Tracks Dev Source (R1) View State R1 Inv R2 Inv Tracks Tracks Modes MDAE RDF Pair State

11

12

Are there any Invalid Tracks? _____________________________There should be. Where are the Invalid Tracks? (Source (R1) View or Target (R2) View) ________________ Are the Invalid Tracks R1 Inv Tracks or R2 Inv Tracks? _____________________________ How many Invalid Tracks? _____________________________

End of Lab 10 Part 1

EMC Education Service

111

Lab 10 Part 2: SRDF Failback Return Production to Primary Site


Step 1 2 Action You should be still logged into your Remote Host. The SRDF State should be Failed Over and the R2 Replica File System should be mounted. Examine the contents of the R2 replica File System on the Remote host SUN # ls l /remotefs<SGN>/test* |wc -l How many files does the Remote FS Have? ______________________________ WINDOWS Use Windows explorer to examine the contents of Remote Drive. Perform an SRDF Update Operation What is the purpose of the Update operation? ___________________________________ # symrdf g remote<SGN> update nop 4 On the Remote Host Run a SRDF Query # symrdf g remote<SGN> query Record the following: Target (R2) View Dev State R1 Inv R2 Inv Links Tracks Tracks Dev Source (R1) View State R1 Inv R2 Inv Tracks Tracks Modes MDAE RDF Pair State

What is the Pair State? _______________ Is this different from Part 1 Step 12? _________ What is the Links State? ______________ Is this different from Part 1 Step 12? _________ What is the State of the Source R1 Device? ______Is this different from Part 1 Step 12 ___ What is the State of the Target R2 Device? ______Is this different from Part 1 Step 12 ___ Are there any Invalid Tracks? ___________________________________ 5 Un-mount the Remote replica File System on the Remote Host in preparation for Failback SUN # umount /remotefs<SGN> Example: # umount /remotefs08 WINDOWS C:\> symntctl umount drive <Remote FS Drive letter>: Example: C:\> symntctl umount drive f:

EMC Education Service

112

Step 6

Action On the Remote Host Perform a SRDF Failback operation SRDF Operations can be executed from the Local or Remote site. # symrdf g remote<SGN> failback -nop What does a Failback Operation do? ____________________________________________ __________________________________________________________________________

On the Remote Host Run a SRDF Query # symrdf g remote<SGN> query Record the following: Target (R2) View Dev State R1 Inv R2 Inv Links Tracks Tracks Dev Source (R1) View State R1 Inv R2 Inv Tracks Tracks Modes MDAE RDF Pair State

What is the Pair State? _______________ Is this different from Step 4? ____________ What is the Links State? ______________ Is this different from Step 4? ____________ What is the State of the Source R1 Device? ___________ Is this different from Step 4 ___ What is the State of the Target R2 Device? ___________ Is this different from Step 4 ___ Are there any Invalid Tracks? ___________________________________ 8 Login to your Primary Host and run a SRDF query # symrdf g prod<SGN> query Record the following: Source (R1) View Dev State R1 Inv R2 Inv Links Tracks Tracks Dev Target (R2) View State R1 Inv R2 Inv Tracks Tracks Modes MDAE RDF Pair State

Is the RDF query output from the Primary Host consistent with the output seen from the Remote Host? __________________________ It should be. What is the Pair State? ____________________(Should be SyncInProg or Synchronized) Are there any Invalid tracks? ___________________________ What is the State of the Source (R1) Device? __________ (Should be RW) What is the State of the Target (R2) Device? __________ (Should be WD)

EMC Education Service

113

Step 9

10

Action Mount the Production File System on the Primary host again SUN # mount /dev/dsk/<Physical Device Name of T1> /prodfs<SGN> Example: # mount /dev/dsk/emcpower2c /prodfs08 WINDOWS C:\> diskpart DISKPART> rescan DISKPART> list disk You should see a listing of all disks. The list will show the disks as Disk #. If T1 had a physical name of PHYSICALDRIVE10 then it will be listed as Disk 10 in the output. DISKPART>select disk <#> (Select the Disk that corresponds to Dev1) DISKPART> list partition Are there any partitions on this disk? _________ There should be one partition on this disk DISKPART> select partition 1 DISKPART> list volume Record the drive letters in use: ______________________ Does the Volume with an * in the first column have a drive letter assigned to it? ______ If Yes What is the Drive Letter? ______________ If No: Assign a drive letter DISKPART> assign letter=<choose a letter not in use> Example: DISKPART> assign letter=f DISKPART> list volume Your Volume should now have the Drive letter you assigned DISKPART> exit Examine the contents of the Production File System SUN # ls l /prodfs<SGN>/test* |wc -l How many files does the Production FS Have? ________________________________ WINDOWS Use Windows explorer to examine the contents of Production Drive. Does your Production FS contain the additional data that was added to the Remote Replica File System after the Failover? _____ Should it? _____________ It should. End of Lab Exercise 10

EMC Education Service

114

Lab Exercise 11: Single Group SRDF/A Operations


Purpose: In this Lab exercise single RDF Group SRDF/A Operations will be performed. Note: SRDF/A Operations can be performed with SYMCLI or SMC. SMC will be used in this lab. Perform single group SRDF/A operations o Set mode to Asynchronous o Enable/Disable Consistency

Objectives:

References:

Lecture Module 12 (SRDF/Asynchronous Operations) SMC Online Help

EMC Education Service

115

Lab 11 Part 1: Locate RDF Devices and Create Device Group

Step 1

Action Devices to be used for single group SRDF/A Lab We will use the RDF Device Pairs created in Lab 3 T2:T3 SRDF R1 Devices on Local Symmetrix RMT2:RMT3 SRDF R2 Devices on Remote Symmetrix T2:T3 were presented to your Primary Host in Lab 4 RMT2:RMT3 were presented to your Remote Host in Lab 4 Record the Sym Dev Names of T2:T3 and RMT2:RMT3 T2:T3 __________(e.g. 102:103) RMT2:RMT3 __________________(e.g. 1A2:1A3) Login into your assigned Symmetrix Management Console server Create a Device Group for SRDF/A Operations In the tree panel, right click on the Device Groups folder, choose DG/CG Management Create Group In the Device Group Management window: Device Group Name: SMCRDFA_1 _<SGN> (Type in) Symmetrix ID: Local Symmetrix ID (pick from the drop down list) Device Group Type: RDF1 (pick from the drop down list) Click on STD in the Device Type column In the Available column highlight devices T2:T3 Click on the Add button to add the two devices to the Group Members column, the devices will also appear in the Device Group Summary In the Device Group Management Window click on the OK button You should see a progress bar and then a message window which indicates the successful creation of the device group. Click on OK to close the message window.

2 3

EMC Education Service

116

Step 4

Action Confirm the creation of the new Device Group and explore the RDF Query tab The newly created Device Group should appear in the Device Groups folder in the tree panel. Drill down into the Device Groups folder and confirm that this is so. Click on your SMCRDFA_1_<SGN> device group in the tree panel. Click on the Properties button. The properties view of the device group should show a RDF Query tab. Click on the RDF Query tab. Click on the Refresh button to update the information and record the following: Dev Link Status RDev Pair State MDACE Dev RDF State RDev RDF State

What is the RDF Mode? ___________________________ (Should be Adaptive Copy Disk In the MDACE column, M should have a value of C, A should have a value of D) What is the Link Status? ___________________________(Should be Ready) What is the Pair State? ______________________________________________ 5 Set the SRDF Mode to Adaptive Copy Disk (Skip this step if the SRDF Mode is already set to Adaptive Copy Disk) Right click on your SMCRDFA_1_<SGN> device group and choose Replication SRDF Settings In the SRDF Configuration Set SRDF Mode window: Set Mode: Use the drop down and choose AC Disk Mode On Click on the Select All button Click on the OK button to change the mode. Click on the OK button in the Question box You should see a progress bar and then a window which indicates the successful completion of the operation. Click on OK to close the message window. Check the RDF Query tab to ensure that the mode change has taken effect Click on your SMCRDFA_1 device group in the tree panel. Click on the Properties button. Click on the RDF Query tab. Click on the Refresh button to update the information. Make sure that the MDACE column indicates Adaptive Copy Disk (M should have a value of C, A should have a value of D)

End of Lab 11 Part 1

EMC Education Service

117

Lab 11 Part 2: SRDF/A Operations


Step 1 2 Action You should still be logged into SMC Set the SRDF Mode to Asynchronous Right click on your SMCRDFA_1_<SGN> device group and choose Replication SRDF Settings In the SRDF Configuration Set SRDF Mode window: Set Mode: Use the drop down and choose Asynchronous Click on the Select All button. Click on the OK button to change the mode. Click on the OK button in the Question box You should see a progress bar and then a window which indicates the successful completion of the operation. Click on OK to close the message window. Check the RDF Query tab to ensure that the mode change has taken effect Click on your SMCRDFA_1 _<SGN> device group in the tree panel. Click on the Properties button. Click on the RDF Query tab. Click on the Refresh button to update the information. Make sure that the MDACE column indicates Asynchronous (M should have a value of A) 3 Try changing the mode of one of the Device Pairs to Adaptive Copy Disk Right click on your SMCRDFA_1_<SGN> device group and choose Replication SRDF Settings In the SRDF Configuration Set SRDF Mode window: Set Mode: Use the drop down and choose AC Disk Mode On Click on one of the device pairs in the Device Pairs List Click on the OK button to change the mode. Click on the OK button in the Question box Did the operation succeed? _______________________________ Why did it fail? ________________________________________ What does the Error message say? ____________________________________________ Click on OK to close the Error message window. Click on Cancel to close the Set SRDF Mode window.

EMC Education Service

118

Step 4

Action Enable SRDF/A Consistency Right click on your SMCRDFA_1_<SGN> device group and choose Replication SRDF Control On Page 1 of the Replication SRDF window: Set the Action to Enable Click on the Select All button Click Next On Page 2 of the Replication SRDF window: Click on Finish to execute the control action Click on the OK button in the Question box You should see a progress bar and then a window which indicates the successful completion of the operation. Click on OK to close the message window. Explore the RDF Query tab Click on your SMCRDFA_1_<SGN> device group in the tree panel. Click on the Properties button. Click on the RDF Query tab. Click on the Refresh button to update the information and record the following: Dev Link Status RDev Pair State MDACE Dev RDF State RDev RDF State

What is the Pair State? ________________What is the RDF Mode? _________________ Is Consistency enabled? ___________________________ (In the MDACE column, M should have a value of A Asynchronous mode. C should have a value of X Consistency Enabled) What is the Link Status? ___________________________(Should be Ready) 6 Try changing the mode to Adaptive Copy Disk while consistency is enabled Right click on your SMCRDFA_1_<SGN> device group and choose Replication SRDF Settings In the SRDF Configuration Set SRDF Mode window: Set Mode: Use the drop down and choose AC Disk Mode On Click on the Select All button Click on the OK button to change the mode. Click on the OK button in the Question box Did the operation succeed? _______________________________ Why did it fail? ________________________________________ What does the Error message say? ____________________________________________ Click on OK to close the Error message window. Click on Cancel to close the Set SRDF Mode window.

EMC Education Service

119

Step 7

Action Disable SRDF/A Consistency Right click on your SMCRDFA_1_<SGN> device group and choose Replication SRDF Control On Page 1 of the Replication SRDF window: Set the Action to Disable Click on the Select All button Click Next On Page 2 of the Replication SRDF window: Click on Finish to execute the control action Click on the OK button in the Question box You should see a progress bar and then a window which indicates the successful completion of the operation. Click on OK to close the message window. Check the RDF Query tab to ensure that Consistency has been disabled Click on your SMCRDFA_1_<SGN> device group in the tree panel. Click on the Properties button. Click on the RDF Query tab. Click on the Refresh button to update the information. Make sure that the MDACE column indicates that consistency has been disabled. (C should have a value of .)

Set the SRDF Mode to Adaptive Copy Disk Right click on your SMCRDFA_1_<SGN> device group and choose Replication SRDF Settings In the SRDF Configuration Set SRDF Mode window: Set Mode: Use the drop down and choose AC Disk Mode On Click on the Select All button Click on the OK button to change the mode. Click on the OK button in the Question box You should see a progress bar and then a window which indicates the successful completion of the operation. Click on OK to close the message window. Check the RDF Query tab to ensure that the mode change has taken effect Click on your SMCRDFA_1_<SGN> device group in the tree panel. Click on the Properties button. Click on the RDF Query tab. Click on the Refresh button to update the information. Make sure that the MDACE column indicates Adaptive Copy Disk (M should have a value of C, A should have a value of D) End of Lab Exercise 11

EMC Education Service

120

Das könnte Ihnen auch gefallen