OpenClovis / SAFplus-Availability-Scalability-Platform

Middleware that provides libraries, GUI, and code generator to design multi-node (clustered) applications that are highly available, redundant, and scalable. Provides sub-second node and application fault detection and failover, and useful application libraries including distributed hash tables (checkpoint), event, logging, and communications. Implements SA-Forum APIs where applicable. Used anywhere reliability is a must -- like telecom, wireless, defense and enterprise computing. Download stable release with installer from: ftp.openclovis.com
www.openclovis.com
GNU General Public License v2.0
19 stars 13 forks source link

SAFplus services: Convert old "EO" initialization method to non-eo method #77

Closed vnpraveendesu closed 11 years ago

vnpraveendesu commented 11 years ago

Most SAFplus services use an "old style" startup that calls clEoInitialize(ClInt32T argc, ClCharT *argv[]) and has a trivial (or no) main function. Instead the real application "main" is passed as a callback.

This should be converted to a more standard application, with a real "main" function and no callback. saAmfInitialize() (preferred) or clASPInitialize should instead be called to start the basic SAFplus functions.

And clASPInitialize should be renamed to clSAFplusInitialize() if saAmfInitialize cannot be used as the external API.

Made the Changes and fixed this Issue

Testing has been done using csa 101,102 ,103 ,104 ,112 and 113

AndrewStoneOpenClovis commented 11 years ago

what kind of process and node kills did you do when testing these changes?