As promised to my reader, here you go.... MirrorView/Asynchronous CLI cheat sheet. Cool

 

 

 

How to create new asynchronous mirror using an available LUN for mirroring?

 

Sample:

The Mirror –async –create command is to create the mirror name database_mirror on LUN 120.

The Mirror will be automatically activites.

 

Naviseccli –h CX0123_SPA mirror –async –create –name database_mirror –lun 120

 

 


 

 

How to destroy a Mirror?

 

Sample:

For SP CX0123_SPA, this command destroys the remote mirror that was created with the name of database_mirror.

 

Naviseccli –h CX0123_SPA mirror –async –destroy database_mirror

 

Do you really want to destroy the mirror

Database_mirror? (y/n) ? y

 

 


 

 

How to fractures an image in a mirror?

 

Sample:

For SP CX0123_SPA of the mirror named of database_mirror, this command will fractures the secondary image with the unique ID shown as below:

 

Naviseccli –h CX0123_SPA mirror –async –fractureimage –name database_mirror –imageuid 50:06:06:10:00:DE:A2:32

 

Do you really want to fracture the image (y/n)? y

 

 


 

 

How to display the general info about the asynchronous mirroring in an array?

 

Sample:

For SP CX0123_SPA, this command will displays potential and current remote mirror information.

 

naviseccli -h CX0123_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: 2 4 5 6 12 13 14

16 21 22 52 53

Remote systems that can be enabled for mirroring:

Array UID: 50:06:01:60:10:30:46:48

Status: Enabled on both SPs Enabled Connection

Type(s): iSCSI Disabled Connection Type(s): Fibre Maximum

number of possible Mirrors:100

 

 

 


 

 

How to list down / display the information for existing asynchronous mirrors?

 

naviseccli -h ss1_spa mirror -async –list

 

 

 


 

 

How to removes a secondary image from a mirror?

 

Sample:

For SP address CX0123_SPA, the owner of the mirror named database_mirror, this command will removes the image with the unique ID shown.

 

naviseccli -h CX0123_SPA mirror -async –removeimage -name database_mirror -imageuid 50:06:06:10:01:EF:A2:63

 


 

 

How to initiate update of the secondary image?

Sample:

Using the SP CX0123_SPA as example, the owner of the mirror named database_mirror, this command starts synchronizing the image with the unique ID shown.

 

naviseccli -h CX0123_SPA  mirror -async –syncimage -name database_mirror -imageuid 50:06:06:10:00:EF:E1:62