Discussion:
Standard way to configure Linux Slave
g***@gmail.com
2018-12-04 14:03:37 UTC
Permalink
What is the best or standard way to configure a Linux slave to the Master?
These are the options that comes while we try to do the configuration

1. Launch agent agents via ssh
2. Launch agent via Java Web Start
3. Launch agent via execution of command on master
4. Let Jenkins control this Windows slave as a Windows machine

Our requirement is if the Slave VM reboots, we want the Jenkins service to
start automatically and the slave to connect to master without any
interruption. Please suggest.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/640bcf82-22be-4b64-9c71-f32bedc3bbf6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
g***@gmail.com
2018-12-04 20:44:35 UTC
Permalink
Any inputs on this please?
Post by g***@gmail.com
What is the best or standard way to configure a Linux slave to the
Master? These are the options that comes while we try to do the
configuration
1. Launch agent agents via ssh
2. Launch agent via Java Web Start
3. Launch agent via execution of command on master
4. Let Jenkins control this Windows slave as a Windows machine
Our requirement is if the Slave VM reboots, we want the Jenkins service to
start automatically and the slave to connect to master without any
interruption. Please suggest.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/415b5e85-89ca-4461-8bd9-b8450aacfeeb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Slide
2018-12-04 20:48:43 UTC
Permalink
FYI, even though the term is used in some places in the docs and code
(because it's hard to change everything), "agent" is the requested term
instead of "slave". That being said, I prefer the "Launch agents via ssh",
I've never had a problem with reconnection after a reboot of the agent
computer.
Post by g***@gmail.com
Any inputs on this please?
Post by g***@gmail.com
What is the best or standard way to configure a Linux slave to the
Master? These are the options that comes while we try to do the
configuration
1. Launch agent agents via ssh
2. Launch agent via Java Web Start
3. Launch agent via execution of command on master
4. Let Jenkins control this Windows slave as a Windows machine
Our requirement is if the Slave VM reboots, we want the Jenkins service
to start automatically and the slave to connect to master without any
interruption. Please suggest.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/415b5e85-89ca-4461-8bd9-b8450aacfeeb%40googlegroups.com
<https://groups.google.com/d/msgid/jenkinsci-users/415b5e85-89ca-4461-8bd9-b8450aacfeeb%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
Website: http://earl-of-code.com
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVf3jygh7vmqSrBbf079FmKnCOFgO7H1W3xR%3DeLoSE4bnw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Jeff Thompson
2018-12-04 21:16:07 UTC
Permalink
For situations where it is reasonable, I agree with Slide’s recommendation: #1 Launch agents via ssh

It’s a good implementation, fairly straightforward, and I think it leads to better reliability and fewer broken connections. I don’t have any data on that, though, so I’d also love to hear from others with experience using the different mechanisms.

Jeff Thompson
FYI, even though the term is used in some places in the docs and code (because it's hard to change everything), "agent" is the requested term instead of "slave". That being said, I prefer the "Launch agents via ssh", I've never had a problem with reconnection after a reboot of the agent computer.
Any inputs on this please?
What is the best or standard way to configure a Linux slave to the Master? These are the options that comes while we try to do the configuration
1. Launch agent agents via ssh
2. Launch agent via Java Web Start
3. Launch agent via execution of command on master
4. Let Jenkins control this Windows slave as a Windows machine
Our requirement is if the Slave VM reboots, we want the Jenkins service to start automatically and the slave to connect to master without any interruption. Please suggest.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/415b5e85-89ca-4461-8bd9-b8450aacfeeb%40googlegroups.com <https://groups.google.com/d/msgid/jenkinsci-users/415b5e85-89ca-4461-8bd9-b8450aacfeeb%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout <https://groups.google.com/d/optout>.
--
Website: http://earl-of-code.com <http://earl-of-code.com/>
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVf3jygh7vmqSrBbf079FmKnCOFgO7H1W3xR%3DeLoSE4bnw%40mail.gmail.com <https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVf3jygh7vmqSrBbf079FmKnCOFgO7H1W3xR%3DeLoSE4bnw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout <https://groups.google.com/d/optout>.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/66DD2880-2FA5-493A-9306-4EC6C7B128AB%40cloudbees.com.
For more options, visit https://groups.google.com/d/optout.
Randall Becker
2018-12-05 15:40:46 UTC
Permalink
Launching agents via SSH is a reasonable approach also for normalizing
configuration of agents across multiple platforms.

My company's build environment uses multiple Linux flavours, a Windows
client (configured using OpenSSH), and a NonStop - all as agents, with a
Controller running under Ubuntu. Each host has a specific jenkins user its
own unique key pair (with passphrases) to cut down on accidental
configuration errors.

Hope this helps.
Randall
Post by Jeff Thompson
For situations where it is reasonable, I agree with Slide’s
recommendation: #1 Launch agents via ssh
It’s a good implementation, fairly straightforward, and I think it leads
to better reliability and fewer broken connections. I don’t have any data
on that, though, so I’d also love to hear from others with experience using
the different mechanisms.
Jeff Thompson
FYI, even though the term is used in some places in the docs and code
(because it's hard to change everything), "agent" is the requested term
instead of "slave". That being said, I prefer the "Launch agents via ssh",
I've never had a problem with reconnection after a reboot of the agent
computer.
Post by g***@gmail.com
Any inputs on this please?
Post by g***@gmail.com
What is the best or standard way to configure a Linux slave to the
Master? These are the options that comes while we try to do the
configuration
1. Launch agent agents via ssh
2. Launch agent via Java Web Start
3. Launch agent via execution of command on master
4. Let Jenkins control this Windows slave as a Windows machine
Our requirement is if the Slave VM reboots, we want the Jenkins service
to start automatically and the slave to connect to master without any
interruption. Please suggest.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/415b5e85-89ca-4461-8bd9-b8450aacfeeb%40googlegroups.com
<https://groups.google.com/d/msgid/jenkinsci-users/415b5e85-89ca-4461-8bd9-b8450aacfeeb%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
Website: http://earl-of-code.com
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVf3jygh7vmqSrBbf079FmKnCOFgO7H1W3xR%3DeLoSE4bnw%40mail.gmail.com
<https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVf3jygh7vmqSrBbf079FmKnCOFgO7H1W3xR%3DeLoSE4bnw%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e3e132b7-e022-419d-a98e-e5f701097e91%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Continue reading on narkive:
Loading...