netapp 实践篇:DS14 系列: 连接图:
启动机器: 注意控制器的ID要
使用串口连接进 控制器
CFE> ? 查看命令
CFE> boot ontap 启动ontap 系统
在发生问题时,进入维护模式 5、maintance mode
(1) Normal boot.
(2) Boot without /etc/rc.
(3) Change password.
(4) Assign ownership and initialize disks for root
ume.
(4a) Same as option 4, but create a flexible root volume.
(5) Maintenance mode boot.
Selection (1-5)? 5
You have selected the maintenance boot option:
the system has booted in maintenance mode allowing the
following operations to be performed:
? fcadmin
fcstat sasadmin
sasstat halt
help raid_config
storage sesdiag
version vol
aggr environment
led_on led_off
sata scsi
disk disk_list
fcdiag fctest
disktest diskcopy
xortest outb
disk_mung
Type "help " for more details.
In a cluster, you MUST ensure that the partner is (and remains) down,
or that takeover is manually disabled on the partner node,
because clustering software is not started or fully enabled
in Maintenance mode.
1、发生连接故障时,应该查看连接是否正常。
*>?
*> fcadmin 查看两个光纤连接是否正确 online initiator : 连接到机头的 target: 连接到光纤交换机 //查看连接是否正常
*>disk show
*>disk_list
*>disk reassign -s 旧机头ID -d 新机头ID 在机头的ID 不能对应 磁盘时,会发生ontap 起不来的问题,此时应该重新mapping 磁盘到此机头,再重启。
*>halt 停止启动 ontap 系统
2、在发生不能重新启动 系统时,这是需要重新配置 filer
在维护模式下, 选择 4a、重新配置filer 。
重启后,自动配置。
3、升级ontap 系统
首先应该在 now.netapp网站上下载 要升级的最新的软件。
运行该软件,解压更新包,并通过FTP 上传到 filer 的 /etc/目录下。
执行命令:
>download
download 完成之后,重启filer ,即可自动更新升级。
4、常用的一些命令
> setup 初始化filer的一些 基本设置
>sysconfig 显示系统的一些基本设置
>aggr
>vol
>disk
>cf enable //起用双机功能
5、修改aggr0 的一些设置
1)改变aggr 的raidtype
2) 改变aggr 的 raidsize
3)aggr add 增加磁盘
4)aggr zero spares 磁盘的零化,在其他aggr 是使用过的磁盘要用时,应该零化。
6、netapp iscsi 的实现
#vol create vol1 aggr0 100m
#vol size
CFE> help
Available commands:
version Print CFE version.
update_flash Updates the boot flash with the firmware image on the PC-Card.
netboot Boots the supplied URL off the network.
boot_diags Boots the diagnostic image off of the PC-Card.
boot_backup Boots the backup image of Data OnTap off of the PC-Card.
boot_primary Boots the primary image of Data OnTap off of the PC-Card.
boot_ontap Boots the correct image of Data OnTap
bye Reset the system.
flash Update a flash memory device
autoboot Automatic system bootstrap.
go Start a previously loaded program.
boot Load an executable file into memory and execute it
load Load an executable file into memory without executing it
set date Set current date
set time Set current time
ping Ping a remote IP host.
arp Display or modify the ARP Table
ifconfig Configure the Ethernet interface
show date Display current time according to RTC
show time Display current time according to RTC
show devices Display information about the installed devices.
unsetenv Delete an environment variable.
set-defaults Reset all system environmental variables to default values.
setenv Set an environment variable.
printenv Display the environment variables
help Obtain help for CFE commands
For more information about a command, enter 'help command-name'
CFE> boot_ontap
nfs 权限控制的实现
/etc/netgroup //grou名 (主机,用户,域)
trusted-hosts (host1,,) (host2,,)
untrusted-hosts (host3,,) (host4,,) (host5,,)
all-hosts trusted-hosts untrusted-hosts
/etc/exports //NIS for authenticating // 可以不用配置 /etc/netgroup
/vol/vol0 -access=trusted-hosts,root=host1
/vol/vol0/home -access=untrusted-hosts