You are viewing a plain text version of this content. The canonical link for it is here.
Posted to olio-user@incubator.apache.org by Harold Lim <ro...@yahoo.com> on 2009/10/30 19:37:35 UTC
Question about Faban/workload driver + multiple Glassfish servers
Hi,
Does the workload driver supports dynamically adding a glassfish server, while a benchmark test is running?
Currently, I specify all the glassfish servers in the host:pair field of the web server tab.
If not, is there any way around it? Do you have any ideas of how to deal with adding or removing glassfish servers dynamically?
-Harold
Re: Question about Faban/workload driver + multiple Glassfish servers
Posted by Akara Sucharitakul <Ak...@Sun.COM>.
Hmmm, based on previous questions I thought you were on the latest and
pretty much in-sync with the repository. Apparently not.
OlioBenchmark.configure no longer makes a call to getFile. This has been
eliminated in favor of the Faban services/tools infrastructure we had in
place lately.
Did you build the kit yourself? Or is this based on a released kit. Thanks.
-Akara
Harold Lim wrote:
> Hi Akara,
>
> Here is the stack trace:
>
> Logger: com.sun.faban.harness.engine.GenericBenchmark
> Thread Class Method
> 11 com.sun.faban.harness.engine.GenericBenchmark start
> Exception:
> Message:
> com.sun.faban.harness.FabanHostUnknownException: Host xxx.xxx.xxx.xxx not found!
>
> Stack Trace:
> Class Method Line
> com.sun.faban.harness.engine.CmdService get 1276
> com.sun.faban.harness.RunContext getFile 346
> org.apache.olio.workload.harness.OlioBenchmark configure 107
> com.sun.faban.harness.engine.InterfaceBenchmarkWrapper configure 56
> com.sun.faban.harness.engine.GenericBenchmark start 264
> com.sun.faban.harness.engine.RunDaemon run 338
> java.lang.Thread run 619
>
> Thanks!
> -Harold
>
> --- On Thu, 11/5/09, Akara Sucharitakul <Ak...@Sun.COM> wrote:
>
>> From: Akara Sucharitakul <Ak...@Sun.COM>
>> Subject: Re: Question about Faban/workload driver + multiple Glassfish servers
>> To: olio-user@incubator.apache.org
>> Date: Thursday, November 5, 2009, 4:37 PM
>> Can you get me the stack trace?
>> Thanks.
>>
>> -Akara
>>
>> Harold Lim wrote:
>>> Hi Akara,
>>>
>>> When I set hostConfig/enabled to false, I am getting
>> FabanUnknownHostException pointing to the address of the
>> switch. But If I set it to true, it fails because it is not
>> able to connect to the agent (which I don't have) in the
>> machine that has the switch.
>>> -Harold
>>>
>>> --- On Fri, 10/30/09, Akara Sucharitakul <Ak...@Sun.COM>
>> wrote:
>>>> From: Akara Sucharitakul <Ak...@Sun.COM>
>>>> Subject: Re: Question about Faban/workload driver
>> + multiple Glassfish servers
>>>> To: olio-user@incubator.apache.org
>>>> Date: Friday, October 30, 2009, 7:56 PM
>>>> Lets say it has not been tested this
>>>> way. It certainly cannot dynamically add servers
>> into the
>>>> driver. But you can use a switch that allows
>> dynamic
>>>> addition of the servers. If you want stats
>> collection for
>>>> all the servers behind that switch, we may need to
>> add an
>>>> explicit URL field in the configuration (which
>> will default
>>>> to the web servers if left blank. If that's not
>> needed, just
>>>> specify the single server representing the switch
>> and set
>>>> hostConfig/enabled to false to prevent Faban
>> starting an
>>>> agent there. Thanks.
>>>>
>>>> -Akara
>>>>
>>>> Harold Lim wrote:
>>>>> Hi,
>>>>>
>>>>> Does the workload driver supports dynamically
>> adding a
>>>> glassfish server, while a benchmark test is
>> running?
>>>>> Currently, I specify all the glassfish servers
>> in the
>>>> host:pair field of the web server tab.
>>>>> If not, is there any way around it? Do you
>> have any
>>>> ideas of how to deal with adding or removing
>> glassfish
>>>> servers dynamically?
>>>>> -Harold
>>>>>
>>>>>
>>>>>
>>>
>>>
>>
>
>
>
Re: Question about Faban/workload driver + multiple Glassfish servers
Posted by Harold Lim <ro...@yahoo.com>.
Hi Akara,
Here is the stack trace:
Logger: com.sun.faban.harness.engine.GenericBenchmark
Thread Class Method
11 com.sun.faban.harness.engine.GenericBenchmark start
Exception:
Message:
com.sun.faban.harness.FabanHostUnknownException: Host xxx.xxx.xxx.xxx not found!
Stack Trace:
Class Method Line
com.sun.faban.harness.engine.CmdService get 1276
com.sun.faban.harness.RunContext getFile 346
org.apache.olio.workload.harness.OlioBenchmark configure 107
com.sun.faban.harness.engine.InterfaceBenchmarkWrapper configure 56
com.sun.faban.harness.engine.GenericBenchmark start 264
com.sun.faban.harness.engine.RunDaemon run 338
java.lang.Thread run 619
Thanks!
-Harold
--- On Thu, 11/5/09, Akara Sucharitakul <Ak...@Sun.COM> wrote:
> From: Akara Sucharitakul <Ak...@Sun.COM>
> Subject: Re: Question about Faban/workload driver + multiple Glassfish servers
> To: olio-user@incubator.apache.org
> Date: Thursday, November 5, 2009, 4:37 PM
> Can you get me the stack trace?
> Thanks.
>
> -Akara
>
> Harold Lim wrote:
> > Hi Akara,
> >
> > When I set hostConfig/enabled to false, I am getting
> FabanUnknownHostException pointing to the address of the
> switch. But If I set it to true, it fails because it is not
> able to connect to the agent (which I don't have) in the
> machine that has the switch.
> >
> > -Harold
> >
> > --- On Fri, 10/30/09, Akara Sucharitakul <Ak...@Sun.COM>
> wrote:
> >
> >> From: Akara Sucharitakul <Ak...@Sun.COM>
> >> Subject: Re: Question about Faban/workload driver
> + multiple Glassfish servers
> >> To: olio-user@incubator.apache.org
> >> Date: Friday, October 30, 2009, 7:56 PM
> >> Lets say it has not been tested this
> >> way. It certainly cannot dynamically add servers
> into the
> >> driver. But you can use a switch that allows
> dynamic
> >> addition of the servers. If you want stats
> collection for
> >> all the servers behind that switch, we may need to
> add an
> >> explicit URL field in the configuration (which
> will default
> >> to the web servers if left blank. If that's not
> needed, just
> >> specify the single server representing the switch
> and set
> >> hostConfig/enabled to false to prevent Faban
> starting an
> >> agent there. Thanks.
> >>
> >> -Akara
> >>
> >> Harold Lim wrote:
> >>> Hi,
> >>>
> >>> Does the workload driver supports dynamically
> adding a
> >> glassfish server, while a benchmark test is
> running?
> >>> Currently, I specify all the glassfish servers
> in the
> >> host:pair field of the web server tab.
> >>> If not, is there any way around it? Do you
> have any
> >> ideas of how to deal with adding or removing
> glassfish
> >> servers dynamically?
> >>>
> >>> -Harold
> >>>
> >>>
> >>>
> >>
> >
> >
> >
>
>
Re: Question about Faban/workload driver + multiple Glassfish servers
Posted by Akara Sucharitakul <Ak...@Sun.COM>.
Can you get me the stack trace? Thanks.
-Akara
Harold Lim wrote:
> Hi Akara,
>
> When I set hostConfig/enabled to false, I am getting FabanUnknownHostException pointing to the address of the switch. But If I set it to true, it fails because it is not able to connect to the agent (which I don't have) in the machine that has the switch.
>
> -Harold
>
> --- On Fri, 10/30/09, Akara Sucharitakul <Ak...@Sun.COM> wrote:
>
>> From: Akara Sucharitakul <Ak...@Sun.COM>
>> Subject: Re: Question about Faban/workload driver + multiple Glassfish servers
>> To: olio-user@incubator.apache.org
>> Date: Friday, October 30, 2009, 7:56 PM
>> Lets say it has not been tested this
>> way. It certainly cannot dynamically add servers into the
>> driver. But you can use a switch that allows dynamic
>> addition of the servers. If you want stats collection for
>> all the servers behind that switch, we may need to add an
>> explicit URL field in the configuration (which will default
>> to the web servers if left blank. If that's not needed, just
>> specify the single server representing the switch and set
>> hostConfig/enabled to false to prevent Faban starting an
>> agent there. Thanks.
>>
>> -Akara
>>
>> Harold Lim wrote:
>>> Hi,
>>>
>>> Does the workload driver supports dynamically adding a
>> glassfish server, while a benchmark test is running?
>>> Currently, I specify all the glassfish servers in the
>> host:pair field of the web server tab.
>>> If not, is there any way around it? Do you have any
>> ideas of how to deal with adding or removing glassfish
>> servers dynamically?
>>>
>>> -Harold
>>>
>>>
>>>
>>
>
>
>
Re: Question about Faban/workload driver + multiple Glassfish servers
Posted by Harold Lim <ro...@yahoo.com>.
Hi Akara,
When I set hostConfig/enabled to false, I am getting FabanUnknownHostException pointing to the address of the switch. But If I set it to true, it fails because it is not able to connect to the agent (which I don't have) in the machine that has the switch.
-Harold
--- On Fri, 10/30/09, Akara Sucharitakul <Ak...@Sun.COM> wrote:
> From: Akara Sucharitakul <Ak...@Sun.COM>
> Subject: Re: Question about Faban/workload driver + multiple Glassfish servers
> To: olio-user@incubator.apache.org
> Date: Friday, October 30, 2009, 7:56 PM
> Lets say it has not been tested this
> way. It certainly cannot dynamically add servers into the
> driver. But you can use a switch that allows dynamic
> addition of the servers. If you want stats collection for
> all the servers behind that switch, we may need to add an
> explicit URL field in the configuration (which will default
> to the web servers if left blank. If that's not needed, just
> specify the single server representing the switch and set
> hostConfig/enabled to false to prevent Faban starting an
> agent there. Thanks.
>
> -Akara
>
> Harold Lim wrote:
> > Hi,
> >
> > Does the workload driver supports dynamically adding a
> glassfish server, while a benchmark test is running?
> >
> > Currently, I specify all the glassfish servers in the
> host:pair field of the web server tab.
> >
> > If not, is there any way around it? Do you have any
> ideas of how to deal with adding or removing glassfish
> servers dynamically?
> >
> >
> > -Harold
> >
> >
> >
>
>
Re: Question about Faban/workload driver + multiple Glassfish servers
Posted by Harold Lim <ro...@yahoo.com>.
Thanks. I'll take a look at the LB plugin.
-Harold
--- On Fri, 10/30/09, Kim LiChong <Ki...@Sun.COM> wrote:
> From: Kim LiChong <Ki...@Sun.COM>
> Subject: Re: Question about Faban/workload driver + multiple Glassfish servers
> To: olio-user@incubator.apache.org
> Date: Friday, October 30, 2009, 8:59 PM
> It's been a long time since I've done
> this, but should you choose to go the software route,
> you should be able to install the LB plugin for the Sun Java
> System Web server. Here are some references for you:
>
> https://glassfish.dev.java.net/javaee5/lb-admin/
> http://blogs.sun.com/dpatil/entry/glassfish_v2_workspace_with_clustering
> https://glassfish.dev.java.net/javaee5/build/GlassFish_LB_Cluster.html
>
> kim
>
>
> > Unfortunately, choosing the load balancer/switch is
> not really my domain. I'd rather leave this open for people
> on the alias to provide input. Anyone?
> >
> > Thanks,
> > -Akara
> >
> > Harold Lim wrote:
> >> Hi Akara,
> >>
> >> Thanks. I don't think I need stat collections,
> since I have already other scripts/software running on the
> server to capture those values.
> >>
> >> Can you suggest a switch program that allows me to
> add servers?
> >>
> >>
> >> -Harold
> >>
> >> --- On Fri, 10/30/09, Akara Sucharitakul <Ak...@Sun.COM>
> wrote:
> >>
> >>> From: Akara Sucharitakul <Ak...@Sun.COM>
> >>> Subject: Re: Question about Faban/workload
> driver + multiple Glassfish servers
> >>> To: olio-user@incubator.apache.org
> >>> Date: Friday, October 30, 2009, 7:56 PM
> >>> Lets say it has not been tested this
> >>> way. It certainly cannot dynamically add
> servers into the
> >>> driver. But you can use a switch that allows
> dynamic
> >>> addition of the servers. If you want stats
> collection for
> >>> all the servers behind that switch, we may
> need to add an
> >>> explicit URL field in the configuration (which
> will default
> >>> to the web servers if left blank. If that's
> not needed, just
> >>> specify the single server representing the
> switch and set
> >>> hostConfig/enabled to false to prevent Faban
> starting an
> >>> agent there. Thanks.
> >>>
> >>> -Akara
> >>>
> >>> Harold Lim wrote:
> >>>> Hi,
> >>>>
> >>>> Does the workload driver supports
> dynamically adding a
> >>> glassfish server, while a benchmark test is
> running?
> >>>> Currently, I specify all the glassfish
> servers in the
> >>> host:pair field of the web server tab.
> >>>> If not, is there any way around it? Do you
> have any
> >>> ideas of how to deal with adding or removing
> glassfish
> >>> servers dynamically?
> >>>>
> >>>> -Harold
> >>>>
> >>>>
> >>>>
> >>>
> >>
> >>
> >>
> >
>
>
Re: Question about Faban/workload driver + multiple Glassfish servers
Posted by Kim LiChong <Ki...@Sun.COM>.
It's been a long time since I've done this, but should you choose to go
the software route, you should be able to install the LB plugin for the
Sun Java System Web server. Here are some references for you:
https://glassfish.dev.java.net/javaee5/lb-admin/
http://blogs.sun.com/dpatil/entry/glassfish_v2_workspace_with_clustering
https://glassfish.dev.java.net/javaee5/build/GlassFish_LB_Cluster.html
kim
> Unfortunately, choosing the load balancer/switch is not really my
> domain. I'd rather leave this open for people on the alias to provide
> input. Anyone?
>
> Thanks,
> -Akara
>
> Harold Lim wrote:
>> Hi Akara,
>>
>> Thanks. I don't think I need stat collections, since I have already
>> other scripts/software running on the server to capture those values.
>>
>> Can you suggest a switch program that allows me to add servers?
>>
>>
>> -Harold
>>
>> --- On Fri, 10/30/09, Akara Sucharitakul <Ak...@Sun.COM>
>> wrote:
>>
>>> From: Akara Sucharitakul <Ak...@Sun.COM>
>>> Subject: Re: Question about Faban/workload driver + multiple
>>> Glassfish servers
>>> To: olio-user@incubator.apache.org
>>> Date: Friday, October 30, 2009, 7:56 PM
>>> Lets say it has not been tested this
>>> way. It certainly cannot dynamically add servers into the
>>> driver. But you can use a switch that allows dynamic
>>> addition of the servers. If you want stats collection for
>>> all the servers behind that switch, we may need to add an
>>> explicit URL field in the configuration (which will default
>>> to the web servers if left blank. If that's not needed, just
>>> specify the single server representing the switch and set
>>> hostConfig/enabled to false to prevent Faban starting an
>>> agent there. Thanks.
>>>
>>> -Akara
>>>
>>> Harold Lim wrote:
>>>> Hi,
>>>>
>>>> Does the workload driver supports dynamically adding a
>>> glassfish server, while a benchmark test is running?
>>>> Currently, I specify all the glassfish servers in the
>>> host:pair field of the web server tab.
>>>> If not, is there any way around it? Do you have any
>>> ideas of how to deal with adding or removing glassfish
>>> servers dynamically?
>>>>
>>>> -Harold
>>>>
>>>>
>>>>
>>>
>>
>>
>>
>
Re: Question about Faban/workload driver + multiple Glassfish servers
Posted by Akara Sucharitakul <Ak...@Sun.COM>.
Unfortunately, choosing the load balancer/switch is not really my
domain. I'd rather leave this open for people on the alias to provide
input. Anyone?
Thanks,
-Akara
Harold Lim wrote:
> Hi Akara,
>
> Thanks. I don't think I need stat collections, since I have already other scripts/software running on the server to capture those values.
>
> Can you suggest a switch program that allows me to add servers?
>
>
> -Harold
>
> --- On Fri, 10/30/09, Akara Sucharitakul <Ak...@Sun.COM> wrote:
>
>> From: Akara Sucharitakul <Ak...@Sun.COM>
>> Subject: Re: Question about Faban/workload driver + multiple Glassfish servers
>> To: olio-user@incubator.apache.org
>> Date: Friday, October 30, 2009, 7:56 PM
>> Lets say it has not been tested this
>> way. It certainly cannot dynamically add servers into the
>> driver. But you can use a switch that allows dynamic
>> addition of the servers. If you want stats collection for
>> all the servers behind that switch, we may need to add an
>> explicit URL field in the configuration (which will default
>> to the web servers if left blank. If that's not needed, just
>> specify the single server representing the switch and set
>> hostConfig/enabled to false to prevent Faban starting an
>> agent there. Thanks.
>>
>> -Akara
>>
>> Harold Lim wrote:
>>> Hi,
>>>
>>> Does the workload driver supports dynamically adding a
>> glassfish server, while a benchmark test is running?
>>> Currently, I specify all the glassfish servers in the
>> host:pair field of the web server tab.
>>> If not, is there any way around it? Do you have any
>> ideas of how to deal with adding or removing glassfish
>> servers dynamically?
>>>
>>> -Harold
>>>
>>>
>>>
>>
>
>
>
Re: Question about Faban/workload driver + multiple Glassfish servers
Posted by Harold Lim <ro...@yahoo.com>.
Hi Akara,
Thanks. I don't think I need stat collections, since I have already other scripts/software running on the server to capture those values.
Can you suggest a switch program that allows me to add servers?
-Harold
--- On Fri, 10/30/09, Akara Sucharitakul <Ak...@Sun.COM> wrote:
> From: Akara Sucharitakul <Ak...@Sun.COM>
> Subject: Re: Question about Faban/workload driver + multiple Glassfish servers
> To: olio-user@incubator.apache.org
> Date: Friday, October 30, 2009, 7:56 PM
> Lets say it has not been tested this
> way. It certainly cannot dynamically add servers into the
> driver. But you can use a switch that allows dynamic
> addition of the servers. If you want stats collection for
> all the servers behind that switch, we may need to add an
> explicit URL field in the configuration (which will default
> to the web servers if left blank. If that's not needed, just
> specify the single server representing the switch and set
> hostConfig/enabled to false to prevent Faban starting an
> agent there. Thanks.
>
> -Akara
>
> Harold Lim wrote:
> > Hi,
> >
> > Does the workload driver supports dynamically adding a
> glassfish server, while a benchmark test is running?
> >
> > Currently, I specify all the glassfish servers in the
> host:pair field of the web server tab.
> >
> > If not, is there any way around it? Do you have any
> ideas of how to deal with adding or removing glassfish
> servers dynamically?
> >
> >
> > -Harold
> >
> >
> >
>
>
Re: Question about Faban/workload driver + multiple Glassfish servers
Posted by Akara Sucharitakul <Ak...@Sun.COM>.
Lets say it has not been tested this way. It certainly cannot
dynamically add servers into the driver. But you can use a switch that
allows dynamic addition of the servers. If you want stats collection for
all the servers behind that switch, we may need to add an explicit URL
field in the configuration (which will default to the web servers if
left blank. If that's not needed, just specify the single server
representing the switch and set hostConfig/enabled to false to prevent
Faban starting an agent there. Thanks.
-Akara
Harold Lim wrote:
> Hi,
>
> Does the workload driver supports dynamically adding a glassfish server, while a benchmark test is running?
>
> Currently, I specify all the glassfish servers in the host:pair field of the web server tab.
>
> If not, is there any way around it? Do you have any ideas of how to deal with adding or removing glassfish servers dynamically?
>
>
> -Harold
>
>
>