cut and paste installation of server administrator for linux

jason andrade jason at dstc.edu.au
Tue Apr 16 20:05:01 CDT 2002


Hi,

I've taken the instructions and condensed them down into a 
cut and pasteable format to (hopefully) quickly install
SA 1.0 on a redhat linux 7.2 system with a custom kernel.

This has been tested to work for me, but i make no promises
of any kind - I'm sending it onto the list only in that
it might help some poor other busy admins to easily implement
it on a test box or whatever.. and see what its like.

Please do NOT use this if you don't know what you're doing
and please don't bug Dell about this script as it is totally
unsupported.

-jason


------------cut here--------------
#!/bin/sh

#
# script to install server administrator 1.0 under linux
#
# by jason andrade <jason at planetmirror.com> on
# Wed Apr 17 10:50:33 EST 2002

# version 1.0
#
# derived from work by steve boley, michael brown, matt domsch
# jacob and others at # dell - i have no idea exactly who, but
# they put a lot # of work in coming up with a working procedure
#
# i have assumed you are running a fully patched system as of the
# above date, including the latest versions # of ucd-snmp AND
# linux-kernel 2.4.9-31.  if you aren't # then please do so.

# create appropriate directories
cd /usr/src
mkdir -p dell/builld dell/dist
cd /usr/src/dell/dist

# fetch the files we need
wget -nv http://planetmirror.com/pub/dell/linux/server-administrator/server-administrator-1.0.tar.gz
wget -nv http://planetmirror.com/pub/dell/linux/server-administrator/Makefile.patch.txt
wget -nv http://planetmirror.com/pub/dell/linux/server-administrator/dellomsaesm.patch.txt
wget -nv http://planetmirror.com/pub/redhat/linux/7.2/en/os/i386/RedHat/RPMS/compat-libstdc++-6.2-2.9.0.16.i386.rpm

# start installing - this assumes we have patch already installed
rpm -ivh /usr/src/dell/dist/compat-libstdc++-6.2-2.9.0.16.i386.rpm

# unpack the files
cd ../build
tar xfz ../dist/server-administrator-1.0.tar.gz
cd /usr/src/dell/build/DOMNA01/sa451/linux
rpm -ivh dellomsa-4.51-3417.i386.rpm dellomsa-drivers-4.51-3417.i386.rpm ServerAdministrator-1.0-0.i386.rpm

# copy patch files into the appropriate places
cd /usr/src/dell/build
cp Makefile.patch.txt /usr/lib/dell/openmanage/omsa/drivers/open_src/Makefile.patch
cp dellomsaesm.patch.txt /usr/lib/dell/openmanage/omsa/dellomsaesm.patch

# for some reason the original docs are slightly wrong - you only need to run patch once
# for each file - ignore the failures.
cd /usr/lib/dell/openmanage/omsa/drivers/open_src
patch -p0 < Makefile.patch
cd /usr/lib/dell/openmanage/omsa
patch -p0 < dellomsaesm.patch

# the original docs are slightly wrong here too - this file already exists
# but it's unpatched/the wrong one, so lets link the right one in
cd /etc/init.d
mv dellomsaesm dellomsaesm.old
ln -s /usr/lib/dell/openmanage/omsa/dellomsaesm

# ok, now for the fun stuff
service dellomsa start

# i wish i knew why they need you to reinstall this - it installs perfectly
# without errors the first time.. but mine is not to question why if it works..
cd /usr/src/dell/build/DOMNA01/sa451/linux
rpm -ivh --force --nodeps dellomsa-drivers-4.51-3417.i386.rpm
cd /usr/lib/dell/openmanage/omsa/drivers/open_src
patch -p0 < Makefile.patch
cd /usr/lib/dell/openmanage/omsa
patch -p0 < dellomsaesm.patch
service dellomsa start
cd /usr/src/dell/build/DOMNA01
./start_text.sh
service dellomsa restart

# you can now test this by going to your favourite browser and plugging in
# https://machine.name:1311/
# don't forget you might need to configure ipchains to allow access
# i recommend you do this manually and put it in the right section.. and
# for sanity, only allow specific hosts or networks to access it.
# echo '-A input -s 0/0 -d 0/0 1311 -p tcp -y -j ACCEPT' >> /etc/sysconfig/ipchains
# /etc/rc3.d/S08ipchains start
------------cut here--------------




More information about the Linux-PowerEdge mailing list