Hello Pawel,
hello Greg,

Thanks for explaining. It should have been something long for "Which
bundle should I delete exactly?", because at
http://opencast.3480289.n2.nabble.com/Re-Matterhorn-users-Matterhorn-1-1-Initial-tests-td6293037.html
it isn't discribed explicitly.

The correct file is:
# rm
/opt/matterhorn/felix/matterhorn/matterhorn-capture-agent-impl-1.1.0.jar

Then:
http://.../capture-admin/docs - "Write methods" - "DELETE
/agents/{name}" - demo_capture_agent

Regards,

[email protected]

Am 19.09.2011 10:50, schrieb Pawel Fic:
> Hello matpro_fhkoeln. 
> 
> What Greg is trying to say (I am not sure how much of this is you already 
> know, and how much of this will be useful) is:
> 
> 
> -Demo capture agent is a process running (inside/next to) Matterhorn.
> By design it reports a its state to the server. 
> When you are telling the server to remove it - using the REST endpoint - 
> server removes the agent, and the Capture Agent Code  in 30 seconds 
> re-registers.
> 
> Instead of keeping the agent from pushing the state and running by changing 
> it's conf:
>  1. you have to be aware that this process exists and re-registers the agent 
> (the process even without pushing the state may try handling some events that 
> were scheduler earlier)
>  2. you want to stop the process.
> 
> So:
> use command "lb", to "List Bundles" - and find the id of Matterhorn Capture 
> Agent Implementation
> (matterhorn-capture-agent-impl), then stop the Agent, then remove it.
> 
> lb
> (...)
>   415|Active     |    8|matterhorn-capture-agent-api (1.2.0)
>   416|Active   |    8|matterhorn-capture-agent-impl (1.2.0)
> (...)
> stop 416
> lb
> (...)
>   415|Active     |    8|matterhorn-capture-agent-api (1.2.0)
>   416|Resolved   |    8|matterhorn-capture-agent-impl (1.2.0)
> 
> 
> --And if you want to stop it permanently - remove the 
> "matterhorn-capture-agent-impl.jar". [Am I right here?].
> 
> 
> Please let me know if it was useful.
> -Pawel
> 
> 
> BTW: 
> There are two mailing lists, one for developers (questions about the source 
> code -- it's matterhorn), and one for users (matterhorn-users) - when you 
> post to both those lists, this may be confusing, since most people will 
> answer to one of your list. It will be confusing later for people browsing 
> the lists for answers.
> 
> I think there are no guides how to use those two. I assumed that one of those 
> is for people who are trying to use Matterhorn (Matterhorn Users), and second 
> is for people who have questions about implementation details, and I only 
> post to the one I find appropriate.
> 
> 
> 
> --- On Sun, 9/18/11, Greg Logan <[email protected]> wrote:
> 
>> From: Greg Logan <[email protected]>
>> Subject: Re: [Matterhorn-users] [Opencast Matterhorn] Delete 
>> demo_capture_agent
>> To: [email protected]
>> Cc: "Matterhorn Users" <[email protected]>
>> Date: Sunday, September 18, 2011, 7:20 PM
>> On 2011-09-18 9:05 AM, matpro_fhkoeln
>> wrote:
>>> Hello Ladies and Gentlemen,
>>>
>>> Trying it at http://.../capture-admin/docs with write
>> method "DELETE
>>> /agents/{name}" removes the demo_capture_agent listed
>> at Admin Tools -
>>> Capture Agents, but only shortly.
>>
>> This makes sense if the agent has not been told to stop
>> sending its state :)
>>
>>> Commenting out "capture.device.names" at
>>>
>> ../felix/conf/services/org.opencastproject.capture.impl.ConfigurationManager.properties
>>> changes nothing (changing
>>> "capture.agent.capabilities.remote.polling.interval"
>> has no effect, too).
>>
>> You want to set capture.agent.state.remote.polling.interval
>> and
>> capture.agent.capabilities.remote.polling.interval to 0,
>> which will turn
>> off the agent state and capability pushes.  You will
>> need to restart the
>> CA impl bundle at this point, and then do what you did
>> above with the
>> REST endpoint to remove the agent from the database as
>> well.
>>
>> G
>>
>>> The server runs with http://.../tags/1.1.0 (Revision 10626).
>>> So how can I remove it completely?
>>>
>>> Regards,
>>>
>>> [email protected]

_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

Reply via email to