How can be the b10-cmdctl listen address changed?
Jeremy C. Reed
jreed at isc.org
Mon Sep 9 14:57:47 UTC 2013
On Mon, 9 Sep 2013, Tomas Hozza wrote:
> I'm trying to change the address on which b10-cmdctl listens,
> but without any luck. I know that b10-cmdctl has argument '-a',
> but I don't know how to use it, since the bind10 suite is started
> by calling 'bind10' wrapper that calls 'b10-init'.
Yes, we don't currently offer a way to set command-line arguments using
the Init startup. (Well I do see an undocumented "params"... I will
send another email to dev list about that.)
> I tried to use 'bindctl' and set the address for b10-cmdctl using:
> > config set Init/components/b10-cmdctl/address "<ipaddr>"
> > config commit
> Error: Changing configuration of a running component is not yet supported. Remove and re-add b10-cmdctl to get the same effect
> Configuration not committed
This address is not the listening address used by cmdctl. It is the
address used by the component on the b10-msgq message bus.
(Note it is an Init configuration.)
We don't have a Cmdctl/ configuration for the listen address yet.
A ticket for this work is http://bind10.isc.org/ticket/656
As a quick workaround, I suggest creating an executable shell script
(let's call it b10-cmdctl-custom) which does:
/usr/local/libexec/bind10/b10-cmdctl --address REPLACETHIS
Then override the program to run by setting
Init/components/b10-cmdctl/process to that script.
More information about the bind10-users
mailing list