0% found this document useful (0 votes)
57 views11 pages

SRDF

The attached document is a Symmetrix Procedure for your site requirements. It was created and tailored to your site configuration input, using the Symmetryx procedure generator on October 5, 2012. It steps you through the completion of a specific array management activity or host setup task that can be completed without the involvement of remote technical support.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
0% found this document useful (0 votes)
57 views11 pages

SRDF

The attached document is a Symmetrix Procedure for your site requirements. It was created and tailored to your site configuration input, using the Symmetryx procedure generator on October 5, 2012. It steps you through the completion of a specific array management activity or host setup task that can be completed without the involvement of remote technical support.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 11

Cover Log Sheet for a Symmetrix Procedure

Procedure created on: 7/13/12 6:43 PM Before you continue with this particular procedure you might want to record the event: Site Activity and Event Record: When using Solutions Enabler, SYMCLI and SYMAPI normally captures significant events and command actions to a daily log file. On UNIX: /var/symapi/log/symapi-yyymmdd.log On Windows: C:\Program Files\EMC\Symapi\log\symapi-yyyymmdd.log In addition, for your own change management practices, you may want to use the following tables to document the changes you are making while following this procedure: Activity Event Time: Date/Time: Task Activity or Event: Task being executed: Performed by: Array Information: Array Serial Number

Symmetrix Enginuity Version

Software in configuration Host Name: Host Operating System: Solutions Enabler (SYMCLI) Symmetrix Management Console (SMC) EMCSCF for z/OS Mainframe PowerPath

Version Installed Version Version Version |Patch

The following attached document is a Symmetrix Procedure for your site requirements.

Creating SRDF Groups

Management Interface: Solutions Enabler SYMCLI

This user customizable document was created and tailored to your site configuration input, using the Symmetrix Procedure Generator on October 5, 2012.

Report Problems: If you find any errors in this procedure or have comments regarding the generator, please send email to [email protected]. Be sure to reference any modules by the correct filename (located to the right-top of the module title).

EMC Corporation Corporate Headquarters: Hopkinton, MA 01748-9103 1-508-435-1000 www.EMC.com

Symmetrix Customer Procedure Generator Version 3.1.7 Page 3

INFORMATION ABOUT THIS PROCEDURE: The Symmetrix Procedure Generator you just ran allows you to create this customized document specifically tailored for your site needs. It steps you through the completion of a specific Symmetrix array management activity or host setup task that can be completed without the involvement of Remote Technical Support. Host implementation cost is not covered under Warranty or Maintenance. All of the generated procedures assume that you check the Symmetrix Procedure Generator release notes to insure your selected storage management software (SYMCLI, SMC, or EMCSCF) is up-to-date and is installed on your host as the prime storage management tool. Since the procedure content base on Powerlink is continually being updated and refined, it is recommended to rerun the procedure generator for your selected procedure every 30 days to ensure currency and release control of your printed copy. If you have any concerns, questions, or need assistance with an implementation, regarding your environment or this procedure, contact your local sales representative. As part of the effort to continuously improve and enhance the performance and capabilities of the Symmetrix product line, EMC periodically releases new versions of its hardware and software, or qualifies various operating systems interoperability with Symmetrix functionality. Therefore, some functions described in this procedure may not be supported by all revisions of the software or hardware you have currently in use, including your host operating system. For the most up-to-date information on specific requirements, concerning your host environment status and storage system, refer to the E-Lab Interoperability Navigator on Powerlink.

Copyright 2007, 2008, 2009 EMC Corporation. All rights reserved.


Published October 5, 2012

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. For the most up-to-date listing of EMC product names, see EMC Corporation Trademarks on EMC.com. All other trademarks used herein are the property of their respective owners.

Symmetrix Customer Procedure Generator Version 3.1.7 Page 4

TABLE OF CONTENTS: To link immediately to a specific page within this procedure, position the cursor over the page number on the right and click. Denotes a checkpoint Creating RDF Groups 5
CreatingRDFGroups_sym001

Creating RDF Groups


Done

Overview Dynamic RDF groups can be created on demand while the Symmetrix array is in operation. Dynamic SRDF group capability provides flexibility within your SRDF environment to change multiple remote mirroring connections for dynamic devices.. This procedure explains how to perform the following actions: Identify RDF connections between source and target arrays Add a dynamic device group Create an R1/R2 device pair text file Add dynamic pairs to the dynamic group Perform a full establish operation for device pairs in the group

This procedure is based on content from the following EMC manuals: EMC Solutions Enabler Symmetrix Array Controls CLI Product Guide EMC Solutions Enabler Symmetrix SRDF Family CLI Product Guide

http://Powerlink.EMC.com

These documents can be obtained from the EMC Powerlink website at: Identify RDF connections between source and target Symmetrix arrays Before creating dynamic RDF groups between two Symmetrix arrays, you must choose director endpoints. If using fiber protocol, the director endpoints chosen must be able to see each other through the Fibre Channel fabric to create the dynamic RDF link. Ensure that the physical connections between the local RA and remote RA are valid and operational. Use the following command to list all of the RDF directors available for each Symmetrix array that is accessible by the host:
symcfg list ra all switched

1.

To identify candidate RDF directors, execute the following command for both local and remote Symmetrix arrays, substituting your Symmetrix IDs (-sid).
symcfg sid 709 list ra all switched symcfg sid 774 list ra all switched

Examine the output for both local and remote Symmetrix arrays to identify the best RDF connection between the two arrays.

Symmetrix Customer Procedure Generator Version 3.1.7 Page 5

It is best practice to choose ports that are lightly populated for the RDF dynamic group assignment.

2.

Identify previously used RDF group numbers Execute the following command to identify previously used RDF group numbers.
symcfg list sid 709 rdfg all symcfg list sid 774 rdfg all

It is important that you select a RDF group number that was not previously used.

Symmetrix Customer Procedure Generator Version 3.1.7 Page 6

3.

Add a dynamic RDF device group Adding a dynamic RDF group creates an empty group to which you can add your dynamic RDF pairs. The symrdf addgrp command is used to build a dynamic RDF group. A group label (-label option) must be specified when adding a dynamic group. The fibre option specifies to use a Fibre Channel protocol. Use the following example to add a dynamic RDF group for your local and remote Symmetrix arrays, substituting your appropriate Symmetrix IDs (-sid, remote_sid), directors (-dir, remote_dir) and RA group numbers (-rdfg, -remote_rdfg) to add a dynamic RDF group for your local and remote Symmetrix arrays:
symrdf addgrp label Group_140 fibre sid 709 rdfg 140 dir 16d remote_sid 774 remote_dir 16d remote_rdfg 140

Note: It is recommended that you specify the same number for the remote_rdfg parameter that that is specified for the -rdg parameter. For optimal performance, it is also recommended that you configure no more than 6 groups per switched fibre RA. The following options may be included with the symrdf addgrp command:
-auto_link_recovery -remote_auto_link_recovery

Auto link recovery specifies whether to enable the group for auto link recovery. The default is disabled.
-link_limbo -rem_link_limbo

Link limbo specifies the length of time to continue checking the local RDF link status. The range is 0-120 seconds, the default is 10. If the link status is not Ready after the link limbo time, the devices are made Not Ready to the link.
-link_domino -remote_link_domino

Link domino sets the domino mode for the source R1 device, which ensures that data on the source (R1) and the target (R2) devices are always in sync. The default is disabled. Note: The link limbo parameter may be set after the group is created by using the symrdf set command. The auto link recovery and link domino parameters can only be set at group creation time. Refer to the SRDF/A and SRDF/A Multi-Session Consistency on UNIX and Windows EMC Engineering Solutions Guide for additional information. 4. Verify that the dynamic RDF group was created successfully To verify that the dynamic group has been added, re-issue the symcfg list ra all switched command. Verify that the group has been created on the local and remote RDF directors. To view RDF group parameters in more detail, use the symcfg list rdfg command as shown below:
symcfg list rdfg 140

Following is an example of what the output you will receive will look like when you execute this command. NOTE: This is only an example. The output you receive will correspond to your configuration.
Symmetrix ID : 000190300709

Symmetrix Customer Procedure Generator Version 3.1.7 Page 7

S Y M M E T R I X Local ----------------LL RA-Grp (sec) Pri ---------------140 (8B) 10 33

R D F

G R O U P S RDFA Info ------------Flags CSRM -----ISCycle time ----30

Remote --------------------RA-Grp SymmID

Group ----------------------T Name Flags LPDS Dir Cfg

--------------------140 (8B) 000190300774

----------------------D Group_140 XX.. F-S

Legend: ? : Unknown Group (T)ype : S = Static, D = Dynamic Director (C)onfig : F-S = Fibre-Switched, F-H = Fibre-Hub G = GIGE, E = ESCON, T = T3, - = N/A Group Flags : Prevent Auto (L)ink Recovery : X = Enabled, . = Disabled Prevent RAs Online Upon (P)ower On: X = Enabled, . = Disabled Link (D)omino : X = Enabled, . = Disabled (S)TAR mode : N = Normal, R = Recovery, . = OFF RDFA Flags : (C)onsistency : X = Enabled, . = Disabled, - = N/A (S)tatus : A = Active, I = Inactive, - = N/A (R)DFA Mode : S = Single-session, M = MSC, - = N/A (M)sc Cleanup : C = MSC Cleanup required, - = N/A

5.

Set dynamic RDF attribute for devices on the local Symmetrix To set the dynamic RDF attribute on the chosen devices, create a command file with the following entries:
set dev 0918:091B attribute=dyn.rdf;

Commit the file by executing the following command:


symconfigure sid 709 file set709rdfattr.cmd v noprompt commit

6.

Set dynamic RDF attribute on the remote Symmetrix To set the dynamic RDF attribute on the chosen devices, create a command file with the following entries:
set dev 072B:072E attribute=dyn.rdf;

Commit the file by executing the following command:


symconfigure sid 774 file set774rdfattr.cmd v noprompt commit

7.

Create an R1/R2 device pair text file From your host, create a text file using the vi text editor or other tool to create a file that contains a list of the R1/R2 device pairs from the devices you created previously. The following example uses a text file named create_pair.cmd, which includes a list of R1/R2 devices to be paired between the local and remote Symmetrix arrays. The R1 devices are listed in the first column, and the R2 devices created on the remote Symmetrix are listed in the second column on the same line as their respective R1 source.

Symmetrix Customer Procedure Generator Version 3.1.7 Page 8

0918 0919 091A 091B

072B 072C 072D 072E

Note: Do not use mapped remote devices as candidate R2s without first checking that they are not in use by a remote host. 8. Add dynamic pairs to the dynamic group Use the symrdf createpair command to parse the file called create_pair.cmd and add the RDF dynamic pairs to the new dynamic device group. The invalidate [R1|R2] option is used to mark either the source (R1) or the target (R2) devices to be invalidated for a full copy when the RDF pair is created. The example below uses the invalidate r2 option to mark the tracks on the target (R2) as invalid in preparation for a full data copy (establish operation) from the R1 device. Also, a device group is created containing all of the R1 devices and assigned the group name dg_rdfg140 by using the g option.
symrdf createpair file create_pair.cmd type r1 sid 709 rdfg 140 invalidate r2 g dg_rdfg140

Note: Upon successful execution of the command the device group dg_rdfg140 is created for you. The target R2 devices must first be set to not ready before attempting to run the symrdf createpair command and can then be set to ready afterwards by executing a symrdf ready command as follows:
symrdf g dg_rdfg140 ready r2 -noprompt

9.

Change the RDF mode to adaptive copy disk mode After you have created device pairs and added them to a device group, it is advisable to change the RDF mode for the group to adaptive copy disk mode (acp_disk) before performing the establish operation. If you allow the RDF establish to start in synchronous mode, you could create serious I/O latency issues for the host application. To set the RDF mode to acp_disk, use the symrdf set mode command as follows:
symrdf -g dg_rdfg140 set mode acp_disk noprompt

10. Query the results Use the symrdf query command to display the RDF properties of the device group.
symrdf g dg_rdfg140 query

Check the output to verify that the devices in the group are now in adaptive copy disk mode. Following is an example of what the output you will receive should look like when you execute the query. NOTE: This is only an example. The output you receive will correspond to the results of your particular query.

Symmetrix Customer Procedure Generator Version 3.1.7 Page 9

Device Group (DG) Name DG's Type DG's Symmetrix ID Remote Symmetrix ID RDF (RA) Group Number

: : : : :

dg_rdfg140 RDF1 000190300709 000190300774 140 (8B)

(Microcode Version: 5773) (Microcode Version: 5773)

Source (R1) View Target (R2) View ------------------------------------------------------ST LI ST Standard A N A Logical T R1 Inv R2 Inv K T R1 Inv R2 Inv Device Dev E Tracks Tracks S Dev E Tracks Tracks -------------------------------- -- -----------------------DEV001 DEV002 DEV003 DEV004 0918 0919 091A 091B RW RW RW RW 0 0 0 0 16500 16500 16500 16500 NR NR NR NR 072B 072C 072D 072E WD WD WD WD 0 0 0 0 16500 16500 16500 16500

MODES ----- -----------RDF Pair MDA STATE ----- -----------C.D C.D C.D C.D Suspended Suspended Suspended Suspended

Total Track(s) MB(s)

-------- -------0 66000 0.0 4125.0

-------- -------0 66000 0.0 4125.0

Legend for MODES: M(ode of Operation): A = Async, S = Sync, E = Semi-sync, C = Adaptive Copy D(omino) : X = Enabled, . = Disabled A(daptive Copy) : D = Disk Mode, W = WP Mode, . = ACp off

11. Perform a full establish operation for device pairs in the group The establish operation can take a long time. It is best practice to launch this command during non-peak hours of operation to minimize traffic over the RDF link. The establish operation merges the track tables between the R1 and the R2 devices. It then enables the RDF link (makes it enabled for read and write requests) and begins to copy data from the source device to the device which has been designated as invalid. In this example, the data flow is from the R1 device to the R2. Note that if there are no non-peak hours of operation, the symqos command can be used to minimize the impact of the RDF synchronization for the device group. Although, depending on the setting, using this command can cause the establish operation to take a much longer time. To set the priority value for the device group, type:
symqos -g dg_rdfg140 set RDF priority 5

The priority value range can be set from 1 to a maximum of 16 (prior to Enginuity 5772, the maximum is 10). Set the value to 0 for no delay or up to 16 for the slowest delay in establishing the RDF device pairs. Use the symrdf establish command to initiate a full establish operation for the device group as follows:
symrdf g dg_rdfg140 establish full -noprompt

Symmetrix Customer Procedure Generator Version 3.1.7 Page 10

12. Query device group status and switch back to synchronous mode Periodically, query the progress of the initial RDF establish operation. Check to make sure the amount of invalid tracks owed from the R1 to the R2 is decreasing. This value is visible in the R2 Inv Tracks column. Progress of the RDF establish operation can be queried by executing a command that looks like this:
symrdf -g dg_rdfg140 query

Once all of the device tracks have finished copying (i.e., are Synchronized), you can safely switch the device group back to synchronous mode if desired by executing a command that looks like this:
symrdf -g dg_rdfg140 set mode sync -noprompt

Table of Contents

Symmetrix Customer Procedure Generator Version 3.1.7 Page 11

You might also like