Archive for February, 2010

Installing OpenSAF

February 25, 2010

I did an installation in Ubuntu of OpenSAF Rel 4.0.M4 and these are my notes:

URL: http://download.opensaf.org/releases/opensaf-4.0.0.tar.gz

Prerequisites:

These are common packages that must be installed to build OpenSAF:
On Ubuntu:
apt-get -y install libxml2-dev flex bison build-essential libtool autoconf automake sqlite3

net-snmp-5.4 — optional

URL: http://net-snmp.sourceforge.net/download.html
wget http://voxel.dl.sourceforge.net/project/net-snmp/net-snmp/5.4.2.1/net-snmp-5.4.2.1.tar.gz

Prerequisites

apt-get -y install libperl-dev

Installation:

./configure; make; make install

Xerces C++ version 2.7.0 (edit — possibly unnecessary for OpenSAF 4.0 release):

(Note: please use only this version, the later versions is not working with this OpenSAF release).
URL: http://xml.apache.org/xerces-c/

prereq:

apt-get -y install autoconf

Installation:

wget http://archive.apache.org/dist/xml/xerces-c/Xerces-C_2_7_0/source/xerces-c-src_2_7_0.tar.gz
export XERCESCROOT={Where you detarred it}
cd $XERCESCROOT/src/xercesc
autoconf
./runConfigure -plinux -cgcc -xg++ -minmem -nsocket -tnative -rpthread
make; make install

TIPC:

You need to get the tipc config tools that match the tipc .ko provided with your kernel
Ubuntu: sudo apt-get install tipcutils
From Source:
wget http://downloads.sourceforge.net/project/tipc/tipc-linux-extras/tipc-utils-1.0.4/tipcutils-1.0.4.tar.gz?use_mirror=iweb
URL: http://tipc.sourceforge.net/download.html

OpenHPI:

URL: http://openhpi.org/
apt-get -y install openhpi libopenhpi-dev

prereq:

apt-get -y install libglib2.0-dev
apt-get -y install libltdl-dev
apt-get -y install e2fslibs-dev
apt-get -y install uuid-dev

Install

wget http://superb-sea2.dl.sourceforge.net/project/openhpi/openhpi-stable/2.14.1/openhpi-2.14.1.tar.gz

./configure;make;make install

TETWARE (edit: possibly optional for OpenSAF 4.0.0)

Download:

wget http://tetworks.opengroup.org/tet/tet3.7a-unsup.src.tar.gz
mkdir tet
cd tet; tar xvfz ../tet*.gz

Installation:

export TET_ROOT=`pwd`; export PATH=$PATH:$TET_ROOT/bin
sh ./configure -t lite; cd src; make install

Building OpenSAF:

Installation

./configure; make; make install

Advertisements

What is this?

February 24, 2010

This blog will be a place where I chronicle my experiences and discoveries about OpenSAF.  I hope that this will help others who are using the software, as I have found that there is very little searchable information on the web.  OpenSAF is an implementation of the Service Availability Forum’s High Availability and middleware specification.  You can find more info about it at http://www.saforum.org, and find out about OpenSAF at http://www.opensaf.org.