IBM Server config from linux

這次要設定多台IBM SERVER, 要弄成網路開機,又不甘心一台一台去設定,要不然就要虐待工讀生...XD 找了一些方式,主要需求就是 1. 預設網路開機, 2. RAID0。大致目標就是 Linux 隨身碟開機 + CLI: config boot order + CLI: config servraid

  1. PXE 部份

因為不夠努力,uEFI network boot 失敗,還要再加強,先用legacy吧。再來不想每台都進去F1, 弄老半天,搞不好還會弄錯XD,所以找到 ASU

跑出來的結果像是這樣:

root@debian:~# ./asu64 show BootOrder --host 192.168.70.125 --user USERID --password PASSW0RD
IBM Advanced Settings Utility version 9.50.82K
Licensed Materials - Property of IBM
(C) Copyright IBM Corp. 2007-2013 All Rights Reserved
Connected to IMM at IP address 192.168.70.125
BootOrder.BootOrder=PXE Network=CD/DVD Rom=Floppy Disk=Hard Disk 0
BootOrder.WolBootOrder=PXE Network=CD/DVD Rom=Hard Disk 0

設定的指令猜想是這樣:

root@debian:~# ./asu64 set BootOrder.BootOrder "PXE Network=CD/DVD Rom=Hard Disk 0" --user USERID --password PASSW0RD --host 192.168.70.125

結果還不錯:

IBM Advanced Settings Utility version 9.50.82K
Licensed Materials - Property of IBM
(C) Copyright IBM Corp. 2007-2013 All Rights Reserved
Connected to IMM at IP address 192.168.70.125
BootOrder.BootOrder=PXE Network=CD/DVD Rom=Hard Disk 0
Waiting for command completion status.
Command completed successfully.

繼續:

root@debian:~# ./asu64 set BootOrder.WolBootOrder "PXE Network=CD/DVD Rom=Hard Disk 0" --user USERID --password PASSW0RD --host 192.168.70.125

好像OK:

IBM Advanced Settings Utility version 9.50.82K
Licensed Materials - Property of IBM
(C) Copyright IBM Corp. 2007-2013 All Rights Reserved
Connected to IMM at IP address 192.168.70.125
BootOrder.WolBootOrder=PXE Network=CD/DVD Rom=Hard Disk 0
Waiting for command completion status.
Command completed successfully.

還要再設定 Legayc: root@debian:~# asu set BootModes.SystemBootMode "Legacy Only" IBM Advanced Settings Utility version 9.50.82K Licensed Materials - Property of IBM (C) Copyright IBM Corp. 2007-2013 All Rights Reserved Unable to locate a script required to set up LAN-over-USB device, tried location cdc_interface.sh SLP request failed or timed out. Unable to locate a script required to set up LAN-over-USB device, tried location cdc_interface.sh Unable to connect to IMM via LAN : Could not configure in band network. Connected via IPMI device driver (KCS interface) BootModes.SystemBootMode=Legacy Only Waiting for command completion status. Command completed successfully.

  1. servraid的部份嘛 目前還在弄 arcconf 不支援64 bit, 網路上也找不到,失敗了,明天再找32bit試試看

Comments