Several slave on a same machine

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

Several slave on a same machine

lauretamisier
Hy,

Currently we can't create two slaves on a same machine. You can run two jnlp, but if you use a windows service you can't because slave service have always the same name.

Maybe an evolution can be do :choose the name of the windows services in order to be able to create two slaves in a same machine like a windows service.


Laure
Reply | Threaded
Open this post in threaded view
|

Re: Several slave on a same machine

Dean Yu
Re: Several slave on a same machine If you use ssh to launch the slaves, then you would be able to do this. Keep in mind that the slaves would be unaware that they are on the same physical host, so allocating too many executors can overwork the host.

  -- Dean

On 6/18/09 7:58 AM, "lauretamisier" <laure.tamisier@...> wrote:



Hy,

Currently we can't create two slaves on a same machine. You can run two
jnlp, but if you use a windows service you can't because slave service have
always the same name.

Maybe an evolution can be do :choose the name of the windows services in
order to be able to create two slaves in a same machine like a windows
service.


Laure
--
View this message in context: http://www.nabble.com/Several-slave-on-a-same-machine-tp24094779p24094779.html
Sent from the Hudson dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Reply | Threaded
Open this post in threaded view
|

Re: Several slave on a same machine

Scott Tatum-2
Laure, I think you could pull off running two Windows services
manually, from what I understand about the new service wrapper.

There should be a hudson-slave.exe, and a hudson-slave.xml in the
Hudson dir on the slave. You can manually install the Windows service
by executing "hudson-slave.exe install". The exe looks for a .xml with
the same name for its configuration, and the .xml file contains all
the configuration for the service, including the ID/name.

If your slave has two separate directories for the two slaves, then
you should have these files in each slave dir. You can edit the
hudson-slave.xml in one or both and give them different ID's, names,
and options to the java invocation if you need to pass something
distinct in there as well.

Then you run "hudson-slave.exe install" in each directory and you end
up with two different Windows services. At least, this is how I think
it should work - I've never tried it.

-Scott

On Thu, Jun 18, 2009 at 10:56 AM, Dean Yu<[hidden email]> wrote:

> If you use ssh to launch the slaves, then you would be able to do this. Keep
> in mind that the slaves would be unaware that they are on the same physical
> host, so allocating too many executors can overwork the host.
>
>   -- Dean
>
> On 6/18/09 7:58 AM, "lauretamisier" <[hidden email]> wrote:
>
>
>
> Hy,
>
> Currently we can't create two slaves on a same machine. You can run two
> jnlp, but if you use a windows service you can't because slave service have
> always the same name.
>
> Maybe an evolution can be do :choose the name of the windows services in
> order to be able to create two slaves in a same machine like a windows
> service.
>
>
> Laure
> --
> View this message in context:
> http://www.nabble.com/Several-slave-on-a-same-machine-tp24094779p24094779.html
> Sent from the Hudson dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Several slave on a same machine

Kohsuke Kawaguchi
Administrator

It would be great if you can capture this on Wiki.

Scott Tatum wrote:

> Laure, I think you could pull off running two Windows services
> manually, from what I understand about the new service wrapper.
>
> There should be a hudson-slave.exe, and a hudson-slave.xml in the
> Hudson dir on the slave. You can manually install the Windows service
> by executing "hudson-slave.exe install". The exe looks for a .xml with
> the same name for its configuration, and the .xml file contains all
> the configuration for the service, including the ID/name.
>
> If your slave has two separate directories for the two slaves, then
> you should have these files in each slave dir. You can edit the
> hudson-slave.xml in one or both and give them different ID's, names,
> and options to the java invocation if you need to pass something
> distinct in there as well.
>
> Then you run "hudson-slave.exe install" in each directory and you end
> up with two different Windows services. At least, this is how I think
> it should work - I've never tried it.
>
> -Scott
>
> On Thu, Jun 18, 2009 at 10:56 AM, Dean Yu<[hidden email]> wrote:
>> If you use ssh to launch the slaves, then you would be able to do this. Keep
>> in mind that the slaves would be unaware that they are on the same physical
>> host, so allocating too many executors can overwork the host.
>>
>> ��-- Dean
>>
>> On 6/18/09 7:58 AM, "lauretamisier" <[hidden email]> wrote:
>>
>>
>>
>> Hy,
>>
>> Currently we can't create two slaves on a same machine. You can run two
>> jnlp, but if you use a windows service you can't because slave service have
>> always the same name.
>>
>> Maybe an evolution can be do :choose the name of the windows services in
>> order to be able to create two slaves in a same machine like a windows
>> service.
>>
>>
>> Laure
>> --
>> View this message in context:
>> http://www.nabble.com/Several-slave-on-a-same-machine-tp24094779p24094779.html
>> Sent from the Hudson dev mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

--
Kohsuke Kawaguchi
Sun Microsystems                   http://weblogs.java.net/blog/kohsuke/


smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Several slave on a same machine

lauretamisier
Thanks for your answer.

Laure
kohsuke wrote
It would be great if you can capture this on Wiki.

Scott Tatum wrote:
> Laure, I think you could pull off running two Windows services
> manually, from what I understand about the new service wrapper.
>
> There should be a hudson-slave.exe, and a hudson-slave.xml in the
> Hudson dir on the slave. You can manually install the Windows service
> by executing "hudson-slave.exe install". The exe looks for a .xml with
> the same name for its configuration, and the .xml file contains all
> the configuration for the service, including the ID/name.
>
> If your slave has two separate directories for the two slaves, then
> you should have these files in each slave dir. You can edit the
> hudson-slave.xml in one or both and give them different ID's, names,
> and options to the java invocation if you need to pass something
> distinct in there as well.
>
> Then you run "hudson-slave.exe install" in each directory and you end
> up with two different Windows services. At least, this is how I think
> it should work - I've never tried it.
>
> -Scott
>
> On Thu, Jun 18, 2009 at 10:56 AM, Dean Yu<dty@yahoo-inc.com> wrote:
>> If you use ssh to launch the slaves, then you would be able to do this. Keep
>> in mind that the slaves would be unaware that they are on the same physical
>> host, so allocating too many executors can overwork the host.
>>
>> ��-- Dean
>>
>> On 6/18/09 7:58 AM, "lauretamisier" <laure.tamisier@valtech.fr> wrote:
>>
>>
>>
>> Hy,
>>
>> Currently we can't create two slaves on a same machine. You can run two
>> jnlp, but if you use a windows service you can't because slave service have
>> always the same name.
>>
>> Maybe an evolution can be do :choose the name of the windows services in
>> order to be able to create two slaves in a same machine like a windows
>> service.
>>
>>
>> Laure
>> --
>> View this message in context:
>> http://www.nabble.com/Several-slave-on-a-same-machine-tp24094779p24094779.html
>> Sent from the Hudson dev mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@hudson.dev.java.net
>> For additional commands, e-mail: dev-help@hudson.dev.java.net
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@hudson.dev.java.net
> For additional commands, e-mail: dev-help@hudson.dev.java.net
>
>


--
Kohsuke Kawaguchi
Sun Microsystems                   http://weblogs.java.net/blog/kohsuke/


 
Reply | Threaded
Open this post in threaded view
|

Re: Several slave on a same machine

Scott Tatum-2
I could put up a wiki page, but does this even work? :) Laure did this
actually work for you? I was making it up as I went..

-Scott

On Fri, Jun 19, 2009 at 2:20 AM, lauretamisier<[hidden email]> wrote:

>
> Thanks for your answer.
>
> Laure
>
> kohsuke wrote:
>>
>>
>> It would be great if you can capture this on Wiki.
>>
>> Scott Tatum wrote:
>>> Laure, I think you could pull off running two Windows services
>>> manually, from what I understand about the new service wrapper.
>>>
>>> There should be a hudson-slave.exe, and a hudson-slave.xml in the
>>> Hudson dir on the slave. You can manually install the Windows service
>>> by executing "hudson-slave.exe install". The exe looks for a .xml with
>>> the same name for its configuration, and the .xml file contains all
>>> the configuration for the service, including the ID/name.
>>>
>>> If your slave has two separate directories for the two slaves, then
>>> you should have these files in each slave dir. You can edit the
>>> hudson-slave.xml in one or both and give them different ID's, names,
>>> and options to the java invocation if you need to pass something
>>> distinct in there as well.
>>>
>>> Then you run "hudson-slave.exe install" in each directory and you end
>>> up with two different Windows services. At least, this is how I think
>>> it should work - I've never tried it.
>>>
>>> -Scott
>>>
>>> On Thu, Jun 18, 2009 at 10:56 AM, Dean Yu<[hidden email]> wrote:
>>>> If you use ssh to launch the slaves, then you would be able to do this.
>>>> Keep
>>>> in mind that the slaves would be unaware that they are on the same
>>>> physical
>>>> host, so allocating too many executors can overwork the host.
>>>>
>>>> ��-- Dean
>>>>
>>>> On 6/18/09 7:58 AM, "lauretamisier" <[hidden email]> wrote:
>>>>
>>>>
>>>>
>>>> Hy,
>>>>
>>>> Currently we can't create two slaves on a same machine. You can run two
>>>> jnlp, but if you use a windows service you can't because slave service
>>>> have
>>>> always the same name.
>>>>
>>>> Maybe an evolution can be do :choose the name of the windows services in
>>>> order to be able to create two slaves in a same machine like a windows
>>>> service.
>>>>
>>>>
>>>> Laure
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Several-slave-on-a-same-machine-tp24094779p24094779.html
>>>> Sent from the Hudson dev mailing list archive at Nabble.com.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [hidden email]
>>>> For additional commands, e-mail: [hidden email]
>>>>
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>>
>>
>>
>> --
>> Kohsuke Kawaguchi
>> Sun Microsystems                   http://weblogs.java.net/blog/kohsuke/
>>
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Several-slave-on-a-same-machine-tp24094779p24106656.html
> Sent from the Hudson dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Several slave on a same machine

Kohsuke Kawaguchi
Administrator
Scott Tatum wrote:
> I could put up a wiki page, but does this even work? :) Laure did this
> actually work for you? I was making it up as I went..

Yes, it should.

>
> -Scott
>
> On Fri, Jun 19, 2009 at 2:20 AM, lauretamisier<[hidden email]> wrote:
>>
>> Thanks for your answer.
>>
>> Laure
>>
>> kohsuke wrote:
>>>
>>>
>>> It would be great if you can capture this on Wiki.
>>>
>>> Scott Tatum wrote:
>>>> Laure, I think you could pull off running two Windows services
>>>> manually, from what I understand about the new service wrapper.
>>>>
>>>> There should be a hudson-slave.exe, and a hudson-slave.xml in the
>>>> Hudson dir on the slave. You can manually install the Windows service
>>>> by executing "hudson-slave.exe install". The exe looks for a .xml with
>>>> the same name for its configuration, and the .xml file contains all
>>>> the configuration for the service, including the ID/name.
>>>>
>>>> If your slave has two separate directories for the two slaves, then
>>>> you should have these files in each slave dir. You can edit the
>>>> hudson-slave.xml in one or both and give them different ID's, names,
>>>> and options to the java invocation if you need to pass something
>>>> distinct in there as well.
>>>>
>>>> Then you run "hudson-slave.exe install" in each directory and you end
>>>> up with two different Windows services. At least, this is how I think
>>>> it should work - I've never tried it.
>>>>
>>>> -Scott
>>>>
>>>> On Thu, Jun 18, 2009 at 10:56 AM, Dean Yu<[hidden email]> wrote:
>>>>> If you use ssh to launch the slaves, then you would be able to do this.
>>>>> Keep
>>>>> in mind that the slaves would be unaware that they are on the same
>>>>> physical
>>>>> host, so allocating too many executors can overwork the host.
>>>>>
>>>>> ��-- Dean
>>>>>
>>>>> On 6/18/09 7:58 AM, "lauretamisier" <[hidden email]> wrote:
>>>>>
>>>>>
>>>>>
>>>>> Hy,
>>>>>
>>>>> Currently we can't create two slaves on a same machine. You can run two
>>>>> jnlp, but if you use a windows service you can't because slave service
>>>>> have
>>>>> always the same name.
>>>>>
>>>>> Maybe an evolution can be do :choose the name of the windows services in
>>>>> order to be able to create two slaves in a same machine like a windows
>>>>> service.
>>>>>
>>>>>
>>>>> Laure
>>>>> --
>>>>> View this message in context:
>>>>> http://www.nabble.com/Several-slave-on-a-same-machine-tp24094779p24094779.html
>>>>> Sent from the Hudson dev mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: [hidden email]
>>>>> For additional commands, e-mail: [hidden email]
>>>>>
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [hidden email]
>>>> For additional commands, e-mail: [hidden email]
>>>>
>>>>
>>>
>>>
>>> --
>>> Kohsuke Kawaguchi
>>> Sun Microsystems � � � � � � � � � http://weblogs.java.net/blog/kohsuke/
>>>
>>>
>>>
>>>
>>
>> --
>> View this message in context: http://www.nabble.com/Several-slave-on-a-same-machine-tp24094779p24106656.html
>> Sent from the Hudson dev mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

--
Kohsuke Kawaguchi
Sun Microsystems                   http://weblogs.java.net/blog/kohsuke/


smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Several slave on a same machine

Scott Tatum-2
Ok - I've got a spare slave machine here, so I'll setup the desired
configuration and be sure of my steps, then create a wiki page. Once
I've got the page done, I'll let you know and you can link it in in an
appropriate spot.

-Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Several slave on a same machine

Scott Tatum-2
Hey the configuration worked the first time! I have notes on the
process, so I'll redo tomorrow from scratch, take screenshots, and
complete the wiki.

-Scott

On Sat, Jun 20, 2009 at 12:19 AM, Scott Tatum<[hidden email]> wrote:
> Ok - I've got a spare slave machine here, so I'll setup the desired
> configuration and be sure of my steps, then create a wiki page. Once
> I've got the page done, I'll let you know and you can link it in in an
> appropriate spot.
>
> -Scott
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Several slave on a same machine

Keith Kowalczykowski-3
To add my own 2-cents to this, I thought the whole point of having multiple
"executors" was so that you didn't have to run multiple slaves on one
machine. I was under the impression that the expected setup is one slave per
physical machine with N executors, where N is the number of parallel jobs
you want executing at a given time.

    -Keith


On 6/19/09 11:18 PM, "Scott Tatum" <[hidden email]> wrote:

> Hey the configuration worked the first time! I have notes on the
> process, so I'll redo tomorrow from scratch, take screenshots, and
> complete the wiki.
>
> -Scott
>
> On Sat, Jun 20, 2009 at 12:19 AM, Scott Tatum<[hidden email]> wrote:
>> Ok - I've got a spare slave machine here, so I'll setup the desired
>> configuration and be sure of my steps, then create a wiki page. Once
>> I've got the page done, I'll let you know and you can link it in in an
>> appropriate spot.
>>
>> -Scott
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Several slave on a same machine

Scott Tatum-2
Point well taken.. I suppose there are a couple of use cases where
this setup might be preferable:

1. It is easier to disable a slave than reconfigure the number of
executors (or is it?)
2. You get separate configuration for each slave, so you could have
one slave utilized as much as possible, and one used only when needed,
for example.
3. If you have multiple hudson masters for different purposes, you
could conceivably have a slave instance for each hudson master on the
same machine.

Probably not a common use case, but something to make note of at
least. Hudson can be configured so many ways. :)

-Scott

On Sat, Jun 20, 2009 at 1:48 AM, Keith Kowalczykowski<[hidden email]> wrote:

> To add my own 2-cents to this, I thought the whole point of having multiple
> "executors" was so that you didn't have to run multiple slaves on one
> machine. I was under the impression that the expected setup is one slave per
> physical machine with N executors, where N is the number of parallel jobs
> you want executing at a given time.
>
>    -Keith
>
>
> On 6/19/09 11:18 PM, "Scott Tatum" <[hidden email]> wrote:
>
>> Hey the configuration worked the first time! I have notes on the
>> process, so I'll redo tomorrow from scratch, take screenshots, and
>> complete the wiki.
>>
>> -Scott
>>
>> On Sat, Jun 20, 2009 at 12:19 AM, Scott Tatum<[hidden email]> wrote:
>>> Ok - I've got a spare slave machine here, so I'll setup the desired
>>> configuration and be sure of my steps, then create a wiki page. Once
>>> I've got the page done, I'll let you know and you can link it in in an
>>> appropriate spot.
>>>
>>> -Scott
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Several slave on a same machine

Keith Kowalczykowski-3
Ah yes, those are some reasonable use cases that I didn't think of. I
believe #1 is a non issue any more. In past versions you couldn't change the
number of executors (at least on the master) without a reboot. I believe
this was fixed in a recent release. #2 and #3 are interesting use cases that
I could see being useful in certain situations. Like you said, its nice that
hudson is so flexible.

    -Keith


On 6/20/09 10:36 AM, "Scott Tatum" <[hidden email]> wrote:

> Point well taken.. I suppose there are a couple of use cases where
> this setup might be preferable:
>
> 1. It is easier to disable a slave than reconfigure the number of
> executors (or is it?)
> 2. You get separate configuration for each slave, so you could have
> one slave utilized as much as possible, and one used only when needed,
> for example.
> 3. If you have multiple hudson masters for different purposes, you
> could conceivably have a slave instance for each hudson master on the
> same machine.
>
> Probably not a common use case, but something to make note of at
> least. Hudson can be configured so many ways. :)
>
> -Scott
>
> On Sat, Jun 20, 2009 at 1:48 AM, Keith Kowalczykowski<[hidden email]>
> wrote:
>> To add my own 2-cents to this, I thought the whole point of having multiple
>> "executors" was so that you didn't have to run multiple slaves on one
>> machine. I was under the impression that the expected setup is one slave per
>> physical machine with N executors, where N is the number of parallel jobs
>> you want executing at a given time.
>>
>>    -Keith
>>
>>
>> On 6/19/09 11:18 PM, "Scott Tatum" <[hidden email]> wrote:
>>
>>> Hey the configuration worked the first time! I have notes on the
>>> process, so I'll redo tomorrow from scratch, take screenshots, and
>>> complete the wiki.
>>>
>>> -Scott
>>>
>>> On Sat, Jun 20, 2009 at 12:19 AM, Scott Tatum<[hidden email]> wrote:
>>>> Ok - I've got a spare slave machine here, so I'll setup the desired
>>>> configuration and be sure of my steps, then create a wiki page. Once
>>>> I've got the page done, I'll let you know and you can link it in in an
>>>> appropriate spot.
>>>>
>>>> -Scott
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Several slave on a same machine

Kohsuke Kawaguchi
Administrator
In reply to this post by Scott Tatum-2
Scott Tatum wrote:
> Point well taken.. I suppose there are a couple of use cases where
> this setup might be preferable:
>
> 1. It is easier to disable a slave than reconfigure the number of
> executors (or is it?)

Hmm, not really.

> 2. You get separate configuration for each slave, so you could have
> one slave utilized as much as possible, and one used only when needed,
> for example.
> 3. If you have multiple hudson masters for different purposes, you
> could conceivably have a slave instance for each hudson master on the
> same machine.
>
> Probably not a common use case, but something to make note of at
> least. Hudson can be configured so many ways. :)
>
> -Scott
>
> On Sat, Jun 20, 2009 at 1:48 AM, Keith Kowalczykowski<[hidden email]> wrote:
>> To add my own 2-cents to this, I thought the whole point of having multiple
>> "executors" was so that you didn't have to run multiple slaves on one
>> machine. I was under the impression that the expected setup is one slave per
>> physical machine with N executors, where N is the number of parallel jobs
>> you want executing at a given time.
>>
>> � �-Keith
>>
>>
>> On 6/19/09 11:18 PM, "Scott Tatum" <[hidden email]> wrote:
>>
>>> Hey the configuration worked the first time! I have notes on the
>>> process, so I'll redo tomorrow from scratch, take screenshots, and
>>> complete the wiki.
>>>
>>> -Scott
>>>
>>> On Sat, Jun 20, 2009 at 12:19 AM, Scott Tatum<[hidden email]> wrote:
>>>> Ok - I've got a spare slave machine here, so I'll setup the desired
>>>> configuration and be sure of my steps, then create a wiki page. Once
>>>> I've got the page done, I'll let you know and you can link it in in an
>>>> appropriate spot.
>>>>
>>>> -Scott
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

--
Kohsuke Kawaguchi
Sun Microsystems                   http://weblogs.java.net/blog/kohsuke/


smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Several slave on a same machine

John McNair
Or you may want to have different settings.xml per executor.  I suppose this could be achieved in multiple ways too.

On Mon, Jun 22, 2009 at 7:08 PM, Kohsuke Kawaguchi <[hidden email]> wrote:
Scott Tatum wrote:
> Point well taken.. I suppose there are a couple of use cases where
> this setup might be preferable:
>
> 1. It is easier to disable a slave than reconfigure the number of
> executors (or is it?)

Hmm, not really.

> 2. You get separate configuration for each slave, so you could have
> one slave utilized as much as possible, and one used only when needed,
> for example.
> 3. If you have multiple hudson masters for different purposes, you
> could conceivably have a slave instance for each hudson master on the
> same machine.
>
> Probably not a common use case, but something to make note of at
> least. Hudson can be configured so many ways. :)
>
> -Scott
>
> On Sat, Jun 20, 2009 at 1:48 AM, Keith Kowalczykowski<[hidden email]> wrote:
>> To add my own 2-cents to this, I thought the whole point of having multiple
>> "executors" was so that you didn't have to run multiple slaves on one
>> machine. I was under the impression that the expected setup is one slave per
>> physical machine with N executors, where N is the number of parallel jobs
>> you want executing at a given time.
>>
>> � �-Keith
>>
>>
>> On 6/19/09 11:18 PM, "Scott Tatum" <[hidden email]> wrote:
>>
>>> Hey the configuration worked the first time! I have notes on the
>>> process, so I'll redo tomorrow from scratch, take screenshots, and
>>> complete the wiki.
>>>
>>> -Scott
>>>
>>> On Sat, Jun 20, 2009 at 12:19 AM, Scott Tatum<[hidden email]> wrote:
>>>> Ok - I've got a spare slave machine here, so I'll setup the desired
>>>> configuration and be sure of my steps, then create a wiki page. Once
>>>> I've got the page done, I'll let you know and you can link it in in an
>>>> appropriate spot.
>>>>
>>>> -Scott
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


--
Kohsuke Kawaguchi
Sun Microsystems                   http://weblogs.java.net/blog/kohsuke/




--
John McNair
[hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Several slave on a same machine

Scott Tatum-2
Alright, I did eventually get around to updating the distributed
builds wiki page with a section on running multiple slave instances on
the same Windows box. If someone sees something bogus, fix it and/or
let me know.

-Scott

http://wiki.hudson-ci.org/display/HUDSON/Distributed+builds

On Tue, Jun 23, 2009 at 2:12 PM, John McNair<[hidden email]> wrote:

> Or you may want to have different settings.xml per executor.  I suppose this
> could be achieved in multiple ways too.
>
> On Mon, Jun 22, 2009 at 7:08 PM, Kohsuke Kawaguchi
> <[hidden email]> wrote:
>>
>> Scott Tatum wrote:
>> > Point well taken.. I suppose there are a couple of use cases where
>> > this setup might be preferable:
>> >
>> > 1. It is easier to disable a slave than reconfigure the number of
>> > executors (or is it?)
>>
>> Hmm, not really.
>>
>> > 2. You get separate configuration for each slave, so you could have
>> > one slave utilized as much as possible, and one used only when needed,
>> > for example.
>> > 3. If you have multiple hudson masters for different purposes, you
>> > could conceivably have a slave instance for each hudson master on the
>> > same machine.
>> >
>> > Probably not a common use case, but something to make note of at
>> > least. Hudson can be configured so many ways. :)
>> >
>> > -Scott
>> >
>> > On Sat, Jun 20, 2009 at 1:48 AM, Keith Kowalczykowski<[hidden email]>
>> > wrote:
>> >> To add my own 2-cents to this, I thought the whole point of having
>> >> multiple
>> >> "executors" was so that you didn't have to run multiple slaves on one
>> >> machine. I was under the impression that the expected setup is one
>> >> slave per
>> >> physical machine with N executors, where N is the number of parallel
>> >> jobs
>> >> you want executing at a given time.
>> >>
>> >> � �-Keith
>> >>
>> >>
>> >> On 6/19/09 11:18 PM, "Scott Tatum" <[hidden email]> wrote:
>> >>
>> >>> Hey the configuration worked the first time! I have notes on the
>> >>> process, so I'll redo tomorrow from scratch, take screenshots, and
>> >>> complete the wiki.
>> >>>
>> >>> -Scott
>> >>>
>> >>> On Sat, Jun 20, 2009 at 12:19 AM, Scott Tatum<[hidden email]>
>> >>> wrote:
>> >>>> Ok - I've got a spare slave machine here, so I'll setup the desired
>> >>>> configuration and be sure of my steps, then create a wiki page. Once
>> >>>> I've got the page done, I'll let you know and you can link it in in
>> >>>> an
>> >>>> appropriate spot.
>> >>>>
>> >>>> -Scott
>> >>>>
>> >>>
>> >>> ---------------------------------------------------------------------
>> >>> To unsubscribe, e-mail: [hidden email]
>> >>> For additional commands, e-mail: [hidden email]
>> >>>
>> >>
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [hidden email]
>> >> For additional commands, e-mail: [hidden email]
>> >>
>> >>
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [hidden email]
>> > For additional commands, e-mail: [hidden email]
>> >
>> >
>>
>>
>> --
>> Kohsuke Kawaguchi
>> Sun Microsystems                   http://weblogs.java.net/blog/kohsuke/
>>
>
>
>
> --
> John McNair
> [hidden email]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Several slave on a same machine

Kohsuke Kawaguchi
Administrator
Thanks!

2009/7/4 Scott Tatum <[hidden email]>:

> Alright, I did eventually get around to updating the distributed
> builds wiki page with a section on running multiple slave instances on
> the same Windows box. If someone sees something bogus, fix it and/or
> let me know.
>
> -Scott
>
> http://wiki.hudson-ci.org/display/HUDSON/Distributed+builds
>
> On Tue, Jun 23, 2009 at 2:12 PM, John McNair<[hidden email]> wrote:
>> Or you may want to have different settings.xml per executor.  I suppose this
>> could be achieved in multiple ways too.
>>
>> On Mon, Jun 22, 2009 at 7:08 PM, Kohsuke Kawaguchi
>> <[hidden email]> wrote:
>>>
>>> Scott Tatum wrote:
>>> > Point well taken.. I suppose there are a couple of use cases where
>>> > this setup might be preferable:
>>> >
>>> > 1. It is easier to disable a slave than reconfigure the number of
>>> > executors (or is it?)
>>>
>>> Hmm, not really.
>>>
>>> > 2. You get separate configuration for each slave, so you could have
>>> > one slave utilized as much as possible, and one used only when needed,
>>> > for example.
>>> > 3. If you have multiple hudson masters for different purposes, you
>>> > could conceivably have a slave instance for each hudson master on the
>>> > same machine.
>>> >
>>> > Probably not a common use case, but something to make note of at
>>> > least. Hudson can be configured so many ways. :)
>>> >
>>> > -Scott
>>> >
>>> > On Sat, Jun 20, 2009 at 1:48 AM, Keith Kowalczykowski<[hidden email]>
>>> > wrote:
>>> >> To add my own 2-cents to this, I thought the whole point of having
>>> >> multiple
>>> >> "executors" was so that you didn't have to run multiple slaves on one
>>> >> machine. I was under the impression that the expected setup is one
>>> >> slave per
>>> >> physical machine with N executors, where N is the number of parallel
>>> >> jobs
>>> >> you want executing at a given time.
>>> >>
>>> >> � �-Keith
>>> >>
>>> >>
>>> >> On 6/19/09 11:18 PM, "Scott Tatum" <[hidden email]> wrote:
>>> >>
>>> >>> Hey the configuration worked the first time! I have notes on the
>>> >>> process, so I'll redo tomorrow from scratch, take screenshots, and
>>> >>> complete the wiki.
>>> >>>
>>> >>> -Scott
>>> >>>
>>> >>> On Sat, Jun 20, 2009 at 12:19 AM, Scott Tatum<[hidden email]>
>>> >>> wrote:
>>> >>>> Ok - I've got a spare slave machine here, so I'll setup the desired
>>> >>>> configuration and be sure of my steps, then create a wiki page. Once
>>> >>>> I've got the page done, I'll let you know and you can link it in in
>>> >>>> an
>>> >>>> appropriate spot.
>>> >>>>
>>> >>>> -Scott
>>> >>>>
>>> >>>
>>> >>> ---------------------------------------------------------------------
>>> >>> To unsubscribe, e-mail: [hidden email]
>>> >>> For additional commands, e-mail: [hidden email]
>>> >>>
>>> >>
>>> >>
>>> >>
>>> >> ---------------------------------------------------------------------
>>> >> To unsubscribe, e-mail: [hidden email]
>>> >> For additional commands, e-mail: [hidden email]
>>> >>
>>> >>
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: [hidden email]
>>> > For additional commands, e-mail: [hidden email]
>>> >
>>> >
>>>
>>>
>>> --
>>> Kohsuke Kawaguchi
>>> Sun Microsystems                   http://weblogs.java.net/blog/kohsuke/
>>>
>>
>>
>>
>> --
>> John McNair
>> [hidden email]
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>



--
Kohsuke Kawaguchi

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]