Worker nodes configuration

#1

What command can I use to check if a worker node has picked up the right configuration?

0 Likes

#2

The following command gives you ClusterNode information like: role, buildBranch, buildRefSpec

c3Grid(Cluster.hosts())

You can get the server configuration information (e.g. ip, port, etc.) with

c3Grid(Server.config())
0 Likes

#3

To verify a certain configuration directly on the worker, you need to establish a tunnel to that worker: c3Tunnel('worker-host-name.something.internal:8080) (note the port, it is important). Once that is successful, any command you run will be executed on that worker, not on master.

To void the tunnel, simply run c3Tunnel().

0 Likes