HP 小型机定位I/O 卡,更换I/O 卡
--------------------------- HP superdome 分区0 ----- cell 0 cell 3 --------------------
---------------------------superdome 3个分区,分区1 cell 2 ----- 分区2 cell1 --------
如何定位 lan0 网卡。
#ioscan -funClanClass I H/W Path Driver S/W State H/W Type Description
=====================================================================
lan 0
0/0/1/1/0 iether CLAIMED INTERFACE HP AD331-60001 PCI/PCI-X 1000Base-T Adapter
lan 1 0/0/8/1/0 iether CLAIMED INTERFACE HP AD332-60001 PCI/PCI-X 1000Base-SX Adapter
lan 2 0/0/9/1/0 iether CLAIMED INTERFACE HP AD332-60001 PCI/PCI-X 1000Base-SX Adapter
lan 3 0/0/12/1/0 iether CLAIMED INTERFACE HP AD331-60001 PCI/PCI-X 1000Base-T Adapter
lan 4 3/0/1/1/0 iether CLAIMED INTERFACE HP AD332-60001 PCI/PCI-X 1000Base-SX Adapter
lan 5 3/0/8/1/0 iether CLAIMED INTERFACE HP AD332-60001 PCI/PCI-X 1000Base-SX Adapter
lan 6 3/0/9/1/0 iether CLAIMED INTERFACE HP AD332-60001 PCI/PCI-X 1000Base-SX Adapter
lan 7 3/0/12/1/0 iether CLAIMED INTERFACE HP AD332-60001 PCI/PCI-X 1000Base-SX Adapter
#ioscan -funCfcClass I H/W Path Driver S/W State H/W Type Description
======================================================================
fc 0 0/0/4/0/0/0/0 fclp CLAIMED INTERFACE HP AD299-60001 4Gb PCIe 1-port Fibre Channel Adapter
/dev/fclp0
fc 1 0/0/5/0/0/0/0 fclp CLAIMED INTERFACE HP AD299-60001 4Gb PCIe 1-port Fibre Channel Adapter
/dev/fclp1
fc 2 3/0/4/0/0/0/0 fclp CLAIMED INTERFACE HP AD299-60001 4Gb PCIe 1-port Fibre Channel Adapter
/dev/fclp2
fc 3 3/0/5/0/0/0/0 fclp CLAIMED INTERFACE HP AD299-60001 4Gb PCIe 1-port Fibre Channel Adapter
/dev/fclp3
#olrad -q
Driver(s)
Capable
Slot Path Bus Max Spd Pwr Occu Susp OLAR OLD Max Mode
Num Spd Mode
0-0-3-0 3/0/0/1 12288 133 133 Off No N/A N/A N/A PCI-X PCI-X
0-0-3-1 3/0/1/1 12544 133 133 On Yes No Yes Yes PCI-X PCI-X
0-0-3-8 3/0/12/1 14592 133 133 On Yes No Yes Yes PCI-X PCI-X
0-0-3-9 3/0/10/1 14336 133 133 On Yes No Yes Yes PCI-X PCI-X
0-0-3-10 3/0/9/1 14080 133 133 On Yes No Yes Yes PCI-X PCI-X
0-0-3-11 3/0/8/1 13824 133 133 On Yes No Yes Yes PCI-X PCI-X
0-1-3-0 0/0/0/1 0 133 133 Off No N/A N/A N/A PCI-X PCI-X
0-1-3-1 0/0/1/1 256 133 133 On Yes No Yes Yes PCI-X PCI-X0-1-3-8 0/0/12/1 2304 133 133 On Yes No Yes Yes PCI-X PCI-X
0-1-3-9 0/0/10/1 2048 133 133 On Yes No Yes Yes PCI-X PCI-X
0-1-3-10 0/0/9/1 1792 133 133 On Yes No Yes Yes PCI-X PCI-X
0-1-3-11 0/0/8/1 1536 133 133 On Yes No Yes Yes PCI-X PCI-X
PCI-Express Slots Information
-----------------------------
Driver(s)
Capable
Slot Path Link Max Max Link Pwr Occu Susp OLAR OLD Mode
Spd Link Link Width
Spd Width
0-0-3-2 3/0/2/0/0/0 2.5 2.5 x8 x8 On Yes No Yes Yes PCIe
0-0-3-3 3/0/4/0/0/0 2.5 2.5 x8 x4 On Yes No Yes Yes PCIe
0-0-3-4 3/0/5/0/0/0 2.5 2.5 x8 x4 On Yes No Yes Yes PCIe
0-0-3-5 3/0/6/0/0/0 2.5 2.5 x8 x8 On Yes No Yes Yes PCIe
0-0-3-6 3/0/14/0/0/0 2.5 2.5 x8 x8 Off No N/A N/A N/A PCIe
0-0-3-7 3/0/13/0/0/0 2.5 2.5 x8 x8 Off No N/A N/A N/A PCIe
0-1-3-2 0/0/2/0/0/0 2.5 2.5 x8 x8 On Yes No Yes Yes PCIe
0-1-3-3 0/0/4/0/0/0 2.5 2.5 x8 x4 On Yes No Yes Yes PCIe
0-1-3-4 0/0/5/0/0/0 2.5 2.5 x8 x4 On Yes No Yes Yes PCIe
0-1-3-5 0/0/6/0/0/0 2.5 2.5 x8 x8 On Yes No Yes Yes PCIe
0-1-3-6 0/0/14/0/0/0 2.5 2.5 x8 x8 Off No N/A N/A N/A PCIe
0-1-3-7 0/0/13/0/0/0 2.5 2.5 x8 x8 Off No N/A N/A N/A PCIe
#parstatus // 查看分区的情况,及分区的当前状态。
Note: No action specified. Default behavior is display all.
[Complex]
Complex Name : Complex 01
Complex Capacity
Compute Cabinet (4 cell capable) : 1
Active MP Location : cabinet 0
Original Product Name : superdome server SD16B
Original Serial Number : SGH492xxxx
Current Product Order Number : A9xxxx
OEM Manufacturer :
Complex Profile Revision : 1.0
The total number of partitions present : 3
GSM sharing : Disabled Complex-wide
[Cabinet]
Cabinet I/O Bulk Power Backplane
Blowers Fans Supplies Power Boards
OK/ OK/ OK/ OK/
Cab Failed/ Failed/ Failed/ Failed/
Num Cabinet Type N Status N Status N Status N Status MP
=== ============ ========= ========= ========== ============ ======
0 4 cell slot 4/0/N+ 5/0/N+ 4/0/N+ 2/0/N+ Active
Notes: N+ = There are one or more spare items (fans/power supplies).
N = The number of items meets but does not exceed the need.
N- = There are insufficient items to meet the need.
? = The adequacy of the cooling system/power supplies is unknown.
HO = Housekeeping only; The power is in a standby state.
NA = Not Applicable.
[Cell]
CPU Memory Use
OK/ (GB) Core On
Hardware Actual Deconf/ OK/ Cell Next Par
Location Usage Max Deconf Connected To Capable Boot Num
========== ============ ======= ========= =================== ======= ==== ===
cab0,cell0 Active Core 8/0/8 48.0/0.0 cab0,bay1,chassis3 yes yes 0
cab0,cell1 Active Core 8/0/8 48.0/0.0 cab0,bay1,chassis1 yes yes 2
cab0,cell2 Active Core 8/0/8 48.0/0.0 cab0,bay0,chassis1 yes yes 1
cab0,cell3 Active Base 8/0/8 48.0/0.0 cab0,bay0,chassis3 yes yes 0
cab0,cell4 Absent * - - - - - -
cab0,cell5 Absent * - - - - - -
cab0,cell6 Absent * - - - - - -
cab0,cell7 Absent * - - - - - -
--------------注释:cab0 就是superdome 的 32 路的一个大柜子 ,当superdome 是 64 路时,则 有两个柜子。就会出现 cab1,当前cab0 上只有 4块 cell 板---cell 0-cell3
Notes: * = Cell has no interleaved memory.
[Chassis]
Core Connected Par
Hardware Location Usage IO To Num
=================== ============ ==== ========== ===
cab0,bay0,chassis0 Absent - - -
cab0,bay0,chassis1 Active - cab0,cell2 1
cab0,bay0,chassis2 Absent - - -
cab0,bay0,chassis3 Active - cab0,cell3 0
cab0,bay1,chassis0 Absent - - -
cab0,bay1,chassis1 Active - cab0,cell1 2
cab0,bay1,chassis2 Absent - - -
cab0,bay1,chassis3 Active - cab0,cell0 0
-----------------注释:cab0 里面包含 bay0 和 bay1
[Partition]
Par # of # of I/O
Num Status Cells Chassis Core cell Partition Name (first 30 chars)
=== ============ ===== ======== ========== ===============================
0 Active 2 2 cab0,cell0 Partition 0 - UX
1 Active 1 1 cab0,cell2 Partition 1 - UX
2 Active 1 1 cab0,cell1 Partition 2 - UX
[Partition - HyperThread]
Par Num Hyperthreading Enabled Hyperthreading Active
======= ====================== =====================
0 yes yes
1 yes yes
2 yes yes
------------------------------------------------------------------------------------------------------------------
注意:插槽 ID 的编号视平台而定。在低级平台上,插槽 ID 仅包含插槽编号。在其他所有平台中 (包括 Superdome),插槽 ID 的格式为:
Cabinet#-Bay#-Chassis#-Slot# -----------------------------------------------------------------------
olrad 命令提供在线新增,替换和删除 I/0卡的能力olrad 命令会在执行任何 OL* 作业之前执行系统的关键资源分析(CRA),确保系统的新增,替换或删除PCI 卡后,不会留在不一致的状态
常用参数:
-q 显示系统中所有可能使用OL* 的插槽的状态,具有相同汇流排编号的插槽视为公用插槽
-I flag 插槽ID 控制注意LED的状态。此flag 选项的有效值 为 ATTN 和 OFF 。对应插槽的注意LED 会根据flag 值设为适当的状态。ATTN 会将LED 转为 闪烁。flag 不区分大小写
-C 插槽ID 在指定的插槽ID 上执行CRA并显示结果。这样会检查所有与指定插槽相关受影响硬件路径的关键资源。它会分析档案系统,容量,处理程序,网络作业,置换(swap)和dump,并产生受影响资源的报告。
--------- 实例一:判断插槽状态-------------#olrad -q
--------- 实例二:执行 CRA-------------#olrad -C 插槽ID
CRA 严重性登机
1、CRA return SUCCESS 无使用中的受影响资源
2、CRA return WARNINGS 受影响装置上的资源使用中,但均不被视为关键资源
3、CRA return DATA_CRITICAL 执行作业时可能会遗失资料,因此请考虑后再继续执行
4、CRA return SYS_CRITICAL 作业可能导致系统关机
5、CRA return ERROR 遇到内 CRA 错误
--------- 新增卡 的实施方法 ---1、完成准备动作
#olrad -q
#olrad -C 插槽id
2、准备新增
#olrad -a 插槽ID //进行 CRA 检查,并且停止驱动,关闭卡的电源
3、将卡安装到插槽中
4、输入一下命令
#olrad -A 插槽id //插槽加电,并重新加载相关驱动
5、验证是否成功
#olrad -q 插槽id
---------- 更换坏卡 -----------1、完成准备动作
#olrad -q
#olrad -C 插槽id
2、准备替换
#olrad -r 插槽id
3、替换卡(注意:新卡和旧卡必须使用相同的驱动程序)
4、输入一下命令
#olrad -R 插槽id
5、验证 作业是否成功
#olrad -q
---------- 删除 卡---------------1、完成准备动作
#olrad -q
#olrad -C 插槽id
2、准备删除
#olrad -d 插槽id //删除卡,首先进行 CRA检测,删除驱动实例,关闭电源
3、移除卡
4、输入一下命令
#olrad -D 插槽id //删除卡,一般在olrad 命令之后,用于完成卡的删除
5、验证
olrad -q
------------- 将注意灯 转为 闪烁或 熄灭 --------#olrad -I ATTN 插槽id
#olrad -I off 插槽id