zoukankan      html  css  js  c++  java
  • openstack热迁移配置注意事项

    1.libvirt相关配置文件

    配置virsh免密码连接,修改/etc/libvirt/libvirtd.conf

    listen_tls = 0
    
    listen_tcp = 1
    
    tcp_port = "16509"
    
    listen_addr = "172.16.201.8"  
    
    auth_tcp = "none"

    修改/etc/sysconfig/libvirtd

    LIBVIRTD_CONFIG=/etc/libvirt/libvirtd.conf
    
    LIBVIRTD_ARGS="--listen"

    2. 通过如下命令检测计算节点之间连接是否正常

    在compute1节点上:
    
    virsh -c qemu+tcp://compute2/system
    
    在compute2节点上
    
    virsh -c qemu+tcp://compute1/system

    3.不要修改nova的instances_path,会导致Unable to open file: /home/instances/a3…e1/console.log: Permission denied

    具体参见:https://ask.openstack.org/en/question/112912/consolelog-permission-error-in-libvirt-after-changing-instances_path-in-novaconf/

  • 相关阅读:
    Python-time和datetime模块
    Python-hashlib模块
    Python-利用flask模块创建web接口
    Python-操作Excel
    2
    1
    8
    7
    HDFS元数据管理实战篇
    使用HttpFS网关从防火墙后面访问HDFS
  • 原文地址:https://www.cnblogs.com/hurongpu/p/8599923.html
Copyright © 2011-2022 走看看