Hi Piotr,

Look at this file :
http://src.opensolaris.org/source/xref/ohac/ohac/usr/src/cmd/initpkg/init.d/bootcluster
At line 701, it launches 'clconfig'.

The code for clconfig is at :
http://src.opensolaris.org/source/xref/ohac/ohac/usr/src/cmd/clconfig/clconfig.c
This code makes the cladm system call into kernel, which reaches into the 
following code :
http://src.opensolaris.org/source/xref/ohac/ohac/usr/src/common/cl/cl_comm/cladmin.cc#190

The above code loads up various cluster kernel modules and then invokes at line 
30 in cladmin.cc the function cl_orb_initialize_funcp() which points to 
ORB::initialize().
ORB::initialize() sets up the kernel ORB and makes the node join cluster.
The code for ORB::initialize() is in 
http://src.opensolaris.org/source/xref/ohac/ohac/usr/src/common/cl/orb/infrastructure/orb.cc

Hope that helps.

Thanks & Regards,
Sambit
-- 
This message posted from opensolaris.org

Reply via email to