美文网首页
webvirtcloud

webvirtcloud

作者: cloudFans | 来源:发表于2021-06-01 15:17 被阅读0次
    1. 部署

    默认的安装脚本很好用,只是在连接设置的时候,操作方式需要微调一下

    image.png image.png

    cd ~www-data/.ssh/

    ssh-copy-id -i id_rsa.pub root@10.120.25.83

    1. 集成numa 绑核功能

    yum install libvirt libvirt-devel libxml2-devel -y; pip install libxml2-python3 libvirt-python

    git clone https://github.com/libvirt/libvirt-python.git

    
    (py3env) [root@zbb-test-numa examples]# python nodestats.py 
    NUMA stats
    NUMA nodes: 0   1
    MemTotal:   3736    4010
    MemFree:    2871    3358
    (py3env) [root@zbb-test-numa examples]# virsh start n20-2048M-pin-0-3
    Domain n20-2048M-pin-0-3 started
    
    (py3env) [root@zbb-test-numa examples]# python nodestats.py 
    NUMA stats
    NUMA nodes: 0   1
    MemTotal:   3736    4010
    MemFree:    2847    3167
    Domain 'n20-2048M-pin-0-3': 
        Overall memory: 2048 MiB nodes 0-1
        Node 0: 1024 MiB
        Node 1: 1024 MiB
    
    

    相关文章

      网友评论

          本文标题:webvirtcloud

          本文链接:https://www.haomeiwen.com/subject/ecgwsltx.html