[贺]终于能实操小型机的Solaris和AIX了

image

今天心血来潮决定尝试把一直闲置的Sun Fire V890开起来,感受一下大名鼎鼎的Solaris。好不容易筹齐3条电源线,插满V890的三个电源,然后开机,不亮......,从同事那得知,要用钥匙开机,要好像汽车打火启动那样-_- ,于是找来钥匙拧到了“诊断模式”(这个我后来才知道叫诊断模式)再按电源按钮,机器是亮了,但是等了半个小时显示器没有反应......,再从网上找到了《Sun Fire™ V890 服务器拥有者指南》终于知道了有一个“正常模式”。

image

在“正常模式”下,等了30分钟,机器终于跑起来了。

 

面对新的机器,还是先看看配置吧:

root@Sun-Fire-V890 # prtdiag -v
System Configuration:  Sun Microsystems  sun4u Sun Fire V890
System clock frequency: 150 MHz
Memory size: 8192 Megabytes

========================= CPUs ===============================================

           Run   E$  CPU    CPU  
Brd  CPU   MHz   MB Impl.   Mask 
--- ----- ---- ---- ------- ---- 
 A  0, 16 1500 32.0 US-IV+   2.2
 A  2, 18 1500 32.0 US-IV+   2.2

========================= Memory Configuration ===============================

           Logical  Logical  Logical 
      MC   Bank     Bank     Bank         DIMM    Interleave  Interleaved
 Brd  ID   num      size     Status       Size    Factor      with
----  ---  ----     ------   -----------  ------  ----------  -----------
  A    0     0      1024MB   no_status     512MB     8-way        0
  A    0     1      1024MB   no_status     512MB     8-way        0
  A    0     2      1024MB   no_status     512MB     8-way        0
  A    0     3      1024MB   no_status     512MB     8-way        0
  A    2     0      1024MB   no_status     512MB     8-way        0
  A    2     1      1024MB   no_status     512MB     8-way        0
  A    2     2      1024MB   no_status     512MB     8-way        0
  A    2     3      1024MB   no_status     512MB     8-way        0

========================= IO Cards =========================


                         Bus  Max
     IO   Port Bus       Freq Bus  Dev,
Brd  Type  ID  Side Slot MHz  Freq Func State Name                              Model
---- ---- ---- ---- ---- ---- ---- ---- ----- --------------------------------  ----------------------
I/O  PCI   9    B    6    33   33  2,0  ok    SUNW,XVR-100                      SUNW,375-3290         


No failures found in System
===========================


========================= Environmental Status =========================

System Temperatures (Celsius):
-------------------------------
Device          Temperature     Status
---------------------------------------
CPU0             49             OK
CPU2             53             OK
MB               24             OK
IOB              22             OK
DBP0             18             OK

=================================

Front Status Panel:
-------------------
Keyswitch position: NORMAL

System LED Status:
                   GEN FAULT                REMOVE
                    [OFF]                    [OFF]

                   DISK FAULT               POWER FAULT
                    [OFF]                    [OFF]

                   LEFT THERMAL FAULT       RIGHT THERMAL FAULT
                    [OFF]                    [OFF]

                   LEFT DOOR                RIGHT DOOR
                    [OFF]                    [OFF]

=================================

Disk Status:
          Presence      Fault LED       Remove LED
DISK   0: [PRESENT]        [OFF]           [OFF]
DISK   1: [PRESENT]        [OFF]           [OFF]
DISK   2: [PRESENT]        [OFF]           [OFF]
DISK   3: [PRESENT]        [OFF]           [OFF]
DISK   4: [  EMPTY]
DISK   5: [  EMPTY]
DISK   6: [  EMPTY]
DISK   7: [  EMPTY]
DISK   8: [  EMPTY]
DISK   9: [  EMPTY]
DISK  10: [  EMPTY]
DISK  11: [  EMPTY]

=================================

Fan Bank :
----------

Bank                        Speed         Status        Fan State
                           ( RPMS )     
----                       --------      ---------      ---------
CPU0_PRIM_FAN                2013        [ENABLED]          OK
CPU1_PRIM_FAN                2127        [ENABLED]          OK
CPU0_SEC_FAN                    0        [DISABLED]         OK
CPU1_SEC_FAN                    0        [DISABLED]         OK
IO0_PRIM_FAN                 3125        [ENABLED]          OK
IO1_PRIM_FAN                 2941        [ENABLED]          OK
IO0_SEC_FAN                     0        [DISABLED]         OK
IO1_SEC_FAN                     0        [DISABLED]         OK
IO_BRIDGE_PRIM_FAN           3571        [ENABLED]          OK
IO_BRIDGE_SEC_FAN               0        [DISABLED]         OK

=================================

Power Supplies:
---------------

Supply     Status     Fan Fail  Temp Fail  CS Fail  3.3V   5V   12V   48V
------  ------------  --------  ---------  -------  ----   --   ---   ---
PS0      GOOD                                         5     2     2     2
PS1      GOOD                                         5     2     2     2
PS2      GOOD                                         5     2     2     2


========================= HW Revisions =======================================

System PROM revisions:
----------------------
OBP 4.18.8 2006/01/19 11:19

IO ASIC revisions:
------------------
                     Port
Brd  Model            ID  Status Version
---- --------------- ---- ------ -------
IB-1 unknown          8    ok     7      
IB-1 unknown          9    ok     7 

从信息来看Solaris和底层硬件还是联系比较紧密的,从OS的命令中就可以看到电源、风扇、前面板的信息灯还有各部分的温度情况,硬件和OS都是Sun造出来的,实现起来应该不太困难。PC服务器通常跑的操作系统Windows和Linux,为了保证优秀的兼容性,这类OS都是不提供这些信息的查询,需要借助厂家或第三软件才能查看。

 

还有一台闲置的IBM p5 510小型机,但别的单位在用,只有登入去的权限,只要不搞破坏也是一个比较好的练手环境,看看配置。

# prtconf
System Model: IBM,9110-51A
Machine Serial Number: 064FCCE
Processor Type: PowerPC_POWER5
Number Of Processors: 2
Processor Clock Speed: 1898 MHz
CPU Type: 64-bit
Kernel Type: 64-bit
LPAR Info: 1 06-4FCCE
Memory Size: 1904 MB
Good Memory Size: 1904 MB
Platform Firmware level: Not Available
Firmware Version: IBM,SF240_284
Console Login: enable
Auto Restart: true
Full Core: false
......
......
......

# lsattr -El proc0                                  
frequency   1898100000     Processor Speed       False
smt_enabled true           Processor SMT enabled False
smt_threads 2              Processor SMT threads False
state       enable         Processor state       False
type        PowerPC_POWER5 Processor type        False
# lsattr -El L2cache0
size 1920 Size of L2 cache in Kbytes False
# lsattr -El hdisk0 
PCM             PCM/friend/scsiscsd              Path Control Module           False
algorithm       fail_over                        Algorithm                     True
dist_err_pcnt   0                                Distributed Error Percentage  True
dist_tw_width   50                               Distributed Error Sample Time True
hcheck_interval 0                                Health Check Interval         True
hcheck_mode     nonactive                        Health Check Mode             True
max_transfer    0x40000                          Maximum TRANSFER Size         True
pvid            00c4fcce00d050db0000000000000000 Physical volume identifier    False
queue_depth     3                                Queue DEPTH                   False
reserve_policy  single_path                      Reserve Policy                True
size_in_mb      146800                           Size in Megabytes             False

终于接触到小型机了。

posted @ 2010-05-26 16:09  killkill  阅读(1496)  评论(0编辑  收藏  举报