Thursday, 10 November 2011

Snapmirror schedule configuration

Three Type of  Snapmirror Configuration 

 
  • Snapmirroe initialize should run in destination filer only.
  • After initialize the snapmirror , destination filer will move all the data from primary filler to secondary.
  • Now create a new file in /etc/snapmirror.conf for scheduling sync (or) Async (or) semi-sync
  • Because once we excute the initialize and update command in destination side, it will touch the snapmirror.conf in etc path for any snapmirror sechedule.
sync mode

 Its is licensed product
 The source system acknowledges a client write operation only after both the source and destination systems have completed the write operation. The sync option provides a recovery point objective of 0 seconds


sec> license add <snapmirror_sync>
sec> wrfile -a /etc/snapmirror.conf src:vol1   dst:vol1  - sync

Note:
if u created that snapmirror.conf initialize no need to do snapmirror update
if snapmirror initialized just run snapmirror update

sec> snapmirror update -S src:vol1 dsr:vol1   # to enable the /etc/snapmirror.conf file

#  syncs will happen every minute

sec>  snapmirror update  # to enable the /etc/snapmirror.conf file

Async mode

async is not license product.
async will transfer as per schedule..

sec> wrfile -a /etc/snapmirror.conf src:vol1   dst:vol1 - 0 23 * *

Note:
if u created that snapmirror.conf initialize no need to do snapmirror update
if snapmirror initialized just run snapmirror update
 
sec>   snapmirror update -S src:vol1 dst:vol1    # to enable the /etc/snapmirror.conf file

#  syncs will happen at every 11:00 pm

Semi sync mode
 Its is licensed product.
The source system acknowledges the client write operation immediately after the source receives the data. The destination system is synchronized with the source at intervals of approximately 10 seconds. The semi-sync option provides a recovery point objective of about 10 seconds. This means that if the source becomes unavailable, you might lose up to 10 seconds worth of data changes. The semi-sync mode provides a performance advantage over the sync mode.
license name snapmirror_sync
 

sec> license add <snapmirror_sync>
sec> wrfile -a /etc/snapmirror.conf src:vol1   dst:vol1  - semi-sync
 
Note:
if u created that snapmirror.conf initialize no need to do snapmirror update
if snapmirror initialized just run snapmirror update


sec> snapmirror update -S src:vol1   dst:vol1     # to enable the /etc/snapmirror.conf file

data transfer will happen after 10sec after scheduling

 
 
 
 
Please write your valuable comments, about my blogspot.

No comments:

Post a Comment