How to deactivate and remove an EMC MirrorView SnapView snapshot from a Solaris server using Veritas DMP

book

Article ID: 100037714

calendar_today

Updated On:

Description

Description

The following EMC CLARiiON devices are presented to a Solaris server using Veritas DMP as the multipathing solution.

 

# vxdisk -o alldgs list
DEVICE       TYPE            DISK         GROUP        STATUS
disk_0       auto:sliced     c2t0d0       rootdg       online
disk_1       auto:sliced     c2t0d0-s0    rootdg2      online
emc_clariion0_600 auto            -            -            error
emc_clariion0_600_1 auto:cdsdisk    emc_clariion0_500  asyncDG1_fd     online    <<<< EMC MirrorView SnapView snapshot "lun600_fd_snapshot"
emc_clariion0_601 auto            -            -            error
emc_clariion0_601_1 auto:cdsdisk    emc_clariion0_501  asyncDG2_fd     online    <<<< EMC MirrorView SnapView snapshot "lun601_fd_snapshot"
emc_clariion0_602 auto            -            -            error
emc_clariion0_602_1 auto:cdsdisk    emc_clariion0_502  asyncDG3_fd     online    <<<< EMC MirrorView SnapView snapshot "lun602_fd_snapshot"
emc_clariion0_603 auto            -            -            error
emc_clariion0_604 auto            -            -            error
emc_clariion0_605 auto            -            -            error

 

In this instance, the above EMC MirrorView SnapView snapshot devices are associated with the EMC CLARiiON StorageGroup "vcssx065_066".

 

How to view the EMC CLARiiON devices associated with StorageGroup "vcssx065_066"

 

Sample output

 

Note: The IP address for the EMC CLARiiON in this instance is "10.209.64.29"

 

# /opt/Navisphere/bin/naviseccli -h 10.209.64.29 storagegroup -list -gname vcssx065_066 -host

Storage Group Name:    vcssx065_066
Storage Group UID:     24:1D:66:4B:F2:12:DE:11:91:E0:00:60:16:1E:66:AC
HBA/SP Pairs:

  HBA UID                                          SP Name     SPPort
  -------                                          -------     ------
  20:00:00:E0:8B:14:0C:04:21:00:00:E0:8B:14:0C:04   SP A         4
Host name:             vcssx066
  20:00:00:E0:8B:14:0C:04:21:00:00:E0:8B:14:0C:04   SP B         4
Host name:             vcssx066

HLU/ALU Pairs:

  HLU Number     ALU Number
  ----------     ----------
    0               600
    1               601
    2               602
    3               604
    5               605
    4               603

HLU/SLU Pairs:

 HLU No.  SNAP SHOT UID                                     SNAP SHOT NAME
 ------  -----------------------------------------------    --------------
 6       60:06:01:60:3A:31:1F:00:36:8A:EF:49:4E:D1:DF:11      lun600_fd_snapshot
 7       60:06:01:60:3A:31:1F:00:38:9B:D5:9F:59:D1:DF:11      lun601_fd_snapshot
 8       60:06:01:60:3A:31:1F:00:7C:EB:C3:03:5A:D1:DF:11      lun602_fd_snapshot

Shareable:             YES

 

 

 

 

Steps to unpresent the EMC MirrorView SnapView (cloned) devices

 

1.]  Ensure all corresponding filesystems are unmounted.

 

2.] Deport the cloned diskgroup images, in this instance "asyncDG1_fd", "asyncDG2_fd" and "asyncDG3_fd"

# vxdg deport asyncDG1 asyncDG2 asyncDG3

 

3.] Confirm using "vxdg list" that all required diskgroup were deported

 

4.] Inform Volume Manager that the corresponding luns are to be removed, by running "vxdisk rm "

In this instance, the disk access names are "emc_clariion0_600_1", "emc_clariion0_601_1" and "emc_clariion0_602_1"

 

# vxdisk rm emc_clariion0_600_1 emc_clariion0_601_1 emc_clariion0_602_1

 

5.] Deactivate and remove the EMC MirrorView SnapView snapshot images using the EMC naviseccli utility.

 

 

How to deactivate and remove the EMC MirrorView SnapView snapshot with the name of "lun600_fd_snapshot"

 

Sample syntax

 

1.] Deactivate snapshot "lun600_fd_snapshot"


# /opt/Navisphere/bin/naviseccli -h 10.209.64.29 snapview -deactivatesnapshot -snapshotname lun600_fd_snapshot -o


2.] Remove snapshot "lun600_fd_snapshot" from EMC CLARiiON Storage group "vcssx065_066"

# /opt/Navisphere/bin/naviseccli -h 10.209.64.29 storagegroup -removesnapshot -gname vcssx065_066 -snapshotname lun600_fd_snapshot -o


3.] Remove the snapshot name "lun600_fd_snapshot"

# /opt/Navisphere/bin/naviseccli -h 10.209.64.29 snapview -rmsnapshot -snapshotname lun600_fd_snapshot -o

 

 

Additional examples

 

How to deactivate and remove the EMC MirrorView SnapView snapshot with the name of "lun601_fd_snapshot"

 

Sample syntax



1.] Deactivate and remove snapshot "lun602_fd_snapshot"


# /opt/Navisphere/bin/naviseccli -h 10.209.64.29 snapview -deactivatesnapshot -snapshotname lun602_fd_snapshot -o

# /opt/Navisphere/bin/naviseccli -h 10.209.64.29 storagegroup -removesnapshot -gname vcssx065_066 -snapshotname lun602_fd_snapshot -o

# /opt/Navisphere/bin/naviseccli -h 10.209.64.29 snapview -rmsnapshot -snapshotname lun602_fd_snapshot -o



2.] Deactivate and remove snapshot "lun601_fd_snapshot"

# /opt/Navisphere/bin/naviseccli -h 10.209.64.29 snapview -deactivatesnapshot -snapshotname lun601_fd_snapshot -o

# /opt/Navisphere/bin/naviseccli -h 10.209.64.29 storagegroup -removesnapshot -gname vcssx065_066 -snapshotname lun601_fd_snapshot -o

# /opt/Navisphere/bin/naviseccli -h 10.209.64.29 snapview -rmsnapshot -snapshotname lun601_fd_snapshot -o

 

Once the EMC MirrorView SnapView snapshot's have been deactivated and removed, the related session needs to be stopped.

 

How to stop EMC MirrorView SnapView session with a name of "VCS_fd_session"

 

Sample syntax



# /opt/Navisphere/bin/naviseccli -h 10.209.64.29 snapview -stopsession VCS_fd_session -o

 

 

Revised view of the EMC CLARiiON devices associated with StorageGroup "vcssx065_066"

 

#  /opt/Navisphere/bin/naviseccli -h 10.209.64.29 storagegroup -list -gname vcssx065_066 -host

Storage Group Name:    vcssx065_066
Storage Group UID:     24:1D:66:4B:F2:12:DE:11:91:E0:00:60:16:1E:66:AC
HBA/SP Pairs:

  HBA UID                                          SP Name     SPPort
  -------                                          -------     ------
  20:00:00:E0:8B:14:0C:04:21:00:00:E0:8B:14:0C:04   SP A         4
Host name:             vcssx066
  20:00:00:E0:8B:14:0C:04:21:00:00:E0:8B:14:0C:04   SP B         4
Host name:             vcssx066

HLU/ALU Pairs:

  HLU Number     ALU Number
  ----------     ----------
    0               600
    1               601
    2               602
    3               604
    5               605
    4               603
Shareable:             YES

 

Note: The EMC MirrorView SnapView snapshot entries have now been removed.

 

Additional steps are required to clean-up the Solaris device tree, along with Volume Manager.

Issue/Introduction

How to deactivate and remove an EMC MirrorView SnapView snapshot from a Solaris server using Veritas DMP