Re: Dynamic Domain Names
unjc email <[email protected]> Wed, 16 May 2012 10:24:10 -0400
| Newsgroups | gmane.comp.web.web-polygraph.user |
|---|---|
| Message-ID | <CAG8sZZCBoSwGhbF6S9TFL_32wGhf_Z51s_P=6Bco27kLv+=fQA@mail.gmail.com> |
Thanks Dmitry. You pointed out the silly mistake I made - I did not put use(NN). Thanks, Jacky On Tue, May 15, 2012 at 4:28 PM, Dmitry Kurochkin <dmitry.kurochkin-LbpN3Auhdh+Rtz+nHKFJDvXmoG9oyoYx@public.gmane.org> wrote: > Hi Jacky. > > unjc email <[email protected]> writes: > >> Hello there, >> >> I have encountered a problem to use dynamic domain names in workload. >> I have followed the insturction on >> http://www.web-polygraph.org/docs/userman/dns.html to create the >> dynamic names. But I got a fatal error that the dynamic name is not >> found in the address maps. Would you please advise what I have >> misconfigured? >> > > Did you use() the address map (i.e. "use(NN);")? > >> >> >> DynamicName DN = dynamicName('*.foo.com:9090', 10%); >> >> AddrMap NN = { >> names = [ DN ]; >> addresses = [ 192.168.0.1:9090', '192.168.0.2090' ]; // IP >> addresses of server-side hosts >> }; >> >> Server S = { >> contents = [ SimpleContent ]; >> direct_access = contents; >> addresses = [ 192.168.0.1:9090', '192.168.0.2090' ]; // where to >> create these server agents > > Note that you may use NN.addresses here to keep the IP list in one > place. > > Regards, > Dmitry > >> http_versions = [ "1.0" ]; // newer agents use HTTP/1.1 by default >> }; >> >> Robot R = { >> recurrence = 50%; >> req_rate = undef(); >> origins = NN.names; >> addresses = robotAddrs(authAddrScheme, theBench); >> pconn_use_lmt = const(2147483647); // Persistent connections - >> should tune this value >> idle_pconn_tout = idleConnectionTimeout; >> open_conn_lmt = maxConnPerRobot; // maximum concurrent connections >> http_versions = [ "1.0" ]; // newer agents use HTTP/1.1 by default >> }; >> >> >> >> 000.32| registered client-side session watches: 0 >> 000.32| registered client-side data filters: 0 >> 000.32| fyi: PGL configuration stored (107574bytes) >> 000.32| found 276 Robot IP address(es) total (276 unique address(es) >> with interface name and netmask). >> 000.32| fyi: lo: deleted 0 old IP aliases >> 000.32| fyi: created 138 agent addresses total >> CltCfg.cc:284: visible server name .foo.com:9090 is not found in address maps >> 000.32| got 0 xactions and 0 errors >> 000.32| shutdown reason: fatal error >> >> >> Thanks >> _______________________________________________ >> Users mailing list >> Users-mN9fGWdlm5pku/f+YMZH/di2O/[email protected] >> http://www.web-polygraph.org/mailman/listinfo/users _______________________________________________ Users mailing list Users-mN9fGWdlm5pku/f+YMZH/di2O/[email protected] http://www.web-polygraph.org/mailman/listinfo/users