Changes between Version 3 and Version 4 of libvirt
- Timestamp:
- Sep 29, 2010, 4:37:28 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
libvirt
v3 v4 12 12 2. '''Remote''': 必須額外啟動 libvirtd 來 remote communication [[BR]] [[Image(http://www.ibm.com/developerworks/linux/library/l-libvirt/figure2.gif)]] 13 13 14 * '''libvirt API''' 主要可分為五種類型:14 * [http://libvirt.org/html/libvirt-libvirt.html libvirt API 主要可分為五種類型:] 15 15 1. VMM 連接 API 16 16 2. Domain 管理 API … … 19 19 5. Storage pool API 20 20 21 * libvirt API 支援的語言21 * [http://libvirt.org/bindings.html libvirt API 支援的語言] 22 22 * python 23 23 * C/C++ … … 26 26 * perl 27 27 * variety of scripting languages, and even a unified functional language (Objective caml) 28 29 * 使用 libvirt 開發的應用 30 * virt-install 31 * virt-clone 32 * virt-manager 33 * virt-viewer 34 * oVirt 28 35 ---- 29 = 【libvirt 操作】 = 36 = 【libvirt 測試】 = 37 == [安裝] == 38 * [http://libvirt.org/deployment.html 從 source 安裝] 39 {{{ 40 $ wget http://libvirt.org/sources/libvirt-0.8.4.tar.gz ; tar zxvf libvirt-0.8.4.tar.gz ; cd libvirt-0.8.4 41 $ ./configure --with-xen --prefix=/usr 42 $ make 43 $ make install 44 }}} 45 * configure 遇到缺少某套件時 46 {{{ 47 $ sudo aptitude install libxml2-dev libgnutls-dev libdevmapper-dev libxen-dev 48 }}} 49 * 從套件檔安裝 50 {{{ 51 $ aptitude search libvirt 52 p libvirt-bin - the programs for the libvirt library 53 p libvirt-dev - development files for the libvirt library 54 p libvirt-doc - documentation for the libvirt library 55 p libvirt-ocaml - OCaml bindings for libvirt 56 p libvirt-ocaml-dev - OCaml bindings for libvirt 57 p libvirt0 - library for interfacing with different virtualization system 58 p libvirt0-dbg - library for interfacing with different virtualization system 59 p python-libvirt - libvirt Python bindings 60 v python2.5-libvirt - 61 }}} 62 == [操作] == 30 63 * 使用 virsh (虛擬 shell,基於 shell 的互動方式操作) 31 64 {{{ … … 37 70 # virsh resume 1 38 71 }}} 39 ---- 40 = 【使用 libvirt 開發的應用】 = 41 * virt-install 42 * virt-clone 43 * virt-manager 44 * virt-viewer 45 * oVirt 72 73 == [使用 API] == 74 46 75 ---- 47 76 = 【References】 = … … 49 78 * [http://www.ibm.com/developerworks/cn/linux/l-libvirt/ Libvirt 虛擬化庫解析] 50 79 * [http://l10n.ubuntu.tla.ro/ubuntu-8.10/html/serverguide/zh_CN/libvirt.html Ubuntu 關於 libvirt 的介紹] 80 * [http://wiki.debian.org/libvirt Debian 關於 libvirt 的介紹] 51 81 * 安裝&配置 52 82 * [http://bderzhavets.wordpress.com/2010/05/18/set-up-libvirt-0-7-7xen-4-0-on-top-fedora-13-rc2/ Set up Libvirt 0.7.7&Xen 4.0 Dom0 (2.6.32.13 pvops) on top of Fedora 13 RC2] 53 83 * [http://blog.penumbra.be/2010/02/xen-libvirt-debian-lenny/ Install Xen and libvirt on Debian Lenny] 84 * [http://edin.no-ip.com/content/libvirt-kvm-debian-mini-howto libvirt + KVM on Debian mini-HOWTO] 54 85 * Xen 55 86 * [http://blog.csdn.net/guxn25/archive/2008/05/25/2479745.aspx 基于libvirt API监测xen初探]