NetApp存储设备安装配置手册.docx
《NetApp存储设备安装配置手册.docx》由会员分享,可在线阅读,更多相关《NetApp存储设备安装配置手册.docx(26页珍藏版)》请在冰豆网上搜索。
NetApp存储设备安装配置手册
NetApp存储设备配置说明
修改记录
文件编号
版本号
拟制人/
修改人
拟制/修改日期
更改理由
主要更改内容
(写要点即可)
1编写目的
编写本文档的目的在于详细地说明NetAppFAS存储系统的安装、配置以及常用命令的介绍和可靠性维护、故障检查与恢复的方法,便于开发、测试、用服和工程维护人员安装、使用和维护NetAppFAS存储系统存储系统。
2专业名词和缩略语
术语
解释
CFO
ClusteredFailover
CIFS
CommonInternetFileSystem
CLI
CommandLineInterface
NDMP
NetworkDataManagementProtocol
GUI
GraphicalUserInterface
HA
HighAvailability
HBA
HostBusAdapter
MPIO
MultiPathIO(MicrosoftHAdrivercomponent)
NFS
NetworkFileSystem
SAN
StorageAreaNetwork
IOPS
input/outputpersecond
ORT
overallresponsetime
iSCSI
InternetSmallComputerSystemInterface
FCP
FibreChannelProtocol
TCP
TransportControlProtocol
UDP
UserDatagramProtocol
HTTP
HypertextTransferProtocol
HTTPs
SecureHyperTextTransferProtocol
FTP
FileTransferProtocol
NIC
NetworkInformationCenter
3组网方式和环境介绍
图3.1NetAppFAS存储系统组网结构
NetAppFAS存储系统存储设备以NAS存储方式使用,通过万兆交换机与主机相连接。
4安装配置方法
4.1NetApp硬件安装
存储设备硬件的安装主要是各盘柜间线缆的连接、磁盘安装、盘柜上架、上电等,以上操作多由NetApp技术支持工程师完成。
使用存储设备随机携带的“DB-9toRJ-45”转接线将FAS存储系统的CONSOLE端口和安装了WINDOWS操作系统的主机串口相连,在WINDOWS主机上安装SecureCRT软件,新建一个serial协议的连接,其中port参数根据所连接的是COM1还是COM2来进行选择,其余参数参考图4.1所示,通过串口连接登录到FAS存储系统。
图4.1
4.2设备初始化和系统设定
4.2.1设备初始化
FAS存储系统上电以后,在secureCRT终端窗口中将出现类似以下内容的系统自检信息,当提示按CTRL+C时按下此组合键,再在启动方式中选择(4a),重新初始化磁盘。
>NetAppRelease7.3.2:
WedSep815:
58:
37PDT2004
>Copyright(c)1992-2009NetworkAppliance,Inc.
>StartingbootonWedDec3123:
59:
58GMT1969
>ThuJan100:
00:
02GMT[diskown.isEnabled:
info]:
softwareownershiphasbeenenabledforthissystemThuJan100:
00:
03GMT[config.noPartnerDisks:
CRITICAL]:
Nodisksweredetectedforthepartner;thisnodewillbeunabletotakeovercorrectlyThuJan100:
00:
03GMT[cf.noDiskownShelfCount:
info]:
Diskshelfcountfunctionalityisnotsupportedonsoftwarebaseddiskownershipconfigurations.ThuJan100:
00:
04GMT[fmmbx_instanceWorke:
info]:
nomailboxinstanceonprimaryside
>WARNING:
0disksfound!
>
>StorageAdaptersfound:
>2FibreChannelStorageAdaptersfound!
>0ParallelSCSIStorageAdaptersfound!
>1ATAAdaptersfound!
>
>TargetAdaptersfound:
>0FibreChannelTargetAdaptersfound!
>0iSCSITargetAdaptersfound!
>1UnknownTargetAdaptersfound!
>
>WARNING:
theredonotappeartobeanydisksattachedtothesystem.
>
>Checkthatdiskshavebeenassignedownershiptothis
>system(ID84179389)usingthe'diskshow'and'diskassign'commandsfrommaintenacemode.
>
>Norootvolumefound.
>Rebooting...(ctrl-ctobre‰
Diskassign
4.2.2系统设定
根据磁盘个数以及空间大小,整个初始化的时间可能要持续1~2个小时左右,磁盘初始化完成以后,系统将出现以下提示信息对系统进行设定:
Pleaseenterthenewhostname[]:
zxmvs1-----主机名
Doyouwanttoconfigurevirtualnetworkinterfaces?
[n]:
y-----是否配置虚拟网卡
Numberofvirtualinterfacestoconfigure?
[0]1-----要虚拟网卡的个数
Nameofvirtualinterface#1[]:
interface1-----虚拟网卡的名称
Isinterface1asingle[s]ormulti[m]virtualinterface?
[m]-----配置trunkmode为-----single还是multiple,single为双网卡互备,multiple可以实现负载均衡
Numberoflinksforinterface1?
[0]2
-----虚拟网卡所要绑定的连接数(实际网卡个数)
Nameoflink#1forinterface1[]:
e0a
-----第一个实际网卡的名称
Nameoflink#2forinterface1[]:
e0b
-----第二个实际网卡的名称
PleaseentertheIPaddressforNetworkInterfaceinterface1[]:
10.42.86.241
-----虚拟网卡的IP地址
PleaseenterthenetmaskforNetworkInterfaceinterface1[255.0.0.0]:
255.255.252.0
-----子网掩码
Shouldvirtualinterfaceinterface1takeoverapartnervirtualinterfaceduringfailover?
[n]:
y------当发生群集倒换时是否接管备用节点的虚拟网卡
Theclusteredfailoversoftwareisnotyetlicensed.Toenable
networkfailover,youshouldrunthe'license'commandfor
clusteredfailover.
Pleaseenterthepartnervirtualinterfacenametobetakenoverbyinterface1[]:
interface0
---------当发生群集倒换时接管备用节点的虚拟网卡名称
Pleaseentermediatypeforinterface1{100tx-fd,tp-fd,100tx,tp,auto(10/100/1000)}[auto]:
---------虚拟网卡的类型,选择auto
Wouldyouliketocontinuesetupthroughthewebinterface?
[n]:
y
-----------是否希望通过web方式进行设定,选择y
Pointawebbrowserto
http:
//zxmvs/api
or
http:
//10.42.86.241/api
tocompletesetup.Atanytime,youcancontinuewiththeconsolesetup.
PleaseenterthenameorIPaddressofthedefaultgateway:
10.42.87.254
----------默认网关
Theadministrationhostisgivenrootaccesstothefiler's
/etcfilesforsystemadministration.Toallow/etcrootaccess
toallNFSclientsenterRETURNbelow.
PleaseenterthenameorIPaddressoftheadministrationhost:
--------输入管理员主机的名称或者IP地址
Whereisthefilerlocated?
[]:
4A
-------filer所在位置
DoyouwanttorunDNSresolver?
[n]:
-----是否运行DNS服务器
DoyouwanttorunNISclient?
[n]:
------是否运行NIS客户端
ThissystemwillsendeventmessagesandweeklyreportstoNetworkApplianceTechnicalSupport.Todisablethisfeature,enter"optionsautosupport.support.enableoff"within24hours.EnablingAutosupportcansignificantlyspeedproblemdeterminationandresolutionshouldaproblemoccuronyoursystem.ForfurtherinformationonAutosupport,pleasesee:
http:
//now.NetA
Pressthereturnkeytocontinue.
Therootvolumecurrentlycontains2disks;youmayaddmorediskstoitlaterusingthe"voladd"command.Nowunpackthetarfileprovidedonthetarfloppiesintotherootdirectoryofthefiler.Whenyouaredone,type"download"toinstallthebootimageontheharddiskand"reboot"tobeginusingthenewimage.
4.3操作系统安装
当系统初始化设置完成以后,如果需要更新FAS存储系统的操作系统还需要执行以下步骤:
4.3.1注册现有系统的cifs服务,将操作系统文件上传至FAS存储系统
1.参照4.4.2的说明注册cifs服务,执行以下命令设置cifs配置参数
zxmvs>cifssetup
EnableCIFSaccesstothefilerbyaWindows(tm)PC
YourfileriscurrentlyonlyvisibletoPCsonthesamenet.
DoyouwishtomakethesystemvisibleviaWINS?
[no]:
y
PleaseenternextWINSIPaddress(orreturntoendlist)[]:
CIFSrequireslocal/etc/passwdand/etc/groupfilesformultiprotocol.
Defaultpasswdfilewillbecreatedcontaining'root','pcuser',
and'nobody'.
Enterthepasswordforroot[]:
Retypethepassword:
ThisfileriscurrentlylicensedforCIFSonly.
ThefilerwillbeconfiguredasaNTFS_onlyfiler.Itcan
bechangedtoaMultiprotocolfilerbyreissuingtheCIFSsetupcommand.
Thedefaultnameofthisfilerwillbe'ZXMVS'.
Doyouwanttomodifythisname?
[no]:
CIFSsupportsthreetypesofuserauthentication:
1.WindowsDomainauthentication.
2.WindowsWorkgroupauthenticationusingthefiler'suseraccounts.
3./etc/passwdand/orNIS/LDAPbasedauthentication.
Whattypeofauthenticationwillthisfileruse?
[1]:
3
Thefilerwilluse/etc/passwdand/orNIS/LDAPforauthentication.
TheFilerwillusecleartextpasswords.
Win98andNTclientsrequireregistrychangestoaccessfiler.
ThisfilerwillbeamemberoftheWorkgroup'WORKGROUP'.
Doyouwanttomodifythisname?
[no]:
CIFSlocalserverisrunning.
2.通过以下命令设置一个cifs共享服务
zxmvs1>cifsshares–addroot/vol/vol0
3.在windows主机上将FAS存储系统共享出来root卷磁盘空间(即vol/vol0)映射为一个本地盘符(假设为H)
4.从NetApp的技术支持网站http:
//now.NetA根据存储设备的systemID注册一个帐户(注册审核一般至少需要一个工作日,如果急需使用,请联系NetApp技术支持工程师提供),下载相应的操作系统版本到本地,双击执行后将出现图4.2所示提示框,点击“确定”。
图4.2
5.在图4.3的窗体中,选择映射了FAS存储系统根卷的本地盘符,将操作系统压缩包解压到etc目录下,解压的过程如图4.4所示。
图4.3
图4.4
6.下载完成后,在FAS存储系统上执行download命令将操作系统程序拷贝到引导区,执行过程如下:
Zxmvs1>download
download:
YoucancancelthisoperationbyhittingCtrl-Cinthenext6seconds.
download:
Dependingonsystemload,itmaytakemanyminutes
download:
tocompletethisoperation.Untilitfinishes,youwill
download:
notbeabletousetheconsole.
ThuJul2814:
53:
14GMT[download.request:
notice]:
Operatorrequesteddownloadinitiated
download:
Downloadingbootdevice
......................
download:
Downloadingbootdevice(ServiceArea)
.....
zxmvs>ThuJul2814:
54:
19GMT[download.requestDone:
notice]:
Operatorrequesteddownloadcompleted
7.按照提示执行reboot命令,重新引导存储系统。
Zxmvs1>reboot
4.4应用配置
4.4.1系统参数配置
4.4.1.1命令行方式
在4.2.2系统设定中已经对系统参数进行了设置,如果需要重新设定,可以在命令行下直接执行setup即可,配置步骤与前面相同。
4.4.1.2Web方式
1.打开IE浏览器,在地址栏中输入http:
//FAS存储系统的IP地址/na_admin,如图4.5所示,即可在web方式下对NetApp存储设备进行配置、管理、获取帮助、请求技术支持等。
2.在图4.5中点击FilerView前面的图标,即可进入图4.6所示的系统管理和监控界面。
图4.5
图4.6
3.在图4.6左边的目录树中选择zxmvs(初始化时设置的Filer名称)-Wizards-SetupWizards,出现图4.7页面,根据提示信息可以对系统参数进行设定。
图4.7
4.4.2注册需要使用的服务
4.4.2.1命令行方式
使用license命令可以查看Filer所支持的协议类型,如下所示:
zxmvs>license
cifssiteZOVOSXAexpires22Oct2005
clusternotlicensed
cluster_remotenotlicensed
dafsnotlicensed
disk_sanitizationnotlicensed
fcpnotlicensed
gatewaynotlicensed
gateway_hitachinotlicensed
httpnotlicensed
iscsinotlicensed
multistorenotlicensed
nfsnotlicensed
smdominonotlicensed
smsqlnotlicensed
snaplocknotlicensed
snaplock_enterprisenotlicensed
snapmanagerexchangenotlicensed
snapmirrornotlicensed
snapmirror_syncnotlicensed
snapmovernotlicensed
snaprestorenotlicensed
sv_linux_prinotlicensed
sv_ontap_prinotlicensed
sv_ontap_secnotlicensed
sv_unix_prinotlicensed
sv_windows_ofm_prinotlicensed
sv_windows_prinotlicensed
syncmirror_localnotlicensed
vldnotlicensed
NetApp根据不同的协议类型有不同的license,一般在随机文档中包含有license信息,或者通过Filer的SSN号码到NetApp技术支持网站http:
//now.NetA注册获取。
如果发现信息无效或者注册失败,可以和NetApp技术支持工程师联系。
当获取相应协议或服务的license之后,可以使用如下命令进行注册:
Licenseadd××××××××××××代表获取的注册码
4.4.2.2Web方式
1.在图4.6左边的目录树中选择zxmvs(初始化时设置的Filer名称)-Filer-ManageLicenses,出现图4.8页面,输入相关协议的注册码信息,点击APPLY按钮。
获取注册码的途径同4.4.2.1的描述。
图4.8
4.4.3创建一个卷并输出空间
4.4.3.1命令行方式
系统创建完成后只有一个默认的root卷,此时需要根据实际应用和盘柜中磁盘情况创建新的卷。
1.使用volstatus命令查看Filer中的spare盘的信息,如下所示。
zxmvs>volstatus-r
Volumevol0(online,raid4)(blockchecksums)
Plex/vol0/plex0(online,normal,active)
RAIDgroup/vol0/plex0/rg0(normal)
RAIDDiskDeviceHASHELFBAYCHANUsed(MB/blks)Phys(MB/blks)
---------------------------------------------