Archive for the ‘Ubuntu’ Category

Ubuntu 12.04 HA infrastructure

Friday, April 27th, 2012

Ready for high availability in Ubuntu 12.04?! :)

High availability in Linux has seen lots of changes in recent years. This is a result of an effort to merge most relevant HA stacks in Linux world – RedHat Cluster Suite and Linux-HA. Work upstream did on this is tremendous and one can only congratulate on that. Unfortunately, for us following this development, that meant we had to keep track with all those changes in the code and configuration. That’s why, for 10.04, we had official packages in the distribution and backported and supported packages in ubuntu-ha-maintainers PPA. We hope that for 12.04 PPA will not be required any more :)

HA in Ubuntu is based on Pacemaker 1.1.6. One can use both GFS2 and/or OCFS2 shared filesystems on top of shared storage (DRBD or any other type of shared hardware storage).

To make deploying HA easier for users and system administrators, we’ve started a WIKI explaining most common setups. At the moment, this wiki covers only how to initially setup GFS2 and OCFS2 shared filesystems on a shared storage. In few days, we’ll add guides for DRBD, cLVM and guides for some migration scenarios – 10.04 -> 12.04; 10.04 +  PPA -> 12.04, etc.

Important: We’ve encountered couple of bugs that are in the queue for fixing. If you are using or have a desire of using cLVM, please do not use 12.04 yet. Once these fixes land into archives, we’ll send an email to ubuntu-ha mailing list and add cLVM howto to the wiki.

Ubuntu 12.04 Cloud Live

Friday, April 27th, 2012

With the release of Ubuntu 12.04, it’s time to release Cloud Live image too! Cloud Live is a live CD/USB image that allows you to get a glimpse of Ubuntu Cloud Infrastructure. Project’s web site is located at Launchpad – https://launchpad.net/cloud-live. Procedure is very simple; download an image, burn it on CD or dd it on the USB key and boot of that device. System will boot in Unity or Unity2D and present you with at Getting Started document. Notice that we do not include full Ubuntu desktop experience – we’ve removed all components that aren’t necessary for this project, to make image as small as possible.

Once you finish with Getting Started document, you’ll be able to log into the dashboard and start instances. All of this without installing anything on your computer! For the purpose of demo, we’ve provided a small CirrOS image which you can run and log in to. Since everything is running in RAM, you will have better experience if your system has 4 or more gigabytes of memory. 2GB is enough to get system booted, but you won’t be able to do much more after that.

For a little extra, we’ve configured Ubuntu Cloud Live with support for Nova Volume. All you have to do is plug in additional disk, create a PV volume on it (pvcreate /dev/xyz), create nova-volumes VG (vgcreate nova-volumes /dev/xyz) and restart nova volume (service nova-volume restart).

Image is built with live-build and the source is available on Launchpad. Build process pulls in one package that’s also available on Launchpad. Procedure for building your own Cloud Live is very simple:

  1. Install Ubuntu 12.04, 64bit
  2. Install live-build package
  3. Create working directory – mkdir ~/cloud-live ; cd ~/cloud-live
  4. Branch bzr code – bzr branch lp:cloud-live config
  5. [OPTIONAL] Customize config/* files
  6. Build an image – sudo lb build
  7. Burn or dd resulting image – binary-hybrid.iso

Or, if you just want default, official, Ubuntu Cloud Live image, go to cdimage.ubuntu.com and grab it!

time: 00:07.37

Friday, February 26th, 2010

Bootchart.

Video.

Pacemaker/Corosync/OpenAIS/OCFS2/GFS2 for Ubuntu 10.04

Wednesday, February 10th, 2010

Couple of days/weeks ago I’ve issued call for testing of new cluster stack for Ubuntu 10.04. At that time, most of the stack was finished, but we lacked proper support for clustered file system. Now, I’ve modified ocfs2-tools package so that it compiles with support for libdlm (provided by redhat-cluster) and pacemaker. I’ve also modified redhat-cluster package so that it builds with support for pacemaker.

As a result, there is now a new test case which needs testing – cluster with drbd for underlying device and ocfs2 as a filesystem. So, please visit - https://wiki.ubuntu.com/ClusterStack/LucidTesting#Pacemaker, drbd8 and OCFS2 and give it a go.

After completing this milestone, only thing left for proper cluster stack in Ubuntu 10.04 is submitting MIRs (Main Inclusion Requests) for packages that are still in universe and demoting cman (and others) to universe.

For those that would like to test their own setups and are familiar with corosync/pacemaker/drbd8/ocfs2, ubuntu-ha’s PPA is located here: https://edge.launchpad.net/~ubuntu-ha/+archive/lucid-cluster/.

UPDATE: We now support both OCFS2 and GFS2! How to: https://wiki.ubuntu.com/ClusterStack/LucidTesting#Pacemaker, drbd8 and OCFS2 or GFS2

Is this for real?

Tuesday, January 12th, 2010

When I was in high school, during IT classes we worked with DOS, WordPerfect for DOS and BASIC. When my sister showed me her school textbook ‘Information technologies for gymnasium’, I was expecting tons of Windows screenshots. But, I was surprised. Look at those:

Wow! Not only there are Ubuntu screenshots and big Wilber, no… The textbook explains what is Open Source, what are proprietary operating systems. You can even find words like FreeBSD, NetBSD, EXT2, EXT3, UFS :) They equally provide space for Microsoft Windows Vista, XP and Ubuntu Linux (no MacOSX). Granted, in the office section, they explain how to work with MS Office tools, but they acknowledge existence of OpenOffice.org, quoting ‘We were attracted by Microsoft Office 2007 and OpenOffice.org.’, providing links to OpenOffice.org (on each chapter about office tools) and manuals.

And that big Wilber isn’t just to fill in space – they actually have 10 pages long ‘manual’ on how to use basic GiMP tools! There’s no Photoshop section in the book. Only GiMP for bitmap editing – and it’s even provided on the DVD shipped with the book.

Gvozadnović, Ikica, Kos, Miljaš, Srnec, Sekulić-Štivčević, Zvonarek (authors of the textbook) – you really surprised me and kudos for this great textbook. If you can read Croatian, take a look at http://www.propyx.com/udzbenik/izbornik.

Call for testing: Cluster components of Ubuntu 10.04

Monday, January 11th, 2010

There was a discussion, at the last UDS, about cluster stack in Ubuntu 10.04 and later. Blueprint is located here. According to that spec, I’ve created packages for cluster-glue, cluster-agents, heartbeat, corosync, openais, pacemaker, keepalived, drbd and redhat-cluster.

Some of these packages are based on stuff Martin Loschwitz did and some are merged from Debian. Most of them have serious changes in packaging, but all of them are latest upstream version (except keepalived).

Now that those are packaged, we need help with testing. So, please, help us test those components. Choose redhat-cluster or pacemaker as a cluster stack. Combine with DRBD, KVM or Xen and try to break them. In a day or two, I’ll set up a wiki page with configuration instructions for these tools, so anybody could test it. Input from upstream is also welcome.

Packages are located at ubuntu-ha PPA: https://edge.launchpad.net/~ubuntu-ha/+archive/ppa/+packages

Packages are created only for 10.04, Ubuntu Lucid Lynx.

10 seconds boot is already here!

Wednesday, June 3rd, 2009

Hardware: Lenovo X200s with Mushkin Europe 2 120GB SSD instead of default Seagate 5000rpm disk. Boot to fully functional (default) Jaunty desktop from cold start (powered off) is less than 30 seconds. If BIOS, grub and kernel/initrd loading are excluded, boot time is less than 10 seconds.

Video:

http://www.init.hr/dev/fast-boot.mp4

Except the automatic login in gdm there were *no* other changes in Ubuntu.

UDS so far…

Wednesday, May 27th, 2009

There were lots of great sessions so far. Much more than on previous UDS and I think this approach of multiple sessions from same track is actually working quite well. There’s also a bit ‘human’ feeling cause we don’t have all the guards watching our every move, as we had at Mountain View. Bottom line, I really like it. Hopefully, there’ll be even more results after it, than it was after previous ones.

But, the best move Canonical did this time was bringing design team. It’s very important to actually be able to get into contact with people that do design for a living. That way they can see our usability problems and we can get advice how to solve them. Having design teams as part of community is major step for open source. After all, we all have the same goal.

Congratulations everyone!

Thursday, April 23rd, 2009

Looking forward

Friday, April 17th, 2009

Step by step, with 9.04 Ubuntu conquered another peek. It finally went up into the clouds. We could stop here and enjoy our glory, but there are higher peeks to conquer. Achieving higher goals is harder, more dangerous, but also provides more glory, and what’s more important, it gives us more satisfaction.

looking-forward

If we are going to tackle higher goals, we’ll need you and your ideas. Only together we can go even higher. So, visit http://brainstorm.ubuntu.com/server/ and give us some ideas, let’s push 9.10 above the clouds!