www.cnblogs.com/ruiyqinrui

开源、架构、Linux C/C++/python AI BI 运维开发自动化运维。 春风桃李花 秋雨梧桐叶。“力尽不知热 但惜夏日长”。夏不惜,秋不获。@ruiY--秦瑞

python爬虫,C编程,嵌入式开发.hadoop大数据,桉树,onenebula云计算架构.linux运维及驱动开发.

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

1,warming-up

Specifying URIs to libVirt;
name parameter to virConnectOpen or
          virConnectOpenReadOnly
virConnectPtr conn = virConnectOpenReadOnly ("test:///default");

/etc/libvirt/libvirt.conf

uri_aliases = [
    "ruiyHail=qemu+ssh://root@ruiy.hail.cc/system",
    "sleet=qemu+ssh://ruiy@sleet.cc/system",
]

uri_default = "qemu:///system"

A URL aliases should be a string made up;
VIR_CONNECT_NO_ALIASES parameter virConnectOpenAuth

if the URI passed to virConnectOpen* is NULL,libvirt will use following logic to determine what URI to use;
environment variabe LIBVIRT_DEFAULT_URI
client configuration file uri_default parameter
probe

specifying URIs to virsh,virt-manager and virt-install
In virsh use the -c or --connect options
virsh -c test:///default list
virsh_default_connect_uri
libvirt_default_uri
deprecated
interactive virsh shell;

Transport Layer Security
TLS
CA certificate:    /etc/pki/CA/caert.pem
Server certificate:    /etc/pki/libvirt/servercert.pem
Server private key:    /etc/pki/libvirt/private/serverkey.pem
pki infrastructure public keys
pid process idenntified
offer rich syntax many features
pass a NULL pointer to virConnectOpen*
/etc/xen/xend-config.sxp
(xend-unix-server yes)
(xend-http-server yes)
definitely not recommended for production use

posted on 2014-12-10 22:12  秦瑞It行程实录  阅读(590)  评论(0编辑  收藏  举报
www.cnblogs.com/ruiyqinrui