eucalyptus clc端启动过程

从源代码角度分析,运用技术JNI。 首先,调用./clc/modules/bootstrap/eucalyptus-bootstrap.c文件中的main函数,然后调用./clc /modules/bootstrap/eucalyptus-opts.c中的arguments函数配置参数,之后fork子进程调用child函 数,成功后主进程退出。然后调用java_init函数,java_init函数退出前调用euca_load_bootstrapper。之后 child函数继续调用java的方法init,load,start启动clc端,然后设置信号量处理函数,如果收到信号量,则调用java的 stop,destroy方法关闭clc端。

posted on 2011-09-23 18:59  longzhao&&dilanlx  阅读(339)  评论(0)    收藏  举报

导航