2010
02.16

Installing HP Data Protector Disk Agent on Linux

6 people like this post.
Share

The backup server (Cell Manager) runs on Windows, while the client is an x86-64 Red Hat Enterprise Linux 5.3 . Turns out that you’ll need the CD image labeled “Installation Server 2 of 2” – B6960-10020.iso – for HP-UX (?) IA-64 (??). Of course it took me a while to figure it out…

Head towards HP Data Protector v6.0 software depot, press “Receive for Trial”, select the stuff you’d like to download and fill in the form.

First (silly me!), I tried the obvious:

[root@lnxsrv01 ~]# mount -o loop "/mnt/temp/temp/HP Data Protector for Linux x86-64 - Installation Server - 1 of 2 B6960-10011.iso" /mnt/iso1
[root@lnxsrv01 ~]# cd /mnt/iso1/LOCAL_INSTALL/
[root@lnxsrv01 LOCAL_INSTALL]# ./omnisetup.sh -server bcksrv.domain.lan -install da
  No Data Protector/OmniBack software detected on the target system.

  Setup cannot continue, please insert the HP-UX installation CD (CD2)
  and run the installation script again, without options, it will continue.

Ok then, let’s try with the CD it’s suggesting:

[root@lnxsrv01 ~]# umount /mnt/iso1
[root@lnxsrv01 ~]# mount -o loop "/mnt/temp/temp/HP Data Protector for HP-UX IA-64 - Installation Server 2 of 2 B6960-10021.iso" /mnt/iso1
[root@lnxsrv01 ~]# cd /mnt/iso1/LOCAL_INSTALL/
[root@lnxsrv01 LOCAL_INSTALL]# ./omnisetup.sh -server bcksrv.domain.lan -install da

  The omnisetup.sh script didn't finish last time
  Client still has to be installed. (omnicf da)

  The omnisetup.sh script can now continue the unfinished installation
  or it can ignore the saved state and start a new one.
  If you choose to ignore, the script will erase the saved state
  and will process only the command line options
  Do you want to continue the unfinished installation? (Y/n)
 
  Resuming (using possible CLI options)...
 
  No Data Protector/OmniBack software detected on the target system.



  Packets going to be (re)installed: omnicf  da
 
  Unpacking selected packets from CD, please wait (5-10 minutes)...
  Unpacking complete!
 
  Installing Core (omnicf)...

./omni_rinst.sh: line 494: uncompress: command not found
64778 blocks
/
Data Protector Software package successfully installed
  Installing Disk Agent (da)...
    The packet file for this component does not exist
    Either it is not supported on this unix platform
    or some error occurred and the system cannot find
    the file /tmp/omni_tmp/packet.Z or installation
    is not started from appropriate CD
 
  Importing client to bcksrv.domain.lan...
[12:1625] Import host failed.
 
  Current state was saved.  Running the setup again without options
  will make the script to retry the failed operation
  Exiting...

Looks like something’s amiss. It seems that the “uncompress” error (judging on the install script source code) can be safely ignored (the script falls back on using gunzip), while the “Installing Disk Agent” error is bad. Some parts of the software have been installed correctly (telnet on agent’s TCP port 5555 works) but the Client can’t be imported on Cell Manager.

Let’s try with HP-UX CD 1:

[root@lnxsrv01 ~]# umount /mnt/iso1
[root@lnxsrv01 ~]# mount -o loop "/mnt/temp/temp/HP Data Protector for HP-UX IA-64 - Installation Server 1 of 2 B6960-10020.iso" /mnt/iso1/
[root@lnxsrv01 ~]# cd /mnt/iso1/LOCAL_INSTALL/
[root@lnxsrv01 LOCAL_INSTALL]# ./omnisetup.sh -server bcksrv.domain.lan -install da

  The omnisetup.sh script didn't finish last time
  Client still has to be installed. (omnicf da)

  The omnisetup.sh script can now continue the unfinished installation
  or it can ignore the saved state and start a new one.
  If you choose to ignore, the script will erase the saved state
  and will process only the command line options
  Do you want to continue the unfinished installation? (Y/n)

  Resuming (using possible CLI options)...


  Data Protector version A.06.00 found



  Packets going to be (re)installed: omnicf  da

  Unpacking selected packets from CD, please wait (5-10 minutes)...
  Unpacking complete!

  Installing Core (omnicf)...

./omni_rinst.sh: line 494: uncompress: command not found
64778 blocks
/
Data Protector Software package successfully installed
  Installing Disk Agent (da)...

./omni_rinst.sh: line 494: uncompress: command not found
Data Protector Software package successfully installed
  Importing client to bcksrv.domain.lan...
Import host successful.
 
  Installation/Upgrade session finished.

Ok, the Client is indeed visible on Cell Manager.
I guess that the three steps process I went through by “subsequent approximation” isn’t really necessary. You could have just as much luck by downloading B6960-10020.iso and running the installer…

Share