Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2519545
  • 博文数量: 323
  • 博客积分: 10211
  • 博客等级: 上将
  • 技术积分: 4934
  • 用 户 组: 普通用户
  • 注册时间: 2006-08-27 14:56
文章分类

全部博文(323)

文章存档

2012年(5)

2011年(3)

2010年(6)

2009年(140)

2008年(169)

分类: 系统运维

2010-03-17 14:08:44

  首先搞清楚几个概念:
PSB :physical system boards物理系统板,一块PSB4CPU32条内存以及I/O模块组成,一台满配的M4000就是一个标准的PSB.
XSB :eXtended System Boards 扩展系统板,PSB并不能直接被用来分配给Domain,必须将PSB划分为XSB来使用。PSB可以设置为两种模式的XSB XSB4XSB,单XSB就是一个PSB4XSB就是将一个PSB分为4份,每个XSB包括4分之一的PSB资源,即1CPU8条内存以及I/O设备,低端的M4000 M5000不能保证每一个XSB都有I/O模块,具体I/O以及相关XSB号见下图:

TABLE 4-2 Resource Assignment in Quad-XSB Mode on an M4000 Midrange Server
XSB         CPU        Memory        Board I/O
00-0  CPUM#0-CHIP#0    MEMB#0        Disks; GbE; PCI#0,
                                     PCI#1, PCI#2
00-1  CPUM#0-CHIP#1    MEMB#1        PCI#3, PCI#4
00-2  CPUM#1-CHIP#0    MEMB#2        None
00-3  CPUM#1-CHIP#1    MEMB#3        None
 
TABLE 4-3 Resource Assignment in Quad-XSB Mode on an M5000 Midrange Server
XSB         CPU        Memory        Board I/O
00-0  CPUM#0-CHIP#0    MEMB#0        Disks; GbE; IOU#0-                                     PCI#0, IOU#0-PCI#1,
                                     IOU#0-PCI#2
00-1  CPUM#0-CHIP#1    MEMB#1        IOU#0-PCI#3, IOU#0-PCI#4
00-2  CPUM#1-CHIP#0    MEMB#2        None
00-3  CPUM#1-CHIP#1    MEMB#3        None
01-0  CPUM#2-CHIP#0    MEMB#4        Disks; GbE; IOU#1-
                                     PCI#0, IOU#1-PCI#1,
                                     IOU#1-PCI#2
01-1  CPUM#2-CHIP#1    MEMB#5        IOU#1-PCI#3, IOU#1-
                                     PCI#4
01-2  CPUM#3-CHIP#0    MEMB#6        None
01-3  CPUM#3-CHIP#1    MEMB#7        None
 
M4000,可以看到,机器内置硬盘以及网络口和PCI 012 都划分给XSB 00-0了,而XSB 00-1只有PCI34,如果要分2Domain ,Domain就必须使用外接磁盘来安装操作系统。
 
 LSB: logical system board 逻辑系统板,LSBDomain中使用的XSB号,在Domain中并不直接使用XSB号,而是使用LSB,只有给XSB设置了LSB号后才能将XSB分配给Domain
 DCL :domain comp list Domain
 
M5000 Domain的划分实战: 
 
login: default
Change the panel mode switch to Locked and press return...
Leave it in that position for at least 5 seconds.  Change the panel mode switch to Service, and press return...
XSCF>
XSCF> showboards -a -v
XSB  R DID(LSB) Assignment  Pwr  Conn Conf Test    Fault    COD
---- - -------- ----------- ---- ---- ---- ------- -------- ----
00-0 * 00(00)   Assigned    n    n    n    Unknown Normal   n  
01-0 * 00(01)   Assigned    n    n    n    Unknown Normal   n  
XSCF> showfru sb 0
Device  Location    XSB Mode        Memory Mirror Mode 
sb      00          Uni             no                 
XSCF> showfru sb 1
Device  Location    XSB Mode        Memory Mirror Mode 
sb      01          Uni             no                 
XSCF> showdcl -v -d 0   --domain 0现在有两个LSB,现在需要分开,每个domain分一个LSB。
DID   LSB   XSB   Status   No-Mem   No-IO    Float    Cfg-policy
00                Powered Off                         FRU     
      00    00-0           False    False    False            
      01    01-0           False    False    False            
      02    -                                                 
      03    -                                                 
      04    -                                                 
      05    -                                                 
      06    -                                                 
      07    -                                                 
      08    -                                                 
      09    -                                                 
      10    -                                                 
      11    -                                                 
      12    -                                                 
      13    -                                                 
      14    -                                                 
      15    -            
XSCF>  showdcl -v -d 1   --domain 1现在没有分配到资源。
DID   LSB   XSB   Status   No-Mem   No-IO    Float    Cfg-policy
01                Powered Off                         FRU     
      00    -                                                 
      01    -                                                 
      02    -                                                 
      03    -                                                 
      04    -                                                 
      05    -                                                 
      06    -                                                 
      07    -                                                 
      08    -                                                 
      09    -                                                 
      10    -                                                 
      11    -                                                 
      12    -                                                 
      13    -                                                 
      14    -                                                 
      15    -                  
XSCF> showfru sb 0
Device  Location    XSB Mode        Memory Mirror Mode 
sb      00          Uni             no                 
XSCF> showfru sb 1
Device  Location    XSB Mode        Memory Mirror Mode 
sb      01          Uni             no       
XSCF> deleteboard -c unassign 01-0     --将XSB 01-0从domain中分离出来并加入系统板池。
XSB#01-0 will be unassigned from domain immediately. Continue?[y|n] :y
XSCF> showboards -a -v
XSB  R DID(LSB) Assignment  Pwr  Conn Conf Test    Fault    COD
---- - -------- ----------- ---- ---- ---- ------- -------- ----
00-0 * 00(00)   Assigned    n    n    n    Unknown Normal   n  
01-0   SP       Unavailable n    n    n    Unknown Normal   n     --可以看到delete后的结果。
XSCF>  showdcl -v -d 0   --但是看domain组件列表的时候还是可以看到。
DID   LSB   XSB   Status   No-Mem   No-IO    Float    Cfg-policy
00                Powered Off                         FRU     
      00    00-0           False    False    False            
      01    01-0           False    False    False            
      02    -                                                 
      03    -                                                 
      04    -                                                 
      05    -                                                 
      06    -                                                 
      07    -                                                 
      08    -                                                 
      09    -                                                 
      10    -                                                 
      11    -                                                 
      12    -                                                 
      13    -                                                 
      14    -                                                 
      15    -                 
XSCF> setdcl -d 0 -r 01      --在domain中删除LSB 01
 
XSCF> showdcl -v -d 0     --删除后就没有了。
DID   LSB   XSB   Status   No-Mem   No-IO    Float    Cfg-policy
00                Powered Off                         FRU     
      00    00-0           False    False    False            
      01    -                                                 
      02    -                                                 
      03    -                                                 
      04    -                                                 
      05    -                                                 
      06    -                                                 
      07    -                                                 
      08    -                                                 
      09    -                                                 
      10    -                                                 
      11    -                                                 
      12    -                                                 
      13    -                                                 
      14    -                                                 
      15    -            
XSCF> setdcl -d 1 -a 00=01-0     --将XSB 01-0对应的LSB 00加入domain 1的组件列表。
XSCF> showdcl -v -d 1      --查看domain 1的组件列表
DID   LSB   XSB   Status   No-Mem   No-IO    Float    Cfg-policy
01                Powered Off                         FRU     
      00    01-0           False    False    False            
      01    -                                                 
      02    -                                                 
      03    -                                                 
      04    -                                                 
      05    -                                                 
      06    -                                                 
      07    -                                                 
      08    -                                                 
      09    -                                                 
      10    -                                                 
      11    -                                                 
      12    -                                                 
      13    -                                                 
      14    -                                                 
      15    -                    
XSCF> showboards -a -v   --注意这里XSB还没有跟LSB做映射,XSB还在系统板池中。
XSB  R DID(LSB) Assignment  Pwr  Conn Conf Test    Fault    COD
---- - -------- ----------- ---- ---- ---- ------- -------- ----
00-0 * 00(00)   Assigned    n    n    n    Unknown Normal   n  
01-0   SP       Unavailable n    n    n    Unknown Normal   n          
XSCF> addboard -c assign -d 1 01-0    --将XSB 01-0注册到domain 1中。
XSB#01-0 will be assigned to DomainID 1. Continue?[y|n] :y
XSCF> showboards -a -v            --查看一下XSB都已经分配了。
XSB  R DID(LSB) Assignment  Pwr  Conn Conf Test    Fault    COD
---- - -------- ----------- ---- ---- ---- ------- -------- ----
00-0 * 00(00)   Assigned    n    n    n    Unknown Normal   n  
01-0 * 01(00)   Assigned    n    n    n    Unknown Normal   n                           
                          
XSCF> showdcl -v -a     --划好domain的结果应该如下所示:
DID   LSB   XSB   Status   No-Mem   No-IO    Float    Cfg-policy
00                Powered Off                         FRU     
      00    00-0           False    False    False            
      01    -                                                 
      02    -                                                 
      03    -                                                 
      04    -                                                 
      05    -                                                 
      06    -                                                 
      07    -                                                 
      08    -                                                 
      09    -                                                 
      10    -                                                 
      11    -                                                 
      12    -                                                 
      13    -                                                 
      14    -                                                 
      15    -                                                 
---------------------------------------------------------------
01                Powered Off                         FRU     
      00    01-0           False    False    False            
      01    -                                                 
      02    -                                                 
      03    -                                                 
      04    -                                                 
      05    -                                                 
      06    -                                                 
      07    -                                                 
      08    -                                                 
      09    -                                                 
      10    -                                                 
      11    -                                                 
      12    -                                                 
      13    -                                                 
      14    -                                                 
      15    -     
阅读(4323) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~