Changes between Version 2 and Version 3 of libvirt


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

--

Legend:

Unmodified
Added
Removed
Modified
  • libvirt

    v2 v3  
    55}}}
    66----
    7 = 【文件】 =
     7= 【libvirt 介紹】 =
     8 * libvirt 支援各種 VMM 程序(Xen, KVM, VirtualBox, Qemu, OpenVZ, UML, LXC...),以提供統一的虛擬化上層管理介面
     9
     10 * libvirt 有兩種運作模式:
     11   1. '''local''': 直接使用 libvirt API [[BR]] [[Image(http://www.ibm.com/developerworks/cn/linux/l-libvirt/figure1.gif)]]
     12   2. '''Remote''': 必須額外啟動 libvirtd 來 remote communication [[BR]] [[Image(http://www.ibm.com/developerworks/linux/library/l-libvirt/figure2.gif)]]
     13
     14 * '''libvirt API''' 主要可分為五種類型:
     15   1. VMM 連接 API
     16   2. Domain 管理 API
     17   3. 網路管理 API
     18   4. Storage volume API
     19   5. Storage pool API
     20
     21 * libvirt API 支援的語言
     22   * python
     23   * C/C++
     24   * Ruby
     25   * JAVA
     26   * perl
     27   * variety of scripting languages, and even a unified functional language (Objective caml)
     28----
     29= 【libvirt 操作】 =
     30 * 使用 virsh (虛擬 shell,基於 shell 的互動方式操作)
     31{{{
     32# virsh create xen-vm01.xml
     33(設定檔為 xml 格式)
     34
     35# virsh list
     36# virsh suspend 1
     37# virsh resume 1
     38}}}
     39----
     40= 【使用 libvirt 開發的應用】 =
     41 * virt-install
     42 * virt-clone
     43 * virt-manager
     44 * virt-viewer
     45 * oVirt
    846----
    947= 【References】 =