一、初始化系统 2
二、初始化设置 5
三、打系统补丁 6
四、N3700参数设置 8
4.1修改RAID 8
4.2修改时间 9
4.3关闭集合快照 9
4.4缩小根卷 9
4.5扩大集合 9
4.6添加license 13
4.7配置双机 13
五、配置应用 13
5.1新键应用卷 13
5.2配置ISCSI-LUN 16
5.2.1创建LUN 17
5.2.2安装initiator 17
5.2.3连接N3700 18
5.2.4创建initiator group 20
5.2.5MAP LUN 21
5.2.6主机识别硬盘 22
5.3配置cifs share 25
一、初始化系统
(分配硬盘,安装系统)
配置电脑通过CONSOLE连接到N3700(属性为还原默认值),开机按CTRL+C进入CFE模式
CFE>boot_backup
Loading: 0xffffffff80001000/21688 0xffffffff8000b8/10533103 Entry at 0xffffffff80001000
Starting program at 0xffffffff80001000
Press CTRL-C for special boot menu
......................................Interconnect based upon M-VIA ERing Support
Copyright (c) 1998-2001 Berkeley Lab
http://www.nersc.gov/research/FTG/via
Fri Oct 26 02:16:10 GMT [cf.nm.nicTransitionUp:info]: Interconnect link 0 is UP
Fri Oct 26 02:16:10 GMT [cf.nm.nicTransitionDown:warning]: Interconnect link 0 is DOWN
ispfc: Fibre Channel adapter 0c appears to be unattached/disconnected.
If adapter is in use, check cabling and if connected to disk
shelves, also check seating of LRC cards.
Fri Oct 26 02:16:38 GMT [fci.initialization.failed:error]: Initialization failed on Fibre Channel adapter 0c.
Data ONTAP Release 7.1H2: Fri Nov 11 11:14:38 PST 2005 (IBM)
Copyright (c) 1992-2005 Network Appliance, Inc.
Starting boot on Fri Oct 26 02:16:09 GMT 2007
Fri Oct 26 02:16:41 GMT [diskown.isEnabled:info]: software ownership has been enabled for this system
This boot is of OS version: Data ONTAP Release 7.1H2.
The last time this filer booted, it used OS version: Data ONTAP Release 7.2.2.
This boot is of an OS which has RAID version 7 and WAFL version 57;
The last time this filer booted, it used an OS version that contained
RAID version 8 and WAFL version 72.
If you continue this boot, the OS will not recognize
the disk format of your filer, and this boot attempt
will likely be unsuccessful.
(1) Normal boot.
(2) Boot without /etc/rc.
(3) Change password.
(4) Initialize owned disks (3 disks are owned by this filer).
(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:
? fcstat
halt help
raid_config storage
version vol
aggr environment
led_on led_off
scsi disk_fw_update_fix
disk disk_list
fcdiag fctest
disktest diskcopy
Type "help 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. FAILURE TO DO SO CAN RESULT IN YOUR FILESYSTEMS BEING DESTROYED Continue with boot? y Fri Oct 26 02:17:04 GMT [mgr.boot.reason_ok:notice]: System rebooted. Fri Oct 26 02:17:05 GMT [console_login_mgr:info]: root logged in from console > *>disk show –v (检查硬盘分配) Local System ID: 84228035 DISK OWNER POOL SERIAL NUMBER ------------ ------------- ----- ------------- 0b.34 N3700b (84243431) Pool0 ZBH6Y3TF 0b.33 N3700b (84243431) Pool0 ZBH5PBNH 0b.32 N3700b (84243431) Pool0 ZBH6XRZF 0b.45 N3700b (84243431) Pool0 ZBH6RPEF 0b.41 N3700b (84243431) Pool0 ZBH6Y7HF 0b.37 N3700b (84243431) Pool0 ZBH6RRLF 0b.44 N3700b (84243431) Pool0 ZBH6L1HF 0b.36 N3700b (84243431) Pool0 ZBH6XU9F 0b.42 N3700b (84243431) Pool0 ZBH6XH4F 0b.38 N3700b (84243431) Pool0 ZBH6RJJF 0b.40 N3700b (84243431) Pool0 ZBH6KJ4F 0b.35 N3700b (84243431) Pool0 ZBH5PDSH 0b.43 N3700b (84243431) Pool0 ZBH6Y77F 0b.39 N3700b (84243431) Pool0 ZBH6RYNF 0b.17 N3700b (84228035) Pool0 3KT2MDZ600007614UYE4 0b.16 N3700b (84228035) Pool0 3KT2HTQD00007610UBB0 0b.18 N3700b (84228035) Pool0 3KT2PXHK00007612TB9L 如果硬盘的owner号与机头的ID号不同用下面命令删除硬盘owner号 *> disk assign 0b.xx -s unowned -f如果硬盘owner号为UNOWNED通过下面命令挂盘 *> disk assign 0b.xx 硬盘分配好后输入halt返回CFE *>halt 在CFE模式下再次进入维护菜单 CFE>boot_backup (1) Normal boot. (2) Boot without /etc/rc. (3) Change password. (4) Initialize owned disks (3 disks are owned by this filer). (4a) Same as option 4, but create a flexible root volume. (5) Maintenance mode boot. Selection (1-5)?4a (格式化硬盘,做系统,73G硬盘时间约为20分钟,500G硬盘约为150分钟) 二、初始化设置 Data ONTAP Release 7.1H2: Fri Nov 11 11:14:38 PST 2005 (IBM) System ID: 0084243431 (N3700b); partner ID: 0084228035 () System Serial Number: 130240711 (N3700b) System Rev: A0 slot 0: System Board Processors: 2 Processor revision: B2 Processor type: 1250 Memory Size: 1022 MB slot 0: FC Host Adapter 0b 17 Disks: 6127.5GB 1 shelf with AT-FCX, 1 shelf with EFH slot 0: FC Host Adapter 0c slot 0: Dual SB1250-Gigabit Ethernet Controller e0a MAC Address: 00:a0:98:03:c1:12 (auto-unknown-down) e0b MAC Address: 00:a0:98:03:c1:13 (auto-unknown-cfg_down) slot 0: NetApp ATA/IDE Adapter 0a (0x00000000000001f0) 0a.0 249MB Please enter the new hostname [N3700b]: Do you want to configure virtual network interfaces? [n]: y Number of virtual interfaces to configure? [0] 1 Name of virtual interface #1 []: vif Is vif a single [s] or multi [m] virtual interface? [m] s Number of links for vif? [0] 2 Name of link #1 for vif []: e0a Name of link #2 for vif []: e0b Please enter the IP address for Network Interface vif []: 192.168.0.20 Please enter the netmask for Network Interface vif [255.255.255.0]: Should virtual interface vif take over a partner virtual interface during failover? [n]: y The clustered failover software is not yet licensed. To enable network failover, you should run the 'license' command for clustered failover. Please enter the partner virtual interface name to be taken over by vif []: vif Please enter media type for vif {100tx-fd, tp-fd, 100tx, tp, auto (10/100/1000)} [auto]: Would you like to continue setup through the web interface? [n]: Please enter the name or IP address of the default gateway: The administration host is given root access to the filer's /etc files for system administration. To allow /etc root access To all NFS clients enter RETURN below. Please enter the name or IP address of the administration host: What is the TimeZone: Asia/Shanghai Where is the filer located? []: (使用当地地址,例如Yangjiapin) What language will be used for multi-protocol files (Type ? for list)?: language not set Do you want to run DNS resolver? [n]: Do you want to run NIS client? [n]: The initial aggregate currently contains 2 disks; you may add more disks to it later using the "aggr add" command. 三、打系统补丁 使用一个临时的CIFS liecese 安装DataONTAP 7.2.2 N3700b> cifs setup This process will enable CIFS access to the filer from a Windows(R) system. Use "?" for help at any prompt and Ctrl-C to exit without committing changes. Your filer does not have WINS configured and is visible only to clients on the same subnet. Do you want to make the system visible via WINS? [n]: A filer can be configured for multiprotocol access, or as an NTFS-only filer. Since multiple protocols are currently licensed on this filer, we recommend that you configure this filer as a multiprotocol filer (1) Multiprotocol filer (2) NTFS-only filer Selection (1-2)? [1]: CIFS requires local /etc/passwd and /etc/group files and default files will be created. The default passwd file contains entries for 'root', 'pcuser', and 'nobody'. Enter the password for the root user []: Retype the password: The default name for this CIFS server is 'N3700B'. Would you like to change this name? [n]: Data ONTAP CIFS services support four styles of user authentication. Choose the one from the list below that best suits your situation. (1) Active Directory domain authentication (Active Directory domains only) (2) Windows NT 4 domain authentication (Windows NT or Active Directory domains (3) Windows Workgroup authentication using the filer's local user accounts (4) /etc/passwd and/or NIS/LDAP authentication Selection (1-4)? [1]: 3 What is the name of the Workgroup? [WORKGROUP]: CIFS - Starting SMB protocol... It is recommended that you create the local administrator account (N3700B\\administrator) for this filer. Do you want to create the N3700B\\administrator account? [y]: Enter the new password for N3700B\\administrator: Retype the password: Welcome to the WORKGROUP Windows(R) workgroup CIFS local server is running. 在配置机映射根卷,用户名administrator, 密码为空 运行722_setup_m解压缩补丁包 解压缩完毕后在命令行下输入download N3700b> download download: You can cancel this operation by hitting Ctrl-C in the next 6 seconds. download: Depending on system load, it may take many minutes download: to complete this operation. Until it finishes, you will download: not be able to use the console. Fri Oct 26 01:43:45 GMT [download.request:notice]: Operator requested download initiated download: Downloading boot device ................................ 完成后重启 N3700>license delete cifs N3700b>reboot 四、N3700参数设置 4.1修改RAID N3700b>aggr options aggr0 raidtype raid4 N3700b>disk zero all spares 4.2修改时间 N3700b>date 年月日小时分钟 4.3关闭集合快照 N3700b>snap reserve –A aggr0 0 4.4缩小根卷 N3700b> vol size vol0 15G 4.5扩大集合 登陆WEB管理http://192.168.0.20/na_admin/ 点击FILERVIEW N3700bAggregatesManage 点击aggr0Add disk 添加硬盘,留0b.44,0b.45作为热备(SATA做DP系统强制双热备) 确认完成加盘。 4.6添加license N3700b>license add XXXXXXX 本项目只有iSCSI License 和CFO License 4.7配置双机 N3700b>cf enable (需要重启后才生效) 五、配置应用 5.1新键应用卷 N3700bVolumesAdd 5.2配置ISCSI-LUN N3700bLunsEnable/Disable 5.2.1创建LUN N3700bLunsAdd 注意空间大小占用不要超过卷的97% 5.2.2安装initiator 5.2.3连接N3700 5.2.4创建initiator group N3700bLunsInitiator GroupsAdd 5.2.5MAP LUN N3700bLunsManage 5.2.6主机识别硬盘 我的电脑管理 磁盘管理重新扫描磁盘 5.3配置cifs share 5.3.1)N3700a ->cifs->shares->add创建CIFS share 5.3.2)查看共享目录 5.3.3)用命令模式查看