IPADDR=192.168.165.224
BOOTPROTO=static
NETMASK=255.255.255.0
GATEWAY=192.168.165.1
TYPE=Bridge
C)重启网络服务 br0 桥接网卡将替代 eth0 使用 IPADDR 工作
service network restart
D)修改节点配置文件
vi /etc/eucalyptus/eucalyptus.conf
VNET_BRIDGE=\"br0\"
验证
1 、 vi /etc/libvirt/libvirtd.conf
unix_sock_group = \"libvirt\" => unix_sock_group = \"libvirt\"
unix_sock_ro_perms = \"0777\" => unix_sock_ro_perms = \"0777\"
unix_sock_rw_perms = \"0770\" => unix_sock_rw_perms = \"0770\"
auth_unix_ro = \"none\" => auth_unix_ro = \"none\"
auth_unix_rw = \"none\" => auth_unix_rw = \"none\"
2 、 vi /etc/libvirt/qemu.conf
set the field user to be: user = \"eucalyptus\"
3 、 su eucalyptus -c \"virsh list\"
启动
1 、在 frontend 上启动 CLC 以及 CC
service eucalyptus-cloud start
service eucalyptus-cc start
2 、在 node 上启动 NC
service eucalyptus-nc start
注册
a) 注册 frontend 节点
euca_conf --register-walrus 192.168.165.225 walrus 所在节点 ip
euca_conf --register-cluster cluster 192.168.165.225 IP 地址前的是自定义的 CLC 的名字
euca_conf --register-sc cluster 192.168.165.225 注册 storage control
b) 注册 node 节点
euca_conf --register-nodes 192.168.165.224 后端节点 ip
euca_conf --register-nodes 192.168.165.223 后端节点 ip
c) 验证注册是否成功
euca_conf --list-walruses
euca_conf --list-clusters
euca_conf --list-scs
euca_conf --list-nodes
访问控制端地址
安装客户端工具
1、下载并设置证书