[font=宋体][size=5][/size][/font][color=orange][font=宋体][size=3][color=black]小弟前段时间安装Sun M4000机器,特对划Domain进行了学习,做了以下总结,回过头来看,其实M系列的机器划Domain很简单,也就那么几步.发贴大家参考参考,有不对和不足的地方大家指正.[/color][/size][/font][font=宋体][size=4][/size][/font]
[/color]
[size=5]首先理解几个概念.[/size]
[size=3][font=Times New Roman] PSB physical system boards[/font][font=宋体]物理系统板,一块[/font][font=Times New Roman]PSB[/font][font=宋体]由[/font][font=Times New Roman]4[/font][font=宋体]个[/font][font=Times New Roman]CPU[/font][font=宋体],[/font][font=Times New Roman]32[/font][font=宋体]条内存以及[/font][font=Times New Roman]I/O[/font][font=宋体]模块组成,一台满配的M4000就是一个标准的PSB.[/font][/size]
[font=宋体][size=3][/size][/font]
[size=3][font=Times New Roman] XSB eXtended System Boards [/font][font=宋体]扩展系统板,[/font][font=Times New Roman]PSB[/font][font=宋体]并不能直接被用来分配给[/font][font=Times New Roman]Domain[/font][font=宋体],必须将[/font][font=Times New Roman]PSB[/font][font=宋体]划分为[/font][font=Times New Roman]XSB[/font][font=宋体]来使用。[/font][font=Times New Roman]PSB[/font][font=宋体]可以设置为两种模式的[/font][font=Times New Roman]XSB[/font][font=宋体]:[/font][font=Times New Roman] [/font][font=宋体]单[/font][font=Times New Roman]XSB[/font][font=宋体]和[/font][font=Times New Roman]4[/font][font=宋体]分[/font][font=Times New Roman]XSB[/font][font=宋体],单[/font][font=Times New Roman]XSB[/font][font=宋体]就是一个[/font][font=Times New Roman]PSB[/font][font=宋体];[/font][font=Times New Roman]4[/font][font=宋体]分[/font][font=Times New Roman]XSB[/font][font=宋体]就是将一个[/font][font=Times New Roman]PSB[/font][font=宋体]分为[/font][font=Times New Roman]4[/font][font=宋体]份,每个[/font][font=Times New Roman]XSB[/font][font=宋体]包括[/font][font=Times New Roman]4[/font][font=宋体]分之一的[/font][font=Times New Roman]PSB[/font][font=宋体]资源,即[/font][font=Times New Roman]1[/font][font=宋体]个[/font][font=Times New Roman]CPU[/font][font=宋体],[/font][font=Times New Roman]8[/font][font=宋体]条内存以及[/font][font=Times New Roman]I/O[/font][font=宋体]设备,低端的[/font][font=Times New Roman]M4000 M5000[/font][font=宋体]不能保证每一个[/font][font=Times New Roman]XSB[/font][font=宋体]都有[/font][font=Times New Roman]I/O[/font][font=宋体]模块,具体[/font][font=Times New Roman]I/O[/font][font=宋体]以及相关[/font][font=Times New Roman]XSB[/font][font=宋体]号见下图:[/font][/size]
[font=宋体][size=3][/size][/font]
[font=Palatino-Roman][size=9.5pt][font=宋体] [attach]303715[/attach][/font][/size][/font]
[size=3][font=宋体] 对[/font][font=Times New Roman]M4000[/font][font=宋体],可以看到,机器内置硬盘以及网络口和[/font][font=Times New Roman]PCI 0[/font][font=宋体],[/font][font=Times New Roman]1[/font][font=宋体],[/font][font=Times New Roman]2 [/font][font=宋体]都划分给[/font][font=Times New Roman]XSB 00-0[/font][font=宋体]了,而[/font][font=Times New Roman]XSB 00-1[/font][font=宋体]只有[/font][font=Times New Roman]PCI3[/font][font=宋体],[/font][font=Times New Roman]4[/font][font=宋体],如果要分[/font][font=Times New Roman]2[/font][font=宋体]个[/font][font=Times New Roman]Domain ,Domain[/font][font=宋体]就必须使用外接磁盘来安装操作系统。[/font][/size]
[font=宋体][size=3][/size][/font]
[size=3][font=Times New Roman] LSB logical system board [/font][font=宋体]逻辑系统板,[/font][font=Times New Roman]LSB[/font][font=宋体]是[/font][font=Times New Roman]Domain[/font][font=宋体]中使用的[/font][font=Times New Roman]XSB[/font][font=宋体]号,在[/font][font=Times New Roman]Domain[/font][font=宋体]中并不直接使用[/font][font=Times New Roman]XSB[/font][font=宋体]号,而是使用[/font][font=Times New Roman]LSB[/font][font=宋体]号[/font][font=Times New Roman],[/font][font=宋体]只有给[/font][font=Times New Roman]XSB[/font][font=宋体]设置了[/font][font=Times New Roman]LSB[/font][font=宋体]号后才能将[/font][font=Times New Roman]XSB[/font][font=宋体]分配给[/font][font=Times New Roman]Domain[/font][/size]
[font=Times New Roman][size=3][/size][/font]
[size=3][font=Times New Roman] DCL [/font][/size][size=3][font=Times New Roman]domain comp list Domain [/font][font=宋体]组件列表。[/font][/size]
[font=宋体][size=3][/size][/font]
[font=宋体][size=3][/size][/font]
[font=宋体][size=3][/size][/font]
[font=Palatino-Roman][size=9.5pt][font=Times New Roman][/font][/size][/font]
[font=宋体][size=5]然后看划分示例.[/size][/font]
[font=宋体][size=4][/size][/font]
[size=3][font=宋体]要给[/font][font=Times New Roman]M4000[/font][font=宋体]划分[/font][font=Times New Roman]2[/font][font=宋体]个域,需要以下几个步骤:[/font][/size]
[font=宋体][size=3][/size][/font]
[size=3][font=Times New Roman]1 [/font][font=宋体]设置[/font][font=Times New Roman]PSB[/font][font=宋体]模式,是单[/font][font=Times New Roman]XSB[/font][font=宋体]还是[/font][font=Times New Roman]4[/font][font=宋体]分[/font][font=Times New Roman]XSB[/font][font=宋体],由于[/font][font=Times New Roman]M4000[/font][font=宋体]只有一个[/font][font=Times New Roman]PSB[/font][font=宋体]([/font][font=Times New Roman]4CPU[/font][font=宋体],[/font][font=Times New Roman]32[/font][font=宋体]条内存),所以要划[/font][font=Times New Roman]Domain[/font][font=宋体]必须设置为[/font][font=Times New Roman]4[/font][font=宋体]分[/font][font=Times New Roman]XSB[/font][/size]
[font=宋体][size=3]
setupfru –x 4 sb 0
[/size][/font]
[size=3][font=Times New Roman]2 map XSB [/font][font=宋体]到[/font][font=Times New Roman]LSB[/font][/size]
[font=宋体][size=3]
setdcl –d 0 –a 0=00-0
setdcl –d 0 –a 1=00-2
[/size][/font][size=3][font=宋体]
这里不能用00-1,否则下一个Domain就没有I/O了,看前面的图片。[/font][/size]
[size=3][font=Times New Roman]3 [/font][font=宋体]将[/font][font=Times New Roman]XSB[/font][font=宋体]分配到[/font][font=Times New Roman]Domain 0[/font][/size]
[font=宋体][size=3]
addboard –c assign –d 0 00-0 00-2
[/size][/font]
[size=3][font=Times New Roman]4 [/font][font=宋体]给[/font][font=Times New Roman]domain 0[/font][font=宋体]加电[/font][/size]
[font=宋体][size=3]
poweron –d 0
[/size][/font]
[size=3][font=Times New Roman]5[/font][font=宋体] 分配剩下的[/font][font=Times New Roman]XSB[/font][font=宋体]到[/font][font=Times New Roman]domain 1[/font][/size]
[font=宋体][size=3]
setdcl –d 1 –a 0=00-1
setdcl –d 1 –a 1=00-3
addboard –c assign –d 1 00-1 00-3
[/size][/font]
[size=3][font=Times New Roman]6 [/font][font=宋体]给[/font][font=Times New Roman]Domain1 [/font][font=宋体]加电[/font][/size]
[font=宋体][size=3]
poweron –d 1
[/size][/font]
[size=3][font=宋体] [/font][/size]
[size=3][font=宋体] 最后,可能会不明白为什么有了[/font][font=Times New Roman]XSB[/font][font=宋体]号,又生出一个[/font][font=Times New Roman]LSB[/font][font=宋体]号来多此一举,其实[/font][font=Times New Roman]LSB[/font][font=宋体]号用来产生[/font][font=Times New Roman]CPU[/font][font=宋体]号([/font][font=Times New Roman]prtdiag -v[/font][font=宋体])以及设备路径号,具体对应的[/font][font=Times New Roman]LSB[/font][font=宋体]和[/font][font=Times New Roman]CPU[/font][font=宋体]及[/font][font=Times New Roman]PCI[/font][font=宋体]设备路径对应关系见[/font][font=Times New Roman]SUN[/font][font=宋体]文档《[/font][font=Times New Roman]Sun SPARC Enterprise M4000 M5000 M8000 M9000 Servers Administration Guide.pdf[/font][font=宋体]》。另外[/font][font=Times New Roman],M4000 M5000 [/font][font=宋体]的光驱和磁带机都是分配给[/font][font=Times New Roman]XSB 00-0[/font][font=宋体]的。[/font]
[font=宋体] [/font][/size]
[size=3][font=宋体][/font][/size]
[size=3][font=宋体][/font][/size]
[size=3][font=宋体][/font][/size]
[size=3][font=宋体][/font][/size]
[size=3][font=宋体] 最后贴出[/font][font=Times New Roman]M5000[/font][font=宋体]的[/font][font=Times New Roman]4[/font][font=宋体]分[/font][font=Times New Roman]XSB CPU MEM I/O[/font][font=宋体]分配对应表[/font][/size]
[font=Palatino-Roman][size=9.5pt] [attach]303716[/attach][/size][/font]
[font=Palatino-Roman][size=9.5pt] [attach]303717[/attach][/size][/font]
总结,给M系列机器划Domain其实就这几步.关键是明白概念和对应具体机器型号查手册.

一沙一世界 一花一天堂 掌中握無……

网络编程技术、多媒体技术、PC应用技术
