euca又出错了。node节点竟然无故消失。每次注册node时axis2c.log中都会出现:http_transport_utils.c(2557) Service or operation not found的提示。
在网上查了一下:http://open.eucalyptus.com/forum/node-controller-not-registering。利用上面的方法,开始不行。过了一阵又行了,乖乖。
- de-register the node
- de-register the cluster from command line (web GUI re-registration gave same problem)
- restart the cluster controller and the cloud
- register cluster again
- discover node and add it
In detail:
cd /etc/init.d/
for service in euca*; do stop $service;done
for service in euca*; do status $service;done
start eucalyptus
for service in euca*; do status $service;done
euca_conf --list-clusters
(No output)
euca_conf --register-cluster cluster1 192.168.0.17
(The cluster was registered)
euca_conf --no-rsync --discover-nodes
(The command found the node and added it)
另外,从源码编译euca后,启动都正常,就是注册nc的时候,提示:
ERROR: you need to be on the CC host and the CC needs to be running.
可是cc明明就启动了,怪怪!查看axis2c.log,出现了一堆错误,与正常环境中的axis2c.log错误不同。
明天再看看。
PS:读书的感觉真好,今天继续!