/srv/irclogs.ubuntu.com/2018/04/30/#ubuntu-server.txt

=== miguel is now known as Guest43584
=== ec0 is now known as redhat
=== redhat is now known as jhebden
DirtyCajunPSA: For anyone who hasnt done the 18.04 upgrade that is going to and uses nginx+php: If you are using 7.0 sockets you will need to change them to 7.2 sockets. (20 minutes of confusion on my end till i figured it out)01:03
cpaelzergood morning04:25
=== Aztec03 is now known as DrinkyFish
=== DrinkyFish is now known as SmokinGrunts
=== SmokinGrunts is now known as Aztec03
=== Aztec03 is now known as Panoptes
=== tobasco is now known as tobasco-afk
=== tobasco-afk is now known as tobasco
Mavaany opensource tips (on in general anything) when considering first tests with hyperconverged infrastructure12:35
tomreynfirst of all, you'll need to dissolve this marketing term to make it clear what you're asking13:00
tomreyn(and then it's still a *very* broad question, and may not be well suited for a support channel)13:01
gunixMava: what do you need? containers, vms?13:10
RoyK"hyperconverged" translates to something like "we got tired of the old system with separate storage and compute power, and went back to adding drives to our servers again, and then used the existing methods for controlling redundacy, so that system upgrades can be done on both storage and cpu at the same time" (which may or may not be a good idea, depending on your needs)13:31
cyphermoxteward: cloud-init overwriting netplan is a message there for "safety". In some cases it /might/, say if you have cloud-init re-configure the system. On "static" not-cloud-based servers, it won't14:09
MavaRoyK: exactly, the good old methods starts to rise their head again.14:25
Mavagunix: either ones.14:26
RoyKMava: I was being rethorical14:26
gunixMava: if you need VMs, go for openstack. you need containers, go for kubernetes. you need both, go for both14:26
Mavagunix: yup, that was I was afraid =D14:27
gunixMava: why afraid? this is the future :D14:27
Mavaany idea how e.g. kubernetes konsiders the virtual san ?14:27
gunixMava: there are various storage drivers for kubernetes. most people use glusterfs, with heketi (an API that helps kubernetes manage gluster volumes)14:28
Mavaah14:28
gunixMava: other people use CEPH14:28
gunixmostly the people with heavy openstack background will do ceph when doing kubernetes, since they know ceph inside out (55% of openstack environments use ceph storage, according to the survey from last year)14:29
RoyKisn't CEPH the preferred one these days, as in over glusterfs?14:29
gunixRoyK: not for kubernetes.14:30
RoyKok14:30
gunixRoyK: a big kubernetes project is openshift and it comes by default with glusterfs14:30
gunixRoyK: also, regarding storage, most people use kubernetes via public cloud, and public cloud solutions have their own dark magic with storage, so you can't know unless you have somebody on the inside :D14:30
Mava:D14:31
Mavabut the storage plays a big role, somehow understandable that they are not very often advertised outside14:31
Mavanonetheless, thanks gunix and RoyK for the chat! this really got my brains back to the tracks14:34
RoyK:)14:34
gunixMava: just start playing around. it's really fun technology14:34
RoyKMava: as for raid1+0, please try zfs and check if it does what you want - it really isn't hard14:34
Mavaand I definitely will (to both)! ^ ^14:35
RoyK:)14:35
gunixraid is a tabu subject in cloud14:36
gunixa lot of people use JBOD14:36
gunixyou need mad skills to do raid the right way.14:36
MavaJBOD ? You got to be kidding?14:38
Mavaafaik the zfs should be fine nowdays. at least i've been satisfied with the zfs so far14:40
gunixMava: i am not kidding with jbod :D15:55
gunixMava: https://www.youtube.com/watch?v=ShC1eN52CrE15:56
gunixmaybe in the last 2 years people started to adopt this more often15:57
gunixbut this was the status in 201615:57
gunixwith netapp leading research on this15:57
naccrbasak: just checking in on the importer tests review16:28
RoyKgunix: the thing about jbod is that they use raid-ish things on top16:29
gunixRoyK: most people just let ceph/heketi/swift handle the disks16:59
RoyKhttps://xkcd.com/1987/17:00
=== Panoptes is now known as Aztec03
jaimehrubiksI dont even program in python and my env is like hell19:15
naccjaimehrubiks: ?19:21
jaimehrubiksi was talking about the previous message, the xkcd post19:22
sarnoldnacc: https://xkcd.com/19:22
naccah19:24
=== Howie_69 is now known as Howie69
Howie69 TCP: request_sock_TCP: Possible SYN flooding on port 80. Sending cookies.  Check SNMP counters.23:04
Howie69That's a new one on me...23:05
Howie69Especially since I don't have SNMP running...23:05
sarnoldHowie69: check netstat -s23:07
Howie6972 SYN cookies sent23:08
Howie69?23:08
sarnoldthat's not too much of a flood..23:09
Howie69Yeah..23:10
Howie69I was wondering why it was logged23:10
Howie69I feel rusty...23:11
Howie69All of my scripting over the years... and now I am trying to hand write my apache2 configs :)23:12
sarnoldhrm I get lost a bit in the kernel sources .. there's a possibility that your web server isn't handling requests quickly enough, and the 'backlog' of listen requests is being overflowed23:12
Howie69bleh...23:13
sarnoldnormally this happens when someone aims a synflood bot at your host23:13
Howie69Yeah, I've seen that, but didn't find any evidence23:14
sarnoldbut 72 syn cookies does'nt feel like much of a flood, since that'd be .01 seconds of data or less23:14
sarnoldso maybe it's just your webserver unable to respond to incoming connections in reasonable time?23:14
Howie69Or oversensitive logs?23:15
sarnoldI suspect this is a rare event, and thus worthwhile to log23:15
sarnoldit'd be difficult to spot syn floods without network monitoring without this23:15
Howie69fair enough23:16
Howie69I am skipping something...23:23
Howie69So, my apache2 config is missing something23:26
Howie69Ah... I can see...23:27
RoyKsarnold: s/netstat/ss/ ;)23:27
Howie69Between my old debian servers and this ubuntu server23:28
sarnoldRoyK: heh, I checked the ss manpage first but couldn't figure out how to get the data :(23:28
Howie69It seems that apache has seperated the vhost to a module?23:29
Howie69I see vhost.load23:29
Howie69but not a config...23:29
Howie69Is that for namevirtualhosts?23:29
RoyKHowie69: /etc/apache2/sites-enabled23:29
RoyKHowie69: /etc/apache2/sites-available23:29
RoyKthe former contains symlinks to the latter23:30
Howie69RoyK: Those I am familiar with23:30
Howie69I've done all of that...23:30
RoyKok, sorry23:30
RoyKI just barged in ;)23:30
Howie69and actually mirrored my debianb server23:30
Howie69debian23:30
Howie69but, it seems namevirtualhost isn't working23:30
Howie69everything is just going to my default dir23:31
RoyKjust curious, but why move from debian to ubuntu?23:31
Howie69My server to AWS23:31
Howie69They didn't offer debian :)23:32
* RoyK started out with slackware 25 years ago or so, moved to redhat, moved to debian, tried different things, moved to ubuntu, and moved back to debian23:32
Howie69RoyK: I will probably keep all my physical servers on Debian23:32
Howie69but, For AWS and GoogleCloud, they want to use Ubuntu23:33
RoyKHowie69: I'm using crowncloud for a few VMs23:33
Howie69So, it's not as bad as a conversion to their proprietary cloud OSes23:33
RoyKworks well23:33
Howie69RoyK: I'm just starting.  I prefer my own servers :(23:33
RoyKand is rather on the cheap side, and supports a lot of distros23:33
Howie69:)23:33
RoyKso do I - but not for everything23:34
Howie69I was down for a few years medically... trying to catch up now23:34
RoyKwelcome back :)23:34
Howie69I did some great work while I was in the hospital.  I just can't remember any of it23:34
RoyKI don't think I've had that sort of drugs - but what the hell - welcome back anyway23:35
Howie69Thanks23:36
Howie69but, to the matter at hand... I suppose I have to link vhost.load?23:38
Howie69vhost_alias.load23:38
RoyKwhiver ubuntu version is this?23:38
RoyKs/whiver/which/23:38
Howie69crap... I forgot the command...23:38
RoyKlsb_release -a23:38
Howie6916.04 I think23:39
Howie69I was right23:39
RoyKis the server listening to port 80?23:39
RoyKnetstat -l or ss -l should show23:40
Howie69Yes23:41
Howie69I get default site23:41
RoyKok, and there's a file for your virtualhost under /etc/apache2/sites-available and a symlink to it in /etc/apache2/sites-enabled ?23:42
RoyKHowie69: just going through this slowly to make sure23:42
Howie69RoyK: of course23:43
sarnolddoes it have a .conf name?23:44
sarnoldiirc more recent apaches care about the filename23:44
Howie69it seems like that would be in the apache2 error.log or access.log, but I'll check23:44
Howie69well, yeah, I have a .conf and .load23:45
RoyKa .load in sites-enabled? that shouldn't be necessary - it's for modules23:45
Howie69Sorry, that's in the modules, yes23:46
RoyKHowie69: ./apache2.conf:IncludeOptional sites-enabled/*.conf23:47
Howie69You are saying they want a .conf in sites-available?23:47
RoyKthat's from debian stretch23:47
RoyKprobably the same on ubuntu 16.0423:48
Howie69stick around.  I have to deal with kids.  BBS23:48

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