Re: [users] How to detect if PLD is being in "SC Absence" mode?

2017-03-10 Thread Jianfeng Dong
Thank you Praveen, much appreciate!



IMO it would be great if user can get all nodes status as below output by a 
tool application(just like AmfUtil/immadm).



IdName   State



2 SC-1   up

3 SC-2   down

4 PL-3   up



IdName   State



2 SC-1   down

3 SC-2   down

4 PL-3   SAM(SC Absent Mode)



Regards,

Jianfeng



-Original Message-
From: praveen malviya [mailto:praveen.malv...@oracle.com]
Sent: Friday, March 10, 2017 1:59 PM
To: Jianfeng Dong ; opensaf-users@lists.sourceforge.net
Subject: Re: [users] How to detect if PLD is being in "SC Absence" mode?







On 01-Mar-17 2:46 PM, Jianfeng Dong wrote:

> Hi,

>

> We have enabled the new feature "SC Absence" of OpenSAF 5.x in our product, 
> it works good so far.

>

> Now we need to make some actions when PLD go in/out "SC Absence" mode, we 
> have to find a way in PLD to detect if it is being in "SC Absent" mode or not.

> So, does anyone knows how to make it by a utility/tool and C code(i.e. 
> OpenSAF API) as well?

>

There is no API to query OpenSAF for knowing if payload is running in 
presence/absence of SCs. However, behavior of SAF APIs for SAF services is 
documented in respective PR docs.

As of now I have raised a discussion ticket "#2354 osaf: How to detect if 
payload is being in "SC Absence" mode." Ticket will be updated with any known 
or proposed solution.



Thanks,

Praveen





> Thanks,

> Jianfeng

> --

>  Check out the vibrant tech community on one of the world's

> most engaging tech sites, SlashDot.org! http://sdm.link/slashdot

> ___

> Opensaf-users mailing list

> Opensaf-users@lists.sourceforge.net

> https://lists.sourceforge.net/lists/listinfo/opensaf-users

>
--
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
___
Opensaf-users mailing list
Opensaf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-users


Re: [users] How to detect if PLD is being in "SC Absence" mode?

2017-03-09 Thread praveen malviya


On 01-Mar-17 2:46 PM, Jianfeng Dong wrote:
> Hi,
>
> We have enabled the new feature "SC Absence" of OpenSAF 5.x in our product, 
> it works good so far.
>
> Now we need to make some actions when PLD go in/out "SC Absence" mode, we 
> have to find a way in PLD to detect if it is being in "SC Absent" mode or not.
> So, does anyone knows how to make it by a utility/tool and C code(i.e. 
> OpenSAF API) as well?
>
There is no API to query OpenSAF for knowing if payload is running in 
presence/absence of SCs. However, behavior of SAF APIs for SAF services 
is documented in respective PR docs.
As of now I have raised a discussion ticket "#2354 osaf: How to detect 
if payload is being in "SC Absence" mode." Ticket will be updated with 
any known or proposed solution.

Thanks,
Praveen


> Thanks,
> Jianfeng
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ___
> Opensaf-users mailing list
> Opensaf-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/opensaf-users
>

--
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
___
Opensaf-users mailing list
Opensaf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-users


[users] How to detect if PLD is being in "SC Absence" mode?

2017-03-01 Thread Jianfeng Dong
Hi,

We have enabled the new feature "SC Absence" of OpenSAF 5.x in our product, it 
works good so far.

Now we need to make some actions when PLD go in/out "SC Absence" mode, we have 
to find a way in PLD to detect if it is being in "SC Absent" mode or not.
So, does anyone knows how to make it by a utility/tool and C code(i.e. OpenSAF 
API) as well?

Thanks,
Jianfeng
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Opensaf-users mailing list
Opensaf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-users