使用virsh连接到别的服务器时,使用的是tcp连接virsh -c qemu+tcp://host/system如果目标服务器没有开启libvirtd的tcp端口监听时,会出现error: unable to connect to server at 'host:16509': Connection refusederror: failed to connect to the hypervisorubuntu下解决方法sed -i 's/#listen_tls = ...【阅读全文】
用vghetto编写的vGhettoLinkedClone.pl可以在ESXi上链接克隆。脚本如下#!/bin/bash#orig vGhettoLinkedClone.pl missing 'a' in Orgnization-Name,should be Organization-Namelinkclone=/usr/local/vghetto/scripts/vGhettoLinkedClone.plserver=172.16....【阅读全文】
cgroups 数据结构设计我们从进程出发来剖析cgroups相关数据结构之间的关系。在Linux中,管理进程的数据结构是task_struct,其中与cgroups有关的:#ifdef CONFIG_CGROUPS /* Control Group info protected by css_set_lock */ struct css_set *cg...【阅读全文】