I am ready to deploy a local lava single master demo system. The server and dispatcher had be installed in a single computer. In order to enable the server to kno the dispatcher(worker),Then how to configure something. Is doing this?: sudo lava-server manage workers add <HOSTNAME> ,that HOSTNAME is changed in /etc/lava-dispatcher/lava-slave file? And when did,How to see whether dispatcher is working already?
Hello,
the worker will register itself to the master automatically. You don't have to create the worker manually.
Just configure the worker to connect to your master. This is done in /etc/lava-dispatcher/lava-slave An example configuration file is available at /usr/share/lava-dispatcher/lava-slave
For a first try, you can start without encryption and only define the following variables in the configuration file: MASTER_URL="tcp://localhost:5556" LOGGER_URL="tcp://localhost:5555"
You can also specify the HOSTNAME if you want. By default the slave will use the name of the server it's running on.
This will instruct you local lava-slave (this is the name of the service) to connect to the local lava-master. Then restart the lava-slave with "service lava-slave restart"
Rgds
2018-08-07 12:07 GMT+02:00 ljh_dev ljh_dev@126.com:
I am ready to deploy a local lava single master demo system. The server and dispatcher had be installed in a single computer. In order to enable the server to kno the dispatcher(worker),Then how to configure something. Is doing this?: sudo lava-server manage workers add <HOSTNAME> ,that HOSTNAME is changed in /etc/lava-dispatcher/lava-slave file? And when did,How to see whether dispatcher is working already?
Lava-users mailing list Lava-users@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lava-users
[]You can also specify the HOSTNAME if you want. By default the slave will use the name of the server it's running on.
Do you mean that can also not specify HOSTNAME in ava-slave file? Then need to execute the following command ? sudo lava-server manage workers add <HOSTNAME>
At 2018-08-07 19:53:33, "Remi Duraffort" remi.duraffort@linaro.org wrote:
Hello,
the worker will register itself to the master automatically. You don't have to create the worker manually.
Just configure the worker to connect to your master. This is done in /etc/lava-dispatcher/lava-slave An example configuration file is available at /usr/share/lava-dispatcher/lava-slave
For a first try, you can start without encryption and only define the following variables in the configuration file: MASTER_URL="tcp://localhost:5556"
LOGGER_URL="tcp://localhost:5555"
You can also specify the HOSTNAME if you want. By default the slave will use the name of the server it's running on.
This will instruct you local lava-slave (this is the name of the service) to connect to the local lava-master. Then restart the lava-slave with "service lava-slave restart"
Rgds
2018-08-07 12:07 GMT+02:00 ljh_dev ljh_dev@126.com:
I am ready to deploy a local lava single master demo system. The server and dispatcher had be installed in a single computer. In order to enable the server to kno the dispatcher(worker),Then how to configure something. Is doing this?: sudo lava-server manage workers add <HOSTNAME> ,that HOSTNAME is changed in /etc/lava-dispatcher/lava-slave file? And when did,How to see whether dispatcher is working already?
_______________________________________________ Lava-users mailing list Lava-users@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lava-users
--
Rémi Duraffort LAVA Team
You don't have to use "lava-server manage workers add <HOSTNAME>" anymore. You can if you want to, but that's not needed anymore.
When configuring the slave (in /etc/lava-dispatcher/lava-slave) you can specify the hostname to use. If you don't specify the hostname, lava-slave will use the current fqdn.
Rgds
2018-08-07 17:53 GMT+02:00 ljh_dev ljh_dev@126.com:
[]You can also specify the HOSTNAME if you want. By default the slave will use the name of the server it's running on.
Do you mean that can also not specify HOSTNAME in ava-slave file? Then need to execute the following command ? sudo lava-server manage workers add <HOSTNAME>
At 2018-08-07 19:53:33, "Remi Duraffort" remi.duraffort@linaro.org wrote:
Hello,
the worker will register itself to the master automatically. You don't have to create the worker manually.
Just configure the worker to connect to your master. This is done in /etc/lava-dispatcher/lava-slave An example configuration file is available at /usr/share/lava-dispatcher/ lava-slave
For a first try, you can start without encryption and only define the following variables in the configuration file: MASTER_URL="tcp://localhost:5556" LOGGER_URL="tcp://localhost:5555"
You can also specify the HOSTNAME if you want. By default the slave will use the name of the server it's running on.
This will instruct you local lava-slave (this is the name of the service) to connect to the local lava-master. Then restart the lava-slave with "service lava-slave restart"
Rgds
2018-08-07 12:07 GMT+02:00 ljh_dev ljh_dev@126.com:
I am ready to deploy a local lava single master demo system. The server and dispatcher had be installed in a single computer. In order to enable the server to kno the dispatcher(worker),Then how to configure something. Is doing this?: sudo lava-server manage workers add <HOSTNAME> ,that HOSTNAME is changed in /etc/lava-dispatcher/lava-slave file? And when did,How to see whether dispatcher is working already?
Lava-users mailing list Lava-users@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lava-users
-- Rémi Duraffort LAVA Team