Hi,
I am using vdbench50406 to test NFS folder among multiple hosts.
The whole afternoon, I just cannot get rid of this annoying error:
"Current system IP address is '127.0.0.1'. Invalid network definition for multi-host processing."
There are 2 hosts, both are mounted already under /mnt/nfs.
First I run `./vdbench rsh` on 172.16.146.122, then run `./vdbench -f config_file` on 172.16.146.121, below is the config and output.
[CONFIG]
hd=default,vdbench=/root/vdbench,user=root,shell=vdbench
hd=host1,system=172.16.146.121
hd=host2,system=172.16.146.122
fsd=fsd1,shared=yes,anchor=/mnt/nfs,depth=2,width=10,files=10,size=(100k,0)
fwd=fwd1,host=host1,fsd=fsd1,operation=read,xfersize=4k,fileio=sequential,fileselect=random,threads=2
fwd=fwd2,host=host2,fsd=fsd1,operation=read,xfersize=4k,fileio=sequential,fileselect=random,threads=2
rd=rd1,fwd=fwd*,fwdrate=max,format=restart,elapsed=10,interval=2
[OUTPUT]
[root@localhost vdbench]# ./vdbench -f generate_1k_files_size100k
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
Vdbench distribution: vdbench50406 Wed July 20 15:49:52 MDT 2016
For documentation, see 'vdbench.pdf'.
17:54:17.710 input argument scanned: '-fgenerate_1k_files_size100k'
17:54:17.827 Anchor size: anchor=/mnt/nfs2: dirs: 110; files: 1,000; bytes: 96.514m (101,201,920)
17:54:18.508
17:54:18.508 Current system IP address is '127.0.0.1'. Invalid network definition for multi-host processing.
17:54:18.508
java.lang.RuntimeException: Current system IP address is '127.0.0.1'. Invalid network definition for multi-host processing.
at Vdb.common.failure(common.java:335)
at Vdb.common.failure(common.java:284)
at Vdb.SlaveStarter.startSlave(SlaveStarter.java:144)
at Vdb.SlaveStarter.run(SlaveStarter.java:47)
I have tried the following config, but still the same situation.:<
[CONFIG-1]
hd=default,vdbench=/root/vdbench,user=root,shell=vdbench
hd=localhost,system=127.0.0.1
hd=host2,system=172.16.146.122
fsd=fsd1,shared=yes,anchor=/mnt/nfs,depth=2,width=10,files=10,size=(100k,0)
fwd=fwd1,host=localhost,fsd=fsd1,operation=read,xfersize=4k,fileio=sequential,fileselect=random,threads=2
fwd=fwd2,host=host2,fsd=fsd1,operation=read,xfersize=4k,fileio=sequential,fileselect=random,threads=2
rd=rd1,fwd=fwd*,fwdrate=max,format=restart,elapsed=10,interval=2
[CONFIG-2]
hd=default,vdbench=/root/vdbench,user=root,shell=vdbench
hd=localhost
hd=host2,system=172.16.146.122
fsd=fsd1,shared=yes,anchor=/mnt/nfs,depth=2,width=10,files=10,size=(100k,0)
fwd=fwd1,fsd=fsd1,operation=read,xfersize=4k,fileio=sequential,fileselect=random,threads=2
fwd=fwd2,host=host2,fsd=fsd1,operation=read,xfersize=4k,fileio=sequential,fileselect=random,threads=2
rd=rd1,fwd=fwd*,fwdrate=max,format=restart,elapsed=10,interval=2
I can pass test on single host with config below:
[CONFIG-SINGLE]
hd=default,vdbench=/root/vdbench,user=root,shell=vdbench
hd=localhost
fsd=fsd1,shared=yes,anchor=/mnt/nfs2,depth=2,width=10,files=10,size=(100k,0)
fwd=fwd1,fsd=fsd1,operation=read,xfersize=4k,fileio=sequential,fileselect=random,threads=2
rd=rd1,fwd=fwd1,fwdrate=max,format=restart,elapsed=10,interval=2
I have googled but had no finding.
Any help is appreciated.
Thanks!