Aug 252010

Network card aggregation with Linux RHEL 5.x, (also called port bounding). It mean the merging of two network card into one single virtual (bond0) card. This is non exhaustive information, a mini how-to. for more detail see this link.

Aug 122010

Let’s review how to configure network interface on Solaris 10 (x86 version or sparc). Specifically here I want to do on my network interfaces.

  1. First, I would like to aggregate two network interfaces so it will become one. More bandwidth will be available and a fail-over will be in place.
  2. Second, I want to add virtual interfaces so I would have IP address dedicated to some services (examples: several web servers, a NFS server, a Samba server, DNS, Sendmail, …).

May 282010

Here is a start-up script for a flexlm license based software.

Using the start option the script will call itself only to start the daemon as a limited right user called flexlm, it will (switch users) with su. While the startsu will simply start it as the actual current user.

May 272010

Have you seen this error:   ” libc.so.1: version SUNW_1.22 not found ” ?  Yes, then I may have a better solution then a migration…

Apr 232010

This post discusses how to duplicate Solaris 10 boot environment (BE) and how it is possible to Apply the recommended patches (10_Recommended.zip) on that duplicated inactive boot environment. So called “Applying Solaris 10 recommended patches to inactive boot environment”.

Apr 162010

Here is how to compile or, compiling Samba on Solaris 10. This was tested done on SUN SPARC architecture.

“Samba 3.5.1 or 3.5.2 does not compile on Solaris 10…”, yes it does! Read this on how I did it. If are trying to compile 3.5 or  3.5.1 or 3.5.2 or 3.5.3 on Solaris 10 and it stops on “Linking shared library bin/libtalloc.so.2″ this is why…

Compiling Samba on Solaris 10 is sometime not that easy but yes it is possible. You could either try it with gnu gcc or with sun studio C compiler. I prefer to do it with gnu gcc since it should be more compatible with autoconf, autogen, and it’s what everyone uses. In several cases I have seen the problem often occurs with ld. Which ld do we use? Is it gnu ld or Solaris provided ld?

Mar 242010

Following my previous blog about “Creating Raid5 under Linux RHEL5.4 using md, lvm and ext4 filesystem.”

I will add some information on how to test if the raid actually does work well. Here is how I did it.

Mar 102010

Here is all the information you will need to create a Raid-5 under Linux with an to create an ext4 partition using LVM or not. I will also add all the commands to create a Volume Group (LVM).

More information: I should first mention that I use a RHEL 5.4 like distribution. RHEL 5.4 means “Red Hat Enterprise Linux 5.4” it can also be “Scientific Linux 5.4” or “CentOS 5.4” since both those Linux distributions are the exact same to RHEL, only they are recompiled from its freely available source. RHEL is not free since you need to paid for license and/or support while the other two are free. Per Linux license Red Hat has to make their source available. It was also successfully tested on RHEL 5.5

Plain and simple you will first need to select a computer add several disks of your choice. I used 1.5TB SATA-3 drive speeding at 300 MB/s. I installed them in a Dell T610 server which has hot swappable disk bracket on the front.

Dec 152009

This post will display a working configuration file that we used to create a Samba PDC (Primary Domain Controller) to authenticate on a Unix base system all users working on Windows workstations (Windows 7, Vista, XP). It was installed and tested on a Solaris 9 and a Solaris 10 server.

Dec 082009

When I first use Email encryptor (originally written by Jim Tucek’s) I was so happy to have find a way to block spam bot with some encryption. Then it was taken down (see story by Dan Appleman), so it left us and many developers high and dry – especially when we needed to add new Email addresses to existing sites. It took a bit of research, and found the same thing was redone by Dan Appelman.