This post is more than 5 years old
25 Posts
0
3612
Monitor a file copy(celerra replicator)
I am in the process of doing a one time copy for a migration from a Celerra to a VNX. I completed a test VDM and file of around 20GB doing an initial copy and then a sync. I want to know if there is a way to monitor this copy session with information like
-Time it took to complete the copy
-Time left
-Tranfer speed
-Max transfer speed achieved etc.
Are there any log files I can look into?
Thanks in advance.
bergec
275 Posts
0
August 4th, 2012 00:00
In you case, nas_replicate -info does not show any transfer because sour and destination are in sync (with delta Max Time Out of Sync)
If the was an initial copy field "Initial Copy" would says "yes" and "Estimated Completion Time" give an estimate of when the initial copy will be done
If the session was transferring data then the field "Current Transfer Remaining" would show how much data is left to copy
You will also want to check "Last Sync Time" and make sure it is within "Max Time out of Sync" vs current date (default Max Time out of Sync is 10mn)
Claude
SAMEERK1
296 Posts
0
August 2nd, 2012 10:00
you can monitor the task from the task list,
use the command: nas_task -list , check the one time replication session task.
Naveen_T
25 Posts
0
August 2nd, 2012 11:00
Well this just gives me the status. I need the information so that I can decipher how much time I would need in the future to migrate a file system of a certain size..
Rainer_EMC
8.6K Posts
0
August 3rd, 2012 00:00
Server_log
SamirGautam
57 Posts
0
August 3rd, 2012 01:00
Hello Naveen
You can use this command to check the information about the initial copy running. The oupput will give you an estimated time to complete,Percentage complete etc.
nas_task -info {-all | task ID }
Please let us know if this command has provided you the desired information that you were looking for.
Thanks
Samir
Naveen_T
25 Posts
0
August 3rd, 2012 09:00
Does this work if the task is says succeeded in the task state column? Coz all I get from this command output is the start time, end time and some other related info, but not what I am looking for. The replication is still going on though.
Naveen_T
25 Posts
0
August 3rd, 2012 13:00
This is the output I get out of a nas_task -info for the replication session that I am running.
[nasadmin@XXXX ~]$ nas_task -info 531744
Task Id = 531744
Celerra Network Server = 0
Task State = Succeeded
Movers =
Description = Create Replication test_3918_file.
Originator = nasadmin@172.17.80.XX
Start Time = Fri Aug 03 12:51:21 PDT 2012
End Time = Fri Aug 03 12:52:16 PDT 2012
Schedule = n/a
Response Statuses = OK
And this is the output from nas_replicate
[nasadmin@cell_0847 ~]$ nas_replicate -info test_3918_file
ID = 331_APM00091000609_0050_142_APM00121003918_2007
Name = test_3918_file
Source Status = OK
Network Status = OK
Destination Status = OK
Last Sync Time = Fri Aug 03 13:30:50 PDT 2012
Type = filesystem
Celerra Network Server = VNX3918_CS
Dart Interconnect = 3918_replic_intercnt
Peer Dart Interconnect = 0847_replic_intercnt
Replication Role = source
Source Filesystem = XXXX
Source Data Mover = server_2
Source Interface = 192.168.XXX.XXX
Source Control Port = 0
Source Current Data Port = 0
Destination Filesystem = XXXX
Destination Data Mover = server_2
Destination Interface = 192.168.XXX.XXX
Destination Control Port = 5085
Destination Data Port = 8888
Max Out of Sync Time (minutes) = 10
Next Transfer Size (KB) = 0
Current Transfer Size (KB) = 0
Current Transfer Remain (KB) = 0
Estimated Completion Time =
Current Transfer is Full Copy = No
Current Transfer Rate (KB/s) = 0
Current Read Rate (KB/s) = 0
Current Write Rate (KB/s) = 0
Previous Transfer Rate (KB/s) = 29155
Previous Read Rate (KB/s) = 2098
Previous Write Rate (KB/s) = 1738
Average Transfer Rate (KB/s) = 29155
Average Read Rate (KB/s) = 2098
Average Write Rate (KB/s) = 1738
I still do not have something that shows me estimated time to complete or how much data is left to transfer.
SamirGautam
57 Posts
1
August 6th, 2012 01:00
Hello Naveen
Looking at the output of the nas_replication command it seems that the initial copy has completed and as mentioned by bergec the sorce and destination will now try to be in sync with a time difference of less than1 0 minutes (Max Out of Sync Time (minutes) = 10) you can also check the data transferred to the destination by comparing the source and destination file system size (nas_fs -size ).
In your case it seems that the replication session creation process has completed with the completion of initial copy. Now the source and destination File system will try to be in sync.
Thanks
Samir