The amf-state script had a bug that has been fixed since long. I recommend you to take the latest released opensaf, 4.2.4 or 4.3.1. But actually there are a few critical defects that has not been released yet. So my recommendation is that you clone the mercurial repo. /Hans
On 10/04/2013 09:02 AM, Biswajit Panigrahi wrote: > > > Hi All, > > I am using opensaf-4.2.0.Trying to run on virtual Box . > > I have made a cluster of 2 controller and 2 payload . > > Both the controllers and payloads are up with their respective > components. > > When I stop the opensaf service in active controller and once I got the > "OK" then immediately when I checked the status of opensaf in stand-by > controller then it shows the messages like: > > > > saAmfSISUHAState=/usr/bin/amf-state: line 145: [: <Empty>: integer > expression expected > > /usr/bin/amf-state: line 147: [: <Empty>: integer expression expected > > /usr/bin/amf-state: line 149: [: <Empty>: integer expression expected > > /usr/bin/amf-state: line 151: [: <Empty>: integer expression expected > > UNKNOWN(<Empty>) > > safSISU=safSu=n4s1\,safSg=NoRed\,safApp=OpenSAF,safSi=NoRed2,safApp=Open > SAF > > saAmfSISUHAState=/usr/bin/amf-state: line 145: [: <Empty>: > integer expression expected > > /usr/bin/amf-state: line 147: [: <Empty>: integer expression expected > > /usr/bin/amf-state: line 149: [: <Empty>: integer expression expected > > /usr/bin/amf-state: line 151: [: <Empty>: integer expression expected > > UNKNOWN(<Empty>) > > > > Procedure : > > 1.start the opensaf service in both the controller and payload by > executing /etc/init.d/opensafd start > > 2.Host Name of Active Controller :n4s1 Host Name of Stand-by controller > :n4s2 Host Name of Payload :n4s3 > > 3:Execute the stop command (/etc/init.d/opensafd stop) in Active > Controller(Host Name:n4s1) > > 4.Once the "Ok" message displayed in Active Controller(Host Name:n4s1) > then execute the status command (/etc/init.d/opensafd status) in n4s2 > (Stand-by controller which is supposed to be Active ) > > > > I have attached the Log of 2 controllers for the reference. > > Please help me out .Since its in critical phase and I am not able to > figure it out the root couse. > > > > > > Regards, > > Biswajit > > > > > > > ============================================================================================================================ > Disclaimer: This message and the information contained herein is proprietary > and confidential and subject to the > Tech Mahindra policy statement, you may review the policy at <a > href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> > externally and <a > href="http://tim.techmahindra.com/tim/disclaimer.html">http://tim.techmahindra.com/tim/disclaimer.html</a> > internally within Tech Mahindra. > ============================================================================================================================ > > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk > > > > _______________________________________________ > Opensaf-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensaf-users > ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk _______________________________________________ Opensaf-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensaf-users
