Windows 2003 DMP Federated Live Migration

 

Topic

Managing Federated Live Migrations

Selections

Select an operating system: Windows 2003

Select multipath type: DMP

 

 

Contents

·            Preparing SAN to Support Federated Live Migration. 4

·            Migrating Data Using Federated Live Migration. 12

·            Performing Failback During Federated Live Migration. 25

·            Removing External Identity and Geometry following Federated Live Migration. 32

 


 

·       Preparing SAN to Support Federated Live Migration

 

 

Overview

Perform the following steps to prepare the SAN to support Federated Live Migration (FLM).

 

! 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 SymmetrixArray Controls CLI 7.6 Product Guide
  • EMC Federated Live Migration Technical Overview Technical Notes

 

These documents can be obtained from EMC Online Support at:

 http://support.EMC.com

 

All SYMCLI commands listed in this procedure can be executed from the Solutions Enabler Control Host.

 

1.   

Verify that the application host and source devices are configured to support FLM

Identify the application host where FLM will be used.

 

Validate that the platform (host type), operating system, host bus adapter, driver, infrastructure software (multipath solution), server LVM, and file system are supported in the FLM Simple Support Matrix.

 

Identify the source devices for FLM migration. Record the source director WWNs for use in step 3 (Configure SAN zoning for the FLM migration). Record the FA port settings to ensure that they are the same for all source ports and are configured identically for the target FA ports in step 2.

 

Important: Observations of host_passive/host_active change performance suggest limiting the number of source devices on a single host participating in an FLM session to 32 devices.

 

Use the symdev command to identify the source device (0720, 075F, 076B, and 07E9) FA director ports. The director ports for multiple devices used by the same application should be the same. For example for device 720:

 

symdev -sid 76 list -range 720:720 -multiport

 

Symmetrix ID: 000187490076

 

                      M U L T I - P O R T      D E V I C E S

 

     Device Name           Directors                   Device

------------------------ ------------- -------------------------------------

                                                                        Cap

Physical            Sym  SA :P DA :IT  Config        Attribute    Sts   (MB)

------------------------ ------------- -------------------------------------

 

                    0720       01B:D8  2-Way Mir     N/Grp'd  (M) RW    3750

Not Visible            - 14C:0      -  -             -            -        -

Not Visible            - 14C:1      -  -             -            -        -

 

Use the symcfg list command to identify the FA director port WWNs.

 

symcfg -sid 76 list -fa 14c -p 0

. . .

    Dir    Port  WWN                VCM      Volume Set   Pnt to Pnt

                                    Enabled  Addressing

 

 

    FA-14C  0    5006048ACB37C70D  Yes      No           Yes

 

symcfg -sid 76 list -fa 14c -p 1

. . .

    Dir    Port  WWN                VCM      Volume Set   Pnt to Pnt

                                    Enabled  Addressing

 

 

    FA-14C  1    5006048ACB37C72D  Yes      No           Yes

 

Use the symcfg list -v command to identify the port flag settings for each of the source and target FA ports. Make note of these port flag settings.

 

symcfg -sid 76 list -fa 14c -p 0 -v

 

Symmetrix ID: 000187490076

Time Zone   : Eastern Standard Time

 

    Product Model                        : 1000S-M2

    Symmetrix ID                         : 000187490076

. . .

          SCSI Flags

            {

              Negotiate_Reset(N)           : Disabled

              Soft_Reset(S)                : Disabled

              Environ_Set(E)               : Disabled

              HP3000_Mode(B)               : Disabled

              Common_Serial_Number(C)      : Enabled

              Disable_Q_Reset_on_UA(D)     : Enabled

              Sunapee(SCL)                 : Disabled

              Siemens(S)                   : Disabled

              Sequent(SEQ)                 : Disabled

              Avoid_Reset_Broadcast(ARB)   : Disabled

              Server_On_AS400(A4S)         : Disabled

              SCSI_3(SC3)                  : Enabled

              SPC2_Protocol_Version(SPC2)  : Enabled

              SCSI_Support1(OS2007)        : Enabled

            }

 

          Fibre Specific Flags

            {

              Volume_Set_Addressing(V)     : Disabled

              Non_Participating(NP)        : Disabled

              Init_Point_to_Point(PP)      : Enabled

              Unique_WWN(UWN)              : Enabled

              VCM_State(VCM)               : Enabled

              OpenVMS(OVMS)                : Disabled

              AS400(AS4)                   : Disabled

              Auto_Negotiate(EAN)          : Enabled

            }

 

Note: Different host operating systems present the FA flags differently. Refer to the E-Lab™ matrix for the available port flags for your host.

 

HBA port flags can be set on a per-initiator basis or by host name. Therefore, it is necessary to check for port overrides.

 

For 5875 source arrays:

Use the symaccess show command to identify any applicable port overrides for the application host WWNs.

 

symaccess -sid 517 show flm_ig -type init -detail

 

Symmetrix ID          : 000187490076

 

Initiator Group Name  : flm_ig

Last update time      : 10:21:16 AM on Wed Nov 21,2012

 

Group last update time: 10:21:16 AM on Wed Nov 21,2012

 

Port Flag Overrides   : Yes

  Enabled             : SPC2_Protocol_Version(SPC2)

  Disabled            : N/A

Consistent Lun        : No

 

   Originator Port wwn  : 21000024ff3e93d0

   User-generated Name  : 21000024ff3e93d0/21000024ff3e93d0

   FCID Lockdown        : No

   Heterogeneous Host   : No

   Port Flag Overrides  : Yes

     Enabled            : SPC2_Protocol_Version(SPC2)

     Disabled           : N/A

   CHAP Enabled         : N/A

   Type                 : Fibre

 

For 5671 and 5773 source arrays:

Use the symmaskdb list -v command to identify any applicable port overrides for the application host WWNs.

 

symmaskdb list db -sid 76 -v

 

Symmetrix ID            : 000187490076

 

Database Type           : Type5

Last updated at         : 04:28:16 PM on Mon Jan 31,2011

 

. . .

 

Director Identification : FA-14C

Director Port           : 0

 

. . .

 

   Originator Port wwn  : 10000000c953f9f3

   Type                 : Fibre

   User-generated Name  : win_flm/10000000c953f9f3

   Visibility           : No

   FCID Lockdown        : No

   Lun Offset           : No

   Heterogeneous Host   : No

   Port Flag Overrides  : Yes

     Enabled            : SPC2_Protocol_Version(SPC2) 

     Disabled           : N/A

   Dynamic Addressing   : N/A

   Authentication State : N/A

   Devices              : 0720 075F 076B 07E9

 

. . .

 

 

2.   

Identify and configure the target devices

Identify the FLM target array. The FLM target array must run Enginuity™ 5875 and higher to support FLM. In this example, Symmetrix ID (SID) 000194900275 is used.

 

Identify the target FA ports for the front-end interface to the application host. These ports will become active at the start of the FLM migration. In this example, FA ports FA07E:0 and FA08E:0 are used.

 

Ensure that the port settings for these ports are identical to the source port settings recorded in step 1, including setting any hba_flags or ig_flags overrides with the symaccess command.

 

Identify the target FA director port WWNs to be used for zoning in step 3 with the symcfg list command.

 

symcfg -sid 75 list -fa 7e -p 0

. . .

    Dir    Port  WWN                VCM      Volume Set   Pnt to Pnt

                                    Enabled  Addressing

 

    FA-7E   0    50000972c0044d18   Yes      No           Yes

 

symcfg -sid 75 list -fa 8e -p 0

. . .

    FA-8E   0    50000972c0044d1c   Yes      No           Yes

 

Identify the target devices for FLM migration. FLM target devices must be of equal or larger capacity than the FLM source devices identified in step 1. Identify one target device for each source device. In this example, devices 0328, 0329, 032A, and 032B are used.

 

Map, but do not mask, the target devices to the identified target ports.

 

symconfigure -sid 75 -cmd "map dev 328:32b to dir 7e:0 lun=1; map dev 328:32b to dir 8e:0 lun=1;" commit

 

! WARNING: Unlike when using Open Replicator for a non-FLM session, FLM target devices should not be added to any Auto-provisioning masking views at this point!

 

Configure zoning to make the target FA ports visible to the application host initiator ports.

 

3.   

Configure SAN zoning for the FLM migration

For each fabric, create a zone from the FLM target FA ports, which are identified in step 2, to the FLM source FA ports, which are identified in step 1. One-to-one zoning should be specified.

 

The FLM source devices must be visible to each FLM target FA port where the FLM target devices are mapped.

 

The following example is an excerpt of the Connectrix® Manager Zoning verification screen with the two zones defined.

.

 

 

4.   

Add migration device masking for the FLM target FA ports to access the FLM source devices

 

For 5875 source arrays:

Use the symaccess add devs command to add FLM target visibility for the source devices.

 

symaccess -sid 76 -name ors_ig –type initiator create

 

symaccess -sid 76 -name ors_ig -wwn 50000972c0044d18 –type initiator add

 

symaccess -sid 76 -name ors_ig -wwn 50000972c0044d1c –type initiator add

 

symaccess -sid 76 create view –name ors_mv –sg flm_sg –pg flm_pg ig ors_ig

 

 

Use the symaccess show command to verify that the FLM source devices are masked to the application host and the FLM target array.

 

symaccess -sid 76 -type storage show flm_sg

 

Symmetrix ID                : 000187490076

 

Storage Group Name          : flm_sg

Last update time            : 01:29:35 PM on Thu Sep 20,2012

Group last update time      : 01:29:35 PM on Thu Sep 20,2012

 

   Number of Storage Groups : 0

   Storage Group Names      : None

 

   Devices                  : 0720,075F,07B6,07E9

 

   Masking View Names

     {

       ors_mv

       flm_mv

     }

 

For 5671 and 5773 source arrays:

Use the symmask add devs command to add FLM target visibility for the source devices.

 

symmask -sid 76 -dir 14c -p 0 -wwn 50000972c0044d18 add devs 0720,075F,07B6,07E9

 

symmask -sid 76 -dir 14c -p 1 -wwn 50000972c0044d1c add devs 0720,075F,07B6,07E9

 

Use the symmask refresh command on the FLM source array to trigger all records within the database to be pushed out to the local directors.

 

symmask -sid 076 refresh

 

Symmetrix FA/SE directors updated with contents of SymMask Database 000187490076

 

Use the symmaskdb list assignment command to verify that the FLM source devices are masked to the application host and the FLM target array.

 

symmaskdb -sid 76 list assignment -devs 0720,075F,07B6,07E9

 

Symmetrix ID : 000187490076

 

Device  Identifier        Type   Dir:P

------  ----------------  -----  ----------------

0720    50000972c0044d18  FIBRE  FA-14C:0

        50000972c0044d1c  FIBRE  FA-14C:1

        10000000c953f9f3  FIBRE  FA-14C:0,FA-14C:1

075F    50000972c0044d18  FIBRE  FA-14C:0

        50000972c0044d1c  FIBRE  FA-14C:1

        10000000c953f9f3  FIBRE  FA-14C:0,FA-14C:1

07B6    50000972c0044d18  FIBRE  FA-14C:0

        50000972c0044d1c  FIBRE  FA-14C:1

        10000000c953f9f3  FIBRE  FA-14C:0,FA-14C:1

07E9    50000972c0044d18  FIBRE  FA-14C:0

        50000972c0044d1c  FIBRE  FA-14C:1

        10000000c953f9f3  FIBRE  FA-14C:0,FA-14C:1

 

5.   

Verify FLM migration visibility of the FLM source devices from each FLM target FA port

Use the symsan command for each FLM target FA port identified in step 2 to confirm that the remote LUNs are visible.

 

symsan -sid 75 -dir 7e -p 0 list -sanports -detail

 

Symmetrix ID: 000194900275

 

      Flags                                Num                              Remote

DIR:P   I   Vendor        Array            LUNs Remote Port WWN             DIR:P

----- ----- ------------- ---------------- ---- --------------------------- -----

07E:0   .   EMC Symmetrix 000187490076        5 5006048ACB37C70D            14C:0

 

Legend:

 Flags: (I)ncomplete : X = record is incomplete, . = record is complete.

 

 

symsan -sid 75 -dir 7e -p 0 -wwn 5006048ACB37C70D list -sanluns

 

Symmetrix ID:      000194900275

Remote Port WWN:   5006048ACB37C70D

 

      ST

       A

       T  Flags  Block   Capacity   LUN   Dev  LUN

DIR:P  E ICRTHS  Size      (MB)     Num   Num  WWN

----- -- ------- ----- ----------- ----- ----- --------------------------------

07E:0 WD ...F.X    512          45     0  07ED 6006048000018749007653594D374544

07E:0 RW ...F.X    512        3750     6  0720 6006048000018749007653594D373230

07E:0 RW ...F.X    512        3750    36  075F 6006048000018749007653594D373546

07E:0 RW ...F.X    512        3750    6C  07B6 6006048000018749007653594D374236

07E:0 RW ...F.X    512         938    96  07E9 6006048000018749007653594D374539

 

Legend:

 Flags: (I)ncomplete : X = record is incomplete, . = record is complete.

        (C)ontroller : X = record is controller, . = record is not controller.

        (R)eserved   : X = record is reserved, . = record is not reserved.

        (T)ype       : A = AS400, F = FBA, C = CKD, . = Unknown

        t(H)in       : X = record is a thin dev, . = record is not a thin dev.

        (S)ymmtrix   : X = Symmetrix device, . = not Symmetrix device.

 

 

symsan -sid 275 -dir 8e -p 0 list -sanports -detail

 

Symmetrix ID: 000194900275

 

      Flags                                Num                              Remote

DIR:P   I   Vendor        Array            LUNs Remote Port WWN             DIR:P

----- ----- ------------- ---------------- ---- --------------------------- -----

08E:0   .   EMC Symmetrix 000187490076        5 5006048ACB37C72D            14C:1

. . .

 

symsan -sid 275 -dir 8e -p 0 -wwn 5006048ACB37C72D list -sanluns

 

Symmetrix ID:      000194900275

Remote Port WWN:   5006048ACB37C72D

 

      ST

       A

       T  Flags  Block   Capacity   LUN   Dev  LUN

DIR:P  E ICRTHS  Size      (MB)     Num   Num  WWN

----- -- ------- ----- ----------- ----- ----- --------------------------------

08E:0 WD ...F.X    512          45     0  07ED 6006048000018749007653594D374544

08E:0 RW ...F.X    512        3750     6  0720 6006048000018749007653594D373230

08E:0 RW ...F.X    512        3750    36  075F 6006048000018749007653594D373546

08E:0 RW ...F.X    512        3750    6C  07B6 6006048000018749007653594D374236

08E:0 RW ...F.X    512         938    96  07E9 6006048000018749007653594D374539

. . .

 

 

6.   

Adjust the ORS ceiling on the FLM target FA ports to the recommended values

Use the symrcopy list ceiling command to list the current ceiling settings.

 

symrcopy -sid 275 list ceiling

 

Symmetrix ID: 000194900275

 

    Symmetrix Remote Copy Bandwidth Ceiling

 

                   Max   Set   Actual

            Dir:P  (MB)  (%)    (MB)

            -----  ----  ----  ------

            07E:0   150  NONE       0

            07E:1   150  NONE       0

            08E:0   150  NONE       0

            08E:1   150  NONE       0

            07F:0   150  NONE       0

            07F:1   150  NONE       0

            08F:0   150  NONE       0

            08F:1    80  NONE       0

            07G:0   300  NONE       0

            07G:1   300  NONE       0

            08G:0   150  NONE       0

            08G:1   150  NONE       0

 

The default ceiling value is NONE. For FLM, EMC recommends setting the ceiling limits for the target FA ports for a 5671 source array to 20 percent, and to 40 percent for a 5773 and higher source array.

 

Use the symrcopy set ceiling command to set the ceiling for the target FA ports.

 

 

symrcopy -sid 275 -dir 7e -p 0 set ceiling 20

 

'Set Ceiling' operation execution is in progress

'Set Ceiling' operation successfully executed

 

symrcopy -sid 275 -dir 8e -p 0 set ceiling 20

 

'Set Ceiling' operation execution is in progress

'Set Ceiling' operation successfully executed

 

Use the symrcopy list ceiling command to verify that the ceiling settings are set as recommended.

 

symrcopy -sid 275 list ceiling

 

Symmetrix ID: 000194900275

 

    Symmetrix Remote Copy Bandwidth Ceiling

 

                   Max   Set   Actual

            Dir:P  (MB)  (%)    (MB)

            -----  ----  ----  ------

            07E:0   150    20       0

            07E:1   150    20       0

            08E:0   150    20       0

            08E:1   150    20       0

            07F:0   150  NONE       0

            07F:1   150  NONE       0

            08F:0   150  NONE       0

            08F:1    80  NONE       0

            07G:0   300  NONE       0

            07G:1   300  NONE       0

            08G:0   150  NONE       0

            08G:1   150  NONE       0

 

7.   

Create an FLM pair file

Use a text-editing tool to create a pair file in the format of a standard Open Replicator pull session to specify the FLM source and target devices.

 

In this pair file example, the first column should contain the FLM target device using either the format symdev=<array_id>:<device_id> or wwn=<device_wwn>.


The second column should contain the FLM source device using either the format
symdev=<array_id>:<device_id> or wwn=<device_wwn>.

 

## FLM PAIR FILE

##

## COLUMN1: FLM Target [ VMAX - 5875 ]

## COLUMN2: FLM Source [ DMX  - 5671 ]

 

symdev=000194900275:0328 symdev=000187490076:0720

symdev=000194900275:0329 symdev=000187490076:075F

symdev=000194900275:032A symdev=000187490076:07B6

symdev=000194900275:032B symdev=000187490076:07E9

 

This file will be used to manage the FLM migration.

 

 

 

 

·       Migrating Data Using Federated Live Migration

 

 

Overview

Perform the following steps to migrate data using Federated Live Migration (FLM) on a stand-alone Windows application host with Veritas Storage Foundations for Windows.

 

! 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

 

 

8.   

Configure the DMP tunable parameters to the FLM required values

From the application host:

 

Check and modify the following DMP policies. If the parameter values are not set to the default values, make note of the settings so that the parameters can be returned to the expected values following the FLM migration.

 

DMP policy

Default value

FLM required value

Load-balance policy

Round robin

Round robin

 

To check the load-balance policy:

 

C:\> vxdmpadm dsminfo

   Disk       DSM Name    Array Name    Load Balance Policy

=========================================================================

Harddisk0    (internal disk)

Harddisk1    (internal disk)

Harddisk6    VEMCSYMM    EMC SYMMETRIX 19010860    Dynamic Least Queue Depth

Harddisk7    VEMCSYMM    EMC SYMMETRIX 19010860    Dynamic Least Queue Depth

Harddisk8    VEMCSYMM    EMC SYMMETRIX 19010860    Dynamic Least Queue Depth

Harddisk9    VEMCSYMM    EMC SYMMETRIX 19010860    Dynamic Least Queue Depth

 

If necessary, modify the load-balance policy:

 

C:\> vxdmpadm setattr array loadbalancepolicy=RR harddisk6

Successfully set the load balance policy of 'EMC SYMMETRIX 19010860' array to Round Robin (Active/Active).

 

Verify that all required policies are set:

 

C:\> vxdmpadm dsminfo

   Disk       DSM Name    Array Name    Load Balance Policy

=========================================================================

Harddisk0    (internal disk)

Harddisk1    (internal disk)

Harddisk6    VEMCSYMM    EMC SYMMETRIX 19010860    Round Robin (Active/Active)

Harddisk7    VEMCSYMM    EMC SYMMETRIX 19010860    Round Robin (Active/Active)

Harddisk8    VEMCSYMM    EMC SYMMETRIX 19010860    Round Robin (Active/Active)

Harddisk9    VEMCSYMM    EMC SYMMETRIX 19010860    Round Robin (Active/Active)

 

 

9.   

Verify the source path configuration

From the application host:

Use vxdmpadm pathinfo to view the configuration of the source paths. This output is used as a baseline for comparison once the target paths are configured.

 

C:> vxdmpadm pathinfo harddisk6

=========================================================================

Device information

    Name        :   Harddisk6

    Media Name  :

    No. of Paths:   2

    LoadBalancePolicy       :   Round Robin (Active/Active)Path information ...

Path 4-0-7:

    State       :   Healthy

    Primary     :   NO

    SCSI-3 Persistent Reservation: NO

    SCSI-3 Reserved: NO

    Port        :   4

    Channel     :   0

    Target      :   7

    LUN         :   1

    Active IO group : YES

Path 4-0-5:

    State       :   Healthy

    Primary     :   NO

    SCSI-3 Persistent Reservation: NO

    SCSI-3 Reserved: NO

    Port        :   4

    Channel     :   0

    Target      :   5

    LUN         :   1

    Active IO group : YES

 

C:> vxdmpadm pathinfo harddisk7

. . .

 

C:> vxdmpadm pathinfo harddisk8

. . .

 

C:> vxdmpadm pathinfo harddisk9

. . .

 

 

10.  

Create the FLM session

From the Solutions Enabler control host:

 

Use a pair file in the format of a standard ORS pull session to specify the FLM source and target devices:

 

C:\> type win_dmp

## FLM PAIR FILE

##

## COLUMN1: FLM Target [ VMAX - 5875 ]

## COLUMN2: FLM Source [ DMX  - 5773 ]

 

symdev=194900307:0160   symdev=190100860:0200

symdev=194900307:0161   symdev=190100860:0204

symdev=194900307:0162   symdev=190100860:0208

symdev=194900307:0163   symdev=190100860:020C

 

Use the symrcopy create –pull -migrate command to create a NoCopy FLM session with the devices specified by the FLM pair file. The –mp_type parameter is required for –host_type Windows.

 

C:\> symrcopy -f win_dmp create -pull -migrate -host_type windows \

>                                             -mp_type dmp

 

'Create' operation execution is in progress for the device list

in device file 'win_dmp'. Please wait...

 

'Create' operation successfully executed for the device list

in device file 'win_dmp'.

Executing this command performs the following:

·     FLM VMAX® target devices are set to passive host access mode.

·     FLM VMAX target devices assume the external identity of FLM source devices.

·     FLM VMAX target devices assume the external geometry of FLM source device (if necessary).

 

FLM VMAX target FA ports externally display a two-port offset for FLM target devices. As an example, VMAX devices mapped to FA 07F:0 and FA 08F:1 are externally displayed on FA 07F:2 and FA 08F:3.

 

 

11.  

Verify the created FLM session

From the Solutions Enabler control host:

 

Use the symrcopy query command to verify that the FLM pairs are listed as migration sessions in the Created state. In the following example, the value of M for type (T) in the Flags column indicates that the session is an FLM migration session:

 

C:\> symrcopy -f win_dmp query

 

Device File Name      : win_dmp

 

       Control Device                  Remote Device      Flags      Status     Done

---------------------------- --------------------------- ------- -------------- ----

                   Protected

SID:symdev         Tracks    Identification           RI CDSHUTZ  CTL <=> REM    (%)

------------------ --------- ------------------------ -- ------- -------------- ----

000194900307:0160     138000 000190100860:0200        SD ...XXM. Created         N/A

000194900307:0161     138000 000190100860:0204        SD ...XXM. Created         N/A

000194900307:0162     138000 000190100860:0208        SD ...XXM. Created         N/A

000194900307:0163     138000 000190100860:020C        SD ...XXM. Created         N/A

 

Total              ---------

  Track(s)            552000

  MB(s)              34500.0

 

Legend:

R:  (Remote Device Vendor Identification)

  S = Symmetrix, C = Clariion, . = Unknown.

 

I:  (Remote Device Specification Identifier)

  D = Device Name, W = LUN WWN, World Wide Name.

 

Flags:

(C): X = The background copy setting is active for this pair.

     . = The background copy setting is not active for this pair.

(D): X = The session is a differential copy session.

     . = The session is not a differential copy session.

(S): X = The session is pushing data to the remote device(s).

     . = The session is pulling data from the remote device(s).

(H): X = The session is a hot copy session.

     . = The session is a cold copy session.

(U): X = The session has donor update enabled.

     . = The session does not have donor update enabled.

(T): M = The session is a migration session.

     S = The session is a standard ORS session.

(Z): X = The session has front-end zero detection enabled.

     . = The session does not have front-end zero detection enabled.

(*): The failed session can be reactivated.

 

 

12.  

Verify the external identity, and optional external geometry, on the FLM VMAX target devices

From the Solutions Enabler control host:

 

Use the symdev list –identity command to verify that the target devices are now presenting the identity of the source devices. Use –range to filter a specific range of devices. Use –identity_set to filter devices with a user-defined external identity.

 

C:\> symdev -sid 307 list -identity -range 0160:0163

 

Symmetrix ID: 000194900307

 

              Device               FLG            External Identity

---------------------------------- --- ----------------------------------------

Sym  Physical    Config        Sts IG  Array ID       Num   Ser Num    Cap (MB)

---------------------------------- --- ----------------------------------------

 

0160 Not Visible 2-Way Mir     RW  XX  000190100860   00200 6000200000     8625

0161 Not Visible 2-Way Mir     RW  XX  000190100860   00204 6000204000     8625

0162 Not Visible 2-Way Mir     RW  XX  000190100860   00208 6000208000     8625

0163 Not Visible 2-Way Mir     RW  XX  000190100860   0020C 600020C000     8625

 

Legend:

  Flags:

   (I)dentity : X = The device has a non-native external identity set

                . = The device does not have an external identity set

   (G)eometry : X = The device has a user defined geometry

                . = The device does not have a user defined geometry

 

All the fields listed under the External Identity column for each device must match the associated source devices. In this example, the value of X under (I)dentity and (G)eometry in the FLG column indicates that the FLM target devices have both user-defined external identity and geometry.

 

 

13.  

Mask the VMAX target devices to the application host

From the Solutions Enabler control host:

 

Use the symaccess command to create or modify a masking view to add application-host visibility for the VMAX target devices with Symmetrix® DMX™ source external identity.

 

C:\> symaccess -sid 275 create view -name win_dmp_mv \

>                                   -ig win_dmp_ig   \

>                                   -pg win_dmp_pg   \

>                                   -sg win_dmp_sg

 

Use the symaccess show view command to verify that the target devices are properly configured in the Auto-provisioning Group.

 

C:\> symaccess -sid 307 show view win_dmp_mv

 

Symmetrix ID          : 000194900307

 

Masking View Name     : win_dmp_mv

Last updated at       : 11:00:55 AM on Wed Apr 13,2011

 

Initiator Group Name  : win_dmp_ig

 

   Host Initiators

     {

       WWN  : 10000000c953f9f3 [alias: laqa2092/sana]

     }

 

Port Group Name       : win_dmp_pg

 

   Director Identification

     {

       FA-7F:0

       FA-8F:0

     }

 

Storage Group Name    : win_dmp_sg

 

Sym Dev                                 Host

Name    Dir:P  Physical Device Name      Lun  Attr  Cap(MB)

------  -----  -----------------------  ----  ----  -------

0160    07F:0  Not Visible                 1           8631

        08F:0  Not Visible                 1

0161    07F:0  Not Visible                 2           8631

        08F:0  Not Visible                 2

0162    07F:0  Not Visible                 3           8631

        08F:0  Not Visible                 3

0163    07F:0  Not Visible                 4           8631

        08F:0  Not Visible                 4

                                                    -------

Total Capacity                                        34524

 

 

14.  

Perform  a host SCSI rescan to discover the VMAX target device paths presented as DMX source devices

From the application host:

 

Run vxassist rescan to discover the target paths and configure them into DMP.

 

C:\> vxassist rescan

Successfully rescanned

 

 

15.  

Verify the external device identity of the VMAX target device paths

From the application host:

 

Use vxdmpadm pathinfo to verify that the target paths have been configured as alternate paths to the source devices.

 

Compare this output to the earlier output to ensure that the expected number of target paths has been configured. All paths should report a Healthy state.

 

C:\> vxdmpadm pathinfo harddisk6

=========================================================================

Device information

    Name        :   Harddisk6

    Media Name  :

    No. of Paths:   4

    LoadBalancePolicy       :   Round Robin (Active/Active)

Path information ...

Path 4-0-7:

    State       :   Healthy

    Primary     :   NO

    SCSI-3 Persistent Reservation: NO

    SCSI-3 Reserved: NO

    Port        :   4

    Channel     :   0

    Target      :   7

    LUN         :   1

    Active IO group : YES

Path 4-0-5:

    State       :   Healthy

    Primary     :   NO

    SCSI-3 Persistent Reservation: NO

    SCSI-3 Reserved: NO

    Port        :   4

    Channel     :   0

    Target      :   5

    LUN         :   1

    Active IO group : YES

Path 4-0-2:

    State       :   Healthy

    Primary     :   NO

    SCSI-3 Persistent Reservation: NO

    SCSI-3 Reserved: NO

    Port        :   4

    Channel     :   0

    Target      :   2

    LUN         :   1

    Active IO group : YES

Path 4-0-3:

    State       :   Healthy

    Primary     :   NO

    SCSI-3 Persistent Reservation: NO

    SCSI-3 Reserved: NO

    Port        :   4

    Channel     :   0

    Target      :   3

    LUN         :   1

    Active IO group : YES

 

C:> vxdmpadm pathinfo harddisk7

. . .

 

C:> vxdmpadm pathinfo harddisk8

. . .

 

C:> vxdmpadm pathinfo harddisk9

. . .

 

 

16.  

Activate the FLM session

From the Solutions Enabler control host:

 

Use the symrcopy activate -migrate command to activate the FLM session with the devices specified by the FLM pair file.

 

C:\> symrcopy -f win_dmp activate -migrate

 

'Activate' operation execution is in progress for the device list

in device file 'win_dmp'. Please wait...

 

'Activate' operation successfully executed for the device list

in device file 'win_dmp'.

 

Executing this command  performs the following:

·     FLM VMAX target devices are set to active host access mode.

·     FLM DMX source devices are set to passive host access mode.

·     FLM session is set to Copy mode.

 

 

17.  

Verify the FLM pairs

From the Solutions Enabler control host:

 

Use the symrcopy query command to verify that the status of the FLM pairs is either CopyInProg or Copied.

 

C:\> symrcopy -f win_dmp query

 

Device File Name      : win_dmp

 

       Control Device                  Remote Device      Flags      Status     Done

---------------------------- --------------------------- ------- -------------- ----

                   Protected

SID:symdev         Tracks    Identification           RI CDSHUTZ  CTL <=> REM    (%)

------------------ --------- ------------------------ -- ------- -------------- ----

000194900307:0160      90751 000190100860:0200        SD X..XXM. CopyInProg       34

000194900307:0161      70301 000190100860:0204        SD X..XXM. CopyInProg       49

000194900307:0162      90753 000190100860:0208        SD X..XXM. CopyInProg       34

000194900307:0163      90735 000190100860:020C        SD X..XXM. CopyInProg       34

 

Total              ---------

  Track(s)            342540

  MB(s)              21408.8

.  .  .

 

 

18.  

Verify the external device identity of the VMAX target device paths

From the application host:

 

Use vxdmpadm pathinfo to verify that no change occurred in the available paths after the cutover.

 

C:\> vxdmpadm pathinfo harddisk6

=========================================================================

Device information

    Name        :   Harddisk6

    Media Name  :

    No. of Paths:   4

    LoadBalancePolicy       :   Round Robin (Active/Active)

Path information ...

Path 4-0-7:

    State       :   Healthy

    Primary     :   NO

    SCSI-3 Persistent Reservation: NO

    SCSI-3 Reserved: NO

    Port        :   4

    Channel     :   0

    Target      :   7

    LUN         :   1

    Active IO group : YES

Path 4-0-5:

    State       :   Healthy

    Primary     :   NO

    SCSI-3 Persistent Reservation: NO

    SCSI-3 Reserved: NO

    Port        :   4

    Channel     :   0

    Target      :   5

    LUN         :   1

    Active IO group : YES

Path 4-0-2:

    State       :   Healthy

    Primary     :   NO

    SCSI-3 Persistent Reservation: NO

    SCSI-3 Reserved: NO

    Port        :   4

    Channel     :   0

    Target      :   2

    LUN         :   1

    Active IO group : YES

Path 4-0-3:

    State       :   Healthy

    Primary     :   NO

    SCSI-3 Persistent Reservation: NO

    SCSI-3 Reserved: NO

    Port        :   4

    Channel     :   0

    Target      :   3

    LUN         :   1

    Active IO group : YES

 

C:> vxdmpadm pathinfo harddisk7

. . .

 

C:> vxdmpadm pathinfo harddisk8

. . .

 

C:> vxdmpadm pathinfo harddisk9

. . .

 

 

19.  

Monitor the FLM session

From the Solutions Enabler control host:

 

Use the symrcopy query command to query the status of the FLM migration for the devices specified by the FLM pair file. The status of the pairs is either CopyInProg or Copied.

 

C:\> symrcopy -f win_dmp query

 

Device File Name      : win_dmp

 

       Control Device                  Remote Device      Flags      Status     Done

---------------------------- --------------------------- ------- -------------- ----

                   Protected

SID:symdev         Tracks    Identification           RI CDSHUTZ  CTL <=> REM    (%)

------------------ --------- ------------------------ -- ------- -------------- ----

000194900307:0160      71987 000190100860:0200        SD X..XXM. CopyInProg       47

000194900307:0161      44903 000190100860:0204        SD X..XXM. CopyInProg       67

000194900307:0162      72004 000190100860:0208        SD X..XXM. CopyInProg       47

000194900307:0163      71972 000190100860:020C        SD X..XXM. CopyInProg       47

 

Total              ---------

  Track(s)            260866

  MB(s)              16304.1

.  .  .

 

 

20.  

Verify that the FLM session is Copied

From the Solutions Enabler control host:

 

Use the symrcopy query command to query the status of the FLM migration for the devices specified by the FLM pair file. Confirm that the copy is complete and that the status of the pairs is Copied.

 

C:\> symrcopy -f win_dmp query

 

Device File Name      : win_dmp

 

       Control Device                  Remote Device      Flags      Status     Done

---------------------------- --------------------------- ------- -------------- ----

                   Protected

SID:symdev         Tracks    Identification           RI CDSHUTZ  CTL <=> REM    (%)

------------------ --------- ------------------------ -- ------- -------------- ----

000194900307:0160          0 000190100860:0200        SD X..XXM. Copied          100

000194900307:0161          0 000190100860:0204        SD X..XXM. Copied          100

000194900307:0162          0 000190100860:0208        SD X..XXM. Copied          100

000194900307:0163          0 000190100860:020C        SD X..XXM. Copied          100

 

Total              ---------

  Track(s)                 0

  MB(s)                  0.0

.  .  .

 

Use the symrcopy verify command to confirm that all pairs are in a Copied state.

 

C:\> symrcopy -f win_dmp verify

 

All device(s) in the list are in 'Copied' state.

 

 

21.  

Terminate the FLM session

From the Solutions Enabler control host:

 

Use the symrcopy terminate -migrate command to terminate the FLM migration for the devices specified by the FLM pair file. 

 

C:\> symrcopy -f win_dmp terminate -migrate

 

'Terminate' operation execution is in progress for the device list

in device file 'win_dmp'. Please wait...

 

'Terminate' operation successfully executed for the device list

in device file 'win_dmp'.

 

Terminating the FLM sessions in a Copied state performs the following:

·     ORS hot pull, donor update session is terminated.

·     FLM source devices remain in a passive host access mode.

·     FLM target devices remain in an active host access mode.

 

 

22.  

Remove masking for the source devices

 

IMPORTANT: The array policy must be changed to Fail Over Only, and a target path must be specified as the primary path before the source paths can be removed.

 

Set the array policy to Fail Over Only (Active/Passive), and specify a target path as the primary path.

 

C:\>vxdmpadm -g flmgroup setattr array loadbalancepolicy=FO primarypath=4-0-0 harddisk6

 

Successfully set the load balance policy of 'EMC SYMMETRIX 19010860' array to Fail Over Only (Active/Passive).

Successfully set Path 4-0-0 as the primary path of 'EMC SYMMETRIX 19010860' array.

 

 

Use vxdmpadm dsminfo to verify that the array policy is now set to Fail Over Only (Active/Passive).

 

C:\> vxdmpadm dsminfo

   Disk       DSM Name    Array Name    Load Balance Policy

=========================================================================

Harddisk0    (internal disk)

Harddisk1    (internal disk)

Harddisk6    VEMCSYMM    EMC SYMMETRIX 19010860    Fail Over Only (Active/Passive)

Harddisk7    VEMCSYMM    EMC SYMMETRIX 19010860    Fail Over Only (Active/Passive)

Harddisk8    VEMCSYMM    EMC SYMMETRIX 19010860    Fail Over Only (Active/Passive)

Harddisk9    VEMCSYMM    EMC SYMMETRIX 19010860    Fail Over Only (Active/Passive)

 

From the Solutions Enabler control host:

 

For 5875 source array:

Use the symaccess command to delete or modify a masking view to remove application-host visibility for the VMAX source devices. Use the -unmap flag when deleting or modifying the masking view to unmap the devices as part of the Auto-provisioning change.

 

# symaccess -sid 860 delete view -name win_flm_mv -unmap

 

Use the symaccess list command to verify that the source devices have been removed from all masking views. The view count should be zero (0) for each FLM source device.

 

# symaccess -sid 860 list -type storage -devs 0200,0204,0208,020C

 

Symmetrix ID          : 000192602076

 

Symm                                    Dev    View

Dev   Storage Group Name                Count  Count

----  --------------------------------  -----  -----

0200   win_flm_mv                            4      0

0204  win_flm_mv                            4      0

0208  win_flm_mv                            4      0

020C  win_flm_mv                            4      0

 

For 5671 and 5773 source arrays:

Use the symmask remove devs command to remove application-host visibility for the source devices.

 

C:\> symmask -sid 860 -dir 7b -p 0 -wwn 10000000c953f9f3 remove devs 0200,0204,0208,020C

 

C:\> symmask -sid 860 -dir 8b -p 0 -wwn 10000000c953f9f3 remove devs 0200,0204,0208,020C

 

C:\> symmask -sid 860 refresh

 

Symmetrix FA/SE directors updated with contents of SymMask Database 000190100860

 

Use the symmaskdb list assignment command to verify that the source devices are no longer masked to the application host.

 

C:\> symmaskdb -sid 860 list assignment -devs 0200,0204,0208,020C

 

Symmetrix ID : 000190100860

 

Device  Identifier        Type   Dir:P

------  ----------------  -----  ----------------

0200    50000972c004cd58  FIBRE  FA-7B:0

        50000972c004cd5c  FIBRE  FA-8B:0

0204    50000972c004cd58  FIBRE  FA-7B:0

        50000972c004cd5c  FIBRE  FA-8B:0

0208    50000972c004cd58  FIBRE  FA-7B:0

        50000972c004cd5c  FIBRE  FA-8B:0

020C    50000972c004cd58  FIBRE  FA-7B:0

        50000972c004cd5c  FIBRE  FA-8B:0

 

In this example, the only source-device masking remaining is the storage-to-storage masking, which facilitates the FLM migration.

 

Use the symmask remove devs command to remove FLM target visibility for the source devices.

 

C:\> symmask -sid 860 -dir 7b -p 0 -wwn 50000972c004cd58 remove devs 0200,0204,0208,020C

 

C:\> symmask -sid 860 -dir 8b -p 0 -wwn 50000972c004cd5c remove devs 0200,0204,0208,020C

 

C:\> symmask -sid 860 refresh

 

Symmetrix FA/SE directors updated with contents of SymMask Database 000190100860

 

Use the symmaskdb list assignment command to verify that the source devices are no longer masked.

 

C:\> symmaskdb -sid 860 list assignment -devs 0200,0204,0208,020C

 

No device masking database records could be found for the specified input parameters

 

 

23.  

Perform a rescan to remove the source paths from the DMP configuration

From the application host:

 

Run vxassist rescan to remove the source paths from DMP.

 

C:\> vxassist rescan

Successfully rescanned

 

Modify the load-balance policy:

 

C:\> vxdmpadm setattr array loadbalancepolicy=RR harddisk6

Successfully set the load balance policy of 'EMC SYMMETRIX 19010860' array to Round Robin (Active/Active).

 

Verify that all required policies are set.

 

C:\> vxdmpadm dsminfo

   Disk       DSM Name    Array Name    Load Balance Policy

=========================================================================

Harddisk0    (internal disk)

Harddisk1    (internal disk)

Harddisk6    VEMCSYMM    EMC SYMMETRIX 19010860    Round Robin (Active/Active)

Harddisk7    VEMCSYMM    EMC SYMMETRIX 19010860    Round Robin (Active/Active)

Harddisk8    VEMCSYMM    EMC SYMMETRIX 19010860    Round Robin (Active/Active)

Harddisk9    VEMCSYMM    EMC SYMMETRIX 19010860    Round Robin (Active/Active)

 

 

24.  

Verify the external device identity of the VMAX target device paths

From the application host:

 

Use vxdmpadm pathinfo to verify that the source paths are removed and only the target paths are available.

 

Compare this output to the earlier output to ensure that it is in the expected state. All paths should report a Healthy state.

 

C:\> vxdmpadm pathinfo harddisk6

=========================================================================

Device information

    Name        :   Harddisk6

    Media Name  :

    No. of Paths:   2

    LoadBalancePolicy       :   Round Robin (Active/Active)

Path information ...

Path 4-0-2:

    State       :   Healthy

    Primary     :   NO

    SCSI-3 Persistent Reservation: NO

    SCSI-3 Reserved: NO

    Port        :   4

    Channel     :   0

    Target      :   2

    LUN         :   1

    Active IO group : YES

Path 4-0-3:

    State       :   Healthy

    Primary     :   NO

    SCSI-3 Persistent Reservation: NO

    SCSI-3 Reserved: NO

    Port        :   4

    Channel     :   0

    Target      :   3

    LUN         :   1

    Active IO group : YES

 

C:> vxdmpadm pathinfo harddisk7

. . .

 

C:> vxdmpadm pathinfo harddisk8

. . .

 

C:> vxdmpadm pathinfo harddisk9

. . .

 

 

25.  

Configure the DMP tunable parameters to the FLM required values

From the application host:

 

Restore the modified DMP policies to their pre-migration values. This example returns the policies to their default value.

 

DMP policy

Default value

FLM required value

Load-balance policy

Round robin

Round robin

 

To check the load-balance policy:

 

C:\> vxdmpadm dsminfo

   Disk       DSM Name    Array Name    Load Balance Policy

=========================================================================

Harddisk0    (internal disk)

Harddisk1    (internal disk)

Harddisk6    VEMCSYMM    EMC SYMMETRIX 19010860    Round Robin (Active/Active)

Harddisk7    VEMCSYMM    EMC SYMMETRIX 19010860    Round Robin (Active/Active)

Harddisk8    VEMCSYMM    EMC SYMMETRIX 19010860    Round Robin (Active/Active)

Harddisk9    VEMCSYMM    EMC SYMMETRIX 19010860    Round Robin (Active/Active)

 

If necessary, modify the load-balance policy:

 

C:\> vxdmpadm setattr array loadbalancepolicy=lq harddisk6

Successfully set the load balance policy of 'EMC SYMMETRIX 19010860' array to Dynamic Least Queue Depth.

 

Verify that all required policies are set.

 

C:\> vxdmpadm dsminfo

   Disk       DSM Name    Array Name    Load Balance Policy

=========================================================================

Harddisk0    (internal disk)

Harddisk1    (internal disk)

Harddisk6    VEMCSYMM    EMC SYMMETRIX 19010860    Dynamic Least Queue Depth

Harddisk7    VEMCSYMM    EMC SYMMETRIX 19010860    Dynamic Least Queue Depth

Harddisk8    VEMCSYMM    EMC SYMMETRIX 19010860    Dynamic Least Queue Depth

Harddisk9    VEMCSYMM    EMC SYMMETRIX 19010860    Dynamic Least Queue Depth

 

 

 

 

7Table of Contents

·       Performing Failback During Federated Live Migration

 

 

Overview

Perform the following steps to fail back during Federated Live Migration (FLM) on a stand-alone Windows application host with Veritas Storage Foundations for Windows.

 

! 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

 

 

26.  

Verify that the FLM session is in a state permitting failback

From the Solutions Enabler control host:

 

Use the symrcopy query command to verify that the status of the FLM pairs is either CopyInProg or Copied.

 

C:\> symrcopy -f win_dmp query

 

Device File Name      : win_dmp

 

       Control Device                  Remote Device      Flags      Status     Done

---------------------------- --------------------------- ------- -------------- ----

                   Protected

SID:symdev         Tracks    Identification           RI CDSHUTZ  CTL <=> REM    (%)

------------------ --------- ------------------------ -- ------- -------------- ----

000194900307:0160      70402 000190100860:0200        SD X..XXM. CopyInProg       48

000194900307:0161      19858 000190100860:0204        SD X..XXM. CopyInProg       85

000194900307:0162      56519 000190100860:0208        SD X..XXM. CopyInProg       59

000194900307:0163      71242 000190100860:020C        SD X..XXM. CopyInProg       48

 

Total              ---------

  Track(s)            218021

  MB(s)              13626.3

Legend:

R:  (Remote Device Vendor Identification)

  S = Symmetrix, C = Clariion, . = Unknown.

 

I:  (Remote Device Specification Identifier)

  D = Device Name, W = LUN WWN, World Wide Name.

 

Flags:

(C): X = The background copy setting is active for this pair.

     . = The background copy setting is not active for this pair.

(D): X = The session is a differential copy session.

     . = The session is not a differential copy session.

(S): X = The session is pushing data to the remote device(s).

     . = The session is pulling data from the remote device(s).

(H): X = The session is a hot copy session.

     . = The session is a cold copy session.

(U): X = The session has donor update enabled.

     . = The session does not have donor update enabled.

(T): M = The session is a migration session.

     R = The session is a RecoverPoint session.

     S = The session is a standard ORS session.

(Z): X = The session has front-end zero detection enabled.

     . = The session does not have front-end zero detection enabled.

(*): The failed session can be reactivated.

 

 

27.  

Fail back the FLM session, and verify the failback

From the Solutions Enabler control host:

 

Use the symrcopy failback -migrate command to fail back the FLM session for the devices specified by the FLM pair file.

 

C:\> symrcopy -f win_dmp failback -migrate

 

'Failback' operation execution is in progress for the device list

in device file 'win_dmp'. Please wait...

 

'Failback' operation successfully executed for the device list

in device file 'win_dmp'.

 

Use the symrcopy query command to verify that the status of the FLM pairs is Failedback.

 

C:\> symrcopy -f win_dmp query

 

Device File Name      : win_dmp

 

       Control Device                  Remote Device      Flags      Status     Done

---------------------------- --------------------------- ------- -------------- ----

                   Protected

SID:symdev         Tracks    Identification           RI CDSHUTZ  CTL <=> REM    (%)

------------------ --------- ------------------------ -- ------- -------------- ----

000194900307:0160      60225 000190100860:0200        SD X..XXM. Failedback      N/A

000194900307:0161        719 000190100860:0204        SD X..XXM. Failedback      N/A

000194900307:0162      43706 000190100860:0208        SD X..XXM. Failedback      N/A

000194900307:0163      60424 000190100860:020C        SD X..XXM. Failedback      N/A

 

Total              ---------

  Track(s)            165074

  MB(s)              10317.1

. . .

 

28.  

Verify the failback on the application host

From the application host:

 

Use the vxdmpadm pathinfo command to verify that no change occurred in the available paths after the failback.

 

C:\> vxdmpadm pathinfo harddisk6

=========================================================================

Device information

    Name        :   Harddisk6

    Media Name  :

    No. of Paths:   4

    LoadBalancePolicy       :   Round Robin (Active/Active)

Path information ...

Path 4-0-7:

    State       :   Healthy

    Primary     :   NO

    SCSI-3 Persistent Reservation: NO

    SCSI-3 Reserved: NO

    Port        :   4

    Channel     :   0

    Target      :   7

    LUN         :   1

    Active IO group : YES

Path 4-0-5:

    State       :   Healthy

    Primary     :   NO

    SCSI-3 Persistent Reservation: NO

    SCSI-3 Reserved: NO

    Port        :   4

    Channel     :   0

    Target      :   5

    LUN         :   1

    Active IO group : YES

Path 4-0-2:

    State       :   Healthy

    Primary     :   NO

    SCSI-3 Persistent Reservation: NO

    SCSI-3 Reserved: NO

    Port        :   4

    Channel     :   0

    Target      :   2

    LUN         :   1

    Active IO group : YES

Path 4-0-3:

    State       :   Healthy

    Primary     :   NO

    SCSI-3 Persistent Reservation: NO

    SCSI-3 Reserved: NO

    Port        :   4

    Channel     :   0

    Target      :   3

    LUN         :   1

    Active IO group : YES

 

C:> vxdmpadm pathinfo harddisk7

. . .

 

C:> vxdmpadm pathinfo harddisk8

. . .

 

C:> vxdmpadm pathinfo harddisk9

. . .

 

 

29.  

Terminate the FLM session

From the Solutions Enabler control host:

 

Use the symrcopy terminate -migrate command to terminate the FLM migration for the devices specified by the FLM pair file.

 

C:\FLM\dmp73>symrcopy -f win_dmp terminate -migrate

 

'Terminate' operation execution is in progress for the device list

in device file 'win_dmp'. Please wait...

 

'Terminate' operation successfully executed for the device list

in device file 'win_dmp'.

 

Terminating the FLM sessions in a Failedback state performs the following:

·     ORS hot pull, donor update session is terminated.

·     FLM source devices remain in an active host access mode.

·     FLM target devices remain in a passive host access mode.

 

 

30.  

Remove masking and mapping for the VMAX target devices

 

IMPORTANT: The array policy must be changed to Fail Over Only, and a source path must be specified as the primary path before the target paths can be removed.

 

Set the array policy to Fail Over Only (Active/Passive), and specify a source path as the primary path.

 

C:\>vxdmpadm -g flmgroup setattr array loadbalancepolicy=FO primarypath=4-0-1 harddisk6

 

Successfully set the load balance policy of 'EMC SYMMETRIX 19010860' array to Fail Over Only (Active/Passive).

Successfully set Path 4-0-1 as the primary path of 'EMC SYMMETRIX 19010860' array.

 

Use the vxdmpadm dsminfo command to verify that the array policy is now set to Fail Over Only (Active/Passive).

 

C:\> vxdmpadm dsminfo

   Disk       DSM Name    Array Name    Load Balance Policy

=========================================================================

Harddisk0    (internal disk)

Harddisk1    (internal disk)

Harddisk6    VEMCSYMM    EMC SYMMETRIX 19010860    Fail Over Only (Active/Passive)

Harddisk7    VEMCSYMM    EMC SYMMETRIX 19010860    Fail Over Only (Active/Passive)

Harddisk8    VEMCSYMM    EMC SYMMETRIX 19010860    Fail Over Only (Active/Passive)

Harddisk9    VEMCSYMM    EMC SYMMETRIX 19010860    Fail Over Only (Active/Passive)

 

From the Solutions Enabler control host:

 

Use the symaccess command to delete or modify a masking view to remove application- host visibility for the VMAX target devices. Use the -unmap flag when deleting or modifying the masking view to unmap the devices as part of the Auto-provisioning change. FLM target devices must be unmapped to remove the external identity and geometry.

 

C:\> symaccess -sid 307 delete view -name win_dmp_mv -unmap

 

Use the symaccess list command to verify that the target devices have been removed from all masking views. The view count should be zero (0) for each FLM target device.

 

C:\> symaccess -sid 307 list -type storage -devs 0160:0163

 

Symmetrix ID          : 000194900307

 

Symm                                    Dev    View

Dev   Storage Group Name                Count  Count

----  --------------------------------  -----  -----

0160  win_dmp_sg                            4      0

0161  win_dmp_sg                            4      0

0162  win_dmp_sg                            4      0

0163  win_dmp_sg                            4      0

 

Use the symdev list –noport command to verify that the target devices are not mapped. Use –range to filter a specific range of devices.

 

C:\> symdev -sid 307 list -noport -range 0160:0163

 

Symmetrix ID: 000194900307

 

        Device Name           Directors                  Device

--------------------------- ------------- -------------------------------------

                                                                           Cap

Sym  Physical               SA :P DA :IT  Config        Attribute    Sts   (MB)

--------------------------- ------------- -------------------------------------

 

0160 Not Visible            ???:? 07B:D2  2-Way Mir     N/Grp'd      RW    8631

0161 Not Visible            ???:? 07A:C2  2-Way Mir     N/Grp'd      RW    8631

0162 Not Visible            ???:? 08D:C0  2-Way Mir     N/Grp'd      RW    8631

0163 Not Visible            ???:? 07C:C0  2-Way Mir     N/Grp'd      RW    8631

. . .

 

 

31.  

Perform a rescan to remove the target paths from the DMP configuration

From the application host:

 

Run vxassist rescan to remove the target paths from DMP.

 

C:\> vxassist rescan

Successfully rescanned

 

Modify the load-balance policy:

 

C:\> vxdmpadm setattr array loadbalancepolicy=RR harddisk6

Successfully set the load balance policy of 'EMC SYMMETRIX 19010860' array to Round Robin (Active/Active).

 

Verify that all required policies are set.

 

C:\> vxdmpadm dsminfo

   Disk       DSM Name    Array Name    Load Balance Policy

=========================================================================

Harddisk0    (internal disk)

Harddisk1    (internal disk)

Harddisk6    VEMCSYMM    EMC SYMMETRIX 19010860    Round Robin (Active/Active)

Harddisk7    VEMCSYMM    EMC SYMMETRIX 19010860    Round Robin (Active/Active)

Harddisk8    VEMCSYMM    EMC SYMMETRIX 19010860    Round Robin (Active/Active)

Harddisk9    VEMCSYMM    EMC SYMMETRIX 19010860    Round Robin (Active/Active)

 

 

32.  

Verify that the target device paths are removed from the DMP configuration

From the application host:

 

Use vxdmpadm pathinfo to verify that the target paths are removed and only the source paths are available.

 

Compare this output to the earlier output to ensure that it is in the expected state. All paths should report a Healthy state.

 

C:> vxdmpadm pathinfo harddisk6

=========================================================================

Device information

    Name        :   Harddisk6

    Media Name  :

    No. of Paths:   2

    LoadBalancePolicy       :   Round Robin (Active/Active)

Path information ...

Path 4-0-7:

    State       :   Healthy

    Primary     :   NO

    SCSI-3 Persistent Reservation: NO

    SCSI-3 Reserved: NO

    Port        :   4

    Channel     :   0

    Target      :   7

    LUN         :   1

    Active IO group : YES

Path 4-0-5:

    State       :   Healthy

    Primary     :   NO

    SCSI-3 Persistent Reservation: NO

    SCSI-3 Reserved: NO

    Port        :   4

    Channel     :   0

    Target      :   5

    LUN         :   1

    Active IO group : YES

 

C:> vxdmpadm pathinfo harddisk7

. . .

 

C:> vxdmpadm pathinfo harddisk8

. . .

 

C:> vxdmpadm pathinfo harddisk9

. . .

 

 

33.  

Remove the external identity

From the Solutions Enabler control host:

 

Use the symconfigure command to remove the device’s external identity. The external 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.

 

C:\> symconfigure -sid 307 -cmd "set dev 0160:0163 identity = no identity;" commit

 

A Configuration Change operation is in progress. Please wait...

 

    Establishing a configuration change session...............Established.

    Processing symmetrix 000194900307

    Performing Access checks..................................Allowed.

    Checking Device Reservations..............................Allowed.

    Locking devices...........................................Locked.

    Committing configuration changes..........................Started.

    Committing configuration changes..........................Committed.

    Terminating the configuration change session..............Done.

 

The configuration change session has successfully completed.

 

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.

 

C:\> symdev -sid 307 list -identity -range 0160:0163

 

Symmetrix ID: 000194900307

 

              Device               FLG            External Identity

---------------------------------- --- ----------------------------------------

Sym  Physical    Config        Sts IG  Array ID       Num   Ser Num    Cap (MB)

---------------------------------- --- ----------------------------------------

 

0160 Not Visible 2-Way Mir     RW  .X  000194900307   00160 0700160000     8625

0161 Not Visible 2-Way Mir     RW  .X  000194900307   00161 0700161000     8625

0162 Not Visible 2-Way Mir     RW  .X  000194900307   00162 0700162000     8625

0163 Not Visible 2-Way Mir     RW  .X  000194900307   00163 0700163000     8625

 

Legend:

  Flags:

   (I)dentity : X = The device has a non-native external identity set

                . = The device does not have an external identity set

   (G)eometry : X = The device has a user defined geometry

                . = The device does not have a user defined geometry

 

 

34.  

Remove the  external geometry (if applicable)

Skip this step if external geometry is not set on the FLM target device.

 

From the Solutions Enabler control host:

 

Use the symconfigure command to remove the external geometry. The device having its external geometry removed must be unmapped, or the configuration change is rejected.

 

C:\> symconfigure -sid 307 -cmd "set dev 0160:0163 geometry = no geometry;" commit

 

A Configuration Change operation is in progress. Please wait...

 

    Establishing a configuration change session...............Established.

    Processing symmetrix 000194900307

    Performing Access checks..................................Allowed.

    Checking Device Reservations..............................Allowed.

    Locking devices...........................................Locked.

    Committing configuration changes..........................Started.

    Committing configuration changes..........................Committed.

    Terminating the configuration change session..............Done.

 

The configuration change session has successfully completed.

 

Use the symdev listidentity 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.

 

C:\> symdev -sid 307 list -identity -range 0160:0163

 

Symmetrix ID: 000194900307

 

              Device               FLG            External Identity

---------------------------------- --- ----------------------------------------

Sym  Physical    Config        Sts IG  Array ID       Num   Ser Num    Cap (MB)

---------------------------------- --- ----------------------------------------

 

0160 Not Visible 2-Way Mir     RW  ..  000194900307   00160 0700160000     8631

0161 Not Visible 2-Way Mir     RW  ..  000194900307   00161 0700161000     8631

0162 Not Visible 2-Way Mir     RW  ..  000194900307   00162 0700162000     8631

0163 Not Visible 2-Way Mir     RW  ..  000194900307   00163 0700163000     8631

 

Legend:

  Flags:

   (I)dentity : X = The device has a non-native external identity set

                . = The device does not have an external identity set

   (G)eometry : X = The device has a user defined geometry

                . = The device does not have a user defined geometry

 

 

35.  

Reset the FLM target devices host access mode to active

From the Solutions Enabler control host:

 

After the failback, the FLM target devices are left in a passive host access mode. Use the symdev host_active command to change the host access mode from passive to active. Use –range to specify a range of devices.

 

C:\> symdev -sid 307 host_active -range 0160:0163

 

'Host Active' operation succeeded for devices in RANGE 160:163.

 

 

 

7Table of Contents

·       Removing External Identity and Geometry following Federated Live Migration

 

 

Overview

Perform the following steps to remove the external identity and geometry following a Federated Live Migration (FLM) on a stand-alone Windows application host with Veritas Storage Foundations for Windows.

 

! 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

 

 

36.  

Shut down all host applications on the application server with a dependency on the VMAX FLM target devices presenting DMX source device external identity

 

All I/O to the VMAX FLM target devices must be halted because the devices will be removed to facilitate the removal of the DMX source device external identity.

 

 

37.  

Remove masking and mapping for the VMAX target devices

From the Solutions Enabler control host:

 

Use the symaccess command to delete or modify a masking view to remove application-host visibility for the VMAX target devices. Use the -unmap flag when deleting or modifying the masking view to unmap the devices as part of the Auto-provisioning change. FLM target devices must be unmapped to remove the external identity and geometry.

 

C:\> symaccess -sid 307 delete view -name win_dmp_mv -unmap

 

Use the symaccess list command to verify that the target devices have been removed from all masking views. The view count should be zero (0) for each FLM target device.

 

C:\> symaccess -sid 307 list -type storage -devs 0160:0163

 

Symmetrix ID          : 000194900307

 

Symm                                    Dev    View

Dev   Storage Group Name                Count  Count

----  --------------------------------  -----  -----

0160  win_dmp_sg                            4      0

0161  win_dmp_sg                            4      0

0162  win_dmp_sg                            4      0

0163  win_dmp_sg                            4      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.

 

C:\> symdev -sid 307 list -noport -range 0160:0163

 

Symmetrix ID: 000194900307

 

        Device Name           Directors                  Device

--------------------------- ------------- -------------------------------------

                                                                           Cap

Sym  Physical               SA :P DA :IT  Config        Attribute    Sts   (MB)

--------------------------- ------------- -------------------------------------

 

0160 Not Visible            ???:? 07B:D2  2-Way Mir     N/Grp'd      RW    8631

0161 Not Visible            ???:? 07A:C2  2-Way Mir     N/Grp'd      RW    8631

0162 Not Visible            ???:? 08D:C0  2-Way Mir     N/Grp'd      RW    8631

0163 Not Visible            ???:? 07C:C0  2-Way Mir     N/Grp'd      RW    8631

. . .

 

 

38.  

Perform a rescan to remove the target paths from the DMP configuration

From the application host:

 

Run vxassist rescan to remove the target paths from DMP.

 

C:\> vxassist rescan

Successfully rescanned

 

 

39.  

Remove the external identity

From the Solutions Enabler control host:

 

Use the symconfigure command to remove the device’s external identity. The external 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 will be rejected.

 

C:\> symconfigure -sid 307 -cmd "set dev 0160:0163 identity = no identity;" commit

 

A Configuration Change operation is in progress. Please wait...

 

    Establishing a configuration change session...............Established.

    Processing symmetrix 000194900307

    Performing Access checks..................................Allowed.

    Checking Device Reservations..............................Allowed.

    Locking devices...........................................Locked.

    Committing configuration changes..........................Started.

    Committing configuration changes..........................Committed.

    Terminating the configuration change session..............Done.

 

The configuration change session has successfully completed.

 

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.

 

C:\> symdev -sid 307 list -identity -range 0160:0163

 

Symmetrix ID: 000194900307

 

              Device               FLG            External Identity

---------------------------------- --- ----------------------------------------

Sym  Physical    Config        Sts IG  Array ID       Num   Ser Num    Cap (MB)

---------------------------------- --- ----------------------------------------

 

0160 Not Visible 2-Way Mir     RW  .X  000194900307   00160 0700160000     8625

0161 Not Visible 2-Way Mir     RW  .X  000194900307   00161 0700161000     8625

0162 Not Visible 2-Way Mir     RW  .X  000194900307   00162 0700162000     8625

0163 Not Visible 2-Way Mir     RW  .X  000194900307   00163 0700163000     8625

 

Legend:

  Flags:

   (I)dentity : X = The device has a non-native external identity set

                . = The device does not have an external identity set

   (G)eometry : X = The device has a user defined geometry

                . = The device does not have a user defined geometry

 

 

40.  

Remove the  external geometry (if applicable)

Skip this step if external geometry is not set on the FLM target device.

 

From the Solutions Enabler control host:

 

Use the symconfigure command to remove the external geometry. The device having its external geometry removed must be unmapped, or the configuration change will be rejected.

 

C:\> symconfigure -sid 307 -cmd "set dev 0160:0163 geometry = no geometry;" commit

 

A Configuration Change operation is in progress. Please wait...

 

    Establishing a configuration change session...............Established.

    Processing symmetrix 000194900307

    Performing Access checks..................................Allowed.

    Checking Device Reservations..............................Allowed.

    Locking devices...........................................Locked.

    Committing configuration changes..........................Started.

    Committing configuration changes..........................Committed.

    Terminating the configuration change session..............Done.

 

The configuration change session has successfully completed.

 

Use the symdev listidentity 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.

 

C:\> symdev -sid 307 list -identity -range 0160:0163

 

Symmetrix ID: 000194900307

 

              Device               FLG            External Identity

---------------------------------- --- ----------------------------------------

Sym  Physical    Config        Sts IG  Array ID       Num   Ser Num    Cap (MB)

---------------------------------- --- ----------------------------------------

 

0160 Not Visible 2-Way Mir     RW  ..  000194900307   00160 0700160000     8631

0161 Not Visible 2-Way Mir     RW  ..  000194900307   00161 0700161000     8631

0162 Not Visible 2-Way Mir     RW  ..  000194900307   00162 0700162000     8631

0163 Not Visible 2-Way Mir     RW  ..  000194900307   00163 0700163000     8631

 

Legend:

  Flags:

   (I)dentity : X = The device has a non-native external identity set

                . = The device does not have an external identity set

   (G)eometry : X = The device has a user defined geometry

                . = The device does not have a user defined geometry

 

 

41.  

Mask the VMAX target devices to the application host

From the Solutions Enabler control host:

 

Use the symaccess command to create or modify a masking view to add application-host visibility for the VMAX target devices.

 

C:\> symaccess -sid 275 create view -name win_dmp_mv \

>                                   -ig win_dmp_ig   \

>                                   -pg win_dmp_pg   \

>                                   -sg win_dmp_sg

 

Use the symaccess show view command to verify that the target devices are properly configured in the Auto-provisioning Group.

 

C:\> symaccess -sid 307 show view win_dmp_mv

 

Symmetrix ID          : 000194900307

 

Masking View Name     : win_dmp_mv

Last updated at       : 11:00:55 AM on Wed Apr 13,2011

 

Initiator Group Name  : win_dmp_ig

 

   Host Initiators

     {

       WWN  : 10000000c953f9f3 [alias: laqa2092/sana]

     }

 

Port Group Name       : win_dmp_pg

 

   Director Identification

     {

       FA-7F:0

       FA-8F:0

     }

 

Storage Group Name    : win_dmp_sg

 

Sym Dev                                 Host

Name    Dir:P  Physical Device Name      Lun  Attr  Cap(MB)

------  -----  -----------------------  ----  ----  -------