打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
GPXE , ISCSI 硬體HBA ,光碟虛擬啟動 筆記
需求.

一  Lab 需要很多種 Hypervisor Host OS (不可在虛擬化環境運作)
二. 部份機器只有pxe 希望能再用boot 後再引導iscsi image
三. 只有pxe boot 機器希望能再做 iso 模擬boot  (類似IP KVM)

現有iscsi lun boot都為 IBFT(iSCSI Boot Firmware Table)
http://benjr.tw/node/505
相容性不佳
像ESX 4.1 (非i),一些Linux hypervisor os .OreacleVM  ,Xenserver Host OS 不可安裝在上 ....


IBFT 工作原理
Host is powered up/reset and the iBF (iSCSI Boot Firmware) is loaded

iBF initializes and connects to the iSCSI target, presents iSCSI disk to BIOS

BIOS uses INT 13 to load MBR and OS boot sectors from the iSCSI disk

OS boot loader (grub) takes over the control from BIOS

Grub loads Solaris kernel/ramdisk

Grub transfers control to Solaris kernel

Kernel scans iBFT, configures the boot NIC, TCP/IP and iSCSI initiator to enumerate the boot disk, and then mount the rootfs

Kernel loads the rest of drivers/conf files as booting from a local disk

驅動非像是Storage HBA(raid ,scsi card, fc card) 那樣狀況
因此相容性很差 就算有驅動也沒用 因為ISCSI  INITIATOR 是SOFTWARE DRIVER

win2008 R2 ,win7 ok (免驅)

想說gpxe rom會不會好一點  就動手進行
燒gpxe rom 有點麻煩
http://etherboot.org/wiki/romburning

1.要知道 vendor and device IDs

2.build rom  或這邊下載
http://rom-o-matic.net/
填入 vendor id and device id

燒入指令
bootutil -nic 1 -restoreimage -file gpxe.rom

手動掛iscsi lun
dhcp net0
set keep-san 1
sanboot iscsi:ip::::iqn.xyz
exit

注意gpxe 掛載lun相容性好像比教差 增長型Lun mount失敗

gpxe 除了 方便pxe 硬體可導入 iscsi lun 外  (比如說家用機想要iscsi boot) 
其他方面相容性一樣

所以只有選購硬體式iscsi hba
http://www.qlogic.com/Products/adapters/Pages/iSCSIAdapters.aspx

才能達到最高相容性

筆記繼續補充中


參考
1. 布署PXE 的 GPXE ROM
http://bbs.wuyou.com/viewthread.php?tid=190763&highlight=gpxe

2.Intel
http://ipxe.org/

3.GPXE 啟動ISO
http://serverfault.com/questions/79908/how-to-boot-iso-image-using-gpxe-and-memdisk
http://reboot.pro/9802/


上次編輯: 2012-01-05 11:36 由 thx
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
[分享]成功利用GPXE启动无盘WINDOWS 2003. | chenall's blo...
DS4000红皮书笔记10
【解决方案】无法将grub
vSphere 4系列之八:Storage配置 - 王庆平_技术轨迹 - 51CTO技术博客
取消电脑开机按F1的方法
铁威马NAS创建ISCSI配置连接及使用教程
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服