Linux
連接磁碟盒的遠端發現/清點
我有一些 HP DL3xx G7 伺服器,我知道它們通過 P411 SmartArray 控制器連接了 HP D2600 磁碟單元。
我可以看到有關陣列控制器和磁碟的資訊(通過陣列配置實用程序和系統管理首頁);我可以使用各種作業系統工具來查看板載設備(例如通過 Windows 設備管理器、WMI 或 Linux
lshal
);我可以看到卷(Windows 設備管理器/磁碟管理;Linuxfdisk
),但看不到物理機箱本身。我真的只是想回答一些基本問題(例如機箱的序列號),而不必去數據中心。
伺服器執行的是基於 RHEL 的 Linux,我只是認為這是我自己對 Linux 缺乏了解,但我似乎也無法在 Windows 中發現這些。
我要瘋了嗎?瞎的?或者您真的不能遠端或以程式方式檢索有關連接到您伺服器的此類設備的資訊嗎?
這可以完全通過 HP 系統管理工具來實現。您將需要圖形(Web)或命令行形式(hpacucli)的陣列配置實用程序。
這是連接到 Smart Array P812 RAID 控制器的HP Storageworks D2700 機箱的輸出。請注意,輸出中包含埠 WWID、HP 產品編號和序列號。
=> controller slot=1 enclosure all show detail Smart Array P812 in Slot 1 StorageWorks D2700 at Port 1E, Box 1, OK Fan Status: OK Temperature Status: OK Power Supply Status: Redundant Vendor ID: HP Serial Number: 5C7147P1KT Firmware Version: 0147 Drive Bays: 25 Port: 1E Box: 1 Location: External Standby Path: 2E:1, OK Active Path: 1E:1, OK Expander 246 Device Number: 246 Firmware Version: 0147 WWID: 5001438016BEF27D Port: 1E Box: 1 Vendor ID: HP Expander 247 Device Number: 247 Firmware Version: 0147 WWID: 5001438016BEF27F Port: 2E Box: 1 Vendor ID: HP Enclosure SEP (Vendor ID HP, Model D2700 SAS AJ941A) 244 Device Number: 244 Firmware Version: 0147 WWID: 5001438016BEF27C Port: 1E Box: 1 Vendor ID: HP Model: D2700 SAS AJ941A Enclosure SEP (Vendor ID HP, Model D2700 SAS AJ941A) 245 Device Number: 245 Firmware Version: 0147 WWID: 5001438016BEF27E Port: 2E Box: 1 Vendor ID: HP Model: D2700 SAS AJ941A Physical Drives physicaldrive 1E:1:1 (port 1E:box 1:bay 1, SAS, 146 GB, OK) physicaldrive 1E:1:2 (port 1E:box 1:bay 2, SAS, 146 GB, OK) physicaldrive 1E:1:3 (port 1E:box 1:bay 3, SAS, 146 GB, OK) physicaldrive 1E:1:4 (port 1E:box 1:bay 4, SAS, 146 GB, OK) physicaldrive 1E:1:5 (port 1E:box 1:bay 5, SAS, 146 GB, OK) physicaldrive 1E:1:6 (port 1E:box 1:bay 6, SAS, 146 GB, OK) physicaldrive 1E:1:7 (port 1E:box 1:bay 7, SAS, 146 GB, OK) physicaldrive 1E:1:8 (port 1E:box 1:bay 8, SAS, 146 GB, OK) physicaldrive 1E:1:9 (port 1E:box 1:bay 9, SAS, 146 GB, OK, spare) physicaldrive 1E:1:10 (port 1E:box 1:bay 10, SAS, 146 GB, OK) physicaldrive 1E:1:11 (port 1E:box 1:bay 11, SAS, 146 GB, OK) physicaldrive 1E:1:12 (port 1E:box 1:bay 12, SAS, 146 GB, OK) physicaldrive 1E:1:13 (port 1E:box 1:bay 13, SAS, 146 GB, OK) physicaldrive 1E:1:14 (port 1E:box 1:bay 14, SAS, 146 GB, OK) physicaldrive 1E:1:15 (port 1E:box 1:bay 15, SAS, 146 GB, OK) physicaldrive 1E:1:16 (port 1E:box 1:bay 16, SAS, 146 GB, OK) physicaldrive 1E:1:17 (port 1E:box 1:bay 17, SAS, 146 GB, OK) physicaldrive 1E:1:18 (port 1E:box 1:bay 18, SAS, 146 GB, OK) physicaldrive 1E:1:19 (port 1E:box 1:bay 19, SAS, 146 GB, OK) physicaldrive 1E:1:20 (port 1E:box 1:bay 20, SAS, 146 GB, OK) physicaldrive 1E:1:21 (port 1E:box 1:bay 21, SAS, 300 GB, OK) physicaldrive 1E:1:22 (port 1E:box 1:bay 22, SAS, 300 GB, OK) physicaldrive 1E:1:23 (port 1E:box 1:bay 23, SAS, 300 GB, OK) physicaldrive 1E:1:24 (port 1E:box 1:bay 24, SAS, 300 GB, OK) physicaldrive 1E:1:25 (port 1E:box 1:bay 25, SAS, 300 GB, OK)