=== LargePrime is now known as Guest67641 | ||
=== arosales is now known as arosales-afk | ||
=== wting_ is now known as wting | ||
=== alex88_ is now known as alex88 | ||
soy_el_pulpo | hi, any idea when openfire Version: 3.8.2 will be available via the official repos for 12.04? | 04:17 |
---|---|---|
soy_el_pulpo | !bot | 06:21 |
ubottu | Hi! I'm #ubuntu-server's favorite infobot, you can search my brain yourself at http://ubottu.com/factoids.cgi | Usage info: http://ubottu.com/devel/wiki/Plugins | Bot channels and general info: https://wiki.ubuntu.com/IRC/Bots | 06:21 |
soy_el_pulpo | !stats | 06:21 |
=== JanC_ is now known as JanC | ||
=== gstudent2 is now known as germanstudent | ||
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? | 12:02 |
RoyK | germanstudent: I'd use NFS | 13:05 |
RoyK | !nfs | germanstudent | 13:10 |
ubottu | germanstudent: nfs is the network file system. See https://help.ubuntu.com/community/SettingUpNFSHowTo for information on installing and configuring NFS. | 13:10 |
tarvid_ | u1sdtool on a headless server gets Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 | 15:38 |
tarvid_ | https://wiki.ubuntu.com/UbuntuOne/Headless | 15:39 |
=== NomadJim_ is now known as NomadJim | ||
tarvid_ | u1sdtool? | 16:04 |
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:36 |
qman__ | samba is the best way, as it's the only way windows can natively connect | 16:38 |
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:39 |
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:40 |
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:41 |
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:42 |
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:43 |
qman__ | but it has less overhead during a transfer than SMB | 16:44 |
mikeey | I assume sftpd would give me even poorer performance? | 16:44 |
qman__ | SFTP is slower due to the encryption overhead | 16:45 |
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:46 |
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:47 |
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:48 |
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:49 |
mikeey | And the protocol overhead is impossible to reduce? | 16:50 |
qman__ | it's already recduced | 16:50 |
qman__ | reduced* | 16:50 |
qman__ | getting 90MB/s+ over a gigabit link is really good | 16:51 |
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:52 |
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:53 |
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:54 |
qman__ | the best way to avoid that problem on the cheap is to just buy a much bigger switch than you actually need | 16:55 |
qman__ | a cheap 24-port switch should be perfectly capable of full bandwidth on 16 ports, etc | 16:56 |
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:03 |
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:14 |
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:15 |
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:20 |
=== hggdh_ is now known as hggdh | ||
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:32 |
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:37 |
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:54 |
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:55 |
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:56 |
qman__ | enraged, http://docs.saltstack.com/ | 17:57 |
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 | 17:58 |
=== arrrghhh is now known as arrrghhhAWAY | ||
=== arrrghhhAWAY is now known as arrrghhh | ||
=== txwikinger2 is now known as txwikinger | ||
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:21 |
RoyK | have you checked the logs? | 19:22 |
roborino | RoyK: I can ping and ssh from localhost...what log would I check? | 19:24 |
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:25 |
RoyK | if that doesn't answer, something isn't listening or is blocked | 19:26 |
roborino | RoyK: yep, that works too | 19:27 |
RoyK | perhaps ssh -vvv | 19:27 |
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:28 |
roborino | -vvv not alot of help | 19:32 |
roborino | http://pastebin.com/1sANUGpx | 19:32 |
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:34 |
roborino | on the client it doesn't work | 19:35 |
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:36 |
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:37 |
roborino | a bit more info http://pastebin.com/wh2UQ2En | 19:38 |
RoyK | please use paste.ubuntu.com instead | 19:39 |
RoyK | pastebin is so paranoid | 19:40 |
roborino | sorry http://pastebin.com/wh2UQ2En | 19:40 |
roborino | just logged in and then after about a minute I get the Write failed: Broken pipe | 19:41 |
RoyK | roborino: no idea | 19:42 |
RoyK | oh, some nat in between? | 19:42 |
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:43 |
RoyK | shouldn't be anything like that | 19:44 |
roborino | sure...never ever had a problem like this before | 19:44 |
=== arrrghhh is now known as arrrghhhAWAY | ||
roborino | put it back to dhcp...no issues at all | 20:12 |
RoyK | did you try to configure ssh with keepalives? | 20:12 |
* RoyK runs dozens of ubuntu servers on static IPs | 20:13 | |
roborino | I do as well | 20:13 |
roborino | I think I figured it out... | 20:21 |
roborino | something else is using the static ip | 20:22 |
roborino | that's gotta be it | 20:22 |
=== arrrghhhAWAY is now known as arrrghhh | ||
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 | 22:47 |
=== Ursinha is now known as Ursinha-afk | ||
sharad_ | can anybody recommend some cpu and os benchmarking tools? | 23:18 |
tarvid_ | u1sdtool won't run | 23:27 |
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:28 |
tarvid_ | disk to Ethernet transfer rate? | 23:29 |
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:47 |
RoyK | sarthor: cups | 23:55 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!