IRC log for #gllug on 20100618

00:08.59*** join/#gllug lejocelyn_ (~lejocelyn@host86-173-4-249.range86-173.btcentralplus.com)
00:41.17*** join/#gllug lejocelyn_ (~lejocelyn@host86-173-4-249.range86-173.btcentralplus.com)
00:45.57*** join/#gllug lejocelyn_ (~lejocelyn@host86-173-4-249.range86-173.btcentralplus.com)
01:02.57*** join/#gllug lejocelyn_ (~lejocelyn@host86-173-4-249.range86-173.btcentralplus.com)
01:13.37*** join/#gllug lejocelyn_ (~lejocelyn@host86-173-4-249.range86-173.btcentralplus.com)
02:43.31*** join/#gllug DiscordianUK (~ch@fedora/DiscordianUK)
03:10.42*** join/#gllug Leeds (~richardc@www.scorefive.com)
05:40.07*** join/#gllug LeedsHK (~richardc@n219078059056.netvigator.com)
05:43.43Leedsoh look, there's two of me
05:43.49LeedsLeedsHK: hello Irene!
05:44.19LeedsHK:D
05:44.55Leedsfeeling any better?
05:45.03LeedsHKyes
05:45.07Leedsgood
05:45.12LeedsHKare you coming home?
05:45.27Leedsas I said, 3ish
05:45.49LeedsHKok la
05:46.11Leedsnow stop pretending to be me and go to bed :P
05:46.58LeedsHKi can close this chat?
05:47.04Leedssure
05:47.12LeedsHKsee ya later
05:47.15Leedsseeya
07:34.10*** join/#gllug stafacus (~stafacus@78.146.208.237)
07:54.59*** join/#gllug Leeds (~richardc@n219078059056.netvigator.com)
08:19.00bilarhrandom question of the day: anyone know anything about lathes and chuck mountings?
08:34.13wethrina woodworker would
08:39.33bilarhis that like a wood chucker? :S
08:51.09wethrina woodchuck chucks would
08:51.11wethrinwood
09:14.44gregjchuck norris knows
09:15.55bilarhwethrin: nice save their, i was just about to rip into you
09:23.53wethrini hadn't had coffee!
09:26.47bilarhi don't think i oculd get out of bed without coffee
09:26.50bilarhi'd be so constantly tired
09:27.14bilarhof course i realise that if i didn't drink so much coffee, i'd have to go to bed earlier and thus not be as tired
09:27.20bilarhbut, i chose to quietly ignore that :P
09:27.34bilarhand either way, coffee tastes nice
09:27.35wethrinI'm waiting for coffee to cool so I can drink it
09:27.52bilarhconcludes his mini rant
09:36.42*** join/#gllug zplinux (~zplinux@213.8.57.217)
09:36.47zplinuxhi
09:36.52zplinuxhali: ping
09:37.14zplinuxcan anyone exaplian this simple chore
09:37.36zplinuxhow to combine mysql two hosts set-up as amster master with IP alias
09:37.48zplinuxso one IP access the mysql server
09:37.59bilarhthat doesn't sound all that simple at all :P
09:38.23zplinuxwhat address should I bind each server to?
09:39.17zplinuxsay host1 is 1.1.1.1 and host2 is 1.1.1.2
09:39.25zplinuxIP alias is 1.1.1.3
09:39.39zplinuxwhat address should each mysql bind to?
09:40.16wethrinwhy do you want a two master setup, rather than a master-slave setup?
09:40.50zplinuxhi wethrin
09:41.03zplinuxI should point out that I am new to mysql
09:41.44wethrinYes. And a two master setup is far harder than a master-slave setup
09:41.47zplinuxwhen all is ok, host1 servers the mysql. when it dies hosts2 serves it
09:42.15zplinuxin case host1 returns to life, it regain the master role
09:42.48bilarhthat's a master-slave set-up not a master-master
09:42.49zplinuxso I dont need to bother with restoring th databases from the slave to the master
09:43.43zplinuxclients will access one IP address and not bother with which server is actually serving it
09:44.03zplinuxmaster master allows the first master to regian control - right?
09:44.09zplinuxregain
09:44.26zplinuxbilarh: am I wrong?
09:44.43bilarhwell, i'm not actually that accustomed to mysql myself
09:44.44bilarhbut
09:44.59bilarheven oracle doesn't do the "one ip access point" in rac, does it
09:45.09bilarhthat part is handled by the client
09:45.13bilarhbut either way
09:45.25zplinuxhow ?
09:45.32bilarhyou could probably bodge it up with mysql running in master-slave mode
09:45.44bilarhand with heartbeat (for example) to handle the ip-alias-failover
09:45.59zplinuxshould mysql access from client go though a script routing calls to each server?
09:46.19bilarhwith rac, afaik the client picks a server that is available
09:46.31zplinuxyes - I intend to use a IP alias - heartbeat setup
09:46.40bilarhbut it's all handled by the libraries that rac-clients are linked against
09:46.53zplinuxmysql?
09:47.20bilarhno, rac
09:47.44zplinuxI ment, any clue to how to achive this in mysql?
09:47.51zplinux~seen Leeds
09:47.53ibotleeds is currently on #gllug (1h 52m 54s), last said: 'seeya'.
09:47.54bilarhno :)
09:48.00bilarhhttp://dev.mysql.com/doc/refman/5.1/en/replication-implementation.html
09:48.12zplinuxlet me read this
09:48.33zplinuxwhere is hali , when I need him
09:48.39zplinuxisnt he the db guy?
09:49.17bilarhamongst other things
09:49.18zplinuxby the way workign on weekends aint that bad
09:49.29bilarhrather you than me
09:49.35zplinux:-)
09:49.45zplinux14 days to the tour de france - right?
09:50.01zplinuxso I must finish the project asap
09:51.13wethrinworking on weekends is fine, if you get two days offin the week
09:51.31bilarhwethrin: yes, unfortuantely that is very rare nowadays it seems
09:51.37bilarhi don't even get overtime anymore
09:51.41bilarhonly time actually worked
09:51.52bilarhnot even travel time, which sucks seeing as i live an hour away from work
09:51.54wethrinso that's about 5 hours a week for you?
09:51.54wethrin:)
09:52.03bilarhyeah hehe
09:52.08bilarhbut i mean weekend work :P
10:21.41zplinuxI am falling a sleep reading about keepalived
10:21.45zplinuxerr
10:25.10antiphaseMySQL is bollox, so having a redundant functioning master setup which can fail over without intervention is unlikely
10:45.21haliyou'd have to go oracle for a fully active/active single connection string config
10:45.49halifor mysql i'd say use a single master with failover and have select slaves if required
10:45.52zplinuxhali:!!
10:46.24zplinuxcan you please explain that to me?
10:46.44zplinux" have select slaves if required" - what does that mean?
10:46.56halireplicated read-only copies of the db
10:47.34zplinuxso what happens when the master dies?
10:48.17antiphaseSomeone phones you up and you fix it
10:48.30zplinuxthis is bad
10:48.41antiphaseYou just have to make sure that doesn't happen :P
10:48.59zplinuxsystem should survive this
10:49.10antiphaseReliable power, plus redundant system components, plus resilient storage, plus backups
10:49.16halimultiple ways you could do that, cleanest way would be to have shared storage and something like vcs
10:49.22bilarhs/doesn't happen/you are not on call when it happens/
10:49.24zplinuxI want to watch the tour de france and not worry about that
10:49.41antiphaseIf it was never going to happen, you'd never be on call. Shit happens ;)
10:49.50zplinuxhali: when are you usually here?
10:50.15bilarhantiphase: that's not very egoistic thinking of you... clearly you can't have worked for big enough companies yet :P
10:50.18zplinuxanti: I am the only one that can fix this - so I am allways on call
10:50.28antiphaseSucks to be you
10:50.54zplinuxwhat?
10:51.03antiphaseYou also haven't cited the failure modes which aren't due to a hardware failure, like when someone goes DELETE FROM table;
10:51.04zplinuxbilarh: ha?
10:51.06antiphaseoops
10:51.26zplinuxok, ok sow down
10:51.31zplinuxslow down
10:51.36zplinuxlet me explain.
10:51.42antiphaseI would assert that hardware failure is likely to be the least of your problems when running a database
10:51.55antiphasedoesn't do databases for this reason
10:51.56zplinuxno one will ever have direct access to the mysql but the programs I setup
10:52.24antiphaseLike children and animals on television, I never approach storage or databases except when someone else looks after them
10:52.27zplinuxanti: I also dont like db
10:52.43zplinuxyet I do admire ppl writing db
10:52.56bilarhantiphase: does that mean you *do* approach children when you're not being filmed? ;)
10:53.00zplinuxback to the subject
10:53.31antiphaseI admire fuck all, because I am a sysadmin. IT is all hateful software and hardware that goes wrong
10:53.33zplinuxI am trying to understand what options I got in the free-software community to allow
10:53.53zplinuxthe system to sustain a disaster
10:54.15antiphaseWhat sort of disaster? Direct nuclear strike or someone tripped over the power cable?
10:54.38zplinuxsecond one - I guess
10:54.40bilarhzplinux: look, why don't you just have a master-slave setup as described on that mysql page and add an ip-alias-failover with heartbeat... then if something goes wrong, accept that your new master will have to become a slave of the "slave" so that the "slave" becomes the master... what's up with that?
10:55.19zplinuxbilarh: excelent!
10:55.21bilarhhuman factor is a much, much bigger risk than hardware in my experience... especially the "bilarh" factor :P
10:55.31zplinuxI am just tring to understand this
10:55.46antiphaseTry stuff first, then ask if it doesn't work
10:55.48bilarhbut you need to have manual intervention to get it working.. you can't automatically get it to work
10:55.58zplinuxI am allready going to apply heartbeat and IP aliasing
10:56.17bilarhok good, i'd also strongly recommend you get one of those APC power switch things
10:56.28bilarhor even two (one for each server) if you're paranoid
10:56.46zplinuxbilarh: so to recover , in case the master dies
10:56.57bilarhthen the slave will take over
10:57.02zplinuxI will need to dump the slave db, restore them to the master and restart?
10:57.06bilarhbut then before you bring the master back online, you have to make the slave the new master
10:57.10bilarhand the old master has to become the slave
10:57.14bilarhno there's no dumping
10:57.25bilarhyou just designate your slave to become a master
10:58.00bilarhhttp://dev.mysql.com/doc/refman/5.1/en/replication-solutions-switch.html figure 16.5
10:58.22zplinuxthanks , bilarh
10:58.28zplinuxI am off to lunch now,
10:58.38zplinuxprinted a lot a reading matirial
10:58.51bilarhnp
10:58.52zplinuxwill be back in case I got more questions
11:49.05*** join/#gllug dick_turpin (~dick_turp@host217-34-163-30.in-addr.btopenworld.com)
11:49.45dick_turpinAfternoon all
11:56.30bilarhafternoon
11:57.27dick_turpinbilarh: How we doing?
11:58.02bilarhyou royal now
11:58.12bilarhU SLAAAAG etc
12:01.03dick_turpinHuh I've got nowhere with mailing to the list both party's have sent me URL's to suppose evidence of 'their' innocence I am left in a position where I can get the mails but cant send which interestingly means I cant unsubscribe either!
12:03.19dick_turpinsupposed
12:24.15*** join/#gllug stu_ (~stu@dyn1247-66.vpn.ic.ac.uk)
12:43.30*** join/#gllug DiscordianUK (~ch@fedora/DiscordianUK)
12:51.22*** part/#gllug dick_turpin (~dick_turp@host217-34-163-30.in-addr.btopenworld.com)
13:52.14*** join/#gllug dick_turpin (~dick_turp@host217-34-163-30.in-addr.btopenworld.com)
13:52.24*** join/#gllug stu_ (~stu@94-30-86-45.xdsl.murphx.net)
13:58.00*** join/#gllug stu_ (~stu@dyn1241-59.vpn.ic.ac.uk)
14:02.06*** join/#gllug celesteh (~celesteh@sblug/member/celesteh)
14:28.16dick_turpinwethrin: Can you have a look see if a mail from me is in moderation folder on the list
14:29.57wethrinnothing pending
14:30.20dick_turpinhm
14:31.37dick_turpinMy ISP now says they've fixed it, replied against your 'testin' post. The mail went and no bounce back but its not showing on the list (Blackhole?)
14:31.48dick_turpintesting
14:46.35mindbndrz00dax: any news for the centos rss ? :)
15:02.25*** join/#gllug Armand (~me@mail.justit.co.uk)
15:17.33dick_turpinwethrin: Aha! Email has been semi accepted sitting in greylist apparently now waiting for my ISP's server to try again
15:36.14*** part/#gllug dick_turpin (~dick_turp@host217-34-163-30.in-addr.btopenworld.com)
17:30.39*** join/#gllug DiscordianUK (~ch@fedora/DiscordianUK)
21:17.56*** join/#gllug Armand (~me@host86-183-128-14.range86-183.btcentralplus.com)
22:53.35*** join/#gllug DiscordianUK (~ch@fedora/DiscordianUK)
23:09.22*** join/#gllug Leeds (~richardc@n219078059056.netvigator.com)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.