Re: Differential Services testing with Polygraph

From: Aditya Chugh (aditya@npi.stpn.soft.net)
Date: Thu Jul 06 2000 - 09:07:09 MDT


Alex Rousskov wrote:

>
>
> > If this is not possible,then I would have to use multiple clients to
> > communicate with one server.I hope that would not be a problem ?
>
> This mode is also supported and used primarily when a single physical
> box is not powerful enough to create the desired request stream.

Q1. How can I do this...... I tried to modify simple.pg configuration
file (in workloads directory)
The Server Machine has IP address :-- 192.9.201.23
The Clients are run on a machine with a primary IP address of 192.9.201.25.
Using
ifconfig command I have assigned aliases to the client machine .The aliases
range from
192.9.201.145 to 192.9.201.150
I want to run 7 different clients--one from Primary IP address 192.9.201.25
and one each
from 192.9.201.145 -150 (secondary IP addresses)
 Here are the relevant lines from simple.pg config file :

     addr[] srv_ips = ['192.9.201.23:8080' ]; // localhost
     addr[] rbt_ips = ['192.9.201.25' ]; // localhost

I tried to add another rbt .........by the name of rbt1...and also did
other relevant declarations and additions
   =====>addr[] rbt1_ips = ['192.9.201.145' ]; // localhost

: // JUST ILLUSTRATING THE MAJOR CHANGES IN BOLD LETTERS
:
 // place agents (servers and robots) on their hosts
Server[] servers = place(S, srv_ips);
Robot[] robots = place(R, rbt_ips);

====> Robot[] robots1 = place(R1, rbt1_ips); //Line
added by me

// commit to using these servers and robots
use(servers, robots);
=====> use(servers,
robots1); //Line added by me

but I could not create the scenario I wanted.
Please advise??

Q 2 Also is it possible to run multiple Polyclts ...communicating with one
Polysrv when the
Polyclts can be run on 3 different machines and the Polysrv would be on
another machine
I will only run one Polyclt per machine (e.g one client each on
192.9.201.71, 192.9.201.72 and 192.9.201.73 )
and the Polysrv would run on let us say 192.9.201.74 .These machines have no
aliases/secondary ip addresses.
How could I simulate this scenario.....the simple.pg file of the clients
should be no problem
HOW CAN I PUT MULTIPLE ROBOTS in the simple.pg file of the server??...since
the server (Polysrv) has to communicate with many Polyclts

warm regards,
Aditya





This archive was generated by hypermail 2b29 : Tue Jul 10 2001 - 12:00:13 MDT