On Thu, 6 Jul 2000, Aditya Chugh wrote:
> 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
>
Take stock simple.pg and change the *_ips lines to
addr[] srv_ips = ['192.9.201.23:8080'];
addr[] rbt_ips = ['192.9.201.25', '192.9.201.145-150' ];
No other changes are required, I think. You use the same simple.pg file
on both machines (1 client and 1 server).
> Q2. 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
Take stock simple.pg and change the *_ips lines to
addr[] srv_ips = ['192.9.201.74:8080'];
addr[] rbt_ips = ['192.9.201.71-73' ];
No other changes are required, I think. You use the same simple.pg file
on all four machines (3 clients and 1 server).
HTH,
Alex.
This archive was generated by hypermail 2b29 : Tue Jul 10 2001 - 12:00:13 MDT