Thanks again Hans. It works like a charm.

I believe we don't have Java support for NTF libraries to implement the
life cycle as I don't see the java files in the jar and just ntfsubscribe
can be used in a way. But I remember Java examples were mentioned in the
service availability principles and practice book. Please let me know if we
do.

Thanks
Greg






On Tue, May 13, 2014 at 10:58 PM, Hans Feldt <[email protected]>wrote:

>
>
>
>
> *From:* Greg Hurlman [mailto:[email protected]]
> *Sent:* den 13 maj 2014 08:05
> *To:* Hans Feldt
> *Cc:* [email protected]
>
> *Subject:* Re: [users] Integration issues
>
>
>
> Thanks again Hans for the clarifications those make most sense to me and
> what I was looking for. And the last but one, is there any obvious way
> using some tool/library to monitor the SUs based on some kind of their
> state, running on the payloads? It's OK for me to monitor any of the
> readiness/presence/HA state of the SUs.
>
> *[Hans] OK so now we are talking about something else than CLM. To monitor
> AMF SUs you would have to subscribe for NTF state change notifications (the
> same way the ntfsubscribe tool does).*
>
>
>
> Greg
>
>
>
> On Sun, May 11, 2014 at 11:04 PM, Hans Feldt <[email protected]>
> wrote:
>
>
>
>
>
> *From:* Greg Hurlman [mailto:[email protected]]
> *Sent:* den 10 maj 2014 22:29
> *To:* Hans Feldt
> *Subject:* Re: [users] Integration issues
>
>
>
> Thanks Hans for letting know that CLM service can be consumed
> independently from AMF service.
>
>
>
> Now, in a given cluster configuration with two controller nodes and 3
> payload nodes, where PLs are hosted with SUs with sa-aware components where
> as controllers are without any SUs and components,
>
>
>
> If I create a monitoring process in a controller node which implements the
> CLM service, to monitor the payload nodes(leaving/joining/changes),
>
>
>
> 1. Is is that the payloads by default obtain the cluster membership as
> soon as they are defined in the cluster nodes.cfg and created by
> immxml-configure and when I start the opensaf service?
>
>
>
> *[Hans] Yes. But it is what is in the CLM information model in IMM that
> controls this. You can add/remove CLM nodes dynamically as you
> expand/shrink your cluster. What is in nodes.cfg just controls creation of
> the very first initial imm.xml needed to boot the cluster.*
>
>
>
> 2. If not, do I need to run a monitoring process in every payload node or
> need to configure these payload nodes in some way that they join the
> cluster and become a member and hence can be monitored.
>
>
>
> 3. Given that I intend to run this monitoring process as a external
> process(no SUs and SGs defined for this process I mean) in controller nodes
> only,
>
> *[Hans] To AMF an external process is something outside the cluster. A
> program executed on a controller is inside the cluster.*
>
>
>
>        a. Is it possible to run as a external process? If yes what are the
> steps to instantiate this process. I am aware of amf-adm commands to
>        instantiate sa-aware component, but what are the steps to
> instantiate this external component(monitoring process implementing CLM
>          library)?
>
> *[Hans] guess you mean _using_ (not implementing) the CLM library. Just
> start the client program! At the command prompt or init started or…*
>
>
>
>        b. If no, is it need be a component configured in IMM model and
> hence belongs to some SG, SU etc. and can be instantiated again using
>
>            using the instantiate and terminate scripts.
>
>
>
> I am some what confused with the way CLM library can be consumed and hence
> these above basic queries, which I believe would help me to proceed
> further. I know there are the SAForum manuals and ppts but do we have any
> sample example or code snippet that demonstrate this or try out some
> examples to start with?
>
> *[Hans] there is no plain CLM tracker program but pls see tests/clmsv/src.
> There is nothing magic here. The same way the ntfsubscribe program works a
> “clmtracker” can work. A normal unix program with a main …*
>
>
>
> Thanks
>
> Greg
>
>
>
>
>
>
>
> On Fri, May 9, 2014 at 12:52 AM, Hans Feldt <[email protected]>
> wrote:
>
> See inline
>
> But if you anyway want to push the information to all your sa-aware
> components why not create a ClmTracker kind of server that can be
> instantiated in each sa-aware component?
> I would do it as a separate thread that just calls an installed callback
> into client specific code.
>
> A bit like a SockerServer in python.
>
> /Hans
>
>
> > -----Original Message-----
> > From: Greg Hurlman [mailto:[email protected]]
> > Sent: den 9 maj 2014 08:08
> > To: [email protected]
> > Subject: [users] Integration issues
> >
> > Hi,
> >
> > Looking for help on some basic clarifications on the usage of CLM
> library.
> > I am trying to detect a cluster node failure (say node manual reboot,
> admin
> > shutdown or power failure) using CLM library from controller nodes or a
> > node where no service units are hosted. Each node other then the
> controller
> > nodes, hosts couple of service units with SA-aware components.
> >
> > 1. Is this possible to monitor the nodes from controller nodes without
> > integrating the library into the sa-aware apps?
>
> [Hans] of course, CLM is separate service from AMF
>
>
> >
> > 2. I am thinking of creating a separate component in the controller node
> > which will only implement this library in order to monitor and receive
> the
> > cluster changes notifications. If so then do I need to configure this
> > component in the IMM or just run as a Linux process?
>
> [Hans] Guess you mean AMF? Linux process is fine
>
> >
> > 3. Are there any additional IMM configuration changes required to
> integrate
> > this library?
>
> [Hans] ?
>
>
> >
> > Appreciate for any help.
> >
> > Thanks
> > Greg
>
> >
> ------------------------------------------------------------------------------
> > Is your legacy SCM system holding you back? Join Perforce May 7 to find
> out:
> > &#149; 3 signs your SCM is hindering your productivity
> > &#149; Requirements for releasing software faster
> > &#149; Expert tips and advice for migrating your SCM now
> > http://p.sf.net/sfu/perforce
> > _______________________________________________
> > Opensaf-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/opensaf-users
>
>
>
>
>
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Opensaf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-users

Reply via email to