Start a Conversation

Unsolved

This post is more than 5 years old

3815

August 4th, 2011 09:00

Open Replicator - How to find WWN LUN ID

I'm using Open Replicator to migrate off of HDS AMS1000 arrays to VMAX.  While I can use SMC (aka the GUI) to set up the sessions, I'm much more comfortable in the CLI.  Also, using the CLI allows me to pre-script the changes and ensure I have everything correct before I execute.  Where I'm stumbling is in the pairs file contents.  I know the syntax is

symdev= :    wwn=

Where I need some help is on the wwn side of things.  I'm not sure how to find the WWN of the LUN.  I can't find it on the AMS anywhere, and I'm not sure what command to use on the Symmetrix to see the available LUNs to create the session with.  I know they exist on the Symm because I can see them in the GUI, but when I try to use the device ID that is shown in the GUI it fails out.  Any help here to determine the WWN LUN ID of the remote array for a hot pull would be appreciated.

FYI, I've already read the tech books and SYMCLI guide.  It was not clear from those, so please don't post to read the manual.

1 Rookie

 • 

20.4K Posts

August 4th, 2011 10:00

typically you would use "symdev list -sid -noport" to list devices that are not mapped to any FAs. You can append -FA  and -P to narrow it down to specif FAs/ports. Once you find your devices you can run "symdev show -sid #device" and grep/find for WWN.

7 Posts

August 4th, 2011 10:00

I had a friend get back to me on this and here is the answer.  Use symsan to determine the WWN of the available LUNs for migration.

symsan list -sid -sanports -dir

-p

using the output of this, run the following to get the LUN WWN ID

symsan -sid list -sanluns -wwn -dir

-p -detail

Use the LUN WWN column as the WWN ID after the wwn=

Now that the pairs file is properly populated the symrcopy create will work!

51 Posts

August 4th, 2011 14:00

Hi Mc Nally,

You can find the WWN of LUN ID as discussed by other participants...

You can also create Open Replicator Sessions without WWN of LUN ID.

Control symmetrix              Target symmetrix
symdev= :    symdev= :

I know there is another way of creating the text file for OR sessions

Control symmetrix              Target symmetrix
symdev= :    WWN of LUN ID< target device>

Choose which way is better to you.

62 Posts

August 7th, 2011 23:00

Hi,

The below command will give any Lun WWWN.....

symdev -sid XXXX list -wwn & then grep for the specific source and Target Decvice,

No Events found!

Top