[01:01] ubotuTN: hi [01:12] hey Unit193 [01:12] hey ubotuTN [01:12] Howdy ubotuTN [01:12] Howdy cyberanger too, but I'm sure you were aiming at ubotuTN [01:13] it's pretty quiet [01:13] the bot that is [01:14] well... and this #channel [01:16] Unit193: 100% sure or an assumption? [01:17] assumption [01:17] you know what they say about assumptions, right ;-) [01:21] Unit193: I always shoot to kill, sometimes you don't hit the bullseye [01:21] (I was actually referring to both of you) [01:21] hey electricus [01:23] Atleast I'm put before a bot... [02:26] lol [02:43] * cyberanger creates cutbot, designed to cut in front of Unit193 ;-) [02:44] that sounded better in my head :-/ [02:45] Seems you have that problem a lot :P [02:48] some days more than others, yep [03:22] lol, good quit message [03:22] in soviet russia, tsa grope you......oh wait [03:40] lol, good quit message [03:40] in soviet russia, tsa grope you......oh wait [04:52] in capitalist america, bank robs you :P [04:52] ^^ from a protest sign ^^ [05:16] binarymutant: sounds about right too [05:16] funny stuff [07:07] Heh, nice [12:26] hey cyberanger [12:28] sorry i haven't been much for conversation in a long time :-) [12:37] electricus: we have noticed ;) [12:38] there for a while I just completely gave up on irc.. and now i'm back [12:38] ha ha electricus how are you doing? [12:38] just got back from a men's bible study at shoneys.. we have about 50 guys attend wow [12:39] wow electricus that's huge [12:39] man 6:00 is very early for me i'm glad they are only doing that once a week [12:39] i hate to say it but its the norm for me.. but I'm not happy about it :) [12:39] it was really good though [12:40] electricus: you still around cookeville? [12:42] ya still here [12:43] same job for 8 years now.. i'm probably going to die in this place [12:45] ha ha electricus stability is not a bad thing [12:47] i'm grateful.. i just wonder if it's ever going to change [12:47] or if this nation is ever going to prosper again [12:49] yeah right now I'm glad to be getting a paycheck every week [12:54] http://www.tomwoods.com/blog/what-ron-paul-could-ask-herman-cain/ [13:53] you guys heard about this yet? http://www.fsf.org/campaigns/secure-boot-vs-restricted-boot [13:53] that is ridiculous [13:54] i like how the name is so cloaked with a term like 'secure'. I'd like to secure my boot right in their *%$ [13:55] electricus: is that abotu win 8 and using efi and what not? [13:55] basically it won't allow you to load any other os on the machine [13:56] so when you buy a computer you are 'forced' to run nothing but windows8 forever on it.. or toss it [13:56] i can't wait for M$ to just die [13:57] you can tell they are so desperate already with measures like this. with apple steadily creeping in and being the 'cool' computer and linux taking over server land.. they are really getting pushed out [14:02] electricus: i doubt that will be such an issue, if it is there will be a way around it [14:13] what's the best way to give your kvm guest access to the host's local fily system? is there a way? [14:13] running on little sleeep and not in gear this morning..ugh [14:17] never mind.. found it [17:12] hey electricus (looks like I've got some backlog to go over [17:12] yep) [17:48] cyberanger: ping [17:48] electricus: read the bit on secure boot, there's gonna have to be some wait & see there, cause I do think microsoft will get this one right (It's not a trust in Microsoft, as much as a trust in the fear of a class action lawsuit) [17:48] it's going to be intresting nonetheless [17:49] pace_t_zulu: pong [17:49] johnhaitas: whoops ^ [17:49] cyberanger: :) [17:49] cyberanger: so i'm interested in setting up a secure chat server [17:49] cyberanger: would you recommend jabber? [17:50] going for chat in the IRC sense, or the IM sense? [17:51] johnhaitas: I would recommend jabber when it fits requirements, yes, if this is more IM than IRC, it'd really fit [17:54] cyberanger: particular jabber server you'd recommend? [17:54] ejabberd or jabberd2? [18:02] cyberanger: ^ [18:08] johnhaitas: it'd be a close call, ejabbered seems better known, many attest to it being fairly simple & quick setup [18:09] I didn't really see a difference myself, between them [18:09] in terms of setup at least [18:09] probally ejabbered [18:23] cyberanger: got ejabberd working [18:23] :) [18:25] like I said, simple & quick :-) [18:26] good to hear [18:47] cyberanger: you said you use rsync a lot right? [18:47] electricus: too much, yes [18:47] well I just got totally screwed by it [18:48] it deleted all the files I wanted to sync === wrst_ is now known as wrst [18:49] if you have two locations A and B.. and A has less than B.. what does it actually do by default? does it take away from B to equal A or the other way? [18:49] electricus: did you swap the destnation with the source, or use and switches that did something outside the default [18:50] Whart up yal [18:50] i show you what I did [18:50] electricus: are you still having rsync issues? [18:50] rsync -a host1:/files/ host2:/files/ [18:51] i ran the command inside host1 (destination) [18:51] the files on host2 were wiped out completely [18:52] was host1:/files/ an empty folder [18:52] yes [18:52] that's why, swapped source with destnation [18:53] similar to mixing up if= & of= in dd [18:53] so you run it just like the dd command essentially? [18:53] what I usually run is rsync -avPhh (verbose, progress, readable flags) [18:54] like rsync -avPhh rsync://cdimage.debian.org/cdimage/weekly-builds/i386/iso-dvd/ /var/www/debian-CDs/ [18:54] that's actually a good example, those are weekly generated iso's [18:55] first week, it's as good (or bad) as wget, but the next few weeks, those iso's are nearly identical from the last week [18:55] it calculates the difference [18:56] problem here, is the difference it calculated in from your source to your destnation is your destnation was too huge, the source had nothing, to sync source to destnation, meant deleting the destnation [18:56] what sucks is that it had taken hours last night to copy an entire database onto an external disk while the server was off-line.. i come in today and bam.. i deleted all I had worked for :-( [18:56] not run like the dd command, exactly, similar risk is what I was getting at [18:57] you live and learn [18:57] dd if= of= / rsync input output (similar) [18:58] so you need it to be rsync -a offline-server:/files/ external-disk:/files [18:58] so you need it to be rsync -a offline-server:/files/ external-disk:/files/ [18:58] so is rsync strictly a one-way sync cyberanger? [18:58] then rsync -a external-disk:/files/ new-server:/files/ [18:58] yes, at least the way you were running it [19:00] there are some more complicated means, for a sort of mutual sync, but always seems like there are simplier tools for that [19:01] electricus: so it is data you didn't lose, I mean, it's still on the server [19:01] ya.. didn't lose the important data [19:01] just have to start over [19:02] ok, you got that part right, just gotta flip the second run to the new server [19:02] my external usb disk is super super slow too.. i think I'm just going to pull out the sata drive and do it direct [19:02] that would work [19:02] mount it [19:02] i wish i had one of those sata/usb cables .. i think they have those [19:03] rsync -a /mountpoint/onlinedb/ /localdb/ [19:03] that'd do it [19:03] they do, slower than sata (unless your usb 3.0 equipped) [19:03] you could also do it over cat6 [19:04] or what about gigabit back to back crossover cable? [19:05] yeah, that can be done [19:05] rsync -ae ssh /localfiles/ cyberanger@remoteserver:/copyoflocalfiles/ [19:06] would that be as fast as 3g/s.. ? that's one thing i need to get smart on is bus speeds/ drives /network.. all the transfer rates and what is the true bottleneck [19:06] i've wasted more time just guessing at stuff like that.. [19:07] both sata, on the same bus, think that'd be the fastest [19:07] good news is once done the first time, everything after is easy [19:08] what i hate the most about migration/upgrades is you can't do much of anything unless everyone goes home [19:08] those weekly discs are around 50GB, but each week since, worst I fetched in one week was 3GB maybe [19:08] yeah, I actually like that (excuse for the night shifts) but waiting on others [19:09] tried to specialize in that, but not really enough of a market [19:11] and if the migration or upgrade goes sideways, that's where it really goes sideways [19:11] it's all well & good, then boom, blown up in your face === wrst_ is now known as wrst [19:12] electricus: you can stop the transfer if it's too long, fire it the next time to finish (figure your on a deadline however, so that'd not be too wise) [19:13] so cyberanger, as long as i use "rsync options " i should never go wrong? [19:14] on this task of just moving data while offline (and being aware of those options) yes [19:15] for the repository mirrors, we have to add an option, delete after, but we do sync while online, so there's a reason for the extra headache [19:16] is it possible to do a sync online of say a /var directory? [19:17] both online, or only one (and if one, which one) [19:18] cyberanger: do you know of a good file sharing distribuition or something that is easier to use than ftp? [19:18] I've been looking around, but can't find one.. [19:18] i've seen some companies have a web based system that is graphical and users can set up their own accounts and such to download files [19:19] that would be awesome for our clients [19:19] can't use the cloud either [19:20] I guess something like this perhaps http://www.sharing-file.com/overview.htm [19:21] but linux [19:22] oh, something utilizing http get & post requests, gotcha, an area I've not dealt in [19:22] hrm, I've seen some, not coming to mind [19:22] ok [19:24] electricus: as for the bit with being online, much trickier due to all the read write going on there, while I'm sure it could be done, with all the headaches, I'd advise against doing it with both online [19:25] now, if only the source were online, you could pull it off, but to finish, you'd need to run it with it offline, or at least a window of no modifications [19:26] only a small window to verify nothing changed between source & destnation, but with /var/log I'd doubt you'd have that window [19:26] rats.. that's what i thought.. i'm starting to use lvm to get around that now [19:28] i'm a little nervous with lvm because i've never used it up until now, but i think it's pretty nice. I haven't had to recover anything from an lvm volume yet though.. not sure if that's any fun [19:28] um, recover & fun, eh.. might be asking a lot [19:29] but lvm has become very stable, has headache moments, but it's production use is high [19:29] you use it a lot cyberanger? [19:29] I've used it with xfs to grow filesystems on the fly, while online [19:30] used it with LUKS-Crypt on my other gear, so yeah, every day [19:30] I don't mess with it every day, but use it on my disks [19:31] ya you probably have a san and such i presume [19:31] not yet, still on a small wallet [19:32] I'd like to, once I get everything else sorted out [19:33] well you already have a bunch of lv's so when you do get it.. you can just move em around really easy [19:34] I do sync with ubuntu, debian and arch mirrors in a live state, threw in the second disc when I got low on room, told lvm to claim it for a volume group, then told a logical volume to grow onto the new disc [19:34] then told xfs to grow it's size, no dismount, kept running [19:35] that's awesome [19:36] xfs is only for /var/www/mirror/ though [19:36] static enough to sync in an online state [19:37] just stinks I got them a year ago, over half that forgot about them at my folks place, never got them in a DC as intended [19:38] kinda wanted to mirror a few distros by now, but atm I'm just pushing getting all the data in a timely manner [19:40] how much data do you have to migrate? [19:42] right now i'm working on our company mail server.. it's got about a 45Gb /var/opt/ database that i need to move [19:42] doesn't sound like a lot, but it is when we have little wallets [19:43] it's a royal pain in the neck taking the server down/ then copying then getting the new server back up and configured before users log in again [19:43] uggh [19:45] binarymutant: Wait a second, last two times you cycled, ubotuTN didn't [19:45] electricus: anything else in /var/opt/ are they in the same lan? [19:46] ya [19:47] ya same lan, and something else too [19:49] is the backup online too, or could it be in an offline state now, do you have two nics, one free atm [19:49] everything is here in my office [19:49] and the new servers i'm creating are online here in the office [19:50] they are offline, not an offline state for a migration [19:51] here's why I ask, here's what I'm thinking for you, new servers (destnation) servers offline state, crossover cable, leave the current (source) server up [19:51] you can start your sync over the crossover cable, get 35-40GB, of that 45GB [19:52] then rerun the sync when you can take it all offline for a moment, get the remainder, the stuff that kept getting changed [19:55] the time it takes would be slower, but automated & running during work hours, just enough to prep things for the end of the work day [19:55] cool [19:57] so rsync will just skip over the files in use, and then later tonight I can stop the mail services and run rsync again and it will copy over the rest? [19:58] end result yes (it's not files in use, as much as the rate they change, keeping pace) [21:42] Unit193: no clue :/ [21:42] Unit193: they're on the same machine too, which makes it waay weird [21:44] binarymutant: I had guessed, went out the first time, I laughed :D [22:08] Unit193: ubotuTN was disconnected? I don't think I have it on autoreconnect, might be wrong though [22:08] [03:06:26] binarymutant (~chrisplun@unaffiliated/binarymutant) has quit (Read error: Connection reset by peer) [22:08] [03:06:26] ubotuTN (~ubotuTN@c-69-254-97-26.hsd1.tn.comcast.net) has quit (Read error: Connection reset by peer) [22:08] [03:06:53] ubotuTN (~ubotuTN@c-69-254-97-26.hsd1.tn.comcast.net) has joined #ubuntu-us-tn [22:08] [03:07:18] binarymutant (~chrisplun@unaffiliated/binarymutant) has joined #ubuntu-us-tn [22:09] ah [22:09] well that makes me less creeped out [22:12] wait what? "~chrisplun@unaffiliated/binarymutant" [22:12] how'd I get a cloak... [22:12] binarymutant: Didn't you ask in freenode? [22:12] didn't get a reply so I thought it was a no go, heh [22:13] very cool though. Surprised me :D [22:15] It's easy to get, want a bot one too? [22:21] sure :D [22:22] Join f#reenode and ask :D [22:23] aw work :'( [22:23] Eh, not much :P [22:23] meh I trust freenode's users enough [22:23] they good ppl [22:24] You need one to look pro though! [22:46] lol [22:54] Need help to identify it? [23:10] ubotuTN: Howdy [23:12] I don't think I got the cloak :/ [23:13] but hey I registered it again :D [23:20] !say [23:20] Unit193: incorrect usage, ask for help using 'ubotuTN: help say' [23:21] binarymutant: Have him PM rww with "I am owned by binarymutant" [23:21] I did that with nikko :/ [23:22] 18:23 < binarymutant> aw work :'( [23:23] binarymutant: For the record, wasn't this hard for me [23:23] Join, request, pm, yey! [23:23] wouldn't been as hard had I remembered the password from 2 years ago [23:24] ^^^^ [23:28] binarymutant: It's all cloaked and I thanked niko [23:28] ty [23:29] <+niko> you're welcome === wrst is now known as wrst_ === wrst_ is now known as wrst [23:58] http://pthree.org/?p=2083