Search This Blog

Friday, 11 July 2014

Installing Data Protector cell manager on a minimal-install Redhat 7 / Centos 7



This is more of a note to myself, but if you do a "minimal" install of RedHat or Centos, you will be missing a number of important packages.

Here's what I do to fix this, before running omnisetup.sh

echo 'PATH=$PATH:/opt/omni/bin:/opt/omni/sbin:/opt/omni/lbin' \
        > /etc/profile.d/omni.sh
chmod +x /etc/profile.d/omni.sh
. /etc/profile.d/omni.sh

useradd -m hpdp
yum install net-tools bc xinetd glibc.i686 
yum install bind-utils psmisc mlocate telnet
     ;# not really necessary, but so useful...

mkdir -p /etc/opt/omni/server
chmod a+rx /etc/opt/omni/server

Then edit  /etc/man_db.conf and add the following two lines in the appropriate stanzas.
 MANPATH_MAP /opt/omni/bin /opt/omni/lib/man
 MANDB_MAP /opt/omni/lib/man /var/cache/man/omni

You probably won't need a firewall on your Data Protector cell manager. In any case, the installer doesn't add exceptions to the firewalling rules like it does on Windows, so the cell manager can't import itself or start properly.

systemctl stop firewalld
systemctl disable firewalld

Now you can run
  omnisetup.sh -CM -IS -install da,ma,cc,StoreOnceSoftware,autodr

Greg Baker is an independent consultant who happens to do a lot of work on HP DataProtector. He is the author of the only published book on HP Data Protector (http://x.ifost.org.au/dp-book). He works with HP and HP partner companies to solve the hardest big-data problems (especially around backup). See more at IFOST's DataProtector pages at http://www.ifost.org.au/dataprotector