This documents attempts to explain how one can start an EMC MirrorView SnapView session and create snapshot devices using EMC CLARiiON MirrorView luns.
Sample Configuration
In this instance the EMC MirrorView devices consist of EMC CLARiiON AVID (Array Volume Identifier) luns 600,601 and 602.
EMC MirrorView SnapView snapshot will be created for the EMC MirrorView Secondary luns 600,601 and 602.
Figure 1.0
Note: No EMC MirrorView SnapView devices have been created at this time.
The EMC "naviseccli" utility will allow the user to list open sessions for a given EMC CLARiiON array.
In this instance, the IP address for the EMC CLARiiON array is "10.209.64.29"
Prior to starting an EMC MirrorView SnapView session, ensure related sessions have been closed.
Example
# /opt/Navisphere/bin/naviseccli -h 10.209.64.29 snapview -listsessions
Note: As no details are reported, there are no active sessions open.
To start a session named "VCS_fd_session" using EMC CLARiiON luns 600,601 and 602
# /opt/Navisphere/bin/naviseccli -h 10.209.64.29 snapview -startsession VCS_fd_session -lun 600 602 601 -persistence -consistent
You must activate a snapshot on this session before you can access it.
Note: As a session now exists, details are now reported
# /opt/Navisphere/bin/naviseccli -h 10.209.64.29 snapview -listsessions
Name of the session: VCS_fd_session
Number of read requests serviced by the snapview cache pool: 0
Total number of read requests on the snapview logical unit: 0
Number of reads from the TLU: 0
Number of writes requests in the session: 0
Number of writes requests to cache that triggered a COW: 0
Total number of writes requests on the snapview target logical unit: 0
Number of writes requests larger than the chunk size: 0
Cache Capacity in GB: 87.797058
Session Usage: 0
List of Target Logical Units: LUN 600, LUN 602, LUN 601
snap Logical Units UID:
snap Logical Units Name:
Session in persistence: YES
Session creation time: 10/05/10 19:56:23
Session state: Normal
Note: EMC CLARiiON luns are associated with EMC CLARiiON StorageGroup "vcssx065_066"
How to list the 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
How to create a snapshot of EMC CLARiiON LUN "600"
Note: The snapshot name for EMC CLARiiON lun "ALU 600" will be "lun600_fd_snapshot"
# /opt/Navisphere/bin/naviseccli -h 10.209.64.29 snapview -createsnapshot 600 -snapshotname lun600_fd_snapshot
In this instance, the EMC snapview session name is "VCS_fd_session"
# /opt/Navisphere/bin/naviseccli -h 10.209.64.29 snapview -activatesnapshot VCS_fd_session -snapshotname lun600_fd_snapshot
The EMC MirrorView SnapView snapshot is associated with EMC CLARiiON StorageGroup name "vcssx065_066"
# /opt/Navisphere/bin/naviseccli -h 10.209.64.29 storagegroup -addsnapshot -gname vcssx065_066 -snapshotname lun600_fd_snapshot
Revised EMC CLARiiON StorageGroup "vcssx065_66" details
# /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
Shareable: YES
How to create a snapshot of EMC CLARiiON LUNs 601 and 602
Sample commands for LUN "601"
# /opt/Navisphere/bin/naviseccli -h 10.209.64.29 snapview -createsnapshot 601 -snapshotname lun601_fd_snapshot
# /opt/Navisphere/bin/naviseccli -h 10.209.64.29 snapview -activatesnapshot VCS_fd_session -snapshotname lun601_fd_snapshot
# /opt/Navisphere/bin/naviseccli -h 10.209.64.29 storagegroup -addsnapshot -gname vcssx065_066 -snapshotname lun601_fd_snapshot
Sample commands for LUN "602"
# /opt/Navisphere/bin/naviseccli -h 10.209.64.29 snapview -createsnapshot 602 -snapshotname lun602_fd_snapshot
# /opt/Navisphere/bin/naviseccli -h 10.209.64.29 snapview -activatesnapshot VCS_fd_session -snapshotname lun602_fd_snapshot
# /opt/Navisphere/bin/naviseccli -h 10.209.64.29 storagegroup -addsnapshot -gname vcssx065_066 -snapshotname lun602_fd_snapshot
Figure 2.0
Revised EMC CLARiiON StorageGroup "vcssx065_66" details
# /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
Revised EMC MirrorView SnapView session content
# /opt/Navisphere/bin/naviseccli -h 10.209.64.29 snapview -listsessions
Name of the session: VCS_fd_session
Number of read requests serviced by the snapview cache pool: 0
Total number of read requests on the snapview logical unit: 0
Number of reads from the TLU: 0
Number of writes requests in the session: 0
Number of writes requests to cache that triggered a COW: 0
Total number of writes requests on the snapview target logical unit: 0
Number of writes requests larger than the chunk size: 0
Cache Capacity in GB: 87.879211
Session Usage: 0
List of Target Logical Units: LUN 600, LUN 602, LUN 601
snap Logical Units UID: 60:06:01:60:3A:31:1F:00:36:8A:EF:49:4E:D1:DF:11, 60:06:01:60:3A:31:1F:00:7C:EB:C3:03:5A:D1:DF:11, 60:06:01:60:3A:31:1F:00:38:9B:D5:9F:
59:D1:DF:11
snap Logical Units Name: lun600_fd_snapshot, lun602_fd_snapshot, lun601_fd_snapshot
Session in persistence: YES
Session creation time: 10/05/10 19:56:23
Session state: Normal
Note: The EMC CLARiiON SnapView devices can now be discovered by the operating system.