RE: Re: smartfrog 3.0.01.003.alpha demo quest ion

"Toft, Peter" <[email protected]>
Newsgroups gmane.comp.java.smartfrog.user
Message-ID <[email protected]>
Just a quick addition to Ashish's instructions: for this demo the nodes
which will be the webservers need to be Linux, and the SF daemon needs to
run as the root user (in order to install Apache). The other nodes can be
anything.

> -----Original Message-----
> From: smartfrog-support-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org [mailto:smartfrog-
> [email protected]] On Behalf Of Ashish Awasthi
> Sent: 31 March 2004 08:07
> To: Arbizu, Alan (EUD Cupertino R&D)
> Cc: smartfrog-support-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Subject: [Smartfrog-support] Re: smartfrog 3.0.01.003.alpha demo question
> 
> Hi Alan,
> 
> 1) set up a few nodes running the latest daemon
> 2) edit the file .../dynamicwebserver/sf/nodes.sf to set some nodes with
> specific roles
>     - web servers
>     - the load balancer
>     - service managers
>     - stress test host
> Example:
> stressTestHost "localhost"; // node where stress test service runs
> 
> serviceManagerHost "localhost";
> balancerHost "node1";  // name of the host where balancer service runs
> 
> serverHost1 "node2"; // name of the host where web server will run
> serverHost2 "node3"; // name of the host where web server will run
> webPort 80;
> serverHosts extends vector {
>     -- ATTRIB serverHost1;
>     -- ATTRIB serverHost2;
> 3) start up the example using .../sf/serviceTemplate.sf
>     - which will bring up the manager on the node you are deploying on
>     - the load balancer on the load balancer node
>     - a single web server on one of the server nodes
> 
> 4) start a load generator using .../sf/loadGeneratorTemplate.sf
>     - this will start a slider component which you can use to vary the
> load
> 
> 5) as you vary the load it may go above the top threshold, in which case a
> new web server will be created on one of the nodes
> 
> Note that the first time a web server is deployed on a node, apache tar
> file
> will be
> downloaded from the web server [default is serrano.hpl.hp.com] this is
> configured in ../sf/installApacheIfNeeded.sf and ../sf/webTemplate.sf
> 
> I believe you have connectivity to this host else-
> You may have to configure ServerHost attribute in webTemplate.sf and
> installApacheIfNeeded.sf and point to a web server which serves tar file
> for
> apache installation.
> 
> Hope this helps.
> 
> Ashish
> 
> Date: Tue, 30 Mar 2004 15:31:13 -0800
> From: Alan Arbizu <[email protected]>
> To: smartfrog-support-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Subject: [Smartfrog-support] smartfrog 3.0.01.003.alpha demo question
> 
> Hi guys...
> 
> I'm an engineer with HP doing an investigation into SmartFrog and am going
> to do
> a short presentation to my fellow team members.  I'd like to try and run
> some of
> the dynamicwebserver demos since this applies pretty well to our general
> area of
> expertise.  Can you give me some pointers on which *.sf file(s) to
> edit/configure so that I can play around with this demo?  I've validated
> the
> install by running the sfDaemon and the Printer/Generator demo.
> 
> Thanks for your help,
> 
> Alan
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Smartfrog-support mailing list
> Smartfrog-support-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/smartfrog-support


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.