Scott Dowdle's blog

Screencast: OpenVZ Container Migration

|

It seems I've had a lot of questions about OpenVZ container migration lately on the #openvz IRC channel on the Freenode IRC network. While I made a silent screencast on that topic a few years ago, I thought it was time for a refreshed one so here it is. Enjoy.

What is an OpenVZ container? It is a form of virtualization where you can create a type of a virtual machine called a container that is basically a strongly isolated chroot environment with device and resource management features.

What is migration? It is the ability to easily move a container from one physical OpenVZ host to another. Live / online migration allows for no downtime and maintains existing network connections. Offline migration stops the container on the original host and starts it up on the destination host and as a result the containers uptime is reset and existing network connections are dropped. Watch the screencast for all of this in action.

You can also download this directly if desired. right-click, save link as:
openvz-vzmigrate.webm (12.8 MB)

Fedora Summer of Open Hardware and Fun

|

I submitted an application for the Fedora Summer of Open Hardware program. Haven't heard of that? Well, the Fedora folks had accumulated quite a bit of hardeware that they wanted to pass along to their community members. The hardware consisted of Aurdino, Raspberry Pi, and OLPC XO-1.75 units. Since I already have a Raspberry Pi that I bought myself... and I'm part of an OLPC Lending Library project that already has X0-1.0 and XO-1.5 units... I thought I'd go for an XO-1.75. I just got word today that I was approved and should get the laptop in a few weeks.

How does the XO-1.75 differ from previous models? Well the main difference is that it uses an ARM-based CPU rather than an Intel compatible. As a result the XO-1.75 supposedly has an improved battery life. All of the OLPC models so far use the same case so even though they may be vastly different inside, they all look the same on the outside. Another area where some of the models vary is in the keyboards they have. For example, the "HS" model stands for "high school" and it has a hard plastic keyboard like a traditional netbook rather than the rubber keyboard the non-HS models have. With the XO-1.75 it appears that the keyboard has changed again. While it is still a rubbery keyboard, it is mostly covered by a white, hard plastic cover that has holes that they keys stick out through. See the picture above. The laptop on the left is an XO-1.75 whereas the one on the right is a previous model with an HS keyboard.

Linux for Old People?

Have you heard about the Telikin computer? It is basically an MSi-based all-in-one computer with a touch screen... keyboard and mouse. What is different is that they are marketing it to older people who are generally perceived as computer novices. Of course you don't have to be a senior citizen to be their target audience... any novice will do. Why am I bringing up the Telikin? Because as you probably already guessed, it runs Linux underneath... and no, it isn't Android-based. The underlying system is supposedly a fork of Tiny Core Linux.

Telikin Touch ComputerTelikin Touch ComputerThe Telikin folks appear to have done a lot of work on a custom user interface where there is an applications menu on the left fifth of the screen and the applications appear on the right four-fifths. The menu never goes away. It is very reminiscent of a web site. They are selling the idea that their computer comes pre-loaded with all of the applications that a novice will ever need... and that the application launcher and all of the applications are easy to use yet fully functional. But where did these applications come from? They have the following listed on their site:

Home screen, Video chat, Photos, Email, Web Browsing, Calendar, Address Book, News, Weather, DVD player, CD player, Games, Write, Powerpoint, Tech Buddy, Video Help, Tools and Free Lifetime Updates.

I don't think Microsoft would be happy about them using the word "Powerpoint" when they aren't talking about Microsoft's application but rather the general class of presentation / slide deck software. I have to wonder if they have co-opted code from various free software projects or if they have completely written their own from scratch. I'm not suspicious or anything, I'm just curious. I mean, with the exception of the touch screen stuff, couldn't you just take their distro and load it on most any computer? Would they sell the software separately? So far as I can tell they are in the hardware market and the software is not available separately.

They also seem to be spending a bit on marketing because they have various videos where they were featured on programs like Rachael Ray, ABC News, various local news programs, etc.

Anyway, I just thought that it was interesting that a company was promoting a system for novices based on Linux. Who would have thunk?

Update: Looks like they do offer the sources for what they have to but that the vast majority of the UI is proprietary. See: http://www.telikin.com/open_source.php. Looking at the directories they have (http://repo.telikin.com/source/misc/), it appears they use LibreOffice code among other things.

Playing with a budget 7" Android Tablet

|

Nextbook 2Nextbook 2I'm visiting my parents in the city of my youth... and it just so happens that my mother has a 7" Android tablet. She has had it for a while but hasn't used it. It was given to her by my younger brother. My mother is 74 and as you would expect, not very good with technology... so she has asked me to figure out how to use it and to write her up some instructions. Ok, I'll give it a try.

To some degree, I too have been written off by the current generation as too old and set in my ways. In August I'll be turning 48 and I have to admit, and as anyone who knows me can attest, I have been somewhat unfriendly to much of the newer technology in the last few years. Should this really be a surprise? I mean, I use Linux, right? I don't have a smart phone... I don't regularly carry a cell phone... and I'm not fond of tablet computing. I have written a little bit about tablets in the past and to me they are primarily freedom restrictive devices.

Red Hat Enterprise Linux 6.3 is out

| | |

Just noticed I have a ton of updates for a few RHEL 6 boxes... and to me that indicates there is a new update release. So I logged into Red Hat Network and sure enough RHEL 6.3 has been released. I like finding out about it early in the morning and downloading it before everyone else has noticed.

With CentOS and Scientific Linux both pretty adept in rebuilding 6 now, I'd expect new releases from both within 6 weeks or less. Scientific Linux might be at a disadvantage because they lost one of their main guys but they have replaced him. CentOS on the other hand recently announced that some company was sponsoring two CentOS developers so they could work full-time on CentOS. Who will win?

I haven't had a chance to check out the release notes yet but I will soon. I'm hoping a lot of the KVM, libvirt, and virt-manager stuff that has been in Fedora for a while will have filtered back to this update.

Update: July 9th, 2012 - CentOS 6.3 is syncing to the mirrors today so it has won.


Opinion: Red Hat and Fedora pay to secure boot?

I've seen a few articles today railing against Red Hat for their support of Fedora buying a key from Microsoft / Verisign so that in the future, Fedora will be able to boot on hardware certified for Windows 8 without having to dig into the BIOS to turn off secure boot. Some of them were just unhappy that an executive from Red Hat spoke about the situation in a somewhat positive fashion rather than being all pissed. Others are unhappy at the very idea that somehow their freedoms have been trampled on.

The issue isn't whether or not secure booting is the silver bullet for security issues... of course it isn't. Security is a multi-layer thing... and generally speaking, the more layers, the better.

The issue isn't that the key thingies cost a fortune, they don't. If I understand correctly, it's about $99 per Fedora release. That's $198 a year.

The issue is that everyone is pissed because this involves Microsoft... and Red Hat is seen as somehow giving in to Microsoft. Red Hat isn't giving in to Microsoft any more than they gave in to Akamai Technologies Inc when they bought an SSL certificate for www.redhat.com... or when they gave in to GeoTrust when they bought an SSL cert for the fedoraproject.org website. In each case a work around is available but they are just trying to spare users and customers a little bit of hassle. That's all.

Of course I'm a Red Hat fan boi, so what do you expect from me? Any questions?


Red Hat using Containers?

|

I like to do some walking on Sundays. Walking is what us older people do for exercise. When I walk, I like to listen to audiocasts. One of the programs I've been listening to with some regularity is FLOSS Weekly and the program this week was about OpenShift.

OpenShift is a Platform as a Service (Paas) product that is, as you would expect, built on top of Linux. What is PaaS? System Admins / DevOps are constantly deploying web-based applications. They all use a web server, a database, a scripting language / runtime environment, etc. PaaS automates most of the common tasks needed so you don't have to do the same thing over and over... and can concentrate more on your application.

OpenShift has been available for awhile now as a developer preview service run by Red Hat on top of Amazon Web Services (AWS). Supposedly the current level of service will always be free but they plan to charge for higher levels.

A few weeks ago they released OpenShift as open source project (OpenShift Origin) with an Apache license and no code contributer agreement needed.

Turns out that they have various combinations of things available such as several databases to pick from, several scripting languages, etc. Those things are called "cartridges". Some of the cartridges they have are:

Databases: MySQL, PostgreSQL, and mogoDB
Language runtimes: Node.js, Perl, PHP, Python, Ruby, and Java / JBoss
Frameworks: CodeIgniter, CakePHP, Ruby on Rails, Django, Perl Dancer, Flask, Sinatra, Tornado

Need a libary of web-applications to pick from? OpenSift has "quick-starts" which are pre-packaged web-applications. Included are such things as WordPress, phpMyAdmin and Jenkins.

Another concept they have is a "gear". A gear is really an LXC container. Why they needed to create a new term (gear) rather than just calling it a container, I don't know. So it appears that Red Hat is using Linux native containers (LXC) in a product now... so I hope they'll get more into containers... since I'm a big container (mostly OpenVZ) fan. Dependong on how heavy a particular cartridge is, it may or may not be deployed inside its own gear. They easily fit serveral dozens to a hundred or more gears on each cloud-based virtual machine. While Red Hat runs their service on top of AWS, users are free to create their own setups on top of whatever virtualization platform they want.

OpenShift is written in Ruby but also uses some shell scripts for cartridge and gear operations. What OpenShift does could probably be mimiced with containers that use a large set of OS / Application Templates but the unique feature that makes OpenSift stand out is that it uses git for deployment.

If any of this interests you, check out either the FLOSS Weekly audio version or the video. Unfortunately, they only seem to support patent encumbered codecs.


How To: Download Children's Programs in a free format from YouTube

It seems a lot of children's educational shows have been posted to YouTube. It isn't up to me to decide if them being there is a violation of someone's trademarks or copyrights. If they are there, I can use youtube-dl to download them.

Want "Magic School Bus" season 1? Many distros provide a package named youtube-dl. I went to wikipedia and looked up the Magic School Bus episode titles for season 1 and then I searched for those on YouTube. Then I made a text file and put in the URLs like so:

youtube-dl -f 43 -t 'http://www.youtube.com/watch?v=oBp68rhT_Sg'
youtube-dl -f 43 -t 'http://www.youtube.com/watch?v=hkqSapSsLvc'
youtube-dl -f 43 -t 'http://www.youtube.com/watch?v=BeV7BtP18N8'
youtube-dl -f 43 -t 'http://www.youtube.com/watch?v=2tCXnvTnzZc'
youtube-dl -f 43 -t 'http://www.youtube.com/watch?v=gaf59CuWFuQ'
youtube-dl -f 43 -t 'http://www.youtube.com/watch?v=0Z91RU4wBm8'
youtube-dl -f 43 -t 'http://www.youtube.com/watch?v=idEEIXsqPYA'
youtube-dl -f 43 -t 'http://www.youtube.com/watch?v=DmuMh0FavfE'
youtube-dl -f 43 -t 'http://www.youtube.com/watch?v=0mIxsGlNhhc'
youtube-dl -f 43 -t 'http://www.youtube.com/watch?v=670eR6_UOFA'
youtube-dl -f 43 -t 'http://www.youtube.com/watch?v=MOKB6B6ROZE'
youtube-dl -f 43 -t 'http://www.youtube.com/watch?v=Ta34lJ_G54A'
youtube-dl -f 43 -t 'http://www.youtube.com/watch?v=dFV5Y9ljyBg'

Don't forget to chmod 755 that text file and then you can run it from the commandline. I hope you have some disk space. Each episode is about 130 MB or so. You'll get the webm flavor. Most everything on YouTube is available in several flavors including webm.

I haven't looked for all of the other episodes yet but will soon. You can also find a lot of episodes of PBS' Arthur show. My 6 year old really likes that one.

The quality of these videos is not really that great when played back on a computer monitor with high resolution or an HD TV... but playing them on my Nintendo Wii (with Homebrew's WiiMC application over a samba share) on a standard def. TV, they look just as good as anything else. We do not yet own an HD TV.

youtube-dl is a fantastic program and it can even download complete YouTube channels and/or playlists.


Review: LinuxFest Northwest 2012

|

The end of April... is LinuxFest Northwest time in Bellingham, Washington. This was my 6th year attending and it was their 12th annual conference. As usual, I took my camcorder along and recorded all of the presentations I attended.

Unlike last year, where I was all by myself, this year I was lucky enough to have three other Montanans with me - Gary Bummer from the BozemanLUG, Warren Sanders and Andrew Niemantsverdreit from the BillingsLUG.

We all carpooled with Warren driving and for that I thank him.

Program Guide (PDF)

Continue reading for the complete review.

Videos: LFNW2012 ownCloud Part 2

| |

Michael Gapczynski's ownCloud - Your Cloud, Your Data, Your Way

This was the second part of a two presentation series. I missed the first part so make of this what you will. Michael primarily talks about the PHP programming interfaces to ownCloud.

Direct link, right-click save as:
LFNW2012-ownCloud-Michael_Gapczynski.webm (159.5MB)

Syndicate content