Sunday, April 13, 2008

NAS Replication

Replicate web2 file system from fluxnas2 to fluxnas1

Step 1

On NASMGMT 2 ( 192.168.221.80 ) where the file system web2 resides primarily
Do the following to create the /export/web2 50G file and export it

[nasadmin@fluxnasmgt1 nasadmin]$ nas_fs -n web2 -t uxfs -c size=50G pool=clar_r5_performance
[nasadmin@fluxnasmgt1 nasadmin]$ server_mountpoint server_2 -c /export/web2
[nasadmin@fluxnasmgt1 nasadmin]$ server_mount server_2 -o rw web2 /export/web2
[nasadmin@fluxnasmgt1 nasadmin]$ server_export server_2 -P nfs -o root=165.237.136.81:10.156.73.214:10.156.73.215:10.156.73.216 /export/web2


Step 2

On Management station nas1 (192.168.221.75)

nas_fs -n web2 -t rawfs -c size=50G pool=clar_r5_performance
server_mountpoint server_2 -c /export/web2
server_mount server_2 -o ro web2 /export/web2

use GUI on NAS2 to setup replication,
click on replication
click on new
verify the file systems on datamover server_2
Set up and start replication immediately. Initial copy will be performed
Replicate a User File System.
click continue

select fluxnas1 as destination
source is web2
src int 165.237.139.51
dest int 165.237.139.50
click ok

Show the status on nas mgmt nas2

watch --i 20 fs_copy -l

Execute the following on the command prompt
server_export server_2 -P nfs -o root=165.237.136.81:10.156.73.214:10.156.73.215:10.156.73.216 /export/web2

Command processes/Verify the replication details
[nasadmin@fluxnasmgt1 nasadmin]$ fs_replicate -l

0 comments: