Unsolved
This post is more than 5 years old
1 Rookie
•
36 Posts
0
4349
monitoring MirrorView/S session
Hi
is it possible to monitor mirrorview/s sessions in a way that you can see if there are latency of connections from the source to the target?
BR
Ingvar
parrig1
67 Posts
0
June 21st, 2012 10:00
Hi there!
Here is a info portion of the manual. You can find the whole manual in our powerlink.com
Support > Technical Documentation and Advisories > Hardware/Platforms Documentation > VNX Series > Maintenance/Administration
Select: VNX Command Line Interface (CLI) Reference for Block 1.0 A02
Cheers!
mirror -async -info
Displays general information about asynchronous mirroring in a system.
PREREQUISITES
You must have a user account on the system on which you want to execute the command.
DESCRIPTION
This command, when used with naviseccli and no other switches, lists all general
information for asynchronous mirror support. Issuing this command with one or more
options displays the information based on the option issued. See the example for sample
SYNTAX
mirror -async -info [-cancreate]
[-maxmirrors]
[-maxremoteimages]
[-mirroredluns]
[-mirrorableluns]
[-systems [-connectiontype]]
[-all]
OPTIONS
-cancreate
Indicates whether an asynchronous mirror can be created in this system: yes or no.
-maxmirrors
Displays the maximum number of mirrors that can be created in this system.
-maxremoteimages
Specifies the maximum number of secondary images allowed. A maximum of one image
is allowed.
-mirroredluns
Lists the LUN numbers of LUNs that are mirrored in this system. The list includes LUNs
used as both secondary and primary images.
-mirrorableluns
Lists LUNs that can be mirrored in this system but are not mirrored at present.
752 EMC VNX Command Line Interface (CLI) Reference for Block
EMC VNX MirrorView/A CLI
-systems
Lists remote systems that can be used for a secondary image.
-connectiontype
Displays the connection type (fibre or iSCSI) for the enabled mirror. For unexpected
error cases, it displays the value, unknown.
-all
Lists all properties of a session without having to type in any other switch.
EXAMPLE # 1
For SP ss1_spa, this command displays potential and current remote mirror information.
naviseccli -h ss1_spa mirror -async -info
Can a mirror be created on this system:YES
Maximum number of remote images: 1 Logical
Units that are mirrored in Primary Images:128 5
Logical Units that are mirrored in Secondary Images:0
Logical Units that can be mirrored:1 2 3 4 10 11 12 13
14 21 22 58 59
Remote systems that can be enabled for mirroring:
Array UID: 50:06:01:60:90:20:27:47
Status: Enabled on both SPs Enabled Connection
Type(s): iSCSI Disabled Connection Type(s): Fibre Maximum
Number of possible Mirrors: 100
EXAMPLE # 2
The following example shows the output for the mirror -async -info command for the
VNX5300 Block and VNX5500 Block systems.
mirror –async –info –all
mirror -async -list
Displays information about existing asynchronous mirrors.
PREREQUISITES
You must have a user account on the system on which you want to execute the command.
DESCRIPTION
The naviseccli -async mirror command with -list and no other switches lists all
information for all mirrors on the system. Issuing this command with one or more options
displays the information based on the option(s) issued. You can direct the command to any
system; however, only the system holding the primary image of a mirror will always have
the latest information about the mirror. Status obtained from other systems may be stale;
do not use it unless the primary system is unavailable. See the example for sample output.
SYNTAX
mirror -async -list [-name [[name]] [-mirroruid] [uid]
[-description]
[-faulted]
[-images]
[-imagecount]
[-imagesize]
[-lun]
[-ownergroupuid]
[-ownergroupname]
[-requiredimages]
[-state]
[-timestamp]
[-transition]
OPTIONS
-name name
Specifies the name you gave the mirror with the -create function. You can use the
mirror name or unique ID to obtain information on a mirror.
-mirroruid uid
Specifies the unique 16-byte remote mirror ID (World Wide Name) the software assigned
when it created the mirror.
MirrorView/A remote mirroring commands 755
EMC VNX MirrorView/A CLI
-description
Lists the meaningful title for the mirror, if any. The software does not use the description
to identify the mirror.
-faulted
Lists whether the remote mirror is faulted: yes or no. If it is faulted, the mirror is either
fractured or in the attention state.
-images
Displays image information, such as the role of the image (primary or secondary), image
ID, WWN of the LUN containing the image, recovery policy, sync rate, image state,
image condition, and image transitioning. It also displays the update type (Manual,
Time elapsed since the start of last update, and Time elapsed since the end of the last
update), the update period in minutes (displays N/A where not applicable), the time in
minutes since the last update, the time in minutes until the next update, the last image
error (why the image is faulted; displays the Not Available if no error).
-imagecount
Lists the current number of images that compose the mirror. This count includes the
primary image.
-imagesize
Lists the size of the image (capacity of the LUN containing the image) in user blocks.
-lun
Lists the LUN number of the local image.
-ownergroupuid
Lists the unique ID value of the consistency group of which the mirror is a member.
-ownergroupname
Lists the unique name of the consistency group of which the mirror is a member.
-requiredimages
Lists the minimum number of secondary images required for the mirror.
-state
Describes the operational state of the mirror. Values are: active and attention.
-timestamp
Returns the clock time when the last update started.
756 EMC VNX Command Line Interface (CLI) Reference for Block
EMC VNX MirrorView/A CLI
-transition
Specifies whether the mirror is in a changing state.
EXAMPLE
naviseccli -h ss1_spa mirror -async -list
MirrorView Name: pbc async ml 80
MirrorView Description:
MirrorView UID:
54:33:20:90:60:01:06:50:03:00:00:00:00:00:00:00
Logical Unit Numbers: 80
Remote Mirror Status: Mirrored
MirrorView State: Active
MirrorView Faulted: NO
MirrorView Transitioning: NO
Minimum number of images required: 0
Image Size: 409600
Image Count: 2
Images:
Image UID: 50:06:01:60:90:20:33:54
Is Image Primary: YES
Logical Unit UID:
60:06:01:60:2F:E7:0C:00:3C:5B:04:A2:50:4C:D8:11
Image Condition: Unknown Image Condition
Image UID: 50:06:01:60:90:20:29:85
Is Image Primary: NO
Logical Unit UID: 60:06:01:60:3F:E1:0D:00:A4:C9:01:63:B6:4C:D8:11
Image State: Synchronized
Image Condition: Normal
Recovery Policy: Automatic
Synchronization Rate: Medium
Image Faulted: NO
Image Transitioning: NO
Synchronizing Progress(%): 0
Update Type: Manual
Time in secs since previous update: 12550
Time in secs until next update: Not Available
OUTPUT
If the version of FLARE software running on the SP does not support this command, a
Command is not supported error message is printed to stdout. You may also receive
other error messages.
MirrorView
ingvar oskarsson
1 Rookie
1 Rookie
•
36 Posts
0
June 21st, 2012 15:00
thanks for the answer, i am doing synchronous mirroring and this seems to be about asynchronous mirroring, does the same commands work for checking synchronous mirroring?
BR
Ingvar