通过IPMI多引导可能?

我想设置一个群集。 在每台机器上安装Windows XP和Linux,操作系统应该可以通过一个装载机(例如grub)进行select。 所有的机器都有IPMI卡。 通过IPMI启动机器时是否可以select要启动的操作系统? 如何? 谢谢!

如果您的IPMI卡支持LAN上串行,则这是可能的。 您必须确保将BIOSconfiguration为将服务器上的串行端口redirect到IPMI设备,以便IPMI设备可以通过networking提供输出(在大多数服务器主板上称为“ Console Redirection ”)。 此时,串口上的所有内容都将redirect到您的IPMI SoL设备。 但是在这一点上什么都不发送到控制台,所以你必须configuration一些其他的东西。

我将用第一个串口作为例子。 如果要使用第二个,则必须用unit = 1replaceunit = 0,用ttyS1replacettyS0。

GRUB

你需要在你的grub.conf有以下两行。 还要确保所有splashimage相关的configuration指令都被禁用,这对串行文本控制台是不可能的。

 serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1 terminal --timeout=10 serial console 

Linux内核

如果您想查看Linux内核的启动过程,则需要编辑Grubconfiguration中的内核行,例如:

 title CentOS (2.6.18-164.6.1.el5) root (hd0,0) kernel /vmlinuz-2.6.18-164.6.1.el5 ro root=LABEL=/ console=tty0 console=ttyS0,19200n8 initrd /initrd-2.6.18-164.6.1.el5.img 

请注意:我已经删除了quiet参数。

Linuxlogin

为了能够从串行控制台login,您必须在串行端口上启动tty。 你可以通过编辑/etc/inittab添加下面的代码:

 s0:2345:respawn:/sbin/mingetty ttyS0 DT19200