RH133 Unit 10 Virtualization with Xen

Objectives
Upon completion of this unit, you should be able to:
1) Define virtualization
2) Understand Xen terminology
3) Xen Tools
Virtualizaiton with Xen
1) Advantages of Virtualization
- Effective resource usage
- Managability
- Security
2) Key Concepts of Xen
- Small Hypervisor
- First “Domain” manages the system
- Supports full and para virtualization
Hardware Considerations
1) Minimum Requirements:
- Processor with PAE support
- 256 MiB RAM per domain
- 6 GiB hard drive per domain
2) Additionaly consideration
- CPU with VT/SVM for full virtualization
- Shared storage for live migration
- Actual Storage needs will vary by application
Preparing Domain-0
1) Install the Domain0 as normal
2) Boot the Xen hypervisor
3) Start the xend management daemon
Virtual Resources
1) CPU
- use VCPUs (virtual CPUs)
- need not map directly to real CUPs
2) Storage
- Block devices
- Simple files
3) Network Devices
- Bridged or routed to Domain0
- By default mapped to xenbr0
Domain-U Configuration
1) Defined per Domain-U
2) Virtual Block Devices
3) CPUs
4) Networking
5) /etc/xen/domain
Installing a new Domain-U
1) virt-manager
- Graphical frontend for managing domains
- Provides a wizard for setting up a new domains
- Command line alternative.xm
2) Define name of the domain
3) Select storage type and number of CUPs
4) Specify the location of the installer and optionally a kickstart file
Domain Management with xm
1) Command line managment tool
2) Controlling domains
- xm <create|destory>
- xm <pause|unpause>
- xm <save|restore> filename
- xm <shutdown|reboot>
3) Monitoring
- xm list
- xentop
- xen console
Activating Domain on boot
1) xendomains Sys-V init script
2) Starts/Stops Domain_Us
3) must link domain config files to /etc/xen/auto
End of Unit 10
1) Questions and Answers
2) Summary
- Xen Terminology
- xm command
- xendomains
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值