You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by sekaijin <jy...@yahoo.fr> on 2015/02/18 16:25:18 UTC

Find the startup state of a bunble

Hi.

I use version 2.2.2

I have two karaf configured for failedover

To ensure proper operation on the platform when it stops a bundle on the
master, one must ensure that it does not restart on the backup in case of
failure.
We must also stop the bundle on backup for it is not started.
This will mark the bundle as "stopped" for the next time the karaf start.
The status of the bundle being "resolved"

so when starting a bundle on the masteris necessary to start it on the
backup.

A bundle on the backup can be in the "Resolved" and marked to start or
"Resolved" and marked to not start.

How to find this start information?
the list command gives its status but does not indicate whether or not the
bundle start.

thank you



--
View this message in context: http://karaf.922171.n3.nabble.com/Find-the-startup-state-of-a-bunble-tp4038612.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.

Re: Find the startup state of a bunble

Posted by "Jamie G." <ja...@gmail.com>.
So for your failover instance, try setting the start level of the
karaf to something low so that it becomes a hot standby -- your
application bundles should have a start level that somewhat high so
they will not be started up.

Here is the relevant documentation for Karaf 2.2.x:
http://karaf.apache.org/manual/latest-2.2.x/users-guide/failover.html

The list command should be displaying if the bundle is active (started).

I'd strongly recommend updating your Karaf version if possible.

Cheers,
Jamie

On Wed, Feb 18, 2015 at 11:55 AM, sekaijin <jy...@yahoo.fr> wrote:
> Hi.
>
> I use version 2.2.2
>
> I have two karaf configured for failedover
>
> To ensure proper operation on the platform when it stops a bundle on the
> master, one must ensure that it does not restart on the backup in case of
> failure.
> We must also stop the bundle on backup for it is not started.
> This will mark the bundle as "stopped" for the next time the karaf start.
> The status of the bundle being "resolved"
>
> so when starting a bundle on the masteris necessary to start it on the
> backup.
>
> A bundle on the backup can be in the "Resolved" and marked to start or
> "Resolved" and marked to not start.
>
> How to find this start information?
> the list command gives its status but does not indicate whether or not the
> bundle start.
>
> thank you
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Find-the-startup-state-of-a-bunble-tp4038612.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.