分享

GPXE , ISCSI 硬體HBA ,光碟虛擬啟動 筆記

 看见就非常 2012-08-28
需求.

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

現有iscsi lun boot都為 IBFT(iSCSI Boot Firmware Table)
http:///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:///wiki/romburning

1.要知道 vendor and device IDs

2.build rom  或這邊下載
http:///
填入 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./Products/adapters/Pages/iSCSIAdapters.aspx

才能達到最高相容性

筆記繼續補充中


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

2.Intel
http:///

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


上次編輯: 2012-01-05 11:36 由 thx

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多