Hi All,
I try to setup 2 VMs via VirtualBox , the NIC is configure as bridge. However it's not working for me.
they are linux to linux and i disable firewall already, does anyone have suggestion ?
Johnny
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
here is parmfile
hd=default,user=ceph,shell=vdbench
hd=vb1,system=192.168.1.30
sd=default,size=10m
sd=sd1,host=vb1,lun=/home/ceph/vdbench/test.a,openflags=o_direct
wd=wd1,sd=sd*,seekpct=seq,xfersize=4k,rdpct=0
rd=rd1,wd=wd1,iorate=100,elapsed=4,interval=1
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
here is error message
#./vdbench -f parmfs
Vdbench distribution: vdbench50402
For documentation, see 'vdbench.pdf'.
15:38:04.844 input argument scanned: '-fparmfs'
15:38:05.313 Starting slave: /home/ceph/vdbench/vdbench SlaveJvm -m 127.0.1.1 -n 192.168.1.30-10-150314-15.38.04.701 -l vb1-0 -p 5570
15:38:05.450 Successfully connected to the Vdbench rsh daemon on host 192.168.1.30
15:38:05.451 RSH Connection to 192.168.1.30 using port 5560 successful
15:38:06.812
15:38:06.813 Slave vb1-0 prematurely terminated.
15:38:06.813 Look at file vb1-0.stdout.html for more information.
15:38:06.814
15:38:06.814 Slave vb1-0 prematurely terminated.
15:38:06.814
java.lang.RuntimeException: Slave vb1-0 prematurely terminated.
at Vdb.common.failure(common.java:306)
at Vdb.SlaveStarter.startSlave(SlaveStarter.java:179)
at Vdb.SlaveStarter.run(SlaveStarter.java:50)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
here is output file - output/vb1-0.stdout.html
<pre>
stdout/stderr for slave=vb1-0
15:19:10.676 stderr: 15:20:42.381 SlaveJvm execution parameter: '-m 127.0.1.1'
15:19:10.678 stderr: 15:20:42.389 SlaveJvm execution parameter: '-n 192.168.1.30-10-150314-15.19.08.646'
15:19:10.680 stderr: 15:20:42.389 SlaveJvm execution parameter: '-l vb1-0'
15:19:10.682 stderr: 15:20:42.390 SlaveJvm execution parameter: '-p 5570'
15:19:10.685 stderr: 15:20:42.390 SlaveJvm positional parameter: 'SlaveJvm'
15:19:10.735 15:20:42.482 java.net.ConnectException
15:19:10.739 java.net.ConnectException: Connection refused
15:19:10.748 at java.net.PlainSocketImpl.socketConnect(Native Method)
15:19:10.750 at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
15:19:10.753 at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
15:19:10.756 at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
15:19:10.759 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
15:19:10.761 at java.net.Socket.connect(Socket.java:579)
15:19:10.763 at java.net.Socket.connect(Socket.java:528)
15:19:10.768 at java.net.Socket.<init>(Socket.java:425)
15:19:10.770 at java.net.Socket.<init>(Socket.java:208)
15:19:10.778 at Vdb.SlaveSocket.<init>(SlaveSocket.java:49)
15:19:10.784 at Vdb.SlaveJvm.connectToMaster(SlaveJvm.java:89)
15:19:10.786 at Vdb.SlaveJvm.main(SlaveJvm.java:380)
15:19:10.790 java.net.ConnectException: Connection refused
15:19:10.792 at java.net.PlainSocketImpl.socketConnect(Native Method)
15:19:10.795 at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
15:19:10.797 at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
15:19:10.799 at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
15:19:10.802 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
15:19:10.805 at java.net.Socket.connect(Socket.java:579)
15:19:10.807 at java.net.Socket.connect(Socket.java:528)
15:19:10.809 at java.net.Socket.<init>(Socket.java:425)
15:19:10.812 at java.net.Socket.<init>(Socket.java:208)
15:19:10.814 at Vdb.SlaveSocket.<init>(SlaveSocket.java:49)
15:19:10.817 at Vdb.SlaveJvm.connectToMaster(SlaveJvm.java:89)
15:19:10.819 at Vdb.SlaveJvm.main(SlaveJvm.java:380)
15:19:10.821 stderr: java.lang.RuntimeException: It took at least 60 seconds to connect. SlaveJvm terminated
15:19:10.823 stderr: at Vdb.common.failure(common.java:306)
15:19:10.825 stderr: at Vdb.SlaveJvm.connectToMaster(SlaveJvm.java:104)
15:19:10.827 stderr: at Vdb.SlaveJvm.main(SlaveJvm.java:380)
15:19:10.829 15:20:42.496 Slave ConnectException.
15:19:10.831 15:20:42.521
15:19:10.833 15:20:42.521 It took at least 60 seconds to connect. SlaveJvm terminated
15:19:10.836 15:20:42.522
15:19:10.839 java.lang.NullPointerException
15:19:10.841 at Vdb.SlaveJvm.sendMessageToMaster(SlaveJvm.java:163)
15:19:10.843 at Vdb.common.failure(common.java:322)
15:19:10.845 at Vdb.SlaveJvm.connectToMaster(SlaveJvm.java:104)
15:19:10.847 at Vdb.SlaveJvm.main(SlaveJvm.java:380)
15:19:10.849 stderr: java.lang.NullPointerException
15:19:10.852 stderr: at Vdb.SlaveJvm.sendMessageToMaster(SlaveJvm.java:163)
15:19:10.854 stderr: at Vdb.common.failure(common.java:322)
15:19:10.856 stderr: at Vdb.SlaveJvm.connectToMaster(SlaveJvm.java:104)
15:19:10.858 stderr: at Vdb.SlaveJvm.main(SlaveJvm.java:380)
15:19:10.860 15:20:42.552 common.failure(): System.exit(-99)
15:19:10.862 JVM is shutting down
15:19:10.864 stderr: JVM is shutting down