Skip to content

Latest commit

 

History

History
49 lines (47 loc) · 1.91 KB

ovirt_node.md

File metadata and controls

49 lines (47 loc) · 1.91 KB

ovirt-node简介与定制方法

  1. ovirt-node简介
    1.1 ovirt-node在RHEV中的地位
    ovirt-node是Redhat ovirt项目中的一个子项目。ovirt项目的商业版本就是RHEV。ovirt-node目标是提供一个精简的面向裸金属安装的 hypervisor。ovirt-node基于fedora定制,也支持基于centos/rhel定制。
    ovirt-node在RHEV中的位置类似于ESXi在VMWARE虚拟化方案中的位置。 ovirt_arch
    ovirt-node在整个ovirt中作为运行Guest的Host OS使用。ovirt-node本身包含了host安装配置升级的UI界面。
    ovirt-node中可以集成VDSM作为ovirt-engine在ovirt-node上的代理。
    ovirt_node_arch
  2. ovirt-node定制
    3.1 ovirt-node的ISO出包方式
    ovirt-node的出包方式很简单:

a. git clone https://github.com/litevirt/ovirt-node.git       
b. cd ovirt-node      
c. sh autobuild.sh     

3.2 ovirt-node的定制方式
ovirt-node使用livecd-tools进行ISO定制。定制脚本在recipe目录下。
由于ovirt-node支持多个fedora/centos/rhel版本,因此目录下很多如“ ovirt17*, centos*, rhevh* "相关的ks脚本。
ovirt-node-image.ks.in是入口脚本,将相关的install, pkg, minimizer,post脚本串起来。


# @DISTRO@ Node image recipe
%include common-install.ks
%include @[email protected]
%include repos.ks
%packages --excludedocs --nobase
%include common-pkgs.ks
%include @[email protected]
%end
%post
%include common-post.ks
%include @[email protected]
%end
%post --nochroot
%include common-nochroot.ks
%end
@IMAGE_MINIMIZER@
@MANIFESTS_INCLUDED@

参考:
http://www.ovirt.org/images/2/2f/Ovirt-node.pdf
http://www.ibm.com/developerworks/cn/linux/l-cn-ovirt/
http://www.ibm.com/developerworks/cn/linux/1306_qiaoly_ovirtnode/index.html