教学文库网 - 权威文档分享云平台
您的当前位置:首页 > 精品文档 > 政务民生 >

netapp存储配置练习 - 图文(3)

来源:网络收集 时间:2026-01-12
导读: 通过软件命令升级操作系统一般是下面的步骤: 第一步将.exe结尾的合适的系统文件下载到web服务器。 第二步通过软件命令找到软件并安装它。 Software get URL [-f] [destination] 例如:software get http://web.addr

通过软件命令升级操作系统一般是下面的步骤:

第一步将.exe结尾的合适的系统文件下载到web服务器。 第二步通过软件命令找到软件并安装它。 Software get URL [-f] [destination]

例如:software get http://web.address.com/XX_setup_i.exe 从web服务器得到安装镜像 Software list 列出存储上目前可以得到的安装镜像 Software delete software_file1 从存储上删除镜像

Software install software_file 安装镜像文件到存储上,然后download,reboot Software install http://web.address.com/XX_setup_i.exe 下载并安装一步完成

2.8、重新安装操作系统

重装存储意味着格式化所有的硬盘、安装DataONTAP软件和重新配置软件。一般这么做比较典型的情况是减少磁盘容量或者重新部署新应用。

和全新安装最大的区别就是要格式化所有的硬盘,全新的存储一般已经做好占用2-3个盘的根卷(vol0),其它都是spare盘。而当重新安装存储的时候,你就要擦掉硬盘配置和所有的系统配置文件,所有已经存在的数据都要被毁掉,提供一个全新的开始。所以重新安装需要格式化硬盘,然后创建一个传统或灵活的根卷。

开始全新安装: 第一步reboot存储。

第二步:Filer启动的时候按[Ctrl+C]可以进入固件设置状态,格式化所有硬盘。

上图选择4,就是格式化所有磁盘,然后安装新的文件系统。 tan> software get http://jhj/download/setup.exe tan> software install setup.exe tan>download tan>reboot tan> version

NetApp Release 7.3: Thu Jul 24 12:55:28 PDT 2008

然后执行setup来配置存储,但是setup过程和打license过程是独立的(格式化硬盘后,license信息丢失)。

三、基础管理

3.1、访问console端口

? ? ?

通过terminal软件连接console口的参数设置: Bits per second 9600 Data bits 8 Parity None Stop bits 1 Flow control None

Console口的访问是有密码保护的。

通过terminal软件直接连接到console口。(通过标准的RS232连接到console口,线缆是DB9 serial cable) 通过telnet(TCP/IP)远程连接到filer。 通过rsh或SSH连接到filer。

通过telnet访问filer:

Data ONTAP (wangjun.) ?===filer的名字 login: root Password: wangjun> Sat Dec 12 12:52:18 GMT [telnet_0:info]: root logged in from host: 192.168.0.100 ?==从那登陆过来的。 wangjun> 用Crtl+D或者logout telnet命令退出filer. wangjun> options telnet.enable ?===目前telnet访问是打开的,on也是缺省值 telnet.enable on wangjun> options telnet.enable off ?===在filer将telnet server关掉,看出现什么结果 wangjun> options telnet.enable telnet.enable off C:\\Users\\wangjun>telnet 192.168.0.180 ?===客户端通过telnet已经连接不上 filer 正在连接192.168.0.180...无法打开到主机的连接。 在端口 23: 连接失败 wangjun> options telnet.access ?==在允许telnet的基础上可以限制某些主机、某些网段的主机通过某个接口访问等,legacy是允许任何主机telnet。 telnet.access legacy wangjun> options telnet.access host!=192.168.0.100 ?==设置不允许192.168.0.100telnet上filer wangjun> options telnet.access host=192.168.0.100 ?==设置只允许192.168.0.100telnet上filer wangjun> options telnet.access host=10.42.69.1/24 ?==允许这个网段的机器访问filer wangjun>options ssh.access \ ?==允许主机(abc,xyz 通过e0口)访问filer wangjun>options telnet.access \ ?==禁止所有主机访问filer wangjun> options autologout.telnet.enabl ?==打开telnet自动logout功能 autologout.telnet.enable on ?===这个值是off则下面这个参数设置也没意义 wangjun> options autologout.telnet.time autologout.telnet.timeout 60 ?==默认telnet上后60分钟没有操作就自动退出 wangjun> secureadmin setup ssh ?===打开ssh支持,启动ssh server SSH Setup --------- Determining if SSH Setup has already been done before...no SSH server supports both ssh1.x and ssh2.0 protocols. SSH server needs two RSA keys to support ssh1.x protocol. The host key is generated and saved to file /etc/sshd/ssh_host_key during setup. The server key is re-generated every hour when SSH server is running. SSH server needs a RSA host key and a DSA host key to support ssh2.0 protocol. The host keys are generated and saved to /etc/sshd/ssh_host_rsa_key and /etc/sshd/ssh_host_dsa_key files respectively during setup. SSH Setup will now ask you for the sizes of the host and server keys. For ssh1.0 protocol, key sizes must be between 384 and 2048 bits. For ssh2.0 protocol, key sizes must be between 768 and 2048 bits. The size of the host and server keys must differ by at least 128 bits. Please enter the size of host key for ssh1.x protocol [768] : Please enter the size of server key for ssh1.x protocol [512] : Please enter the size of host keys for ssh2.0 protocol [768] : You have specified these parameters: host key size = 768 bits server key size = 512 bits host key size for ssh2.0 protocol = 768 bits Is this correct? [yes] Setup will now generate the host keys. It will take a minute. After Setup is finished the SSH server will start automatically. wangjun> Sat Dec 12 13:02:26 GMT [secureadmin.ssh.setup.success:info]: SSH setup is done and ssh2 should be enabled. Host keys are stored in /etc/sshd/ssh_host_key, /etc/sshd/ssh_host_rsa_key, and /etc/sshd/ssh_host_dsa_key.

Fileview通过html和SNMP协议可以和filer通讯和进行管理,并还可以起一个telnet session来进行命令行管理。Fileview里面同一时刻只允许有一个telnet session,则否会出下面提示。

3.2、基本的存储配置

3.2.1、最基本的几个命令来了解你的系统

许多命令提供了filer的系统配置命令,这些命令被用来: ? ? ?

检查系统配置 监控系统状态

校验系统正确的配置。

wangjun> sysconfig –v ?===查看硬件信息,主要显示了硬件平台、版本、适配器、硬盘等硬件信息 NetApp Release 7.3: Thu Jul 24 12:55:28 PDT 2008 ?=操作系统版本 System ID: 0099908572 (wangjun) ?=system ID、序列号等信息 System Serial Number: 987654-32-0 (wangjun) Model Name: Simulator ?==硬件平台型号 Processors: 1 slot 0: NetApp Virtual SCSI Host Adapter v0 ?=== …… 此处隐藏:4600字,全部文档内容请下载后查看。喜欢就下载吧 ……

netapp存储配置练习 - 图文(3).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.jiaowen.net/wendang/447046.html(转载请注明文章来源)
Copyright © 2020-2025 教文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:78024566 邮箱:78024566@qq.com
苏ICP备19068818号-2
Top
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)