Hi Paul,

client is not specific to an instance: it's a ssh client.

So you can use -a option to specify the port number of the instance where you want to connect.

When you use instance:connect, it's basically a kind of alias to client -a.

Regards
JB

On 05/01/2015 05:20 PM, Paul Spencer wrote:
Karaf 3.0.3

The command "instance:create" creates start and stop scripts in the instance's bin 
directory.  What about the "client" script?

I tend to use the client script when connecting to Karaf instance in the 
following ways:

1) Scripts running commands in Karaf.
2) Administrative related activities.

When the root instance is up you can easily connect to another instance, but 
when the root instance is down you must connect via SSH and know the port 
number of the instance.

Does Karaf already provided a way to use the client script to connect to a 
specific instance?

Is the creation of a client script by "instance:create" an Enhancement Request?

Paul Spencer



--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to