First BrandZ installation

BrandZ is a framework that extends the Solaris Zones infrastructure to create Branded Zones, which are zones that contain non-native operating environments. The term “non-native” is intentionally vague, as the infrastructure allows for the creation of a wide range of operating environments.

In my case, I would like to replace an old Linux server running some piece of commercial code. We requested an estimation of costs to port it to Solaris… Glups! No way 😉

BrandZ can help me… The software will run in a Linux branded zone on a powerful server. Let’s test.

The first step is done!

# uname -a
SunOS delta 5.11 brandz_release.35_2006-03-13 i86pc i386 i86pc


[2006/04/12]
Ok, the Linux zone is now up’n’running!

# zoneadm list -iv
  ID NAME             STATUS         PATH                           BRAND
   0 global           running        /                              native
   1 delta-lx         running        /d0/zones/delta-lx             lx

And now a login:

# zlogin delta-lx
[Connected to zone 'delta-lx' pts/3]
Welcome to your shiny new Linux zone.
        - The root password is 'root'.  Please change it immediately.
        - To enable networking goodness, see /etc/sysconfig/network.example.
        - This message is in /etc/motd.  Feel free to change it.
For anything more complicated, see:
        http://opensolaris.org/os/community/brandz/

You have mail.
-bash-2.05b# uname -a
Linux delta-lx 2.4.21 BrandX fake linux i686 i686 i386 GNU/Linux
-bash-2.05b#