/srv/irclogs.ubuntu.com/2015/01/19/#ubuntu-server.txt

=== Lcawte is now known as Lcawte|Away
grendal_primeno i dont get to grub01:32
=== zz_DenBeiren is now known as DenBeiren
=== zz_DenBeiren is now known as DenBeiren
=== freeflyi_ is now known as freeflying
=== markthomas is now known as markthomas|away
DatzHi, my samba password keeps getting reset every day. How can I stop this, and why is it happening?05:31
=== setkeh is now known as setdev
=== setdev is now known as setkeh
=== kickinz1|afk is now known as kickinz1
=== Lcawte|Away is now known as Lcawte
=== mthaddon` is now known as mthaddon
lordievaderGood morning.09:02
soahcccno iowait, CPU is at like 1% and memory is chilling out still a load of 35... wtf09:04
lordievadersoahccc: Processes waiting for IO? (D state)09:05
soahccclordievader: no that I could say. just one is occasionally running otherwise all are sleeping09:06
soahccclordievader: ohh I see one is in D state... rsync  :<09:07
lordievaderThat is then likely the culprit. And the fun thing about the D state is that you cannot kill them...09:10
soahccclordievader: I just noticed and I think the machine did not survive the reboot :/09:14
lordievader?09:14
soahccchmm or it's checking disks has been a view months since last reboot :)09:15
soahcccwe have 3 identical machines and 1 syncs to 2 and 3... on the third one I had 50 rsync tasks in D state whilst the second server is all fine... So I guess something went south there09:16
lordievaderNFS share unreachable?09:17
soahcccthere is no nfs share just rsync over ssh09:18
jamespagesarnold, do you have an eta for when you might get to look at the MIR in bug 1407695 ?09:51
jamespagehttps://bugs.launchpad.net/ubuntu/+source/python-pysaml2/+bug/140769509:51
ikoniacan I ask why mir is being raised as a server bug ? is mir still only optional on the server install ?09:56
rbasakikonia: https://wiki.ubuntu.com/MainInclusionProcess09:58
rbasakikonia: MIR != Mir09:58
lordievaderTo keep things simple...10:00
ikoniathank you10:10
abhishek_can i configure centralised patch management server . I have around 40 Ubuntu servers10:16
Walexabhishek_: yes. Look at APT repo caching or mirroring.10:18
abhishek_ok . thank you Walex10:19
Walexsoahccc: 'D' means waiting for IO usually10:19
Walexabhishek_: look for example at 'apt-cacher', 'approx', 'apt-mirror',10:20
=== Lcawte is now known as Lcawte|Away
=== Lcawte|Away is now known as Lcawte
=== jpds_ is now known as jpds
=== kickinz1 is now known as kickinz1|afk
=== alreece46 is now known as alreece45
=== kickinz1|afk is now known as kickinz1
hazzardousHi, what is the best IPsec server package ?13:07
jpdshazzardous: strongSwan.13:09
jpds!best | hazzardous13:09
hazzardousjpds, so if you have to connect 2000 machines with a network through VPN, do you choose that solution?13:11
jpdshazzardous: It's in main and thus gets security updates.13:11
jpdshazzardous: Just: sudo apt-get install -y strongswan # Done.13:11
jpdshazzardous: I have lots of experience with it and it just works.13:11
jpdshazzardous: And for you, it's made in .ch.13:11
hazzardousjpds, ipsec-tools and openswan are also in standard distrib...13:12
jpdshazzardous: Not in main.13:12
hazzardousSwiss is a ++ :-)13:12
jpdshazzardous: And both projects have been abandoned as far as I know.13:12
hazzardousok... so i'll take a look to strongswan !13:13
hazzardousthank you13:13
jpdshazzardous: There is no "best", you need to poke around and see what fits your needs.13:14
jpdsI can't think of why strongSwan wouldn't be able to handle 2k clients.13:14
jpdsAnd it's all open-source software.13:14
hazzardousjpds, thank you for your advice13:18
jpdshazzardous: https://wiki.ubuntu.com/TrustyTahr/ReleaseNotes#strongSwan13:18
=== coffeedude is now known as coffeedude_roam
=== robher_ is now known as robher
patdk-wkheh?14:16
patdk-wkopenswan hasn't been abandoned14:16
patdk-wkthe maintainers don't update it often though, and the orig developer forked it to libreswan14:16
jpdspatdk-wk: It has.14:16
patdk-wkwhat do you mean, it has14:17
jpdspatdk-wk: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=73655714:18
patdk-wkok the debian package of it has been, but not openswan itself14:18
patdk-wkthough, everyone should have moved onto libreswan though14:19
jpdsstrongSwan's also going strong.14:19
patdk-wkstrongswan is strong for a few reasons14:20
patdk-wkcause it is very diverse14:20
patdk-wkbut that is also it's problem, making it more confusing and heavy14:20
jpdslibreswan documentation seems a bit sparse.14:22
patdk-wkI thought strongswan was more sparse14:22
jpdsI found it was fairly simple once one got their head around it.14:23
* jpds was comparing https://libreswan.org/wiki/Configuration_examples vs. https://wiki.strongswan.org/projects/strongswan/wiki/UserDocumentation14:23
patdk-wkwell, strongswan does a LOT more than libreswan too14:24
patdk-wkalso requiring more documentation14:25
patdk-wkgone over those strongswan things over and over many times, till I got it kindof working14:25
* jpds wrote a puppet module for the necessary bits: https://github.com/jpds/puppet-strongswan14:25
patdk-wknot saying it's not nice, but it's way overkill for most14:25
Walexput it briefly, both strongSwan and libreSwan are pretty good. Other IPsec implementations exist but are not as actively maintained.14:32
WalexLibreswan is currently in some ways a bit behind stronSwan but it is being also quite actively developed.14:33
Walexfor most people they are equivalent.14:33
=== Lcawte is now known as Lcawte|Away
=== kickinz1 is now known as kickinz1|afk
=== Lcawte|Away is now known as Lcawte
sudormrfppetraki, you around? :)16:35
ppetrakisudormrf, just in time for lunch :) sup?17:00
sudormrfin a 4 disk mdadm setup using RAID 1, you would have to create two raid arrays to have two usable disks, correct?17:03
ppetrakisudormrf, min number of disks required form a RAID1 is 2 disks. Then there's the issue of hot spares which is a whatever your policy is17:11
ppetrakisudormrf, http://www.thegeekstuff.com/2010/08/raid-levels-tutorial/17:12
* ppetraki very high level overview17:12
patdk-wksudormrf, depends on what your goal is17:21
patdk-wkyou can do two raid1 (of two disks)17:21
patdk-wkor a single raid1 (of 4 disks)17:21
Azarilcan you use trusty packages in precise?17:21
patdk-wkor a raid10 (of 4 disks)17:21
patdk-wkAzaril, yes and no, it highly depends on the package itself17:22
patdk-wkbut normally the answer is *no*17:22
sudormrfpatdk-wk, the goal would be to have a single array of 4 disks, 2 usable, 2 mirrored in one raid array.  so would that be raid 10?  if so, does mdadm support that?17:23
patdk-wkyes, raid1017:24
sudormrfpatdk-wk, ok cool.  I am testing all this out in a VM before I go and use it, so just trying to figure things out :)17:25
sudormrffirst time using mdadm17:25
sudormrfok that is all setup.  now working on setting up whatever is necessary to make it a time machine client as well :D.17:55
ppetrakisudormrf, how fast is it? fio --fallocate=none --direct=1 --ioengine=libaio --prioclass=1 --prio=0 --time_based --mem=malloc --randrepeat=0 --norandommap --runtime=10 --bs=4k --rate=0,0 --iodepth=1 --rw=randread --size=0 --offset=0 --name=/dev/loop200 --cpus_allowed=0  --grou18:07
ppetrakisudormrf, change /dev/loop200 to MD device. *do not do a write test to a block device unless you don't care about the data*18:08
=== Lcawte is now known as Lcawte|Away
sudormrfppetraki, not really caring about a test right now18:13
sudormrfit is entirely virtual and entirely for testing.  just trying to get my feet wet with it before I actually build something out :)18:13
ppetrakisudormrf, sure, just good to know. also that should be --group on the end, copy paste error18:14
sudormrfI can test18:15
sudormrfif you want.  will probably be pretty slow because VM over USB18:16
sudormrfbut sure18:16
=== Lcawte|Away is now known as Lcawte
sudormrfppetraki, any experience with setting up time machine in ubuntu server?  seeing different tuts all over the net and all of them are slightly different.18:20
ppetrakisudormrf, its more for your reference, its a good idea just to see what its like. Also on a live array, you can do read block tests over time to see if it's degrading, which is a sign of a backing store beginning to fail, as it's taking longer to complete.18:21
ppetrakisudormrf, no experience with time machine18:21
sudormrfppetraki, thanks :).  I will try it :D.  do you recommend read block tests be done with a cron job on a periodic basis (once a day or so?).  also, what is a backing store?18:23
ppetrakisudormrf, backing stores are the things that make up the MD18:23
ppetrakisudormrf, once a month is fine.18:23
sudormrfonce a month.  good to know.  so if a backing store is beginning to fail, does that mean a drive is going to fail?18:24
ppetrakisudormrf, backing store *is* the drive, the MD device is considered a logical volume18:24
sudormrfoh.  so when doing the test does it tell you which backing store is having the problem, or does it only show the whole array?18:25
sudormrfwould smart checks accomplish basically the same thing?18:26
ppetrakisudormrf, So testing against MD0 tells you generally if there's a problem, and if there is then you would start looking at the backing stores e.g. SD devices.18:26
ppetrakisudormrf, you can run it periodically or make a script18:27
sudormrfwhat I was thinking was to use NRPE to do SMART checks18:27
sudormrfis one method better than the other?18:27
ppetrakisudormrf, what real SANs do is keep performance counters for all the backing stores and look for descriptiveness , these generally precede smart triggers18:28
sudormrfah.  gotcha18:28
ppetrakinot really familiar with nagios, it probably works18:29
sudormrfthere may be an NRPE plugin that does the test that you are describint18:30
sudormrfdescribing18:30
sudormrfI will have to look in to it18:30
ppetrakiprobably not, that's work :)18:31
sudormrfLOL I use nagios right now and like it.  for something as basic and yet as critical as you are describing I would be surprised if someone hasn't created a plugin to do this.18:32
ppetrakisudormrf, it requires tuning and lots of testing, sure I could write on to generalize it.... and then be inundated with bug reports for false positives18:37
sudormrfno no no, not asking you to do it.  saying that someone may have already done it :D18:37
=== robbiew1 is now known as robbiew
ppetrakisudormrf, maybe18:43
sudormrfyeah.  I will check in to it :)18:43
=== IdleOne is now known as Guest7318
sudormrfwell I have made some headway in regards to timemachine.  got it setup on the server and it is showing in the OSX vm.  just can't get it authenticated (doesn't work in finder either), so checking in to that.19:45
ppetrakicool19:46
nickanderyou are running time machine on an ubuntu server?19:47
sudormrfnickander, trying to setup the server to receive time machine backups20:00
sudormrffor some reason the OSX vm is having issues connecting to it at all (not just time machine)20:00
sudormrftrying to track down what is happening20:00
sudormrfthink I found the problem20:01
nickandersudormrf: are you using smb?20:02
sudormrfnickander, have you done this setup?20:03
nickanderno, but i work a lot with enterprise mac / linux stuff20:03
sudormrfoh, nice :D.  well the problem appears to be with the avahi-daemon20:03
nickanderare you trying to use .local addresses?20:03
nickanderbecause i would not recommend that, i think apple is trying to phase those out20:04
sudormrfhttp://paste.ubuntu.com/978817020:04
sudormrfshouldn't be20:04
sudormrfthe server is not acting as a DHCP/DNS server, so if .local is appended automatically that is something I would have to look at20:05
nickanderavahi allows a server to interact with the bonjour service20:05
sudormrfyou see the netatalk panic20:06
sudormrflooks like it may have to do with the order the services start20:06
nickanderhaven't played much with netatalk20:06
sudormrfgoing to try something20:06
nickanderbonus points for using afp20:06
=== Guest7318 is now known as IdleOne
sudormrfheh.  I am just looking at the tuts I could find.  if you have a better suggestion (that doesn't have this silly issue with netatalk) and works I am willing to try it :D.  doing this all in a VM first so when I actually build out the system the setup will be quick20:10
=== martins-afk is now known as martinst
sudormrfmade some progress.  can now connect to it through finder, but now time machine doesn't see it.  trying some more things.20:32
sudormrfgot it!20:38
sudormrfyay20:38
ppetraki\o/20:43
sudormrf:D21:18
sudormrfin reality this isn't going to get used all that much as anything important is on the main server21:19
Guest33455Hi, I have a (virtual) server that was migrated to another hardware node and no services are started, do you have any recommendation to find what causes the problem? I've manually connected to my server over VNC to enable networking and ssh but otherwise no services are running excepting the default ones21:19
=== bilde2910 is now known as bilde2910|away
byprdctHi everyone. What's the best way to replicate a base server I always use?22:07
nickanderrsync22:07
nickanderoh wait, what do you mean by base server22:08
nickanderas in the base install before services are configured?22:08
Guest33455follow up on my previous question (which you can ignore), I've located that "initctl list" results in all services are in "stop/waiting" mode, any tips to find cause?22:12
byprdcthi nickander I was thinking of using a base after I install and modify configuration files like nginx etx22:13
byprdctetc*22:13
byprdctso for instance if I setup server A with all the stuff I like to use to host static websites and I want to beable to use that on different hosting provides like digital ocean, aws, joyent etc what would be the best way to use server a on the different hosting providers?22:14
byprdctwithout trying to go the docker route22:15
byprdctoverkill I think22:15
klerikHi! Just install KVM server, virt-manager. Try run VM from virt-manager and it write "Cannot access backing file /mnt/VM/xpsp3_lv_kvm.qcow: Permission denied"22:15
klerikWhich permissions need?22:15
sudormrfok, yep.  everything is now working as expected there.  sweet. that should cover all the stuff I am trying to do with this thing that was new to me (mdadm and timemachine).. weeeeeee22:17
sudormrfwhat do you guys use to backup your servers?  I am thinking of just doing a tar backup of everything, but was wondering if there is a better solution.22:21
sudormrfwas thinking of using this method: http://www.aboutdebian.com/tar-backup.htm22:23
ppetrakisudormrf, rsync.net22:25
ppetrakisudormrf, [shameless plug to own blog] http://peterpetrakis.blogspot.com/2013/06/automating-and-encrypting-duplicity.html22:26
rberg_duplicity is pretty convenient if you want encryption / compression22:27
sudormrfppetraki, checking out your blog22:32
sudormrfin this case, encryption is not necessary.  just compressed archives.22:32
ppetrakisudormrf, yeah you can just skip that part then22:32
sudormrfbacking it up to a different network share in case things explode I can quickly recover22:33
ppetrakisudormrf, EOD here, hope that helps.22:34
sudormrfppe? lol22:36
sudormrfoh22:36
sudormrflaters22:36
sudormrfrberg_, what makes duplicity better than the tar'ing method?  just curious, never used duplicity :)22:36
sudormrflooking at the info here: http://www.cyberciti.biz/faq/duplicity-installation-configuration-on-debian-ubuntu-linux/ and specifically the exclude section, it looks almost identical22:38
sudormrfmore robust?22:38
sudormrfbuilt in rotation is nice.22:40
rberg_everything duplicity does you can do with the standard tools and big pipeline, its just a bit more convenient I think..22:45
MACscrhow can i disable any of this automatic ipv6 stuff on my servers? i only want it setup with what i have in my network/interfaces file, nothing else.22:46
sudormrfrberg_, yeah that is what it is looking like.  will probably use duplicity due to the ease of rotation22:54
sudormrfhmm.  maybe not22:56
sudormrfhmm there we go22:57
sudormrftesting this out in a VM right now to see how it goes.  if all goes well I will create a script and pop it on to my two servers :D23:01
sudormrfrberg_, does duplicity use compression by default?23:03
rberg_thats a question for the man page :)23:04
sudormrfheh23:06
sudormrftruf.  brb23:06

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