Beruflich Dokumente
Kultur Dokumente
Overview
Perform the following steps to fail back during Federated Live Migration (FLM) on a stand-alone
Linux application host with Device Mapper for Linux.
Done
! Warning: These steps pertain only to the specified host and multipath driver used in
this procedure. Do not use these steps for a different host or multipath driver!
This procedure is based on content from the following EMC technical documentation:
EMC Solutions Enabler Symmetrix Migration CLI 7.6 Product Guide
EMC Solutions Enabler Symmetrix Array Management CLI 7.6 Product Guide
EMC Solutions Enabler Symmetrix Array Controls CLI 7.6 Product Guide
These documents can be obtained from EMC Online Support at:
http://support.EMC.com
1.
Use the symrcopy query command to verify that the FLM pairs status is either CopyInProg or
Copied.
symrcopy -f ors_pairs query
Device File Name
: ors_pairs
Control Device
Done
------------------------------Protected
SID:symdev
Tracks
(%)
------------------ -----------000194900275:207C
29728
78
000194900275:207D
28970
79
000194900275:207E
29852
78
000194900275:207F
28573
79
Total
Track(s)
MB(s)
. . .
Remote Device
Flags
RI CDSHUTZ
000194900307:206C
SD X..XXM. CopyInProg
000194900307:206D
SD X..XXM. CopyInProg
000194900307:206E
SD X..XXM. CopyInProg
000194900307:206F
SD X..XXM. CopyInProg
--------117123
7320.2
Flags:
(C): X
.
(D): X
.
=
=
=
=
The
The
The
The
background
background
session is
session is
Legend:
R: (Remote Device Vendor Identification)
S = Symmetrix, C = Clariion, . = Unknown.
I:
Status
(S): X =
. =
(H): X =
. =
(U): X =
. =
(T): M =
R =
S =
(Z): X =
. =
(*): The
2.
Use the symrcopy failback -migrate command to fail back the FLM session for the devices
specified by the FLM pair file.
# symrcopy -f ors_pairs failback -migrate
'Failback' operation execution is in progress for the device list
in device file 'ors_pairs'. Please wait...
'Failback' operation successfully executed for the device list
in device file 'ors_pairs'.
Use the symrcopy query command to verify that the status of the FLM pairs is Failedback.
# symrcopy -f ors_pairs query
Device File Name
: ors_pairs
Control Device
Remote Device
Flags
Status
Done
---------------------------- --------------------------- ------- -------------- ---Protected
SID:symdev
Tracks
Identification
RI CDSHUTZ CTL <=> REM
(%)
------------------ --------- ------------------------ -- ------- -------------- ---000194900275:207C
0 000194900307:206C
SD X..XXM.
Failedback
N/A
000194900275:207D
0 000194900307:206D
SD X..XXM. Failedback
N/A
000194900275:207E
0 000194900307:206E
SD X..XXM. Failedback
N/A
000194900275:207F
0 000194900307:206F
SD X..XXM. Failedback
N/A
Total
Track(s)
MB(s)
. . .
3.
--------304520
19032.5
4.
Use the symrcopy terminate -migrate command to terminate the FLM migration for the
devices specified by the FLM pair file.
# symrcopy -f ors_pairs terminate -migrate
'Terminate' operation execution is in progress for the device list
in device file 'ors_pairs'. Please wait...
'Terminate' operation successfully executed for the device list
in device file 'ors_pairs'.
: 000194900275
Dev
Count
----4
4
4
4
View
Count
----0
0
0
0
Use the symdev list noport command to verify that the target devices are not mapped. Use
range to filter on a specific range of devices.
# symdev -sid 275 list -noport
Symmetrix ID: 000194900275
Device Name
Directors
Device
--------------------------- ------------- -------------------------------------
Cap
Sym Physical
SA :P DA :IT Config
Attribute
Sts
(MB)
--------------------------- ------------- ------------------------------------207C Not
207D Not
207E Not
207F Not
. . .
Visible
Visible
Visible
Visible
???:? 08A:D6
???:? 07A:C0
???:? 07B:D4
???:? NA:NA
2-Way Mir
RAID-5
RAID-6
TDEV
N/Grp'd
N/Grp'd
N/Grp'd
N/Grp'd
RW
(M) RW
RW
(M) RW
8631
34523
8631
34523
Clean up the operating system device tree after removing the masking. For every removed
target device path, run this command:
#echo 1 > /sys/block/<target device path>/device delete
Then rescan the operation-system device tree by running the following command to each
controller connecting with a VMAX target port. (Replace the <x> with the controller number.)
#echo - - - > /sys/class/scsi_host/host<x>/scan
6.
Verify that the target device paths are removed from the Device Mapper
configuration
From the application host:
Use multipath -l to verify that the target paths are no longer visible in the Device Mapper
configuration. The FLM source device paths should all report an active state. There should be
no FLM target paths visible. If the device states are not correct, examine the cause before
continuing.
Linux> multipath -l
. . .
mpath121 (36006048000018743037653594d464244) dm-23 EMC,SYMMETRIX
[size=18G][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=0][active]
\_ 1:0:0:46 sdav 66:240 [active][undef]
\_ 2:0:0:46 sdcz 70:112 [active][undef]
mpath168 (360060480000190102221533031303535) dm-138 EMC,SYMMETRIX
[size=9.2G][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=0][active]
\_ 5:0:0:212 sdif 134:240 [active][undef]
\_ 6:0:0:212 sdkg 66:320 [active][undef]
mpath153 (360060480000190102221533031303030) dm-123 EMC,SYMMETRIX
[size=938M][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=0][active]
\_ 5:0:0:182 sdhq 134:0
[active][undef]
\_ 6:0:0:182 sdjr 65:336 [active][undef]
mpath94 (36006048000018743037653594d463630) dm-42 EMC,SYMMETRIX
[size=4.6G][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=0][active]
\_ 2:0:0:9
sdbo 68:32
[active][undef]
\_ 1:0:0:9
sdk 8:160
[active][undef]
7.
Use the symconfigure command to remove the devices external identity. The identity must be
removed before the device can be used for another FLM session. The device having its external
identity removed must be unmapped, or the configuration change is rejected.
#
>
>
>
>
>
symconfigure
set dev 207C
set dev 207D
set dev 207E
set dev 207F
EOL
-sid 275
identity
identity
identity
identity
Use the symdev list -identity command to verify that the target devices are no longer
presenting the identity of the source devices. The external identity should now reflect the native
identity of the FLM target device.
# symdev -sid 275 list -identity
Symmetrix ID: 000194900275
Device
---------------------------------Sym Physical
Config
Sts
---------------------------------. . .
207C Not
. . .
207D Not
. . .
207E Not
. . .
207F Not
. . .
RW
.X
000194900275
00195 7500195000
8625
Visible RAID-5
RW
.X
000194900275
001FF 75001FF000
8625
Visible RAID-6
RW
.X
000194900275
00295 7500295000
8625
Visible TDEV
RW
.X
000194900275
002FF 75002FF000
8625
Legend:
Flags:
(I)dentity : X
.
(G)eometry : X
.
8.
FLG
External Identity
--- ---------------------------------------IG Array ID
Num
Ser Num
Cap (MB)
--- ----------------------------------------
=
=
=
=
The
The
The
The
device
device
device
device
#
>
>
>
>
>
symconfigure
set dev 207c
set dev 207D
set dev 207E
set dev 207F
EOL
-sid 275
geometry
geometry
geometry
geometry
Use the symdev list identity command to verify that the target devices are no longer
presenting the geometry of the source devices. The flag should now indicate that user-defined
geometry is not set.
# symdev -sid 275 list -identity
Symmetrix ID: 000194900275
Device
---------------------------------Sym Physical
Config
Sts
----------------------------------
FLG
External Identity
--- ---------------------------------------IG Array ID
Num
Ser Num
Cap (MB)
--- ----------------------------------------
. . .
207C Not
207D Not
207E Not
207F Not
. . .
..
..
..
..
Visible
Visible
Visible
Visible
2-Way Mir
RAID-5
RAID-6
TDEV
Legend:
Flags:
(I)dentity : X
.
(G)eometry : X
.
9.
=
=
=
=
The
The
The
The
device
device
device
device
RW
RW
RW
RW
000194900275
000194900275
000194900275
000194900275
00195
001FF
00295
002FF
7500195000
75001FF000
7500295000
75002FF000
8631
34523
8631
34523
Table of Contents