Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
During a previous project I had the opportunity to work very closely with the EMC people and Symmetrix arrays, in fact I got a couple of very good friends from that project. At the time I created a bunch of text files for my self reference about EMC SRDF and Timefinder technologies. Today I decided to review that files, give them some order, well sort of, and put them here as a survival guide/quick reference in the hope that will be of help to any of you. The first of this guides will be about EMC Symmetrix Timefinder. I dont have sample output for every command, been more than a year since the last time I work with Timefinder, to complement my own samples I got several outputs from the Timefinder manuals. This is not a complete Timefinder usage guide, just my personal notes taken from my direct experience with product. Timefinder Basics EMC Timefinder is a replication solution that creates full volume copies. For the full-HP guys out there this is very similar to the XP or EVA Business Copy product. There are two basic types of replication:
TimefinderClone Creates point-in-time copies. Timefinder/Snap Creates pointer-based replicas, snapshots, only the changed data is written.
Timefinder/Mirror. Timefinder/CG (Consistency Groups) Timefinder/EIM (Exchange Integration Modules) Timefinder/SIM (SQL Integration Modules)
Timefinder allows to retain multiple copies at different checkpoints for lowered RPO and RTO. Symcli basics Following is a list of the most basic symcli commands necessary to get your way around when you perform any Symmetrix task, including Timefinder.
Group Type Device Group in GNS Valid Symmetrix ID Group Creation Time Vendor ID Application ID Number Number Number Number Number Number of of of of of of
STD Devices in Group : Associated GK's : Locally-associated BCV's : Locally-associated VDEV's : Remotely-associated VDEV's(STD RDF): Remotely-associated BCV's (STD RDF):
Number of Remotely-associated BCV's (BCV RDF): Number of Remotely-assoc'd RBCV's (RBCV RDF) :
0 0
Standard (STD) Devices (2): { -------------------------------------------------------------------Sym Cap LdevName PdevName Dev Att. Sts (MB) -------------------------------------------------------------------DEV001 N/A 01C8 RW 8714 DEV002 N/A 01C9 RW 8714 } BCV Devices Locally-associated (2): { -------------------------------------------------------------------Sym Cap LdevName PdevName Dev Att. Sts (MB) -------------------------------------------------------------------BCV001 N/A 08A8 RW 8714 BCV002 N/A 08A9 RW 8714 } Device Group RDF Information { RDF Type RDF (RA) Group Number Remote Symmetrix ID
: R1 : 2 : 000287xxxxxx
(01)
R2 Device Is Larger Than The R1 Device : False RDF Pair Configuration RDF STAR Mode RDF RDF RDF RDF Mode Adaptive Copy Adaptive Copy Write Pending State Adaptive Copy Skew (Tracks) : Normal : False : : : : Synchronous Disabled N/A 32767
RDF Device Domino RDF Link Configuration RDF Link Domino Prevent Automatic RDF Link Recovery Prevent RAs Online Upon Power ON Device RDF Status Device RA Status Device Link Status Device Suspend State Device Consistency State RDF R2 Not Ready If Invalid Device RDF State
(RW)
(WD)
Number of R1 Invalid Tracks Number of R2 Invalid Tracks RDFA Information: { Session Number Cycle Number Number of Devices in the Session Session Status Session Consistency State Minimum Cycle Time Average Cycle Time Duration of Last cycle Session Priority
: : : : : : : : :
Tracks not Committed to the R2 Side: 0 Time that R2 is behind R1 : 00:00:00 R1 Side Percent Cache In Use : 0 R2 Side Percent Cache In Use : 0 } } root:/#
Timfinder commands - Associate BCVs to a device group. There are two ways:
root:/# symbcv -sid xxxx -g dg_oradev_01 associate dev 0001
- Split operations.
root:/# symmir -g dg_oradev_01 split
Instant
Force
Differential
Reverse
Reverse differential
- Restore the BCV mirrors. The restore operation will copy the data from the BCV to the Standard device.
Differential restore
Full restore
- Reestablish operations. It is very important to tell the difference between Restore and Reestablish. Reestablish will do a differential update from the Standard device to the BCV device.
root:/# symmir -g dg_oradev_01 establish
- Get the state of mirroring of the device pairs within a device group
root:/# /usr/symcli/bin/symmir -g dg_oracle_prod_01 query Device Group (DG) Name: dg_oracle_prod_01 DG's Type : RDF1 DG's Symmetrix ID : 00029xxxxxxx Standard Device BCV Device State -------------------------- ------------------------------------- -----------Inv. Inv. Logical Sym Tracks Logical Sym Tracks STD <=> BCV -------------------------- ------------------------------------- -----------DEV001 DEV002 DEV003 DEV004 DEV005 DEV006 DEV007 DEV008 DEV009 DEV010 DEV011 Total Track(s) MB(s) Legend: (*): The paired BCV device is associated with this group. root:/# 0184 0186 0187 0188 0189 018E 018F 0190 0191 01C7 01CD 0 0 0 0 0 0 0 0 0 0 0 ------0 0.0 BCV001 BCV002 BCV003 BCV004 BCV005 BCV006 BCV007 BCV008 BCV009 BCV010 BCV011 039C 039E 039F 03A0 03A1 03A6 03A7 03A8 03A9 08A7 08AA * * * * * * * * * * * 0 0 0 0 0 0 0 0 0 0 0 ------0 0.0 Split Split Split Split Split Split Split Split Split Split Split
-------0 0.0
-------8088 505.5
And we are done. As I said this is not a full guide so please if there is anything that you dont get please leave a comment and I will try to clarify. Also if any of you have additional tips or recipes for Timefinder please comment :-) Juanma.
Share this:
inShare0 More
Like this:
Like Be the first to like this. Categories: EMC, Storage Tags: BCV, EMC, EMC Timefinder, Storage, symcli, Symmetrix
============================================================================= = ---------------- Host --------------- Stor -- I/O Path - -- Stats -### HW Path I/O Paths Interf. Mode State Q-IOs Errors ============================================================================= = 20 0/0/10/1/0.11.15.0.0.1.3 c7t1d3 SP A0 active alive 0 1 23 0/0/10/1/0.11.47.0.0.1.3 c8t1d3 SP B0 active alive 0 1 26 1/0/8/1/0.21.15.0.0.1.3 c10t1d3 SP A1 active alive 0 1 29 1/0/8/1/0.21.47.0.0.1.3 c11t1d3 SP B1 active alive 0 1 ... ...
But if you are in 11.31 you will find a small problem to perform this. PowerPath is not recommended in HP-UX 11iv3 because it can cause conflicts with the new native multiplathing of the v3. You can use the trick of doing a simple ll -tr in the /dev/disk directory just after the hardware scan and the device file creation, but this way is valid only if you have one or two disks with the same size. What if you have several disks with multiple sizes and want to use each disk for a different VG and/or task? The storage people will only provide the LUN IDs but you will not have the tool to match those IDs with your disks. Fortunately there is way to circumvent the lack of PowerPath in 11iv3. We are going to use the same disk as in the previous example, the 0CED. First get the disks serial number with scsimgr.
[root@totoro] / # scsimgr get_attr -D /dev/rdisk/disk30 -a serial_number SCSI ATTRIBUTES FOR LUN : /dev/rdisk/disk30 name = serial_number current = "100123CED000" default = saved =
Take note of the serial number. 100123CED000 As you can see the last the last three digits of the LUN ID are included in the disk serial number and if look carefully will see also the four last digits the Symmetrix ID (0123) just after the LUN ID. Juanma.