lunes, 1 de julio de 2013

EMC File Replication VNX to VNXe

Recently we needed to configure File replication from a VNX array to a VNXe.
I searched EMC support and communities and it was a surprise that there was no documentation or guide.

I have to look for the compatibility matrix again to see if it was possible.

https://elabnavigator.emc.com/vault/pdf/EMC_VNXe_ESSM.pdf

Then I tried to do the inverse  one, VNXe to VNX as I had a manual.

https://www.ndm.net/emcvnx/pdf/vnx/h8270-replicating-vnxe-cifs-nfs-shared-folders-vnx.pdf

At first time I had a problem establishing the trust  and finally it result I needed to add a route at DataMover level on the VNX since the two arrays are in different subnets.

Once I got this solved I followed instructions and it worked fine. Also I tried to make a switch-over on replication and also worked.

Now I created a Replication Destination on Shared Folders screen of the VNXe. The wizard asked which one was the origin and created a Shared folder mounted as only read and with the right size and protection size.

When I tried to set a new replication from VNX as I entered the VNXe as destination the Unisphere screen failed.



I then tried to look for info about doing it on commands from Control Station and I found a blog where some one had the same problem. Thanks to Jon Austin by the way.

http://www.integrateddatastorage.com/blog/2011/11/04/fun-with-darts/

The main problem was how to know the destination FS ID on the vnxe system.

So I connected to ssh on both arrays.

On vnxe I logged as service and entered the service password which was the same that admin one.
I executed  svc_service_shell so I could use commands on the VNXe.
I don't know the password for that since some one form  support put it the day before for other thing and there is a time when it expires. It looks like it takes a couple of days until it expires.

Then I executed /nas/bin/nas_fs -list  so I could see the ID for the replication FS.

After I logged on  VNX CS with ssh as nasadmin user

I executed  nas_cel -interconnect -list so I could see the interconnect id (VNXe SPA)  where the destination FS was published.

and  finally executed this command and finally got replication started!!!

 nas_replicate -create FS_Name -source -fs id=13 -destination -fs id=42 -interconnect id=20004  -source_interface ip=x.x.x.x -destination_interface ip=x.x.x.x -max_time_out_of_sync 10 -overwrite

Overwrite option was needed because it fails other way.

That was all, after 20 hours file system is replicated and working fine.