Sun Cluster, HAStoragePlus and VxFS fsck

It turns out that when you have a decent number of VxFS file systems, there is a particularly nasty bug that can jump out and bite you in the *.

It turns out that Sun Cluster wants the vfstab entries for these file systems to be listed as being in the first fsck pass. This particular bug is Bug ID 6572900. Note that the bug description says that this fix does not work for all sites. Fortunately, the workaround seems to be working here.

This bug report is a good example of what I hate to see in bug reports from vendors (not just Sun). The status on the bug is reported as "fix delivered" (presumably the above workaround, since I don't see any patches), but the bug report notes that the workaround doesn't work for all sites. If customers are still having the problem, I don't see how we can claim that a fix has been delivered.

--Scott

Enclosure Based Naming and Sun Cluster

As I posted previously, we are working on getting our Sun Cluster installation running. We had originally hoped to use ZFS for this project, which would have made deployment much easier. Unfortunately, the risks associated with the bug discussed in my ZFS Difficulties post are just too high to allow us to deploy it for production use at this time.

Instead, we are moving to Veritas Volume Manager and File System (VxVM and VxFS) for control of the data directories and shared storage.

We hit a hitch associated with Enclosure Based Naming. It turns out that if your storage drivers return devices in a format including the WWN, Enclosure-Based Naming is mandatory. Since the names are assigned based on some obscure, secret algorithm, you are virtually guaranteed that the different systems in your cluster will have different Enclosure Based Names associated with them.

Sun Cluster, on the other hand, insists that all of your devices be named the same way on all systems in the cluster.

Fortunately, Sun Infodoc 215296 describes how to resolve this impasse for VxVM 4.1+.

First, boot the node that you will be fixing in non-cluster mode. You can do this with a
boot -x
command. Make sure that no disk groups are imported from the shared storage before proceeding.

The /etc/vx/disk.info file contains a mapping from the WWN-based device names (that you see in OS-based commands like format) to the Enclosure Based Names. You can edit this file directly, changing only the numerical part of the Enclosure Based Name that does not match between the different servers.

After making this change, and before you reboot, run the following command to re-configure the storage:
vxconfigd -k
(Note that volumes and disk groups will freak out at this point if you have them imported on the system, since they see the disks being migrated to a "different" location. You really want to have deported the disk groups before you start, or else you may find yourself doing plex recovery.)

You can verify that the changes took effect properly by running
vxdisk -e list
and matching up the disk names to your reference configuration.

Good luck!

--Scott

Ubuntu Hardy Heron - 8.04 LTS Desktop and Server Edition Released

The next major release of Ubuntu has taken place. The new name being Hardy Heron. It is released as a Long Term Support (LTS) version. Ubuntu 8.04 LTS Desktop edition is supported till year 2011 (3 year support) and the server version is supported till 2013 (5 year support).

Some of the features that will be big draw for any Linux enthusiast are as follows :
  • Wubi Windows Installer - This allows any Windows user to install Ubuntu on their hard disk without any partitioning what so ever and run it from a folder in the 'C:\' drive. It allows you to install and uninstall Ubuntu as any other Windows application, in a simple and safe way.
  • Enhanced security via SELinux
  • Integration with Microsoft Active Directory
  • Support for KVM out of the box. KVM, or kernel-based virtual machine, is a device driver and userspace component for Linux that utilizes hardware virtualization extensions such as Intel's VT to create virtual machines running on a Linux host.
You can read the main features of the Desktop edition of Ubuntu Hardy Heron here.

If you are as excited as I am in this new release, then choose a mirror close to your geographic location and start downloading this excellent Linux distribution. On the other hand, if you already have Ubuntu installed, you can also upgrade following the steps detailed here.

100 of the Best Open Source Applications

The following is a list of about 100 of the best open source applications, that actually help make Linux more usable for people. This list aims to show potential Linux users that there is really a pile of large, effective, productive and usable range of free, Open Source applications. This list tends to lean towards tools which are invaluable in web development related work.

Read the whole list of 100 open source applications. You will definitely find some very useful applications which you did not know existed.

ZFS Difficulties

We've been evaluating ZFS as a replacement for VxVM and VxFS in some of our production clusters. We encountered some difficulties.

ZFS has supported our development environment for about a year now, and we have enjoyed the flexibility and feature set of ZFS--especially the snapshot management and the ease of volume management. The performance, however, has left something to be desired. We had hoped to demonstrate that we could get adequate performance on ZFS by being more aggressive with tuning.

During the initial testing, we did not use ZFS mirroring or RAIDZ, though we did separate the Oracle log and temp files into separate pools as suggested in the ZFS Best Practices Guide, and we did tweak several tuning parameters as suggested in the ZFS Evil Tuning Guide.

We were able to get performance that met our requirements, but we experienced a much more serious problem when our test system blew a CPU. One of our pools became corrupted, which resulted in a panicked server. This was unexpected; we had isolated our test environment on a non-global zone and used dataset to delegate the zpool administration to the zone. We had expected a corrupted zpool to cause problems that were isolated to the zone, not to cause problems to the entire server.

This server was part of a nascent Sun Cluster configuration that we were also testing; the failover server attempted to import the zpool and promptly panicked. Investigation with zdb -lv revealed that the metadata had become corrupted as a result of the processor failure and resulting panic. We opened a call with Sun, and I posted message with the details to the ZFS Discuss list.

The upshot is that Solaris 10u5 and earlier do not have a way to prevent a panic on zpool corruption. Nevada allows you to specify how the OS will react to zpool corruption, but this will not be brought forward to Solaris 10 until update 6.

We could have reduced the likelihood of zpool metadata corruption by having more than one zdev in each pool (allowing the metadata replicas to have copies on different zdevs). Sun tells us that this would have narrowed the window in which we could have corrupted the metadata, but that the problem itself will not be fixed until update 6 later this year.

Until we get this problem resolved, I don't see being able to use ZFS in a critical production environment. If you have any light to shine on any of these issues, please post a comment here or on the ZFS Discuss list.

--Scott

Update on Book Project

I'm in the process of re-writing a couple of the chapters, which is going slower than I would like. It is getting closer to finished. If you send me your email address, I will let you know when the book is released.

The 7 Habits of Highly Effective People who are Linux Users

I once read a book called "7 Habits of Highly Effective People" by Stephen Covey which explains the qualities that a person has to imbibe to be highly successful in life. It is a great book which provides inspiration to people to act and make positive changes in their lives.

Guess what, Rami Taibah has compiled a set of 7 habits that Linux users can use to be highly effective which makes a great read. The list goes as follows :
  1. Never login as root - This is redundant if you are using a Linux distribution such as Ubuntu which uses sudo to elevate a user temporarily to super user mode. Nevertheless a valid point.
  2. Properly name your files - I usually stick with that but even if you have spaces in the names of your files, bash completion helps you in getting the names of the files right.
  3. Place /home in its own partition - I concur with that wholeheartedly. Read this article to know more about partitions.
  4. Proper crash management - Use xkill and the likes to close a misbehaving application.
  5. Try out multiple distributions - You have got a whole lot of them to choose from.
  6. Brush up your command line skills - Learn to use command line tools to accomplish complex tasks. It is a big time saver. Don't forget to pick up some bash scripting skills on the way.
  7. And finally, always be ready to unleash the power within - in other words experiment.

HP 2133 sub-notebook powered by Linux

When Asus rolled out the eeePC, it received rave reviews. Now it is the turn of HP to jump into the sub-notebook market. HP has unveiled a laptop with 8.9" high resolution WXGA display, 92% full size QWERTY keyboard and touch pad. It comes with an optional solid state drive, weighs just 1.19 KG and is just 1.05 inches thick.



HP 2133 Sub Notebook Specification
  • VIA C7-M ULV processor
  • 512 - 1 GB 667 MHz DDR2 SDRAM
  • 120 - 160 GB SATA hard drive
  • USB 2.0 ports - 2 Nos
  • VGA External monitor port
  • Audio in/ Microphone Jack
  • Audio out/ Headphone Jack
  • Express Card 54 Slot
  • SD Card slot
  • RJ-45 network jack
  • 1 AC Power connector
  • Kensington Lock slot
  • VGA webcam (Optional)
  • Stereo speakers and
  • Stereo microphones and
  • is wireless enabled
It's all aluminium case makes it sleek, sturdy and lightweight. HP has targeted this sub-notebook at the education segment namely the students and it will compete directly with other sub-notebooks such as Asus eeePC. The HP 2133's price starts at US $499.


A video of HP 2133 Sub-Notebook - Courtesy: Notebook.com


But the one thing which excites me the most is that HP sells this sub-notebook with SuSE Linux Enterprise Desktop 10 as an option.

Xavier has written an indepth review of this eye catching notebook with plenty of pictures to supplement his narration.

Adobe AIR for Linux - An Overview

If you had anything to do with software development, you may be familiar with the saying - "Develop once and run on any platform". This quote was made popular by Sun Microsystems when it created the Java language. Any application developed using Java can be compiled on any platform and made to run on any other platform without any recompilation. In other words Java applications are OS and architecture independent as long as there is a Java runtime environment (or JRE) installed on the targeted platform in which you decide to run the application.

When I first read about Adobe AIR, the one thing that struck me was its similarity with JRE. But if you negate the "compile once run anywhere" aspect, there is little in common between Adobe AIR and Java (JRE). Adobe AIR is a runtime environment which allows rich internet applications developed using HTML, JavaScript, Flash or Flex to be deployed on the client machines and to run them seamlessly.

The advantage for the end user is that he can install and run an AIR application irrespective of the type of OS he uses as long as he has Adobe AIR installed on his machine.

Two weeks back, Adobe released a version of Adobe AIR for Linux. While this is cause for much rejoicing, the package is still in alpha stage and is not feature complete. More over, there are a few prerequisites in installing Linux version of AIR, them being :

Fig: Adobe AIR installation setup for Linux

Fig: Installing an AIR application
  • Officially, it can be installed only on the following Linux distributions : Red Hat Enterprise Linux, SuSE and Ubuntu. But since Ubuntu is derived from Debian, I presume, Debian users can also install it on their machine (I haven't checked). And so should numerous other Linux distributions derived from Debian.
  • AIR currently supports only Gnome or KDE desktop environments.
  • Only RPM and Debian package management systems are supported.
  • There is support for transparency in AIR applications but you have to enable Compiz or equivalent compositing window managers.
I was able to install Adobe AIR on my machine running Ubuntu Gutsy and it was a seamless process. The runtime installer is a binary file for which I had to give executable privileges. Double clicking on it started the installation process. Once it was finished, I was able to install AIR applications on Linux in the same way you install software on Windows. AIR application setups all have a '.air' extension and they are owned by Adobe AIR. You can also uninstall the application by running the installer again. In Ubuntu, the AIR applications are installed in the /opt directory by default though you can provide an alternate path too.

Fig: An RSS reader AIR application running on Ubuntu

Adobe AIR for Linux alpha will expire on March 1st 2009 but a final Linux version of AIR which is at par with the ones on Windows and Mac can be expected some time in the second half of this year.

Linux version of Adobe AIR does not run all AIR applications yet. A list of AIR applications which are known to run on Linux can be found here.

Best Movies - My pick

This article is a continuation of the movies that I have enjoyed watching. The movies listed here are every bit worth watching and value for your money spent.

Bolt (2008)


Bolt MovieBolt, an American White Shepherd, has lived his whole life on the set of his action TV show, where he believes he has superpowers. When separated from the studio by accident, he meets a female alley cat named Mittens and a hamster named Rhino. Along the way, he learns that he doesn't have superpowers and that the show is not real.

A fun animation movie from Walt Disney for the whole family to watch and enjoy. The dialogs are at times, exceptional. Even though it is an animation movie, the scenery and special effects are vivid and enthralling. The voice of Bolt has been imparted by none other than Hollywood actor John Travolta.

Watch Bolt

Genere: Adventure, Comedy
Cast: John Travolta, Miley Cyrus, Susie Essman, Mark Walton, Malcolm McDowell

KungFu Panda (2008)


KungFu PandaA CG-animated comedy about a lazy, irreverent slacker panda named Po, who is mad about KungFu - the ancient art of martial combact. Po must somehow become a Kung Fu Master in order to save the Valley of Peace from a villainous snow leopard, Tai Lung. Set in the legendary world of ancient China, this is the story of Po, our unlikely hero, who enters the rigid world of Kung Fu and turning it upside down. Po ultimately becomes a Kung Fu hero by learning that if he believes in himself, he can do anything.

Watch KungFu Panda

Genres: Martial Arts, Children's/Family, Family-Oriented Comedy
Cast: Jack Black, Dustin Hoffman, Angelina Jolie, Ian McShane, Seth Rogen

Harold & Kumar go to White Castle (2004)


Harold and Kumar go to White CastleHarold Lee and Kumar Patel are second-generation Americans of Oriental and Asian descent respectively. While Harold is employed as a Stock Analyst, Kumar is a medical student. Harold is the neat and clean person while Kumar is the exact opposite.The title characters, while stoned on a Friday night crave for some burgers from White Castle, that too after seeing a TV advertisement. So from here, follows a journey for the burgers they require. On their way they encounter many obstacles including a raccoon, a racist officer, and a horny Neil Patrick Harris.

Watch Harold and Kumar go to White Castle

Very funny movie to say the least. You will love this movie.

Best selling Movies of all times

These are some of the movies I have enjoyed watching. The movies listed here are exceptional in many ways and your money is well spent watching it. I have provided a brief synopsis of the story line for each movie and my reasons for liking it. So read on ...

Shawshank Redemption (1994)


Shawshank Redemption MovieAndy Dufresne is a young and successful banker whose life changes drastically when he is convicted and sentenced to life imprisonment for the murder of his wife and her lover. Set in the 1940's, the film shows how Andy, with the help of his friend Red, the prison entrepreneur, masterminds an escape from captivity; in the process corrupting the very same prison officers who are in charge of the prison.

Shawshank Redemption is a must see film.

The acting is exceptionally original. The story is genuine and captivates the audience till the end. One of the best English movies I have ever seen. If you are looking for an entertaining evening with your family, this is the one movie to pick assuming you haven't seen it before. Imdb.com gives it a high rating of 9.1/10.

The Dark Knight (2008)


The Dark Knight MovieIn The Dark Knight, Christian Bale returns as Bruce Wayne, the billionaire playboy who moonlights as Batman. In this movie, Batman raises the stakes in his war on crime. With the help of Lieutenant Jim Gordon and District Attorney Harvey Dent, Batman sets out to dismantle the remaining criminal organizations that plague the city streets. The partnership proves to be effective, but they soon find themselves prey to a reign of chaos unleashed by a rising criminal mastermind known to the terrified citizens of Gotham as The Joker.

Anyone who likes reading comic books will enjoy watching Dark Knight. This batman movie is chock full of action and crime. But what sets it apart from the other comic book movies is the wonderful narration, magnificent acting, and beautifully shot scenes. This movie ranks amongst one of the best films released in 2008.

Star Wars (1977-2005)


Star Wars Trilogy MovieStar Wars is an epic space opera franchise conceived by George Lucas. The entire story spans 6 films including 3 sequels and 3 prequels. Ironically, the sequels preceded the prequels. If you want to enjoy the story, you should watch the films in the following order - The Phantom Menace, Attack of the Clones, Revenge of the Sith,A New Hope,The Empire Strikes Back and Return of the Jedi.

One of the best things about Star Wars are its special effects. Since the story happens in a galaxy far far away, every thing depicted is out of this earth - Alien life forms, vehicles that defy gravity, ships that move faster than light and what not. Truly captivating, and a feast for your senses.

Ratatouille (2007)


Ratatouille MovieIn Ratatouille movie, a rat named Remy dreams of becoming a great French chef despite his family's wishes and the obvious problem of being a rat in a decidedly rodent-phobic profession. When fate places Remy in the sewers of Paris, he finds himself ideally situated beneath a restaurant made famous by his culinary hero, Auguste Gusteau. Despite the apparent dangers of being an unlikely - and certainly unwanted - visitor in the kitchen of a fine French restaurant, Remy's passion for cooking soon sets into motion a hilarious and exciting rat race that turns the culinary world of Paris upside down.

This is a really nice movie and I thoroughly enjoyed it. An animation movie, it also has a simple but inspirational message for everyone - that is, not everyone can become a great artist. But a great artist can come from anywhere. Ratatouille is a product of Pixar Animation Studios which has given us such classics as Cars, Toy Story yet all.

Tip : Quickly open special locations in Nautilus

It is really amazing that in many ways than one, it is the open source software developers who are in the forefront of innovation the most. If you ask me, one reason may be because they listen to the end users more than any proprietary software developers. Secondly, the open source programmers are not tied down by the bureaucratic hurdles that weigh down on their closed source counterparts. But in my opinion, the most pertinent reason is that creating open source software is purely a labour of love - a love of coding and creating something of real value to themselves and to others.

Take Nautilus file manager for instance, it has a plethora of hooks built in which allow a user to navigate to different locations by just typing in a name. For example, to get network locations, you type in network:/// in the location bar of nautilus.

There are a number of such shortcuts which allow an end user to navigate to different locations with ease. Shankar has compiled a set of nautilus shortcuts which throw light on the in-built versatility of Nautilus.

 
 
 
 
Copyright © Sun solaris admin