Re: smartfrog 3.0.01.003.alpha demo question
"Ashish Awasthi" <awasthi-hAGStUev6lJWk0Htik3J/[email protected]>
| Newsgroups | gmane.comp.java.smartfrog.user |
|---|---|
| Message-ID | <001c01c416ee$c05af330$11614c0f@EBNT17> |
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