All fencing requests go through the opensaf_reboot script today.

Have you thought about build-time options for how to link with these two 
libraries? I suppose the most flexible approach would be build-time 
options to select which libraries to link with (so you can select to 
link with just one of them, or both at the same time). If you link with 
both libraries, would it be possible at run-time to probe the system and 
select the correct one to use?

regards,
Anders Widell

On 06/30/2016 05:29 PM, Alex Jones wrote:
> Yes, it uses libvirt for all the EE admin operations performed on the 
> virtualized EE. There is no special fencing code in the PLM 
> implementation, even for the current non-virtualized implementation. 
> It's free with the PLM-EE hook in opensaf_reboot.
>
> So, if there are cases where opensaf_reboot is not being called for 
> fencing in FM or elsewhere, we would need to change that.
>
> Alex
>
>
> On 06/30/2016 11:21 AM, Anders Widell wrote:
>> Ok, I see. Will PLM use libvirt for something else than fencing in 
>> such a configuration?
>>
>> regards,
>> Anders Widell
>>
>> On 06/30/2016 05:02 PM, Alex Jones wrote:
>>> Hi Anders,
>>>
>>>     I have a basic working implementation which uses libvirt, but 
>>> it's not yet ready to send out for others to test. It relies on 
>>> libvirt to talk to the hypervisor to tell it to fence the node. It 
>>> uses the current setup in opensaf_reboot which calls PLM. Mathi and 
>>> I have been talking about the implementation, but I haven't had time 
>>> to work on it recently.
>>>
>>>     The current implementation of PLM (without virtualization) does 
>>> use OpenHPI for fencing. We use it in one of our products here at 
>>> Genband, but we are using OpenHPI to talk to a shelf manager over 
>>> RMCP in an ATCA chassis. It works well.
>>>
>>> Alex
>>>
>>>
>>> On 06/30/2016 10:51 AM, Anders Widell wrote:
>>>> Interesting!
>>>>
>>>> How do you intend to implement this? Will OpenSAF rely on OpenHPI 
>>>> for remote fencing also when running inside virtual machines? Does 
>>>> OpenHPI support that today?
>>>>
>>>> regards,
>>>> Anders Widell
>>>>
>>>> On 06/30/2016 04:11 PM, Alex Jones wrote:
>>>>> Hi Hans,
>>>>>
>>>>>   For what it is worth, there is a ticket (1431) which will 
>>>>> implement virtualization of EEs in PLM, which is not currently 
>>>>> supported. I am planning on implementing this at some point this 
>>>>> summer. That should take care of fencing in a virtualized 
>>>>> environment, without this patch, but using PLM (if I understand 
>>>>> what you are trying to do here.)
>>>>>
>>>>> Alex
>>>>>
>>>>>
>>>>>
>>>>> On 06/30/2016 04:27 AM, 
>>>>> opensaf-devel-requ...@lists.sourceforge.net wrote:
>>>>>> ---------------------------------------------------------------------- 
>>>>>>
>>>>>>
>>>>>> Message: 1
>>>>>> Date: Thu, 30 Jun 2016 07:38:13 +0000
>>>>>> From: Hans Nordeb?ck <hans.nordeb...@ericsson.com>
>>>>>> Subject: Re: [devel] [PATCH 2 of 2] fm: Add support for remote 
>>>>>> fencing
>>>>>>     using STONITH [#1859]
>>>>>> To: Hans Nordeb?ck <hans.nordeb...@ericsson.com>,
>>>>>>     "mathi.naic...@oracle.com" <mathi.naic...@oracle.com>,
>>>>>>     "ramesh.bet...@oracle.com" <ramesh.bet...@oracle.com>,
>>>>>>     "praveen.malv...@oracle.com" <praveen.malv...@oracle.com>, 
>>>>>> Anders
>>>>>>     Widell    <anders.wid...@ericsson.com>
>>>>>> Cc: "opensaf-devel@lists.sourceforge.net"
>>>>>>     <opensaf-devel@lists.sourceforge.net>
>>>>>> Message-ID:
>>>>>> <amspr07mb230a0e7eb5fc210a9601c92ea...@amspr07mb230.eurprd07.prod.outlook.com>
>>>>>>  
>>>>>>
>>>>>>
>>>>>> Content-Type: text/plain; charset="iso-8859-1"
>>>>>>
>>>>>> Hi, anyone that had time to look at this patch? It would be good 
>>>>>> the get some early feedback as it may have to some further changes
>>>>>> I considered if e.g.  PLM should be used for the configuration 
>>>>>> but it seems to be more work, what do you say?
>>>>>>
>>>>>> /Thanks HansN
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>


------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to