[ClusterLabs] Antw: how to connect to the cluster from a docker container

Dejan Muhamedagic dejanmm at fastmail.fm
Wed Aug 7 08:56:47 EDT 2019


On Tue, Aug 06, 2019 at 02:38:10PM +0200, Ulrich Windl wrote:
> >>> Dejan Muhamedagic <dejanmm at fastmail.fm> schrieb am 06.08.2019 um 10:37 in
> Nachricht <20190806083726.GA8262 at capote>:
> > Hi,
> > 
> > Hawk runs in a docker container on one of the cluster nodes (the
> > nodes run Debian and apparently it's rather difficult to install
> > hawk on a non‑SUSE distribution, hence docker). Now, how to
> > connect to the cluster? Hawk uses the pacemaker command line
> > tools such as cibadmin. I have a vague recollection that there is
> > a way to connect over tcp/ip, but, if that is so, I cannot find
> > any documentation about it.
> 
> I always thought hawk has to run on one of the cluster nodes (natively).

Apparently. hawk invokes all external commands with hawk_invoke
which drops all the environment apart from HOME and CIB_file. 

One obvious possibility would be for the hawk_invoke to either
get the connection settings or to preserve the CIB_host and other
variables.

Cheers,

Dejan

> > 
> > Cheers,
> > 
> > Dejan
> > _______________________________________________
> > Manage your subscription:
> > https://lists.clusterlabs.org/mailman/listinfo/users 
> > 
> > ClusterLabs home: https://www.clusterlabs.org/ 
> 
> 
> 
> _______________________________________________
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/users
> 
> ClusterLabs home: https://www.clusterlabs.org/


More information about the Users mailing list