1、硬raid配置指导硬件raid2008-7-26硬Raid概述1.1.硬件raid:随着rx3600,rx6600机器的普及,硬件raid 也越来越多。做硬件raid有两种方式:1. 一种是通过36 66 的Controller for Internal Storage PCI-X 8-port SAS Controller Card做raid;2. 第二种是使用Smart Array RAID Controller Card,也就是我们俗称的P400,P600,P800。根据所装操作系统得不同,和raid的要求不同,所使用的卡也是不同,可以参照下面的资料。支持的操作系统支持的raid级别卡的
2、类型SAS Controller CardHP-UX and OpenVMSRAID 1PCI-XSmart Array P400HP-UX, OpenVMS, Windows and LinuxRAID 1 ,RAID 5 ,RAID 6PCI EXPRESSSmart Array P600Windows and LinuxRAID 1 ,RAID 5 ,RAID 6PCI-XSmart Array P800WindowsRAID 1 ,RAID 5 ,RAID 6PCI EXPRESS1.2.所以再考虑作硬raid时,我们应考虑如下因素3. 操作系统(HP-UX, OpenVMS, Win
3、dows or Linux)4. Raid类型(0,1,5,6)5. Raid卡类型(PCI-x or PCI-e)6. 主机的I/O board 类型是否支持PCI-e使用SAS Controller Card 配置硬raid1.3.重启主机进入EFI界面二、选择EFI Shell Built-in 进入shellSearching for devicesLoading.: EFI Shell Built-inEFI Shell version 2.00 14.62Device mapping table fs0 : Acpi(HWP0002,PNP0A03,400)/Pci(1|0)/Sa
4、s(Addr5000C500082310F9,Lun0)/HD(Part1,Sig17DCDF48-B064-11DC-8002-D6217B60E588) fs1 : Acpi(HWP0002,PNP0A03,400)/Pci(1|0)/Sas(Addr5000C500082310F9,Lun0)/HD(Part3,Sig17DCDF7A-B064-11DC-8004-D6217B60E588) blk0 : Acpi(HWP0002,PNP0A03,0)/Pci(2|1)/Usb(0, 0) blk1 : Acpi(HWP0002,PNP0A03,400)/Pci(1|0)/Sas(Add
5、r5000C500082310F9,Lun0) blk2 : Acpi(HWP0002,PNP0A03,400)/Pci(1|0)/Sas(Addr5000C500082310F9,Lun0)/HD(Part1,Sig17DCDF48-B064-11DC-8002-D6217B60E588) blk3 : Acpi(HWP0002,PNP0A03,400)/Pci(1|0)/Sas(Addr5000C500082310F9,Lun0)/HD(Part2,Sig17DCDF5C-B064-11DC-8003-D6217B60E588) blk4 : Acpi(HWP0002,PNP0A03,40
6、0)/Pci(1|0)/Sas(Addr5000C500082310F9,Lun0)/HD(Part3,Sig17DCDF7A-B064-11DC-8004-D6217B60E588) blk5 : Acpi(HWP0002,PNP0A03,400)/Pci(1|0)/Sas(Addr5000C,Lun0)startup.nsh echo -off setting hpux path(EFIHPUX). type fsx: where x is your bootdisk (0, 1, 2.) type hpux to start hpux bootloader 1.4.输入devtreeSh
7、ell devtree /显示设备列表Device Tree Ctrl04 Ctrl08 VenHw(SysROM) Ctrl10 Acpi(HWP0002,PNP0A03,0) Ctrl1B Acpi(HWP0002,PNP0A03,0)/Pci(1|0) Ctrl1C Acpi(HWP0002,PNP0A03,0)/Pci(1|1) Ctrl1D Acpi(HWP0002,PNP0A03,0)/Pci(1|2) Ctrl42 16550 Serial UART Ctrl43 VT-100+ Serial Console Ctrl3C Primary Console Input Device
8、 Ctrl3D Primary Console Output Device Ctrl3B Primary Standard Error Device Ctrl1E Usb Open Host Controller Ctrl44 Generic Usb Keyboard Ctrl3C Primary Console Input Device Ctrl45 Acpi(HWP0002,PNP0A03,0)/Pci(2|0)/Usb(0, 1) Ctrl1F Usb Open Host Controller Ctrl46 Usb Bot Mass Storage Ctrl20 Acpi(HWP0002
9、,PNP0A03,0)/Pci(2|2) Ctrl21 Acpi(HWP0002,PNP0A03,0)/Pci(4|0) Ctrl3D Primary Console Output Device Ctrl3B Primary Standard Error Device Ctrl11 Acpi(HWP0002,PNP0A03,100) Ctrl12 Acpi(HWP0002,PNP0A03,200) Ctrl13 Acpi(HWP0002,PNP0A03,300) Ctrl23 Acpi(HWP0002,PNP0A03,300)/Pci(1|0) Ctrl68 Intel(R) PRO/1000
10、 MT Server Connection Ctrl14 Acpi(HWP0002,PNP0A03,400) Ctrl27 LSI Logic SAS Controller /硬盘的控制器 Ctrl67 HP DG146ABAB4 HPDA CtrlA9 FAT File System FAT32 500 MB CtrlAA Acpi(HWP0002,PNP0A03,400)/Pci(1|0)/Sas(Addr5000C500082310F9,Lun0)/HD(Part2,Sig17DCDF5C-B064-11DC-8003-D6217B60E588) CtrlAB FAT File Syst
11、em FAT32 400 MB Ctrl69 HP DG146ABAB4 HPDA Ctrl28 Acpi(HWP0002,PNP0A03,400)/Pci(2|0) Ctrl6A Acpi(HWP0002,PNP0A03,400)/Pci(2|0)/Mac(001A4B079606) Ctrl29 Acpi(HWP0002,PNP0A03,400)/Pci(2|1) Ctrl6B Acpi(HWP0002,PNP0A03,400)/Pci(2|1)/Mac(001A4B079607) Ctrl15 Acpi(HWP0002,PNP0A03,500) Ctrl16 Acpi(HWP0002,P
12、NP0A03,600) Ctrl17 Acpi(HWP0002,PNP0A03,700) Ctrl2B Acpi(HWP0002,PNP0A03,700)/Pci(1|0) Ctrl6C Intel(R) PRO/1000 MT Server Connection Ctrl64 VenHw(D65A6B8C-71E5-4DF0-A909-F0D2992B5AA9) Ctrl66 Acpi(HWP0002,PNP0A03,400)/Pci(1|0)/Ctrl(0)1.5.输入drvcfg找出控制器所对应的驱动Shell drvcfgConfigurable Components Drv24 Ct
13、rl27 Langeng Drv2C Ctrl44 Langeng1.6.drvcfg -s 24 27进行配置,出现如下窗口Shell drvcfg -s 24 27 /进行配置,出现如下窗口1.7.配置选中,回车选择红色标示的选项,进入下一界面:1.8.选中该选项,进入下一界面:1.9.直接输入M,进行修改RAID DISK 状态变成yes,选中下面一块磁盘的RAID DISK 选项,进入下一界面直接回车,两块磁盘的RAID DISK 状态均变为 yes ,退出,进入下一界面选择保存设置退出,配置完毕!Smart Array Card做硬raid(orac)Orac出现在安腾系列主机启动E
14、FI shell的过程中,当看到提示按F8进入orac时按F8进入(注意如果是非标准键盘输入,比如用笔记本串口连接,用Esc+8代替F8)进入orac后看到以下画面:1.10.创建logical drive:选中create logical drive 进入创建raid过程。选择图1中Create Logical Drive进入图2在上图中我们可以看到,左边Available Physical Drives选择框中就是我们物理上连接在需要配置的raid卡上的物理盘,可以选择要对哪几块盘做操作,在Raid Configurations 选择框中可以选择要作的raid级别,在这里3块盘以上可以做Raid5,2块盘以上可以做raid1+0,或只做raid0,Spare中可以用一块盘做hot spare盘(raid知识请查看相关资料)。选择完毕后按Enter创建logical drive,提示下图:按F8(Esc+8)确定配置,这样我们就配置好了,显示下图。1.11.删除logical drive:进入配置界面,选择Delete Logical Drive选择要删除的logical drive按F8(Esc + 8)删除,然后按F3 (Esc + 8)确定1.12.查看logical drive:进入配置界面,选择Delete Logical Drive
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1