NetApp FAS系列安装配置说明.docx
《NetApp FAS系列安装配置说明.docx》由会员分享,可在线阅读,更多相关《NetApp FAS系列安装配置说明.docx(50页珍藏版)》请在冰豆网上搜索。
NetAppFAS系列安装配置说明
NETAPPFAS系列安装配置手册
赞融电子上海分公司
2003年11月
修订控制
章节号
章节标题
修订内容
日期
修订前版本
修订者
初建
2003-11
10
无
Laiqy
1简介
1.1说明
本文简要说明了NetworkAppliance公司FAS系列存储产品配置过程。
本手册基于DataOntap6.4.2P6操作系统
1.2适用对象和前提
本文是针对赞融电子的内部人员。
要求阅读者具有以下方面的专业能力:
熟悉Unix操作系统;熟悉Windows操作系统;具有NETAPPFAS系统的基本知识.
1.3参考资料
DataONTAP™SystemAdministrator’sGuide
DataONTAP™SoftwareSetupGuide
1.4术语表
NFS:
NetworkFileSystem网络文件系统
CIFS:
Common Internet File System通用Internet文件系统
NAS:
NetworkAttachedStorage网络附加存储
WAFL:
WriteAnywhereFileLayout随地写入文件格式
2
配置过程
2.1检查Filer硬件安装
2.2设置Filer
使用计算机串口连接Filer背板上的Console口
使用Windows附件中的超级终端建立连接,参数如下:
每秒位数9600,数据位8,奇偶校验无,停止位1,数据流控制无
建立连接
依次打开DiskShelf和Filer电源
使用setup命令配置Filer
fas940>setup
Pleaseenterthenewhostname[]:
fas940
Doyouwanttoconfigurevirtualnetworkinterfaces?
[n]:
y
Numberofvirtualinterfacestoconfigure?
[0]3
Nameofvirtualinterface#1[]:
vif1
Isvif1asingle[s]ormulti[m]virtualinterface?
[m]s
Numberoflinksforvif1?
[0]2
Nameoflink#1forvif1[]:
e5a
Nameoflink#2forvif1[]:
e5b
Nameofvirtualinterface#2[]:
vif2
Isvif2asingle[s]ormulti[m]virtualinterface?
[m]s
Numberoflinksforvif2?
[0]2
Nameoflink#1forvif2[]:
e9a
Nameoflink#2forvif2[]:
e9b
Nameofvirtualinterface#3[]:
vif3
Isvif3asingle[s]ormulti[m]virtualinterface?
[m]s
Numberoflinksforvif3?
[0]2
Nameoflink#1forvif3[]:
e11a
Nameoflink#2forvif3[]:
e11b
PleaseentertheIPaddressforNetworkInterfacevif1[]:
165.204.224.173
PleaseenterthenetmaskforNetworkInterfacevif1[255.255.0.0]:
255.255.254.0
Pleaseentermediatypeforvif1{100tx-fd,tp-fd,100tx,tp,auto(10/100/1000)}[auto]:
Enter
PleaseentertheIPaddressforNetworkInterfacevif2[]:
165.204.224.174
PleaseenterthenetmaskforNetworkInterfacevif2[255.255.0.0]:
255.255.254.0
Pleaseentermediatypeforvif2{100tx-fd,tp-fd,100tx,tp,auto(10/100/1000)}[auto]:
PleaseentertheIPaddressforNetworkInterfacevif3[]:
165.204.224.175
PleaseenterthenetmaskforNetworkInterfacevif3[255.255.0.0]:
255.255.254.0
Pleaseentermediatypeforvif3{100tx-fd,tp-fd,100tx,tp,auto(10/100/1000)}[auto]:
PleaseentertheIPaddressforNetworkInterfacee0[]:
165.204.224.172
PleaseenterthenetmaskforNetworkInterfacee0[255.255.0.0]:
255.255.254.0
Pleaseentermediatypefore0{100tx-fd,tp-fd,100tx,tp,auto}[auto]:
Wouldyouliketocontinuesetupthroughthewebinterface?
[n]:
PleaseenterthenameorIPaddressofthedefaultgateway:
165.204.224.254
Theadministrationhostisgivenrootaccesstothefiler's
/etcfilesforsystemadministration.Toallow/etcrootaccess
toallNFSclientsenterRETURNbelow.
PleaseenterthenameorIPaddressoftheadministrationhost:
Pleaseentertimezone[GMT]:
Asia/Shanghai
Whereisthefilerlocated?
[]:
SuzhouChina
Whatlanguagewillbeusedformulti-protocolfiles(Type?
forlist)?
:
zh.GBK
Settinglanguageonvolumevol0
Thenewlanguagemappingswillbeavailableafterreboot
MonSep2903:
45:
14GMT[rc:
ALERT]:
Languageonvolumevol0changedtozh.GBK
Languagesetonvolumevol0
DoyouwanttorunDNSresolver?
[n]:
y
PleaseenterDNSdomainname[]:
Youmayenterupto3nameservers
PleaseentertheIPaddressforfirstnameserver[]:
165.204.224.2
Doyouwantanothernameserver?
[n]:
y
PleaseentertheIPaddressforalternatenameserver[]:
139.95.33.235
Doyouwantanothernameserver?
[n]:
Enter
DoyouwanttorunNISclient?
[n]:
Enter
Thissystemwillsendeventmessagesandweeklyreports
toNetworkApplianceTechnicalSupport.Todisablethisfeature,
enter"optionsautosupport.support.enableoff"within24hours.
EnablingAutosupportcansignificantlyspeedproblemdetermination
andresolutionshouldaproblemoccuronyoursystem.
ForfurtherinformationonAutosupport,pleasesee:
.
Pressthereturnkeytocontinue.
Nowtype'reboot'forchangestotakeeffect.
fas940>Reboot
重新启动Filer之后,进行cifssetup安装
fas940>cifssetup
EnableCIFSaccesstothefilerbyaWindows(tm)PC
YourfileriscurrentlyonlyvisibletoPCsonthesamenet.
DoyouwishtomakethesystemvisibleviaWINS?
[no]:
y
PleaseenternextWINSIPaddress(orreturntoendlist)[]:
165.204.224.225
PleaseenternextWINSIPaddress(orreturntoendlist)[]:
163.181.3.225
PleaseenternextWINSIPaddress(orreturntoendlist)[]:
CIFSrequireslocal/etc/passwdand/etc/groupfilesformultiprotocol.
Defaultpasswdfilewillbecreatedcontaining'root','pcuser',
and'nobody'.
Enterthepasswordforroot[]:
Retypethepassword:
ThisfileriscurrentlylicensedforCIFSonly.
ThefilerwillbeconfiguredasaNTFS_onlyfiler.Itcan
bechangedtoaMultiprotocolfilerbyreissuingtheCIFSsetupcommand.
Thedefaultnameofthisfilerwillbe'FAS940'.
Doyouwanttomodifythisname?
[no]:
Enter
CIFSsupportsthreetypesofuserauthentication:
1.WindowsDomainauthentication.
2.WindowsWorkgroupauthenticationusingthefiler'suseraccounts.
3./etc/passwdand/orNISbasedauthentication.
Whattypeofauthenticationwillthisfileruse?
[1]:
1
ThefilerwilluseWindowsDomainauthentication.
EntertheWindowsDomainforthefiler[]:
Itishighlyrecommendedthatyoucreatethelocaladministrator
account(FAS940\administrator)forthisfiler.Thisaccountenables
accesstothefilerfromWindowswhendomaincontrollersarenot
accessible.
CreatetheFAS940\administratoraccount?
[yes]:
yes
SetthepasswordforFAS940\administrator:
Retypethepassword:
MonSep2911:
53:
46CST[rc:
info]:
Useradded
MonSep2911:
53:
46CST[rc:
notice]:
securitystylefor/vol/vol0/changedfromunixtontfs
AMD.COMisaWindows2000(tm)domain.
Inordertocreatethisfiler'sdomainaccount,youmustsupplythe
nameandpasswordofanadministratoraccountwithsufficientprivilege
toaddthefilertotheAMD.COMdomain.
PleaseentertheWindows2000user[Administrator@AMD.COM]:
admin_mweizhi@
Passwordforadmin_mweizhi@:
CIFS-Loggedinasadmin_mweizhi@.
Bydefault,setupcreatesthefileraccountintheActive
Directorycontainernamed'Computers'.Alternatively,youcan
installthefilerinanorganizationalunit(OU)byspecifying
thedomainrelativedistinguishednameoftheOU,asin
'ou=innerOU,ou=outerOU'.
ActiveDirectorycontainerforfileraccount?
[cn=computers]:
Enter
CIFS-Connectingtodomaincontroller.
MonSep2911:
57:
22CST[rc:
info]:
ConnectionwithDC\\SSUZDC2established
MonSep2911:
57:
22CST[nbns_timer:
info]:
AllCIFSnameregistrationscompleteforlocalserver
WelcometotheAMD(AMD.COM)Windows2000(tm)domain.
CIFSlocalserverisrunning.
2.3创建volume
通过Telnet或串口,用命令行方式创建卷
volcreate[-r][disks]
例,创建名为vol1的卷,RAID组最大为8,包含2块盘
volcreate/vol/vol1–r82
使用volstatus–r命令观察初始化进程
通过Web界面创建卷
在浏览器中输入http:
//IP_Address/na_admin
点击FilerView,根据提示输入用户名密码
从右侧窗口VolumeAdd
在NewVolumeName栏中填写新建卷名vol1
在RaidGroupSize中填写RAID组的大小8
在Language中选择SimplifiedChinese(GBK)
选择AutomaticDiskSelection
在NumberofDisks中填写Volume的磁盘数2
点击Add
2.4通过CIFS共享
通过命令行
cifsshares-add
e.g.cifssharesaddvol1/vol/vol1
通过Web界面设置
FilerviewCIFSSharesAdd
ShareName填写vol1
MountPoint填写/vol/vol1
点击Add
2.5通过NFS共享
通过命令行
exportfs-oanon=0/vol/vol1
或者通过Web界面配置
FilerviewNFSManageExportsInsertLine
在Path中输入/vol/vol1
Permission选择rw
AnonymousUID填写0
点击OK
3FilerView使用介绍
3.1Filer菜单
3.1.1ShowStatus显示Filer的整体状态,包括Filername,Model,SystemID,Version,Disks,Status等信息
3.1.2ManageLicenses管理Filer的license如常用的CIFS,NFS,FCP,iSCSI,SnapRestore,SnapMirror,SnapVault,SyncMirror,MultiStore等,详情可参见或(中文网页)
3.1.3Report显示Filer目前配置及使用情况,如Uptime,NetworkInterfaces,DiskUsage,SystemConfiguration等信息
3.1.4SyslogMessages这里是系统的syslogmessages信息,里面会记录系统运行时产生的一些信息,特别是一些系统的报错信息,这些信息非常重要,对于发现各种问题有很大帮助,NetappTechnicalSupport也需要这些信息,最好每天都查看一下这里的信息
3.1.5UseCommandLine在这里可以使用FilerView自带的telnet工具,方便你管理时使用DataOntap系统的命令。
注意:
a.TheconsoleandTelnetshareasinglesession.Commandstypedateither
locationareechoedtotheotherlocation.Messagesaredisplayedatboth
locations.
b.CommandsenteredattheconsoleorthroughaTelnetsessioncanbeaborted
bypressingCtrl-C.
3.1.6ConfigureSyslog配置syslog包括哪些信息,存放在那个文件中
上述两图表示:
a.所有的err信息(包括等级比err高的信息)存放在文件/etc/messages.err(在Filer的rootvolume中)
b.所有的info信息(包括等级比error高的信息)存放在文件/etc/messages(在Filer的rootvolume中)
以下是各种信息的等级,从高到低:
◆EMERG-priority1,immediateresponse
◆ALERT-priority2,lessthantwohoursresponse
◆CRIT-priority3,nextbusinessday
◆ERR-priority3,nextbusinessday
◆WARNING-priority4,2businessdays
◆NOTICE-priority5,informational,noresponseexpected
◆INFO-priority5,informational,noresponseexpected
3.1.7ConfigureFileSystem配置文件系统
MapNTAdministratortoroot:
是否将NT的Administrator用户映射到root用户(默认为No)
DefaultNTUserforUnkownUNIXUsers:
未知的UNIX用户默认对应的NT用户
DefaultUNIXUserforUnkownNTUsers:
未知的NT用户默认对应的UNIX用户(默认为pcuser)
MinutesaCredCacheEntryIsValid:
WAFL文件系统中用户身份凭据缓存记录的有效时间(参见“DataOntap6.4SystemAdministrationFileAccessManagementGuide”315页和318页)
3.1.8ConfigureAutosupport配置autosupport的信息,使autosupport邮件能够发送到NetappTechnicalSupport中心和你指定的邮箱中
Mailhosts:
邮件主机
From:
指定发送邮件的发送者,Netapp的回复邮件将发送到这个邮箱
To:
autosupport邮件的接收者(最多5个)
NoteTo:
简短的抄送邮件的接收者(最多5个)
配置完成之后,请务必点击“Apply”按钮来应用配置。
3.1.9TestAutoSupp