Linux安全网 - Linux操作系统_Linux 命令_Linux教程_Linux黑客

会员投稿 投稿指南 本期推荐:
搜索:
您的位置: Linux安全网 > Linux集群 > Architecture > » 正文

Eucalyptus安装与配置(2)

来源: 未知 分享至:

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

访问控制端地址

https://192.168.165.225:8443

安装客户端工具

1、下载并设置证书


Tags:
分享至:
最新图文资讯
1 2 3 4 5 6
验证码:点击我更换图片 理智评论文明上网,拒绝恶意谩骂 用户名:
关于我们 - 联系我们 - 广告服务 - 友情链接 - 网站地图 - 版权声明 - 发展历史