snapvault 实施过程
环境simulator 7.3.4
====================================
primary ip:
192.168.100.10
secondary ip: 192.168.100.30
====================================
一.Built A snapvault backup relationship
primary:
1.add license
>license add XXXXXXX
2.enable snapvault option
>options snapvault.enable on
3.enable ndmp service
>
ndmpd on|options ndmpd.enable on
4.add secondary's ip to /etc/hosts
>
rdfile /etc/hosts(unnecessary,in case some interuption happen)
>
wrfile -a /etc/hosts 192.168.100.30 fas3240-2
5.add secondary's Ip to the primary's snapvault accessing ip list
>
options snapvault.access host=fas3240-2(or host=192.168.100.30)
4.create a souce volume (or qtree)
>
vol create vol1 aggr1 1g
>
snap sched vol1 0 0 0(turn off the default snap schedules.Avoiding snapshot schedulr conflicts)
>
qtree create /vol/vol1/qtree1
Secondary:
1.add license
>
license add XXXXXXX
2.enable snapvault option
>
options snapvault.enable on
3.add secondary's ip to /etc/hosts
>
rdfile /etc/hosts(unnecessary,in case some interuption happen)
>
wrfile -a /etc/hosts 192.168.100.10 fas3240-1
4.create a destination volume
>
vol create sv_vol1 aggr1 1g
>
snap sched sv_vol1 0 0 0(turn off the default snap schedules.Avoiding snapshot schedulr conflicts)
5.make sure language setting be same on both primary ' volume and secondary's volume ,
>
vol lang sv_vol1
6.start snapvault relationship
>
snapvault start -S fas3240-1:/vol/vol1/qtree1 /vol/sv_vol1/qtree1
7.check snapvault status
>
snapvault status
二 define snapvault snap schedule
Note: Data on both primart & secondary must be same
>data 201101042100(2011年1月4日21点)
Primary:
snapvault snap sched vol1 sv_weekly 1@sat@19
snapvault snap sched vol1 sv_nightly 2@mon-fri@20
snapvault snap sched vol1 sv_hourly 11@mon-fri@7-18
secondary:
Secondary:
snapvault snap sched -x sv_vol1 sv_weekly 5@sat@20
snapvault snap sched -x sv_vol1 sv_nightly 5@mon-fri@21
snapvault snap sched -x sv_vol1 sv_hourly 4@mon-fri@8-18