Changes between Version 3 and Version 4 of libvirt


Ignore:
Timestamp:
Sep 29, 2010, 4:37:28 PM (14 years ago)
Author:
rock
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • libvirt

    v3 v4  
    1212   2. '''Remote''': 必須額外啟動 libvirtd 來 remote communication [[BR]] [[Image(http://www.ibm.com/developerworks/linux/library/l-libvirt/figure2.gif)]]
    1313
    14  * '''libvirt API''' 主要可分為五種類型:
     14 * [http://libvirt.org/html/libvirt-libvirt.html libvirt API 主要可分為五種類型:]
    1515   1. VMM 連接 API
    1616   2. Domain 管理 API
     
    1919   5. Storage pool API
    2020
    21  * libvirt API 支援的語言
     21 * [http://libvirt.org/bindings.html libvirt API 支援的語言]
    2222   * python
    2323   * C/C++
     
    2626   * perl
    2727   * 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
    2835----
    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
     52p   libvirt-bin                                        - the programs for the libvirt library                       
     53p   libvirt-dev                                        - development files for the libvirt library                   
     54p   libvirt-doc                                        - documentation for the libvirt library                       
     55p   libvirt-ocaml                                      - OCaml bindings for libvirt                                 
     56p   libvirt-ocaml-dev                                  - OCaml bindings for libvirt                                 
     57p   libvirt0                                           - library for interfacing with different virtualization system
     58p   libvirt0-dbg                                       - library for interfacing with different virtualization system
     59p   python-libvirt                                     - libvirt Python bindings                                     
     60v   python2.5-libvirt                                  -                     
     61}}}
     62== [操作] ==
    3063 * 使用 virsh (虛擬 shell,基於 shell 的互動方式操作)
    3164{{{
     
    3770# virsh resume 1
    3871}}}
    39 ----
    40 = 【使用 libvirt 開發的應用】 =
    41  * virt-install
    42  * virt-clone
    43  * virt-manager
    44  * virt-viewer
    45  * oVirt
     72
     73== [使用 API] ==
     74
    4675----
    4776= 【References】 =
     
    4978 * [http://www.ibm.com/developerworks/cn/linux/l-libvirt/ Libvirt 虛擬化庫解析]
    5079 * [http://l10n.ubuntu.tla.ro/ubuntu-8.10/html/serverguide/zh_CN/libvirt.html Ubuntu 關於 libvirt 的介紹]
     80 * [http://wiki.debian.org/libvirt Debian 關於 libvirt 的介紹]
    5181 * 安裝&配置
    5282   * [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]
    5383   * [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]
    5485 * Xen
    5586   * [http://blog.csdn.net/guxn25/archive/2008/05/25/2479745.aspx 基于libvirt API监测xen初探]