lshardware

使用 lshardware 指令,以檢視叢集系統(系統)中節點已配置和實際的硬體配置。

語法

讀取語法圖表略過語法圖表
>>- sainfo -- lshardware --+-----------------------+--+------------+-><
                           '- -delim -- delimiter -'  '-panel_name-'   

參數

-delim delimiter
(選用)依預設,簡要視圖中的所有資料直欄都以空格區隔。每個直欄的寬度都會設為各資料項目的最大寬度。在詳細視圖中,每個資料項目本身都有一列,如果顯示標頭,會用空格來區隔資料與標頭。-delim 參數會置換這個行為。-delim 參數的有效輸入為一個單位元組字元。如果您在指令行輸入 -delim :,則會用冒號字元 (:) 來區隔簡要視圖中的所有資料項目;例如,直欄不會出現間距。在詳細視圖中,會用指定的定界字元來區隔資料與其標頭。
panel_name
(選用)節點畫面名稱。
註: 如果未提供 panel_name,此參數會套用至正在執行此指令的節點。

說明

當節點處於服務狀態時,請利用這個指令來檢視現行硬體配置。 表 1 提供可能適用於屬性的值(在輸出視圖中顯示為資料)。
表 1. lshardware 屬性值
屬性
panel_name 指出節點畫面名稱。
node_id 指出節點唯一 ID。該值是一個數字,如果不在系統中,則為空白。
node_name 指出節點名稱。值是英數字串,如果不在系統中,則為空白。
node_status 指出節點狀態。
hardware 指出硬體型號,例如 DH8
actual_different 指出節點硬體是否與配置的硬體不同。
actual_valid 指出節點硬體是否有效。
memory_configured 指出所配置的記憶體量 (GB)。
memory_actual 指出目前已安裝的記憶體量 (GB)。
memory_valid 指出實際記憶體是否為有效的配置。
cpu_count 指出節點的 CPU 數目上限。
cpu_socket 指出 CPU 欄位參照的插座 ID。
cpu_configured 指出配置給這個插座的 CPU。
cpu_actual 指出目前安裝在這個插座中的 CPU。
cpu_valid 指出目前安裝的 CPU 是否為有效的配置。
adapter_count 指出節點的配接卡數目上限(會因節點類型而異)。
adapter_location 指出這個配接卡的位置。
adapter_configured 指出配置給這個位置的配接卡。
adapter_actual 指出目前針對此位置安裝的配接卡。
adapter_valid 指出這個位置中的配接卡是否有效。
ports_different 指出配接卡埠是否可支援更多功能。

300 (M5) 節點的呼叫範例

此範例指出硬體型號,例如,S01

sainfo lshardware

產生的輸出:

IBM_Spectrum_Virtualize:Cluster_Redbook_1:superuser>sainfo lshardware
panel_name J308E4B
node_id 1
node_name node1
node_status Active
hardware S01
actual_different no
actual_valid yes
memory_configured 64
memory_actual 64
memory_valid yes
cpu_count 1
cpu_socket 1
cpu_configured 8 core Intel® Xeon® CPU E5-2667 v3 @ 3.20GHz
cpu_actual 8 core Intel® Xeon® CPU E5-2667 v3 @ 3.20GHz
cpu_valid yes
cpu_socket
cpu_configured
cpu_actual
cpu_valid
adapter_count 9
adapter_location 0
adapter_configured Four port 1Gb/s Ethernet adapter
adapter_actual Four port 1Gb/s Ethernet adapter
adapter_valid yes
adapter_location 1
adapter_configured none
adapter_actual none
adapter_valid yes
adapter_location 2
adapter_configured Two port 10Gb/s iSCSI adapter
adapter_actual Two port 10Gb/s iSCSI adapter
adapter_valid yes
adapter_location 3
adapter_configured Two port 16Gb/s FC adapter
adapter_actual Two port 16Gb/s FC adapter
adapter_valid yes
adapter_location 4
adapter_configured none
adapter_actual none
adapter_valid yes
adapter_location 5
adapter_configured none
adapter_actual none
adapter_valid yes
adapter_location 6
adapter_configured none
adapter_actual none
adapter_valid yes
adapter_location 7
adapter_configured none
adapter_actual none
adapter_valid yes
adapter_location 8
adapter_configured none
adapter_actual none
adapter_valid yes
ports_different no