JavaScript must be enabled in order for you to see "WP Copy Data Protect" effect. However, it seems JavaScript is either disabled or not supported by your browser. To see full result of "WP Copy Data Protector", enable JavaScript by changing your browser options, then try again.

OS Installation with RHEV through USB/PXE/CD

最近剛好碰到RHEV(Red Hat Enterprise Virtualization)的安裝,所以來記錄一下如何Prepare RHEV-H與RHEV-M的Environment事實上有點類似VMware或Proxmox運作方式,不過在使用之前,還是先來看看如何Setup RHEV的環境吧,如下:
1) Download the resource from the repo of Red Hat(先準備Supplementary的ISO並放於/root內)
#mkdir -p /root/iso /root/iso-supple
#mount -o loop rhel-server-6.3-x86_64-dvd.iso /root/iso
#mount -o loop rhel-server-6-supplementary.iso /root/iso-supple
#yum -y update bind9 -> Register RHEV-M's IP with the DNS Server(EX:<->
#setup -> Disable the firewall
#service nfs start -> Please edit the /etc/exports with the folders you want to share
#service tgtd start -> Prepare the iSCSI or FC target you want to use
#yum install "rhev-hypervisor*" -> Get the RHEV-H's image.

2) Install the RHEV-H through the usb stick(Prepare the install media like sdb)
#rpm -ivh syslinux-extlinux-4.02-8.el6.x86_64.rpm
#mount -o loop rhev-hypervisor6-6.5-20140217.0.iso /mnt
#cp -rf /mnt/LiveOS/livecd-iso-to-pxeboot ~
#./livecd-iso-to-disk --format --reset-mbr /usb/share/rhev-hypervisor/rhev-hypervisor6-6.5-20140217.0.iso /dev/sdb
#dd if=/root/rhev-hypervisor6-6.5-20140217.0.iso of=/dev/sdb -> Another Method
#rhevh-iso-to-disk --format --reset-mbr /usr/share/rhevhypervisor/rhev-hypervisor6-6.5-20140217.0.iso /dev/sdb(Need the packages about rhevh first)

3) Prepare the environment about installation with RHEV-H through PXE
#mount -o loop rhev-hypervisor6-6.5-20140217.0.iso /mnt
#cp -rf /mnt/LiveOS/livecd-iso-to-pxeboot ~
#rhevh-iso-to-pxeboot /usr/share/rhevhypervisor/rhev-hypervisor6-6.5-20140217.0.iso(Need the packages about rhevh first)
#./livecd-iso-to-pxeboot rhev-hypervisor6-6.5-20140217.0.iso -> 產生出tftpboot目錄與所需的Files
#mkdir -p /var/lib/tftpboot/rhevh330217
#cp -rf rhev-hypervisor6-6.5-20140217.0.iso /var/lib/tftpboot/
#cp -rf ~/tftpboot/vmlinuz0 /var/lib/tftpboot/rhevh330217
#cp -rf ~/tftpboot/initrd0.img /var/lib/tftpboot/rhevh330217
#vi /var/lib/tftpboot/pxelinux.cfg/defalt -> Other Steps please refer
label rhevh330217
kernel rhevh330217/vmlinuz0
append rootflags=loop initrd=rhevh330217/initrd0.img root=live:/rhev-hypervisor6-6.5-20140217.0.iso rootfstype=auto ro liveimg check RD_NO_LVM rd_NO_MULTIPATH rootflags=ro crashkernel=128M elevator=deadline install quiet max_loop=256 rhgb rd_NO_LUKS rd_NO_MD rd_NO

4) Prepare the environment about RHEV-M through the offline method
#cp -rf local_repo/ /rhevm_repo
#cp rhevm-offline.repo /etc/yum.repos.d/
#rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
#yum remove classpathx-jaf
#yum install rhevm
#rhevm-setup -> 均用Default設定即可

◎、以上就是RHEV OS Environment的簡易Setup,如果看倌們想要更詳細的設定,或是透過CD的方式做安裝,可以參考RedhatOffical Guide,先到這,收工囉!

Leave a Comment

NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This site is protected by WP-CopyRightPro