netapp snapmirror操作步骤.docx

上传人:b****9 文档编号:25584570 上传时间:2023-06-10 格式:DOCX 页数:10 大小:17.55KB
下载 相关 举报
netapp snapmirror操作步骤.docx_第1页
第1页 / 共10页
netapp snapmirror操作步骤.docx_第2页
第2页 / 共10页
netapp snapmirror操作步骤.docx_第3页
第3页 / 共10页
netapp snapmirror操作步骤.docx_第4页
第4页 / 共10页
netapp snapmirror操作步骤.docx_第5页
第5页 / 共10页
点击查看更多>>
下载资源
资源描述

netapp snapmirror操作步骤.docx

《netapp snapmirror操作步骤.docx》由会员分享,可在线阅读,更多相关《netapp snapmirror操作步骤.docx(10页珍藏版)》请在冰豆网上搜索。

netapp snapmirror操作步骤.docx

netappsnapmirror操作步骤

 

NetappSnapmirror操作指导

 

2016年3月

 

目录

1.Netapp3140和Netapp3160配置snapmirror2

1.1.查看FAS3140上的数据使用情况以及相关配置信息。

2

1.1.1.FAS3140上vol使用情况2

1.1.2.FAS3140的网络配置信息5

1.2.在FAS3160上创建配置8

1.2.1.配置aggr,vol,lun8

1.2.2.编辑配置文件8

1.2.3.配置临时网络地址8

1.3.进行snapmirror数据迁移8

1.3.1.检查FAS3160dataontap系统版本8

1.3.2.定义snapmirror配置文件9

1.3.3.执行snapmirror复制命令开始数据复制9

1.3.4.验证数据9

2.Netapp2240-2和Netapp2240-4增加卷配置Snapmirror10

2.1.检查确认Netapp2240-2和Netapp2240-4的配置情况10

2.2.在netapp2240-4上创建配置13

配置aggr,vol,lun13

2.3.执行snapmirror复制命令开始数据复制13

2.4.验证数据13

1.Netapp3140和Netapp3160配置snapmirror

1.1.查看FAS3140上的数据使用情况以及相关配置信息。

1.1.1.FAS3140上vol使用情况

fas3140a:

fas3140a*>df-Ag

Aggregatetotalusedavailcapacity

aggr05258GB4663GB595GB89%

aggr0/.snapshot0GB0GB0GB---%

fas3140a*>df-h

FilesystemtotalusedavailcapacityMountedon

/vol/vol0/24GB1124MB22GB5%/vol/vol0/

/vol/vol0/.snapshot6144MB281MB5862MB5%/vol/vol0/.snapshot

/vol/volcaeopt/100GB95GB4809MB95%/vol/volcaeopt/

/vol/volcaeopt/.snapshot0KB488KB0KB---%/vol/volcaeopt/.snapshot

/vol/volcae60_02/550GB501GB48GB91%/vol/volcae60_02/

/vol/volcae60_02/.snapshot0TB0TB0TB---%/vol/volcae60_02/.snapshot

/vol/volcae60_00/550GB501GB48GB91%/vol/volcae60_00/

/vol/volcae60_00/.snapshot0TB0TB0TB---%/vol/volcae60_00/.snapshot

/vol/volcae60_03/550GB501GB48GB91%/vol/volcae60_03/

/vol/volcae60_03/.snapshot0TB0TB0TB---%/vol/volcae60_03/.snapshot

/vol/volcae60_01/550GB501GB48GB91%/vol/volcae60_01/

/vol/volcae60_01/.snapshot0TB0TB0TB---%/vol/volcae60_01/.snapshot

/vol/volcae60_04/550GB501GB48GB91%/vol/volcae60_04/

/vol/volcae60_04/.snapshot0TB0TB0TB---%/vol/volcae60_04/.snapshot

/vol/volcae60_05/550GB501GB48GB91%/vol/volcae60_05/

/vol/volcae60_05/.snapshot0TB0TB0TB---%/vol/volcae60_05/.snapshot

/vol/volcae60_06/1100GB1026GB73GB93%/vol/volcae60_06/

/vol/volcae60_06/.snapshot0TB0TB0TB---%/vol/volcae60_06/.snapshot

/vol/volbackup/100GB91GB8561MB92%/vol/volbackup/

/vol/volbackup/.snapshot0TB0TB0TB---%/vol/volbackup/.snapshot

fas3140a*>lunshow-m

LUNpathMappedtoLUNIDProtocol

-----------------------------------------------------------------------

/vol/volcae60_00/cae60_00/luncae60_00cae60_000FCP

/vol/volcae60_01/cae60_01/luncae60_01cae60_010FCP

/vol/volcae60_02/cae60_02/luncae60_02cae60_020FCP

/vol/volcae60_03/cae60_03/luncae60_03cae60_030FCP

/vol/volcae60_04/cae60_04/luncae60_04cae60_040FCP

/vol/volcae60_05/cae60_05/luncae60_05cae60_050FCP

/vol/volcae60_06/cae60_06/luncae60_06cae60_060FCP

Fas3140b:

1.1.2.FAS3140的网络配置信息

fas3140a*>ifconfig-a

e0M:

flags=0x2948867mtu1500

inet192.168.100.4netmask0xffffff00broadcast192.168.100.255

partnerinet192.168.100.5(notinuse)

ether00:

a0:

98:

0c:

ae:

b6(auto-100tx-fd-up)flowcontrolfull

e0a:

flags=0xad48867mtu1500

ether02:

a0:

98:

0c:

ae:

b6(auto-1000t-fd-up)flowcontrolfull

trunkedvif1

e0b:

flags=0xad48867mtu1500

ether02:

a0:

98:

0c:

ae:

b6(auto-1000t-fd-up)flowcontrolfull

trunkedvif1

lo:

flags=0x1948049mtu8160

inet127.0.0.1netmask0xff000000broadcast127.0.0.1

ether00:

00:

00:

00:

00:

00(VIAProvider)

vif1:

flags=0x22d48863mtu1500

inet192.168.50.1netmask0xffffff00broadcast192.168.50.255

partnervif1(notinuse)

ether02:

a0:

98:

0c:

ae:

b6(Enabledvirtualinterface)

fas3140a*>rdfile/etc/exports

/vol/volcaeopt-sec=sys,rw,root=192.168.50.10:

192.168.50.56:

192.168.50.55:

192.168.50.54:

192.168.50.53:

192.168.50.52:

192.168.50.51:

192.168.50.50

/vol/vol0-sec=sys,rw,anon=0

/vol/vol0/home-sec=sys,rw

#/vol/voldata-sec=sys,rw,root=192.168.50.10:

192.168.50.56:

192.168.50.55:

192.168.50.54:

192.168.50.53:

192.168.50.52:

192.168.50.51:

192.168.50.50

/vol/volstage-sec=sys,rw,root=192.168.50.10:

192.168.50.56:

192.168.50.55:

192.168.50.54:

192.168.50.53:

192.168.50.52:

192.168.50.51:

192.168.50.50

/vol/volbackup-sec=sys,rw,root=192.168.50.10:

192.168.50.56:

192.168.50.55:

192.168.50.54:

192.168.50.53:

192.168.50.52:

192.168.50.51:

192.168.50.50

fas3140a*>rdfile/etc/hosts

#GeneratedbysetupTueJul2710:

57:

38CDT2010

#Auto-generatedbysetupMonJul2616:

39:

03CST2010

127.0.0.1localhost

192.168.50.1fas3140afas3140a-vif1

192.168.50.2fas3140b

192.168.100.4fas3140a-e0M

fas3140a*>rdfile/etc/rc

fas3140a>rdfile/etc/rc

#RegeneratedbyregistryTueJul2710:

57:

38CDT2010

#Auto-generatedbysetupMonJul2616:

39:

03CST2010

hostnamefas3140a

vifcreatemultivif1-brre0ae0b

ifconfigvif1`hostname`-vif1netmask255.255.255.0mediatypeautomtusize1500partnervif1

ifconfigvif1`hostname`-vif1netmask255.255.255.0mediatypeautomtusize1500partnervif1

ifconfige0M`hostname`-e0Mnetmask255.255.255.0mtusize1500flowcontrolfullpartner192.168.100.5

#routeadddefaultNONE1

routedon

optionsdns.enableoff

optionsnis.enableoff

1.2.在FAS3160上创建配置

1.2.1.配置aggr,vol,lun

参照fas3140的配置分别在3160a和3160b上创建aggr、vol、lun,fas3160上的vol和lun的空间需要≥3140上面的配置。

fas3160a:

Fas3160b:

1.2.2.编辑配置文件

编辑/etc/hosts、/etc/exports、/etc/rc

1.2.3.配置临时网络地址

1.3.进行snapmirror数据迁移

1.3.1.检查FAS3160dataontap系统版本

检查Sysconfig–a的输出,确定FAS3160的dataontap版本要不低于FAS3140。

如果系统版本低于FAS3140,需要先升级微码,否则无法进行snapmirror。

1.3.2.定义snapmirror配置文件

编辑/etc/snapmirror.conf

 

1.3.3.执行snapmirror复制命令开始数据复制

依次对所有vol执行snapmirror命令

建立vol0间的snapmirror关系,开始数据复制:

snapmirrorinitialize-SsystemA:

vol0systemB:

vol0

查看snapmirror状态,确认状态为transferring,表面数据传输开始进行。

Snapmirrorstatus

1.3.4.验证数据

通过查看snapmirror状态,确认所有vol状态为Snapmirrored。

Snapmirrorstatus

进行FAS3140到FAS3160的应用切换,修改Fas3160上面的网络配置,进行数据验证。

 

2.Netapp2240-2和Netapp2240-4增加卷配置Snapmirror

本次要新增snapmirror的卷是DSEP平台使用的2个3.5T的卷,由netapp2240-2使用FC的形式分配给DSEP的两台IO节点

2.1.检查确认Netapp2240-2和Netapp2240-4的配置情况

Netapp2240-2whs002:

whn002>df-Ag

Aggregatetotalusedavailcapacity

aggr0492GB203GB289GB41%

aggr0/.snapshot0GB0GB0GB---%

aggrcao9351GB7701GB1650GB82%

aggrcao/.snapshot0GB0GB0GB---%

whn002>df-h

FilesystemtotalusedavailcapacityMountedon

/vol/vol0/190GB10GB179GB5%/vol/vol0/

/vol/vol0/.snapshot10GB442MB9797MB4%/vol/vol0/.snapshot

/vol/rootcao/28GB11MB28GB0%/vol/rootcao/

/vol/rootcao/.snapshot1536MB4084KB1532MB0%/vol/rootcao/.snapshot

/vol/cao001d001/1800GB484GB1315GB27%/vol/cao001d001/

/vol/cao001d001/.snapshot200GB56GB143GB28%/vol/cao001d001/.snapshot

/vol/cao002d002/900GB324GB575GB36%/vol/cao002d002/

/vol/cao002d002/.snapshot100GB303MB99GB0%/vol/cao002d002/.snapshot

/vol/cao003d003/540GB382GB157GB71%/vol/cao003d003/

/vol/cao003d003/.snapshot60GB820MB59GB1%/vol/cao003d003/.snapshot

/vol/dsep02/4096GB3514GB581GB86%/vol/dsep02/

/vol/dsep02/.snapshot0TB0TB0TB---%/vol/dsep02/.snapshot

/vol/volzzpp/2248GB2056GB191GB91%/vol/volzzpp/

/vol/volzzpp/.snapshot0TB0TB0TB---%/vol/volzzpp/.snapshot

whn002>lunshow-m

LUNpathMappedtoLUNIDProtocol

-----------------------------------------------------------------------

/vol/dsep02/lun0mrhdesio021FCP

/vol/volzzpp/zzpp/lun0zzpp2iSCSI

Netapp2240-2whs003

whn003>df-Ag

Aggregatetotalusedavailcapacity

aggr08859GB4249GB4609GB48%

aggr0/.snapshot0GB0GB0GB---%

whn003>df-h

FilesystemtotalusedavailcapacityMountedon

/vol/vol0/190GB9448MB180GB5%/vol/vol0/

/vol/vol0/.snapshot10GB377MB9862MB4%/vol/vol0/.snapshot

/vol/dsep01/4024GB4024GB0GB100%/vol/dsep01/

/vol/dsep01/.snapshot0GB150GB0GB---%/vol/dsep01/.snapshot

whn003>lunshow-m

LUNpathMappedtoLUNIDProtocol

-----------------------------------------------------------------------

/vol/dsep01/lun0mrhdesio010FCP

Whs004:

whn005>df-Ag

Aggregatetotalusedavailcapacity

aggr026822GB8073GB18748GB30%

aggr0/.snapshot0GB7GB0GB---%

whn005>df-h

FilesystemtotalusedavailcapacityMountedon

/vol/vol0/190GB5653MB184GB3%/vol/vol0/

/vol/vol0/.snapshot10GB592MB9647MB6%/vol/vol0/.snapshot

/vol/cao001d001/1800GB484GB1315GB27%/vol/cao001d001/

/vol/cao001d001/.snapshot200GB64GB135GB32%/vol/cao001d001/.snapshot

/vol/cao002d002/900GB324GB575GB36%/vol/cao002d002/

/vol/cao002d002/.snapshot100GB5237MB94GB5%/vol/cao002d002/.snapshot

/vol/cao003d003/540GB381GB158GB71%/vol/cao003d003/

/vol/cao003d003/.snapshot60GB443MB59GB1%/vol/cao003d003/.snapshot

/vol/rootcao/28GB11MB28GB0%/vol/rootcao/

/vol/rootcao/.snapshot1536MB4088KB1532MB0%/vol/rootcao/.snapshot

/vol/dsep01/4024GB3705GB318GB92%/vol/dsep01/

/vol/dsep01/.snapshot0TB0TB0TB---%/vol/dsep01/.snapshot

2.2.在netapp2240-4上创建配置

配置aggr,vol,lun

参照netapp2240-2的配置在netapp2240-4上新建相同的vol和lun

修改snapmirror配置文件

保存原有的snapmirror.conf文件,

重新编辑snapmirror.conf文件,增加DSEP卷的配对

2.3.执行snapmirror复制命令开始数据复制

依次对所有vol执行snapmirror命令

建立vol0间的snapmirror关系,开始数据复制:

snapmirrorinitialize-SsystemA:

vol0systemB:

vol0

查看snapmirror状态,确认状态为transferring,表面数据传输开始进行。

Snapmirrorstatus

2.4.验证数据

通过查看snapmirror状态,确认所有vol状态为Snapmirrored。

Snapmirrorstatus

 

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 小学教育 > 英语

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1