wiki:PNFS.InstallationNotesOnOpenSolaris_Install
Last modified 14 years ago Last modified on 08/29/07 11:34:05

Installing the pnfs BFU Files on OpenSolaris

The opensolaris community recommend installing Solaris Express, Community Edition.

Please follow this initial steps. If not there might be problems after including the bfu files, which will not
allow you log on correct. So it is also helpful -in my case - to backup the /etc/hosts file.
Because this file was modified during the installation process.

So lets get started:

If you want to use the vmware image of SUN's OpenSolaris go to the following website:

http://developers.sun.com/solaris/downloads/solaris_apps/index.jsp#vmware

Here you can download the Solaris Express Developer Edition 2/07 !

First download things that are needed:

http://www.genunix.org/mirror/SUNWonbld-*.i386.tar.bz2

Archive contains Solaris package of bfu which gets installed to /opt/onbld

Then you have to download the pre-build archives of pnfs:

http://www.opensolaris.org/os/project/nfsv41/downloads/

Download the right file for your architecture:
on-pnfs-draft10-onnv66-20070625.i386.tar.bz2
on-pnfs-draft10-onnv66-20070625.sparc.tar.bz2

BFU: Blindingly Fast Update or Bonwick/Faulkner? Update (or sometimes called as Big F* Update) which is a set of cpio archives that directly installs contents of cpio to without UPDATING package database. So it will break pkg environment and you can't and shouldn't use patch* or pkg* commands because you get LOTS of mismatched md5sums

Now let's start:

1) bzip2 -cd SUNWonbld-*.i386.tar.bz2 |tar -xf -
2) cd onbld/
3) pkgadd -d . SUNWonbld (This package installs to /opt/onbld)
4) export PATH="/opt/onbld/bin:/opt/onbld/bin/`uname -p`:$PATH" (Do this with bash shell) /opt/onbld/bin contains scripts
5) which bfu (Be sure that you have done things right)
6) bzip2 -cd on-pnfs-draft10-onnv66-20070625.i386.tar.bz2 |tar -xf -
7) cd /archives-nightly-open/i386
8) ls -l


-bash-3.00# cd /archives-nightly-open/i386
-bash-3.00# ls -l
insgesamt 278088
-rw-r--r-- 1 boettche it 67034 26. Jun 01:50 conflict_resolution.gz
-rw-r--r-- 1 boettche it 68580500 26. Jun 01:50 generic.kernel
-rw-r--r-- 1 boettche it 24663996 26. Jun 01:50 generic.lib
-rw-r--r-- 1 boettche it 5029860 26. Jun 01:50 generic.root
-rw-r--r-- 1 boettche it 1310720 26. Jun 01:50 generic.sbin
-rw-r--r-- 1 boettche it 175434976 26. Jun 01:50 generic.usr
-rw-r--r-- 1 boettche it 2641920 26. Jun 01:50 i86pc.boot
-rw-r--r-- 1 boettche it 5585920 26. Jun 01:50 i86pc.root
-rw-r--r-- 1 boettche it 1116160 26. Jun 01:50 i86pc.usr


9) export FASTFS="/opt/onbld/bin/i386/fastfs"
10) export GZIPBIN="/usr/bin/gzip"
11) export BFULD="/opt/onbld/bin/uname -p/bfuld"
12) bfu /archives-nightly-open/i386
Be sure that this path is an absolute path. This depends on where you have extractet your bfu files. For example: If you had extract the archives in /tmp then you should execute the following: bfu /tmp/archives-nightly-open/i386

13) Should run automotic conflict resolution, acr before install

As you scroll up to the output of bfu you can see lots of conflict

bfu# pwd
/bfu.conflicts
bfu# /opt/onbld/bin/acr

See /tmp/acr.C*/allresults for more information.

NOTE: In /tmp/acr.C*/allresults all RETURN CODE's should be 0
NOTE2: In / 3 BFU related directory generated

-) /bfu.child (Things that are backed up before install)
-) /bfu.parent (Things to install by BFU)
-) /bfu.conflicts (Contains conflicts)

Important Note: You should NOT do backward BFU

17) bfu# reboot ( You should run reboot or shutdown, not init...)

BFU installs debug version of the tools and programs and kernel

18) Upon reboot you should see bfu'ed word in Message of the Day (MOTD)

Something like that:

SunOS Release 5.11 Version 062007-pnfs-draft10-onnv66 32-bit
Copyright 1983-2007 Sun Microsystems, Inc. All rights reserved.

There are things that you may or sometimes should read:

References:

This paper is based on OpenSolaris Santa Clara User Group meeting held on
June 2005 which was given by Keith Wesolowski and Mike Kupfer. Video of this
meeting can be found http://www.genunix.org/osug/video/OSUG-June.avi

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Last modified Wed Mar 3 06:40:46 2021 by Björn Böttcher < bjoern.boettcher _AT_ desy.de>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-