/srv/irclogs.ubuntu.com/2015/04/28/#ubuntu-server.txt

mojtabaHi, could you please tell me what is wrong with this config? http://paste.ubuntu.com/10918180/01:04
sarnoldseems fine, what issues are you having/01:09
mojtabasarnold: content of the /etc/resolve.conf showing sth else.01:10
mojtabaalso when I type sudo ifdown eth0, it says interface eth0 not configured01:11
sarnoldmojtaba: how about /etc/resolv.conf?01:11
mojtabasarnold: http://paste.ubuntu.com/10918591/01:12
mojtabasarnold: Do you know why I get that message after running sudo ifdown eth0 or sudo ifdown wlan0?01:13
sarnoldmojtaba: do you have 8.8.8.8 configured manually in /etc/resolvconf/ somewhere?01:13
mojtabasarnold: No, I entered in via GUI, but I removed it.01:13
sarnoldmojtaba: is network-manager installed on this machine?01:14
mojtabasarnold: yes01:14
sarnoldmojtaba: can you uninstall it? I suspect nothing will work quite right os long as you have NM installed. it's a crazy wrench to throw into any problem..01:16
mojtabasarnold: can I disable it for a moment?01:16
sarnoldmojtaba: no idea01:17
tewardservers and network-manager don't get along very well :P01:17
mojtabasarnold: what should I do after that?01:17
=== markthomas is now known as markthomas|away
linociscohi all07:10
linociscoroot@ubuntuserver:/usr/local/src/noip-2.1.9-1# make install07:10
linociscogcc -Wall -g -Dlinux -DPREFIX=\"/usr/local\" noip2.c -o noip207:10
linociscomake: gcc: Command not found07:10
linociscomake: *** [noip2] Error 12707:10
linociscoroot@ubuntuserver:/usr/local/src/noip-2.1.9-1#07:10
=== DenBeiren is now known as zz_DenBeiren
OpenTokixlinocisco: apt-get install build-essential07:32
lordievaderGood morning.07:48
MatsyHey everyone! I have a question regarding Landscape. Is it normal that I need to reboot my server for it to generate CPU/Memory graphs, and show the current process list?07:51
OpenTokixMatsy: throw that shit out the window and get a graphite/collectd-system going07:52
MatsyOpenTokix: I actually really like the looks / functionality of Landscape. Started a 'trial' today with a few of my non-important servers07:52
OpenTokixMatsy: I have tried it to - also tried obvservatorium, nagosgraphs, cacti and munin - and graphite/collectd - oh yes, so much win07:53
MatsyWell, I need something to replace my salt-environment07:53
MatsySo, it needs to do a bit more than collecting logs07:54
OpenTokixwhy are you moving away from salt?07:54
MatsyCompany firewalls seem to have a lot of issues with salt07:54
OpenTokixMatsy: you think ladnscape will replace a fully fledged CM-system?07:54
MatsyOpenTokix: I don't.07:54
MatsyBut, since Landscape also allows the instant deployment of custom scripts to an arbitrary amount of servers, it seems to do the job07:55
jcastrolandscape shouldn't require reboots to generate those graphs07:55
Matsyjcastro: That's what I figured. But it didn't show anything, other than 'Virtual Environment: vmware'07:56
MatsyThat's the only piece of information it seemed to gather07:56
MatsyWhich is odd, because finding out in what kind of virtual environment the computer is without the tools installed is quite a bit more complicate than doing a ps for the list of running processes07:56
jcastrothe landscape guys are in #landscape07:56
jcastroI don't know enough about landscape to help07:57
MatsyYou guys have a channel for everything07:57
jcastroheh07:57
=== zz_DenBeiren is now known as DenBeiren
linociscohttp://pastebin.ubuntu.com/10922486/08:58
MatsyYes?09:01
Matsylinocisco: Probably a DNS issue on your server.09:02
linociscoMatsy, so what do I do?09:05
Matsylinocisco: Fix the internet?09:05
Matsylinocisco: dyn-update.no-ip.com resolves to 8.23.224.120 here.09:05
MatsyDo a simple ping, and see if that works09:05
MatsyIf it doesn't, just set your nameservers to a proper DNS service (8.8.8.8 / 8.8.4.4 always work)09:06
linociscoMatsy, ping is blocked09:07
Matsylinocisco: Try adding dyn-update to your hostfile then09:07
linociscoMatsy, it is no-ip. not dyn09:10
Matsylinocisco: I know. See what hostname it tries to contact: dyn-update.no-ip.com09:10
linociscodyn-update.no-ip.com: command not found09:11
xqcaojpds: ping09:53
kevindeDoes anyone use/still uses monit?10:15
kevindeAs i'm running a Teamspeak server on my Ubuntu server and recently discovered monit, I wonder how effective this is to keep your server up and running in case something like a crash occurs10:16
=== Joel is now known as Guest81232
OpenTokixkevyes10:52
TeduardoIs there an issue with Ubuntu 14.04 and disk performance?11:02
lordievaderIf there is I never noticed it.11:03
Teduardookay, i am using rsync to copy some data from a RAID-5 array with 5 drives to an SSD and it's only copying at 134MB/s11:03
Teduardoand it's actually dipping down as low as 60MB/s11:04
=== Lcawte|Away is now known as Lcawte
WalexTeduardo: "performance" is not a property of a distribution, but of its configuration. If you are unhappy with the defaults (which are often not the best for anything in particular), perhaps you need a system administrator to configure your system for your applications.11:06
OpenTokixTeduardo: Sequential writes is not as fast on SSD:s11:06
OpenTokixTeduardo: What options are you using for your rsync? --whole-file ? - Are you doing something else on the machine? - What is the performance you expecting?11:07
OpenTokixTeduardo: 130M/sec from a raid5 on 5 sata-drives sounds resonable.11:07
OpenTokixTeduardo: hardware or software-raid?11:07
Teduardohardware11:07
OpenTokixTeduardo: you have to remember rsync is doing hashing and stuff on the files you are copying - you can try --whole-file - that will generally be more consise11:08
TeduardoI guess I will just use bonnie++ to figure out if i can get it to go faster. I figured 5 drives each capable of 100MB/s seperately -1 drive for parity would be about 400MB/s11:10
OpenTokixTeduardo: it is not that simple11:10
OpenTokixTeduardo: it is not like the file is perfectly divided in four exactly the same size chunks11:10
Teduardoah, im guessing the seek time is horrible on 4tb drives too11:11
OpenTokixThe limit is not MB/sec, but operations per second, - while you are doing your rsync - do a iostat 3 to see how much ops, and how much time is spent on each operation11:11
OpenTokixDepends on the number of platters11:11
OpenTokixthere ie 2 and 3 platter drives, 3 generally have better seek time than 2. - Also is it many small files, or few large files11:12
Teduardoits one gigantic file11:12
OpenTokixok11:12
OpenTokixThen the absolutly fastest thing you can do is use dd11:13
OpenTokixor cp11:13
OpenTokixdd if=largefile of=/new/path/of/largefile bs=8M11:13
OpenTokixThis will max out your machine, and you can check speed with kill -USR1 pid-of-dd11:13
OpenTokixOver 8M chunks, generally will not give better performance - but you can always try11:14
OpenTokixThis will probably grind your machine to a halt, since it is doing only io more or less11:15
OpenTokixso careful if its a internet-system11:15
OpenTokixthat does something =)11:15
Teduardonah this is a t630 i have in a lab11:15
OpenTokixok, dd at full speed11:15
OpenTokixthen11:15
OpenTokixwill be quickest11:15
OpenTokixdd > cp > scp > rsync > > > > > > > windows explorer > > > > > os x finder11:16
lordievaderHehe, osx ;)11:17
OpenTokixTeduardo: Tell me what you get in terms of performance (if you try dd)11:18
Teduardo53141921792 bytes (53 GB) copied, 234.048 s, 227 MB/s11:20
OpenTokixnice11:20
OpenTokixonly 53G =)11:20
OpenTokixI tought you said large file =)11:21
Teduardohe he he11:21
OpenTokixTeduardo: there you go, - and I guess you learned something in the process11:21
Teduardookay, i will add 10 more drives to the array and see if the performance scales11:22
Teduardoi need to be able to restore 11TB of data in less than 10 days11:23
Teduardowhich is why i'm going on this quest in the first place11:23
OpenTokixyou are already doing it in 13 hours11:23
OpenTokixwith 227M/sec11:23
Teduardoyea that's a DD not the restore process of this wacky backup software11:24
OpenTokixok11:24
Teduardoi'm trying to make sure that the underlying system is capable of what i need before i yell at the sw vendor11:24
OpenTokixthen I guess its a software issue more than actual hardware, but hardware helps11:24
OpenTokixWhat backup software is it?11:24
Teduardoserver backup manager by idera11:24
OpenTokixok11:25
OpenTokixbleh11:25
OpenTokixcomercial backup...11:25
OpenTokixbleh11:25
OpenTokixNever used any that wasnt complete useless11:25
OpenTokixgood luck!11:25
Teduardoit works flawlessly it just takes forever11:26
Teduardoit restored the 11tb of data11:26
OpenTokixSo its always 0 or 11TB?11:26
Teduardoyeah it's just backed up data.. which i dont need until it needs to be restored11:29
Teduardobut i can't have it take 10 days to restore over 10Gbps ethernet11:31
lordievaderBut sometimes you only need a small part of the backup.11:31
lordievaderLike one config file.11:32
Teduardooh, yeah i'm kind of worst case scenario planning11:32
Teduardobut it could be that the software is poorly written but the restore I ran was bare metal and it was just bits sent to the block device rather than files11:33
Teduardoso there is no excuse for 10 days11:34
OpenTokixTeduardo: did you also tune your network-settings for 10GBps?11:37
OpenTokixie. txqueue and such?11:37
OpenTokixTeduardo: do _NOT_ use jumboframes on LAN11:38
OpenTokixTeduardo: if its over 10Gbps, your limit is network - and not disk-speed, since your network will topout about 100MB/sec11:41
Teduardo10Gbps = 1.25GB/s11:45
OpenTokixYes you are correct, - I got a slight case of the dumb for a minute or two there.11:46
Teduardono worries.11:46
Patrickdkwhy no jumboframes?11:47
PatrickdkI only use jumboframes11:47
Teduardoi dont think jumboframes actually hurts anything11:47
Patrickdkand amazon has changed to only using jumboframes also11:47
PatrickdkTeduardo, depends on your switch11:47
Teduardounless the switch in between is set to 1500 =D11:47
OpenTokixPatrickdk: For a LAN jumboframes give no added benefit - more then increasing the complexity of your network.11:48
OpenTokixPatrickdk: jumboframes, is not faster on local network11:48
Patrickdkno, ifthe switch has a normal (small) packet buffer, you will overflow it quickly11:48
Teduardobut i'm not even worried about the network yet like i said i'm just trying to get the read performance of the volume on the server itself showing me a little life11:48
OpenTokixPatrickdk: Did a lab on this, with switches from different vendors, many different 10G cards, multiples OS:es - no difference11:48
Patrickdkjumboframes or not highly depends on the nic used11:49
OpenTokixPatrickdk: it is a networking myth, many believe - since it is annoying as hell to test11:49
PatrickdkI do see a increase in performance on my local network11:49
Patrickdkon the old nics, it was a huge improvement11:49
Patrickdkon newer nics it's down to like 10% or so11:50
Patrickdkbut then, in vm's it goes up again11:50
Patrickdkit depends if you can take advantage of the nic's tso/lsr/gro/gso or not11:50
Teduardoso what should 5x4TB WD RE4s in RAID-5 do read wise in a bonnie++?11:51
OpenTokixok, if youre running in vms - performance isnt a top issue anyway =) - so nevermind11:51
Patrickdkand since those only work for tcp11:51
MatsyOpenTokix: I only manage VM clusters11:52
Patrickdkdo a crapload of udp stuff and rtp11:52
OpenTokixPatrickdk: About 350-450 ios/s11:52
OpenTokixiops*11:52
OpenTokixMatsy: ok11:52
MatsyOpenTokix: Performance is one of my highest priorities11:52
OpenTokixMatsy: ok11:52
Patrickdkand 3.5" 7k rpm disk is going max out around 80 iops per disk11:52
MatsyOpenTokix: How can you say that 'if you are running in vms, performance isn't a top issue'11:52
OpenTokixMatsy: its not11:52
Patrickdka top, it is11:53
Patrickdkthe top, no11:53
Patrickdkit's normally second to the top11:53
MatsyYeah11:53
MatsyAvailability is number one11:54
MatsyBut performance is a very close one11:54
Patrickdkor simple of management11:54
Patrickdkability to move to new hardware without it going nuts11:54
OpenTokixMatsy: Depends also if your traffic is counted in the hundreds, thousands or millions per second - or if your latency is in seconds, ms or us11:54
Patrickdklots of single vm per machine11:54
MatsyPatrickdk: Oh, I never use single VM machines11:55
MatsyPatrickdk: A good hot-swappable environment takes care of the hardware changes11:55
Teduardoso if you add more disks to a raid-5 volume does that make the performance better or does it just mean that the seek time goes up?11:58
MatsyMore disks to raid 5 does not mean more performance11:58
Slingyou shouldn't run big raid5 sets :)11:58
Matsy^11:59
SlingI'd consider 6 disks the max11:59
Slingbeyond that the performance impact is big and much worse your rebuild times will be very long11:59
Slingduring which your array has no fault-protection at all11:59
OpenTokixAnd will probably fail (the rebuild)11:59
Teduardoyeah the rebuild times and stuff arent that big of a deal given it's cold/backup storage11:59
jpdsDeploy Ceph.12:00
maswanIt depends on which performance though, read performance on a raid5 is roughly equivalent to the read performance of a n-1 raid012:00
MatsyWhy does performance matter on a cold storage12:00
SlingI'd say, use zfs12:00
TeduardoMatsy: restore not taking 10 days12:00
maswanOf course, for a parity raid, raid5 is very brave with modern disk sizes12:00
MatsyTeduardo: Go for 1+0 or something12:01
MatsyShould only take 5 days then12:01
Slingraid 6 would work as well, if your controller supports it12:01
Slinggives a bit more slack12:01
Teduardor6 is slower than r5 right?12:01
OpenTokixTeduardo: yes12:01
Slingr6 tends to work on faster controllers12:01
Slingso in theory yes, in practice no12:01
Slingor 'hardly'12:01
OpenTokixraid5: 2 iops/write, 6 4/iops per write12:02
Teduardoah, the controller in question is a 2GB PERC H73012:02
Slingbut if you're doing many writes, r5/6 is not good anyway12:02
MatsyWhich H730?12:02
Teduardowhat do ya mean?12:03
Slinggo for 1+0 if you want fast writes :)12:03
maswanit also depends on the size of the writes, if you do full stripe writes it is not so bad, as opposed to doing random small writes and getting a read-modify-write cycle int here12:03
Teduardolike i said i'm more concerned about how fast the data can be restored back to the client machine12:04
Teduardoit took 10 days for a 11TB restore in a DR test12:04
Teduardotrying to you know... make that.. not suck12:05
Matsy10 days?!12:05
MatsyThat's 700mb per minute12:05
MatsyThat's very very slow :p12:05
Teduardoand like i said that was a bits to block device restore not a file restore12:05
Teduardoso it was hot garbage12:05
Teduardoanyway i will check out raid-10 and maybe enable ssd caching on the volume and see if that gets me anywhere12:08
MatsyWait, you're using SSDs?12:08
Teduardono12:08
Teduardothe controller can use SSDs as read cache12:09
Teduardoi will install some for that purpose12:09
Teduardojust to test around with12:09
Teduardosince i have pretty much unlimited hw12:09
Teduardoi imagine that i'm going to find that this is all limited by the software and then im going to be unhappy12:10
Slingso I have an init script with 'Required-Start:    $network $remote_fs $syslog', but during bootup it fails to bind to the interfaces defined in /etc/network/interfaces, after booting is done I restart the service, and it works fine12:12
MatsyUnlimited hardware, I envy you12:12
Slingwhat could be causing the network service to report as up to init/upstart/whatever but the interface to be still unavailable for binding?12:12
Slingservice in question is pdns-recursor12:12
maswanTeduardo: well, if you are not seeing lots of io-wait state, you're not waiting for the storag12:13
TeduardoMatsy: well, its the company's and not mine of course haha =)12:13
MatsyTeduardo: I work at a university. Unlimited hardware is still very rare.12:14
MatsyEvery time I need to buy a new server, there's 200+ pages of bureaucracy12:14
Teduardoyeah, currently i am playing with a bunch of Intel NVMe PCI Express drives12:14
MatsySigh12:14
MatsyThose are such beasts12:15
Teduardoyeah, bios support for booting them is dodgy so have to use uefi and uefi + pxelinux is... errr.. wacky (for me anyway)12:15
Teduardobut they are monsters, yes12:16
MatsyWhy do you boot them though?12:16
MatsySeems overkill for just booting12:16
MatsyI mean, servers restarting in 0.1 second or 0.2 seconds12:16
MatsyI'd love to switch my mongo-disks to them though :p12:16
MatsyMaybe in the new fiscal year...12:17
Teduardohehe yeah, it's kind of my job to make sure that we know all of the potential answers to all of the potential questions before hand, so i just test12:17
Teduardoim not sure i would boot from them12:17
=== bilde2910|away is now known as bilde2910
Teduardoand now we wait for the background initialization..12:34
Teduardowoe12:34
=== Lcawte is now known as Lcawte|Away
=== Lcawte|Away is now known as Lcawte
=== shirgall is now known as Guest37225
delinquentmecan rsynch used to jsut sync folders remote and local?13:38
tewarddelinquentme: rsync can be used to sync folders and files between two locations, yes, I believe, but depending on what you want to do you may have to provide additional arguments and options to it.  You may wish to refer to 'man rsync' (without the ' characters) to read up on the various options.13:40
=== Faylite_ is now known as Faylite
=== markthomas|away is now known as markthomas
rickbeldinHi.  Not sure where to go with this.  I'm having a landscape issue. When I login to landscape and attempt to select the 'Support' option at the top (I have valid entitlements), it takes me to a Salesforce.com login screen instead of the Canonical support portal.17:37
rickbeldinThe link is the 'Support' link here:  https://landscape.canonical.com/account/hp-l3-support/activities17:39
sarnoldrickbeldin: I think that's intentional; at least, when I go to the url you provided. I wind up at an Ubuntu SSO login prompt.. I login, see the landscape interface, hit my own "support" link, which brings me to https://eu1.salesforce.com/500/o -- which appears fully active and live..17:41
rickbeldinI was using the interface yesterday, and it logged me right in to where you could see cases.17:42
sarnoldrickbeldin: I've heard some sso oddities can be poked in the eye by visiting https://login.ubuntu.com/ first17:42
rickbeldin!!!17:43
rickbeldin+1 sarnold.17:43
sarnoldrickbeldin: did that sort it?17:44
rickbeldinNot very intuitive.  Sort of along the lines of ctrl-alt-delete or close your browser and restart.  Yes, it fixed it.  Thanks very much.17:44
sarnoldno kidding...17:44
sarnoldrickbeldin: I don't kno wmuch about the support / landscape end of things.. it feels like one of those support tickets there would be the place to report the bug, but if those cost you money, _maybe_ this is a better place to start: https://launchpad.net/ubuntu/+source/landscape -- seems a bit empty there, but it might be worth a try17:46
jazzoriusI have a question about ufw. The log files (small sample here: http://pastebin.com/5pguu4kN ) show many connection requests to port 80 being blocked.17:46
rickbeldinThanks. This was the first time and now I know which way to hold my nose.  : )17:47
sarnoldrickbeldin: hehe :)17:47
jazzoriusPort 80 is open because the server hosts a website. My nginx logs don't show any requests from these IPs. Is ufw blocking legitimate requests? The IP addresses seem like legit users, not server farms.17:47
=== Guest37225 is now known as shirgall
CompuChipHi. Can someone please help me replace a broken disk in a RAID1. I am getting really confused with the output of mdstat to the point where I am not even sure which disk is broken (it is showing 5  md12* disks, with inactive sdb2[0](S), active sdb5[0] [U_], active sdb1[0] [U_], active sda5[1] [_U] and active sda[2] [_U]).18:36
CompuChipI think it was sda that failed because for a bit I couldn't boot (no operating system) but that seems to have gone away. I get a login prompt but I can't login when booting from HDD, and now using a Server 14.04 rescue CD to get a prompt.18:37
sarnoldCompuChip: I think it'll be easier for other sto help you debug the issue ifyou can pastebin status outputs or similar; the pastebinit package can be very helpful here18:39
CompuChipThanks sarnold, can I install that from the rescue disk prompt?18:39
sarnoldCompuChip: I hope so; apt-get update && apt-get install pastebinit to find out :)18:40
CompuChipapt-get not found :)18:40
sarnolddang :)18:41
CompuChipIf I select that I want /dev/sda1 as root and open a shell there I get apt-get but no internet connection18:41
CompuChipDon't seem to have a DNS, I can ping 8.8.8.8 but not google.com.18:43
sarnoldCompuChip: try adding 8.8.8.8 to your /etc/resolv.conf18:44
sarnoldCompuChip: this might work for you once you've got dns up: http://unix.stackexchange.com/a/5918/706418:44
CompuChipsarnold: thanks, got a bunch of error but think I installed astebinit18:48
CompuChipYay it worked http://paste.ubuntu.com/10928895/18:49
sarnoldnice! now  you get to solve your actual problem :)18:50
CompuChipShall I ask the question again? :)18:52
CompuChipOne of the disks in my RAID1 is broken. I am getting really confused with the output of mdstat to the point where I am not even sure which disk is broken - http://paste.ubuntu.com/10928895/18:55
CompuChipWhat's even more confusing is that the Rescue Disk refuses to mount /dev/sdb1 as the root, even when I physically swap the connections.18:59
CompuChipI can only get a shell in /dev/sda1.19:00
=== markthomas is now known as markthomas|away
wk5hbeen a while since I've run Ubuntu as a server, and getting back into it.  seems like there used to be a post-install graphical command where you could change some of the settings, such as ip address, mount points, etc. that looked a lot like the install process.  make sense?19:52
patdk-wkno idea19:53
wk5hthought it was a some tk scripts that was packaged with it...  maybe I'm thinking of a different distro.19:54
=== bilde2910 is now known as bilde2910|away
=== klaas_ is now known as klaas
=== DenBeiren is now known as zz_DenBeiren
=== bastidra1or is now known as bastidrazor
=== markthomas|away is now known as markthomas
=== Joel is now known as Guest14185
=== Lcawte is now known as Lcawte|Away

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!