环境介绍 |
硬件环境 |
1. Thinkpad T430-2347A75 |
2. CPU:Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz 支持VT-x |
3. MEM:8G |
4. Cardtype:1000Mbps以太网卡 |
5. Hard disk space:500G |
软件环境 |
1. System:Red Hat Enterprise Linux Server release 6.4 (Santiago) |
2. Virtual Machine:qemu-kvm-0.12.1.2-2.355.el6.x86_64 |
3. rhevm3.3.iso |
4. rhev-hypervisor6-6.5-20140217.0.iso |
5. rhel-6.3-p2v.iso |
6. v2vtools.iso |
网络环境 |
1. 物理主机: 192.168.1.101/255.255.255.0 |
2. 虚拟主机 |
<1> PXE: 192.168.1.250/255.255.255.0 |
<2> IPA_DNS_DHCP_Gateway: 192.168.1.254/255.255.255.0 10.0.0.1/255.0.0.0 |
<3> RHEVM3.3: 192.168.1.251/255.255.255.0 |
<4> RHEV-H6.5: 192.168.1.252/255.255.255.0 |
配置如下:
1. 安装quem-kvm虚拟机 过程略
2. 启动kvm虚拟机
有两种方式:
<1> Applications -- System Tools -- virt-manager
<2> [root@localhost ~]# virt-manager
3. 使用kvm软件安装系统
New VirtualMachine -- name “server1” -- Choose how toinstall the operating system
“Localinstallation media(isop_w_picpath orCD-ROM)” -- Forge -- UseISO p_w_picpath
“/ISOp_w_picpaths/system/rhel-server-6.4-x86_64-dvd.iso” -- Choose an operating system
type and version -- Operating system type “Linux” -- Version “Red Hat Enterprise Linux
6” -- Forge -- Select the memory and CPU settings -- RAM “768”MB - CPU “1” -- Advance -- Allocate the entire disk immediately(此处不能勾选)-- Select managed or other existing storage -- Browse “/dev/vg1/lvkvm1” -- Forge --
Before installing custom configuration(此处勾选) -- Advanced Options -- Virtual network
‘default’:NAT - Set a fixed mac address “00:00:00:00:00:a1” - Virtual Types “kvm”
- Architecture “x86_64” -- Fulfil -- show VNC -- Type “Spice” -- Application --Begin Installation
4. RHEL6.4的安装 过程略 详见官方文档
----------> 至此kvm虚拟机基本设置已完成