[SLUG] MySQL Mono

2010-08-25 Thread Chris Allen

I'd like to start learning MySQL and MONO for some serious development.
As yet, neither are installed on my system (Ubuntu 10.4)
Can any one recommend good books / courses (in Sydney) for learning both 
of these?


Chris Allen
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] MySQL Mono

2010-08-25 Thread Ken Foskey
On Wed, 2010-08-25 at 20:13 +1000, Chris Allen wrote:
 I'd like to start learning MySQL and MONO for some serious development.
 As yet, neither are installed on my system (Ubuntu 10.4)
 Can any one recommend good books / courses (in Sydney) for learning both 
 of these?
 
 Chris Allen

I have tried monodevelop on Ubuntu but it is back a version or two and
caused me some issues.

Courses,  it really is simply going though some C# training and see how
you go.  I learnt C# from the Oreilly books and have foudn them quite
good really.

If you have an outline of the types of things you want to do I can give
you some hints on what to look at.

Ta
Ken

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Virtualisation and DRBD

2010-08-25 Thread Daniel Pittman
Nigel Allen d...@edrs.com.au writes:

 We're investigating both virtualisation of servers and High Availability at
 the same time.  Currently looking at Linux-HA and DRBD (amongst others).

Keep in mind that both things — HA and virtualization — are actually pretty
hard to get working smoothly.  Just ask me how it sucks when things don't work
right, after another ten hour day fighting a data corruption bug. ;)

 The idea of DRBD appeals to both me and the client as it means (or seems to
 at least) that we could add a third (off-site) machine into the equation for
 real DR.

DRBD is two-machine in pretty much any reasonable setup, and the performance
for an off-site spare is going to be ... interesting.  If you don't have a
very low latency, high bandwidth link between the locations then you can
expect significant pain and suffering.

(The safe DRBD protocol means suffering in performance, the unsafe ones
 insulate you from pain until you depend on that warm-spare and find out if it
 actually got all corrupted or not before the failure.)

 What happens when we then introduce Virtualisation into the equation
 (currently have 4 x servers running Centos  Windoze Server - looking at
 virtualising them onto one single box running Centos-5).

Keep in mind that performance absolutely requires that you have
paravirtualized drivers for those kernels.  That means picking something where
you have good disk and network virtual drivers ... and that probably means
not KVM, which sucks.

 I suppose the (first) question is: If we run 4 virtualised servers (B,
 C, D, and E) on our working server A (complete with it's own storage),
 can we also use DRBD to sync the entire box and dice onto server A1
 (containing servers B1, C1, D1, and E1) or do we have to sync them all
 separately?

Yes.  Specifically: you can do either, or both, depending on how you set it
up, and on the capabilities of whatever management software you layer over the
basic virtualization tools.

 Will this idea even float? Can we achieve seamless failover with this.

Maybe.  You have to be very, very clear on which two of the three attributes,
consistency, availability and partition tolerance you need, and make
absolutely, without question certain that you deliver on that.

To be clear: that means you must absolutely deliver availability (of your HA
solution) and non-partitioned connectivity, because you can't live with
inconsistency of data between the machines.

This is much harder than it sounds: you can easily work out that you have a
network cable pulled and have the entire ball of wax fall apart if you are not
very, very careful.

 If not, how would you do it.

We just moved from this to delivering iSCSI storage in the back-end, with
execute nodes that are going to start shedding local disk.  This uses KVM as
the virtualization technology, but anything that can talk to raw partitions
should be fine on top of this.

This gives us two advantages: first, we can scale as broad as we want (and
have great performance) by virtue of deploying cheap storage nodes with 6TB of
usable disk, tolerance of any two disk failures, and 8.5GB of disk cache
between the nodes and the spinning rust.

Adding another of those and moving some of the load to another system is
relatively inexpensive, and can fairly easily grow with our needs; we can also
scale up storage node performance by throwing a more expensive SAS array or
server into the mix.  (...or just more cache memory, at $100 a GB or so.)


The second is that we can deliver reliability without complicating the storage
nodes: a virtual machine can use Linux software RAID to mirror, stripe, or
otherwise combine multiple iSCSI LUNs inside the virtual machine.

This gives us similar performance and redundancy benefits to using local
storage to back those devices, including the ability to lose a storage node
and have the machine continue to work.

This does mean that, unlike a design where replication is directly between
storage nodes, we send writes out N times for N targets from the processing
node — but that isn't any more bytes over the network overall, and we are not
short on network capacity.  (Plus, dedicated storage links on a bunch of the
busier machines make this work without interference with public services.)

Daniel

-- 
✣ Daniel Pittman✉ dan...@rimspace.net☎ +61 401 155 707
   ♽ made with 100 percent post-consumer electrons
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Virtualisation and DRBD

2010-08-25 Thread Jamie Wilkinson
On 24 August 2010 19:46, Nigel Allen d...@edrs.com.au wrote:

 Any input (as ever) gratefully accepted.


You should take a look at ganeti: http://code.google.com/p/ganeti/ which is
a virtualisation management system that includes DRBD backed storage.

Even if you don't use it, you can get some tips on DRBD setups for VMs from
here.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Re: [SLUG-ANNOUNCE] Re: SLUG monthly meeting: 27 August 2010

2010-08-25 Thread Marghanita da Cruz

Nigel Allen wrote:

 On 25/08/2010 13:29, dave b wrote:

On 24 August 2010 21:18, James Polley presid...@slug.org.au wrote:

The good news is that this month's SLUG meet is only three sleeps away
- and if we're especially lucky, we might even have national a
government by then!

The bad news is that we already have a main talk (Repositories,
Package Management  Package Creation — by Samuel Marks) and only four
lightning talk slots left, so you'll need to get in quick if you want
to take one of the remaining slots!

James while your concept of 'time' is fun, you should try to get it
consistent with the rest of our 'time'.
3 sleeps ... um.
Lets list them out:
1. Wednesday(today!) (sleep)
2. Thursday(tomorrow) (sleep)
3. Friday(day after ...) (sleep)
so that means the next slug is on Saturday!

According to my 10 year old, you don't count the day you're in (because
that's just tonight), so given the announcement on the 24th (which you
don't count), followed by the sleeps of the 25th night and 26th night
and then the meeting - it was in fact only two sleeps.

Logical n'est ce pas?


snip

If SLUGgers wanted to organise a sleep over,
there is a fabulous camp ground at Cockatoo Island
(Note I am not volunteering to organise).
http://www.cockatooisland.gov.au/camping/index.html

Marghanita
--
Marghanita da Cruz
http://ramin.com.au
Tel: 0414-869202


--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html