On Thu, 12 Apr 2001, Richard Chadwick wrote:
> Both the polyclt and polysrv fail with the error cannot get a list of
> all available network interfaces. Can anyone help?
> Didn't notice any references to this in the archives. This is my first
> attempt at polygraph on Solaris, though.
>
> polysrv --verb_lvl 4 --log /tmp/poly.log --cfg_dirs
> workloads,workloads/include --config enguarde-1.pg --log_size 100MB
> polysrv: cannot get a list of all available network interfaces: (22)
> Invalid argument
> 000.07| got 0 xactions and 0 errors
>
> SunOS tonatuih 5.7 Generic_106541-14 sun4u sparc SUNW,Ultra-4
Yes, this problem has been reported before. I think that version 2.6.0
is better at recognizing aliases on Solaris, but I am not sure. You
can give an unreleased beta version a try.
http://polygraph.ircache.net/cgi-bin/mail2html.cgi?fnames=20010201/1118
Also, keep in mind the following information shared by a Polygraph
user (thanks!):
> it may have been mentioned previously, but Solaris 8 01/01 has a tunable
> parameter to set the maximum number of logical interfaces per real
> interface: ip_addrs_per_if. By default, it is set to 256. Using ndd, one
> can gain up to 8k virtual interfaces
>
> ndd -set /dev/ip ip_addrs_per_if 8192
>
> thus overcoming a previous limit of polygraph on Solaris machines... SUN
> warns that increasing the value may have a negative impact on performance.
>
> http://docs.sun.com/ab2/coll.709.2/SOLTUNEPARAMREF/%40Ab2PageView/10545?Ab2La$
I do not know whether you version of Solaris have a 256 address limit
or not.
If nothing helps, use the "--fake_hosts" option to work around the bug.
http://polygraph.ircache.net/cgi-bin/mail2html.cgi?fnames=19991201/490
BTW, do not forget to apply the patch below if you are using Solaris
http://polygraph.ircache.net/sources/patches/polygraph-2.5.4_solaris.patch
HTH,
Alex.
This archive was generated by hypermail 2b29 : Tue Jul 10 2001 - 12:00:18 MDT