You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by "ajs6f@virginia.edu" <aj...@virginia.edu> on 2012/05/24 22:00:25 UTC

Karaf child instance auto-start and Wrapper

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've got a question about Karaf child instances and how they start (or don't).

My use case is as follows: I'd like to have a Karaf instance with one or more child instances, and I'd like the child instances to automatically start when the parent instance starts. The motivation is failure recovery. In the event of an OS or hardware failure, I'd like all the instances to come back up, without human intervention.

- From what I've seen of the behavior, child instances do _not_ automatically start when a parent instance does.

Is there a setting I can throw to influence this behavior (e.g. in the "instance.properties" file), or is it something I'll need to script at the OS level using the "admin" shell script?

Also, I'm wondering if anyone can tell me about the interaction of the Wrapper service and child instances. In other words, does the Wrapper watch and heartbeat child instances as well as the parent instance?

- ---
A. Soroka
Software & Systems Engineering :: Online Library Environment
the University of Virginia Library

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org

iQEcBAEBAgAGBQJPvpNaAAoJEATpPYSyaoIkeYsIAI4t7Go2zmuumFcHOy05+xr6
JkS4NKnYobbtdlgj4+rde00RedY5lV8x90Vl4fBVlzANPKcRHhIc+P1e+0wJdCMn
4WGxukJPcNGob1PAdFXXqQgILJ6emyuAdK9CW5LvinjZnoKDwKr2tn5XsjeecTiR
BMyz+dq+9h57Xr3es6NuqwpaB/9vA9rhekyxkH6tQMZnLbk/ijZulrlQpVmSiqGW
n4exHvt5QJ/MeIOylz/9woRez8Yi8OtP7NsniV7LxWpbw5Qcmp6v7ONr5B9sir9N
x+Uuz9GheYpvU0unxPiMB6Yebz1tPfeERtb8gQL2gkP6hBoZAGxd0QxVIdF/iSU=
=YFjp
-----END PGP SIGNATURE-----