[04:17] <soy_el_pulpo> hi, any idea when openfire Version: 3.8.2 will be available via the official repos for 12.04?
[06:21] <soy_el_pulpo> !bot
[06:21] <soy_el_pulpo> !stats
[12:02] <germanstudent>  Hi. I am relatively new to KVM on ubuntu servers. I want to build a server where all VMs need access to data on the host machine frequently. Do I have to do this like this were seperate machines (sshfs, webdav etc.) or is there a better solution?
[13:05] <RoyK> germanstudent: I'd use NFS
[13:10] <RoyK> !nfs | germanstudent
[15:38] <tarvid_> u1sdtool on a headless server gets Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[15:39] <tarvid_> https://wiki.ubuntu.com/UbuntuOne/Headless
[16:04] <tarvid_> u1sdtool?
[16:36] <mikeey> What would be the best way to share files to Windows-only clients using Ubuntu? The server is on a gig link, running iperf between the computers I get around 880-920 Mbit/s. I have set up Samba and tuned it a bit and I get around 80-90 MB per second r/w speed, however I'd like to max out the gigabit link between the server and the clients, what would be the best way to do this? My disks
[16:36] <mikeey> are capable of 140 MB/s .
[16:38] <qman__> samba is the best way, as it's the only way windows can natively connect
[16:39] <qman__> remember also that the client's ability to save the data matters too
[16:39] <patdk-lap> how do you expect to get >90MB/sec when the link only does 92MB/sec?
[16:40] <patdk-lap> qman__, windows supports nfs
[16:40] <qman__> actually, 920Mbit/s is 115MB/s
[16:40] <patdk-lap> and samba has overhead
[16:40] <qman__> but protocol overhead is going to cap you around 105MB/s
[16:40] <qman__> and that's if everything runs SMB2
[16:41] <mikeey> What can I do to make Samba max out the link then? My current settings are: http://pastebin.com/Jr9vpjD9 and I have dedicated 4 GB RAM to the fileserver
[16:41] <qman__> if you've got SMB1 in there, you're really looking at a theoretical maximum right around 90MB/s
[16:42] <qman__> the point being, you pretty much are maxing out your link
[16:42] <mikeey> Can I somehow reduce the protocol overhead?
[16:42] <patdk-lap> use ftp
[16:43] <mikeey> Got any suggestions for a lightweight and secure FTP-server then? I've looked at vsftpd and proftpd
[16:43] <qman__> FTP isn't secure, and it isn't lightweight
[16:44] <qman__> but it has less overhead during a transfer than SMB
[16:44] <mikeey> I assume sftpd would give me even poorer performance?
[16:45] <qman__> SFTP is slower due to the encryption overhead
[16:46] <qman__> if speed is all you care about, HTTP is going to be the fastest
[16:46] <mikeey> So basically, my options are a) use FTP but have insecure transfers but less overhead/better speeds, b) use Samba but be capped at 105 MB/s tranfer speed?
[16:46] <patdk-lap> how is http secure?
[16:46] <qman__> HTTP is simpler, lighter, and faster than all of the above
[16:47] <qman__> it isn't secure
[16:47] <patdk-lap> dunno, normally http uses a few temp files, makes a lot of server overhead and processing
[16:47] <patdk-lap> upload -> apache (tempfile) -> php (tempfile) -> php app (save to real file)
[16:47] <patdk-lap> maybe webdav?
[16:48] <qman__> put plainly
[16:48] <qman__> if security is a requirement, you're not going to get any faster than samba
[16:48] <qman__> the only secure methods of transfer have similar overhead
[16:49] <mikeey> If I have the processing power, would a VPN into the fileserver then ftp'ing into the actual server to transfer the file be any faster/more secure?
[16:49] <patdk-lap> no
[16:49] <patdk-lap> the vpn will cause all kinds of overhead
[16:49] <patdk-lap> now you just doubled up the ip overhead
[16:49] <mikeey> hmm
[16:50] <mikeey> And the protocol overhead is impossible to reduce?
[16:50] <qman__> it's already recduced
[16:50] <qman__> reduced*
[16:51] <qman__> getting 90MB/s+ over a gigabit link is really good
[16:52] <qman__> it's possible to get better but you need serious hardware and to get specialized
[16:52] <mikeey> Right ok. If the peak is 105 MB/s, but the speeds are varying (on sequential read) down to 70-80 MB/s, would anything in my settings be the cause for that?
[16:52] <qman__> no
[16:53] <qman__> normally that means a write bottleneck
[16:53] <qman__> on whichever end is writing
[16:53] <qman__> or a crappy switch
[16:53] <mikeey> Ok, thanks for clarifying. Helps a lot.
[16:54] <qman__> most consumer grade switches can get full bandwidth between two of the ports, so long as none of the rest are in use
[16:54] <qman__> if you start pumping more data through, they tend to slow down
[16:54] <qman__> that's why enterprise grade switches cost so much more
[16:54] <mikeey> Yeah, that is called blocking right? Non-blocking would imply it can get full bw on all ports?
[16:55] <qman__> the best way to avoid that problem on the cheap is to just buy a much bigger switch than you actually need
[16:56] <qman__> a cheap 24-port switch should be perfectly capable of full bandwidth on 16 ports, etc
[17:03] <enraged> I want to run a command on multiple machines. I found out about Cluster SSH. However, ClusterSSH seems to, by all the documentation and videos I can find, require a desktop. Can ClusterSSH be run from a terminal, and if not, can anyone suggest an alternative for sending a single command to multuiple machines?
[17:14] <mikeey> I just tried mounting the same disks in Windows, I get around 110-112 MB/s there and I get 110 MB/s all the time, not sporadic like I do in Ubuntu, there must be something wrong with my settings somewhere
[17:15] <mikeey> could I try tweaking anything in the sysctl? Increase the tcp buffers and whatnot or would that be of little to no use?
[17:20] <patdk-lap> there are lots of tweaks you could do
[17:20] <patdk-lap> but is gaining from 92MB/sec to 95MB/sec worth the time?
[17:32] <mikeey> patdk-lap, I had 105 MB/s as the "maximum" speed I could get, if I could get a |stable| seq. r/w speed of 100-105 MB/s I'd be more than happy to spend time on it
[17:37] <mikeey> I suspect it has got something to do with some buffers somewhere, as it will go up to 95-100 MB/s, then continue for maybe 3-4 seconds, drop down to 70 MB/s and be there for 2-3 seconds, then itll go back up to 95-100 MB/s and then the cycle continues
[17:54] <arrrghhh> hey all.  I'm trying to figure out how to route traffic with two NIC's... I use OpenVPN and it tunnels all my traffic
[17:55] <arrrghhh> There's some services I would like to place "outside" of this VPN, like ssh - so I can still access my server while away
[17:55] <arrrghhh> I assume this involves iptables and POSTROUTING or maybe something else..?
[17:56] <qman__> enraged, if you're looking to set up a system to repeat this process on a given set of machines, you'll probably be more interested in something like salt
[17:57] <qman__> enraged, http://docs.saltstack.com/
[17:58] <arrrghhh> lol I thought you were talking to me at first... until I realized there was a fellow with the nickname of 'enraged' :)
[17:58] <qman__> ha
[17:58] <enraged> thankyou qman
[19:21] <roborino> I just changed the ip address from dhcp to static now when I try to ssh ssh: connect to host calvin port 22: Connection refused, ssh_exchange_identification: read: Connection reset by peer or when I do get in I get Write failed: Broken pipe
[19:21] <RoyK> roborino: can you ssh from localhost?
[19:21] <RoyK> can you ping the host?
[19:22] <RoyK> have you checked the logs?
[19:24] <roborino> RoyK:  I can ping and ssh from localhost...what log would I check?
[19:25] <arrrghhh> ping from the client to server
[19:25] <roborino> yep
[19:25] <RoyK> first try to ping the server from a client, then try to ssh into port 22 on the server if that works
[19:25] <arrrghhh> ok
[19:25] <RoyK> I mean
[19:25] <RoyK> telnet server 22
[19:26] <RoyK> if that doesn't answer, something isn't listening or is blocked
[19:27] <roborino> RoyK:  yep, that works too
[19:27] <RoyK> perhaps ssh -vvv
[19:28] <arrrghhh> I was going to suggest that, or kill ssh on the server
[19:28] <RoyK> and pastebin the results - not sure if I can help, though, but others may
[19:28] <arrrghhh> and run manually /usr/sbin/sshd -d
[19:28] <RoyK> arrrghhh: it's answering to port 22
[19:28] <arrrghhh> yes, but it might give more output as to what the issue is
[19:32] <roborino> -vvv not alot of help
[19:32] <roborino> http://pastebin.com/1sANUGpx
[19:34] <RoyK> try -vvv before the hostname
[19:34] <RoyK> eh
[19:34] <RoyK> but
[19:34] <RoyK> connection refused?
[19:34] <RoyK> didn't you say telnet calvin 22 worked?
[19:35] <roborino> on the client it doesn't work
[19:36] <RoyK> 21:34 < RoyK> didn't you say telnet calvin 22 worked?
[19:36] <RoyK> connection refused is an icmp message indicating the server doesn't listen to port 22
[19:36] <roborino> sorry...on the localhost it did
[19:37] <RoyK> well, try from the client, as I suggested
[19:37] <RoyK> or perhaps give that server a wee reboot
[19:37] <RoyK> 'have you tried to turn it off and on again?'
[19:38] <roborino> a bit more info http://pastebin.com/wh2UQ2En
[19:39] <RoyK> please use paste.ubuntu.com instead
[19:40] <RoyK> pastebin is so paranoid
[19:40] <roborino> sorry http://pastebin.com/wh2UQ2En
[19:41] <roborino> just logged in and then after about a minute I get the Write failed: Broken pipe
[19:42] <RoyK> roborino: no idea
[19:42] <RoyK> oh, some nat in between?
[19:43] <RoyK> try to add "ServerAliveInterval 5" to your ssh_config
[19:43] <roborino> it worked fine for hours...no issues.  then I changed from dhcp to static got this going on
[19:43] <roborino> no nat
[19:43] <RoyK> well, try it anyway
[19:43] <roborino> its like changing the dhcp to static something is saved somewhere with that IP or something
[19:44] <RoyK> shouldn't be anything like that
[19:44] <roborino> sure...never ever had a problem like this before
[20:12] <roborino> put it back to dhcp...no issues at all
[20:12] <RoyK> did you try to configure ssh with keepalives?
[20:13]  * RoyK runs dozens of ubuntu servers on static IPs
[20:13] <roborino> I do as well
[20:21] <roborino> I think I figured it out...
[20:22] <roborino> something else is using the static ip
[20:22] <roborino> that's gotta be it
[22:47] <arrrghhh> hi all.  I'm trying to setup ssh so it is accessible outside my network while OpenVPN is also running
[22:47] <arrrghhh> it seems I need to split the traffic using iptables... I've read a few guides but I'm having issues applying it to my network
[23:18] <sharad_> can anybody recommend some cpu and os benchmarking tools?
[23:27] <tarvid_> u1sdtool won't run
[23:28] <tarvid_> headless Ubuntu 12.04.2
[23:28] <tarvid_> Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[23:28] <sharad_> on what parameters can ubuntu-server be benchmarked?
[23:29] <tarvid_> disk to Ethernet transfer rate?
[23:47] <sarthor> HI, I have printer suremark 4610 installed and shared on windows 7 machine, How can i add that printer to the machine having ubuntu-server 12.04 installed ( no GUI ). HELP Please
[23:55] <RoyK> sarthor: cups