[共享]关于SUN的StorEdge 3310的安装调试过程
发表于:2007-06-09来源:作者:点击数:
标签:
前些日子郁闷了好几天,一直在给一个客户调试他的3310的盘阵,虽然历经痛苦,但,总算搞掂,把经验与大家分享一下: 本次客户公司使用两台SUNBlade2000做为主 服务器 ,共连一台磁盘阵列SunStorEdge3310做为存储设备。 StorEdge3310的外部连接方式为,双总线
前些日子郁闷了好几天,一直在给一个客户调试他的3310的盘阵,虽然历经痛苦,但,总算搞掂,把经验与大家分享一下:
本次客户公司使用两台SUN Blade 2000做为主
服务器,共连一台磁盘阵列Sun StorEdge 3310做为存储设备。
StorEdge 3310的外部连接方式为,双总线结构
(不好意思了,图片没贴上)
盘阵内一共有12块硬盘,根据客户要求,对其中7块硬盘做RAID5(0—0, 0—1, 0—2, 0—3, 2—0, 2—1, 2—2),对其中的两块盘做RAID1(2—3, 2—4),同时也对另外两块盘做RAID1(0—4, 0—5),最后的一块盘做为Globle Spare(2—5)。
创建三个逻辑驱动(Logic Drive),并对这三个逻辑驱动进行分区,每个驱动都做为一个逻辑分区(Logic Partition),分别挂接到两台主机,名为:bjgsun1:/bj1 bjgsun2:/ora1, bjgsun2:/ora2
有关于两台Sun Blade 2000:
1. hostname : bjgsun1 IP: a.b.c.d Netmask: 255.255.255.0
domain: bjg
2.hostname: bjgsun2 IP: a.b.c.e Netmask: 255.255.255.0
domain: bjg
在主机bjgsun1上连接盘阵设备,使用随机提供的串口线(一端为9针,另一针为9针转25针线缆),修改本地主机文件:/etc/remote
# vi /etc/remote
hardwire:\
:dv=/dev/term/b:br#9600:e1=^C^S^Q^U^D:ie=%$

e=^D:
ss3310: :dv=/dev/term/b:br#38400: e1=^C^S^Q^U^D:ie=%$

e=^D:
# tip ss3310
使用Ctrl+L来刷新屏幕,可以看到欢迎画面:使用上下键选择第二项:
1. PC Graphic(ANSI Mode)
2. Terminal(VT100 Mode)
3. PC Graphic(ANSI +Color Mode)
4. Show Transfer Rate+Show Cache Status
然后进入主画面:
--------------------------------< Main Menu >--------------------------------------------
Quick installation
View and edit Logical&& drives
View and edit logical Volumes
View and edit Host luns
View and edit scsi Drives
View and edit Scsi channels
View and edit Configuration parameters
View and edit Peripheral devices
System Functions
View system Information
View and edit event logs
默认情况下,盘阵系统已经建立起Host Luns,如果要建立自己的配置,需要先删除Host Luns,再删除Logical drives。
建立逻辑驱动:
1. 选择 view and edit Logical drives
2. 建立第一个逻辑驱动—S0,RAID级别为5,包括7块硬盘(0—0, 0—1, 0—2, 0—3, 2—0, 2—1, 2—2)
3. 配置后,选择:logical drive Assignments
4. 将本驱动分配给Secondary Control来进行管理
5. 选择:system Functions
6. Reset controller,这样使得改变生效
7. 再一次选择view and edit Logical drives
8. 选择S0后,Paritition logical drive对逻辑驱动进行分区,整个逻辑驱动被化分成一个逻辑分区
9. 选择 view and edit Logical drives
10. 建立第二个逻辑驱动—P1,RAID级别为1,包括2块硬盘(2—3, 2—4)
11. 不选择logical drive Assignments,这个驱动默认由Primary来管理
12. 再一次选择view and edit Logical drives
13. 选择P1后,Paritition logical drive对逻辑驱动进行分区,整个逻辑驱动被化分成一个逻辑分区
14. 选择:system Functions
15. Reset controller,这样使得改变生效
16. 同样步骤建立第三个逻辑驱动—P2,RAID级别为1,包括(0—4, 0—5)
17. 选择view and edit Host luns,做分区的映象
18. 选择CHL 1 ID 0 (Primary Cotroller)
19. 选择第一个可用LUN,创建LUN0
20. 同样,选择第二个可用LUN,创建LUN1
21. 选择 CHL 3 ID 1 (Secondary Controller)
22. 选择第一个可肔UN,创建LUN0
23. 选择:system Functions
24. Reset controller,这样使得改变生效
重要声明:
下载驱动的包及补丁:
SUNWqus, SUNWqusx, SUNWqusu, SUNWqusux
112697-02
及说明文档:816-2157-14.pdf
当把驱动的包和补丁安装好以后,进入系统:
# vi /kernel/drv/sd.conf
# BEGIN RAID Manager additional lun entries
# DO NOT EDIT from BEGIN above to END below...
name="sd" class="scsi" target=0 lun=1;
name="sd" class="scsi" target=0 lun=2;
name="sd" class="scsi" target=0 lun=3;
name="sd" class="scsi" target=0 lun=4;
name="sd" class="scsi" target=0 lun=5;
name="sd" class="scsi" target=0 lun=6;
name="sd" class="scsi" target=0 lun=7;
name="sd" class="scsi" target=0 lun=8;
name="sd" class="scsi" target=0 lun=9;
name="sd" class="scsi" target=0 lun=10;
name="sd" class="scsi" target=0 lun=11;
name="sd" class="scsi" target=0 lun=12;
name="sd" class="scsi" target=0 lun=13;
name="sd" class="scsi" target=0 lun=14;
name="sd" class="scsi" target=0 lun=15;
name="sd" class="scsi" target=0 lun=16;
name="sd" class="scsi" target=0 lun=17;
name="sd" class="scsi" target=0 lun=18;
name="sd" class="scsi" target=0 lun=19;
name="sd" class="scsi" target=0 lun=20;
name="sd" class="scsi" target=0 lun=21;
name="sd" class="scsi" target=0 lun=22;
name="sd" class="scsi" target=0 lun=23;
name="sd" class="scsi" target=0 lun=24;
name="sd" class="scsi" target=0 lun=25;
name="sd" class="scsi" target=0 lun=26;
nme="sd" class="scsi" target=0 lun=27;
name="sd" class="scsi" target=0 lun=28;
name="sd" class="scsi" target=0 lun=29;
name="sd" class="scsi" target=0 lun=30;
name="sd" class="scsi" target=0 lun=31;
name="sd" class="scsi" target=1 lun=1;
…..
name=”sd” class=”scsi” target=4 lun=31;
偶在这里有点懒了,用不着写这么多,不过,全写上更
安全一些!
# devfsadm –v
# reboot
# format
这时将会出现新生成的磁盘信息(也就是盘阵生成的LUN)
# newfs /dev/rdsk/cxtxdxsx
# mkdir /oradata
# mount /dev/rdsk/cxtxdxsx /oradata
哈哈,看到你想看的东东了吗?
反正偶看到了!
南非蜘蛛 回复于:2003-03-17 12:03:59
|
good~
|
solstice 回复于:2003-03-17 12:45:41
|
呵呵,希望能对大家有用啊!
至少不用像偶这样郁闷了!
|
bigbear0118 回复于:2003-03-17 15:15:39
|
不错,有启发。
|
zhaogzh 回复于:2003-03-19 11:36:39
|
磁盘阵列中装的啥软件?好久没用SUN的机器做工程了;比较陌生,不知道啥行业用的SUN多一点,我在省级城市用的很少,用LINUX 还有一些。
|
ivannie 回复于:2003-03-19 15:13:04
|
建议加精
|
david10000 回复于:2003-03-19 19:42:06
|
写的不错.呵呵
有点疑问:
好像是第一控制器控制两个raid1, 第二控制器控制raid5
第一台机器接一个raid1,第二台机器接另一个raid1和raid5
不知我的理解对不对?
还有两个raid1做什么呢,装系统吗?
raid5应该是装数据库了.
|
liuhsgz 回复于:2003-03-20 22:04:29
|
好!有帮助,另外能不能介绍一下你在View and Edit ScSi channels中的配置?本人对如何配置host luns有点疑问。谢谢!
|
红袖添香 回复于:2003-03-21 00:02:28
|
good~
|
mmgj 回复于:2003-03-29 13:39:37
|
有那位大虾装过SUN StorEdge 3510 FC,希望有所借鉴
|
原文转自:http://www.ltesting.net