Hi Praveen, Thanks for the resolution (active -standby issue) I have one more query, regrading checkpoint API for java. Is it the case that, in-memory cache can be a substitute for checkpoint in java, that's why not much emphasis is given for checkpoint services in java?
Regards Piyush Jaiswal On 03-12-2014 11:09, praveen malviya wrote: > > > On 01-Dec-14 11:38 AM, piyush jaiswal wrote: >> Hi Praveen, >> >> Thanks for the response. >> I saw the mail chain, but its specifically for c, but my queries are >> based on java. >> Still these answers will be applicable? > I think answers are still applicable. But current OpenSAF > implementation has Java interface APIs only for AMF and CLM. > I have not checked, but i think even no enhancement ticket exists for > implementation of java APIs of check point service. > >> And i need a help to setup AmfTestApp to be installed on both the >> controllers, one as active and one as standby, but until now i am able >> only to start two instances on the same controller one as active and one >> as standby. So do I need to make some changes in amf-test-config.xml to >> make it working? > Please configure this attribute in SU to host that SU on any > particular node: > <attr> > <name>saAmfSUHostNodeOrNodeGroup</name> > <value>safAmfNode=SC-1,safAmfCluster=myAmfCluster</value> > </attr> > > Replace SC-1 with other controller/payload . > Thanks, > Praveen > >> >> Regards >> >> Piyush Jaiswal >> >> On 28-11-2014 12:40, praveen malviya wrote: >>> >>> >>> On 28-Nov-14 9:55 AM, piyush jaiswal wrote: >>>> Hi Praveen, >>>> >>>> Thanks for the response. >>>> Can you please specify the spec, i think it talks about all the fields >>>> mentioned in imm.xml file. >>>> If yes please do tell, where i can find the spec? >>>> NOTE: i tried saforum but wasn't able to find the spec. >>>> >>>> And can you help me out on other queries as well? >>>> >>> Please check user list mail of 26th Nov 2014 with subject "Open SAF >>> Application" for response on related queries. >>> >>> Specs can be downloaded from http://www.saforum.org/ , see >>> specification tab. >>> >>> Thanks, >>> Praveen >>> >>>> Regards >>>> >>>> Piyush Jaiswal >>>> >>>> On 26-11-2014 14:38, praveen malviya wrote: >>>>> >>>>> >>>>> On 26-Nov-14 11:58 AM, piyush jaiswal wrote: >>>>>> Hi, >>>>>> >>>>>> As per my understanding, there is very minimal support for java in >>>>>> opensaf. >>>>>> I can see APIs only exposed for CLM and AMF. >>>>>> Even there is no sample application which can be tested, or taken >>>>>> as a >>>>>> base to build application. >>>>>> In older releases there was one java sample application(under >>>>>> ais_api_test), so i copied that and trying to use it. >>>>>> While trying AMF test case, facing issue to start AmfTest in >>>>>> active on >>>>>> node1 and as standby on node2(Node 1 and node2 both are >>>>>> configured as >>>>>> controller) >>>>>> And as soon as i am trying to kill the AmfTest application, the >>>>>> system >>>>>> reboots as it starts while bringing up the opensaf framework >>>>>> itself. >>>>>> Has anyone faced the same, and is this behavior expected? >>>>>> >>>>> >>>>> If you are using amf-test-config.xml.template for configuration then >>>>> this will happen because this configuration has recovery policy >>>>> nodefailover in which case fault in component will cause node reboot. >>>>> >>>>> <attr> >>>>> <name>saAmfCtDefRecoveryOnError</name> >>>>> <value>5</value> >>>>> </attr> >>>>> >>>>> Please change it to 2 for component restart or any other value by >>>>> referring spec. Above xml has this attribute at two places. >>>>> >>>>> >>>>> Thanks, >>>>> Praveen >>>>>> If i try to build server kind of java application, i need state >>>>>> retention and replication for the same, so are there any APIs >>>>>> available >>>>>> for state retention and replication in java? >>>>>> >>>>>> And how to use logger and timer utilities in java application, as i >>>>>> cant >>>>>> see any APIs exposed for the same? >>>>>> >>>>> >>>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> >>>> >>>> >>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >>>> from Actuate! Instantly Supercharge Your Business Reports and >>>> Dashboards >>>> with Interactivity, Sharing, Native Excel Exports, App Integration & >>>> more >>>> Get technology previously reserved for billion-dollar corporations, >>>> FREE >>>> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >>>> >>>> >>>> >>>> _______________________________________________ >>>> Opensaf-users mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/opensaf-users >>>> >>> >>> >> >> >> ------------------------------------------------------------------------------ >> >> >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> with Interactivity, Sharing, Native Excel Exports, App Integration & >> more >> Get technology previously reserved for billion-dollar corporations, FREE >> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >> >> _______________________________________________ >> Opensaf-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/opensaf-users >> > > ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet _______________________________________________ Opensaf-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensaf-users
