Yesterday I finished the installation of a new Red Hat Enterprise Linux 5 (RHEL5) and I needed to install the Data Protector Disk Agent to backup its files. I have a Windows 2003 cell manager and a HP-UX install server that should help with the installation of the Data Protector software on UNIX/Linux/Solaris hosts… I’m quite a newbye on the topic but I was unable to install the disk agent using the HP-UX install server so here you will find instructions for the “always working” manual installation.
The first thing is to get the HP-UX PA-RISC install server CDs from HP website:if you do not have the original CDs you can get them as trial from here.
Now its time to install the Disk Agent on the server you need to backup; you need to install two packages that are not installed by default on the Red Hat Enterprise Linux 5: ncompress and xinetd. So, as root, execute the command:
# yum install ncompress xinetd
to get the needed packages installed.
Insert the first CD of the HP-UX PA-RISC install server on the optical drive of the server and mount it:
# mount /dev/hda /mnt
Now it is install time:
# cd /mnt/LOCAL_INSTALL
# ./omnisetup.sh
Answer all the questions the installer asks to you and finish the installation. In my installation the Data Protector agent was not correctly added to the xinetd configuration… look if you find the omni file in /etc/xinetd.d… if you do not find it create it with the following content:
service omni
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /opt/omni/lbin/inet
server_args = inet -log /var/opt/omni/log/inet.log
disable = no
}
and verify it is owned by root and with 644 permissions.
OK… we are at the end…
# /etc/init.d/xinetd restart
As suggested by fluffy on comment #1 now you have to check if the firewall (iptables) is actually active: if the firewall is switched on you have to permit the traffic from and to port 5555 to flow regularly.
# chkconfig –list | grep iptables
iptables 0:off 1:off 2:off 3:off 4:off 5:off 6:off
If you any on you need to modify the file /etc/sysconfig/iptables adding:
-A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 5555 -j ACCEPT
Now everything should be ok… let’s try if the Data Protector agent answers to port 5555:
# telnet localhost 5555
That’s all… if you encounter any problem leave a comment here… I’ll try to help you.
Leave a comment even if you have a smarter method… I am very glad to learn.

8 Comments
You also need to open the firewall for port 5555:
/etc/sysconfig/iptables – add:
-A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 5555 -j ACCEPT
Hi fluffy,
thank you for your suggestion… I have integrated your tip in the post.
Bye
Piero
The host being backed up (with the agent on there) also needs to be able to resolve the hostname of the cell manager;
If it cant the cell manager will report something like this:
[Critical] From: BDA-NET@
“host.example [/]” Time: 23/01/2009 3:36:08 PM
Cannot connect to Media Agent on system cellmanager.example, port 1070 (IPC Invalid Hostname or IP Address
System error: TRY_AGAIN
) => aborting.
[Critical] From: VBDA@host.example
“host.example [/]” Time: 23/01/2009 3:36:08 PM
Unexpected close reading NET message => aborting.
If you want a quick fix, add to the /etc/hosts
Also for RHEL4 i found that you would get an error
Feb 19 11:55:28 server xinetd[15797]: Port not specified and can’t find service: omni with getservbyname
Unless you define the service/port that the diskagent us using, so add the line
omni 5555/tcp # DATA-PROTECTOR
to the /etc/services file
Thanks! Very helpful.
I’ve tried the above procedure, but when I try to execute omnisetup.sh, I get “bash: ./omnisetup.sh: Permission denied”, even though I’m on as root.
Hi Rory,
can you post the result of the ‘ls -la’ of the directory in which you run ./omnisetup.sh?
Bye
Piero
I’m trying to install install DP6 client onto RHEL4.6 but my windows Cell Manager cannot import the client.
Name resolution is OK in both directions.
IP tables is off for the moment.
I can telnet port 5555 in both directions
Post a Comment