Re: DP8.1 Ipc invalid hostname or ip address (574 Views)
Reply
Frequent Visitor
Evo_BG
Posts: 5
Registered: ‎06-02-2014
Message 1 of 7 (686 Views)
Accepted Solution

DP8.1 Ipc invalid hostname or ip address

Hi, We have the following environment:

 

Cell manager - windows 2008 r2, running DP 8.1

Client - Linux Centos 6.5, with installed disk agent. 

 

The client was successfully imported into the cell. The issue is that when we try to expand its objects from "Backup Tab" the following error pop's up:

 

"ipc invalid hostname or ip address" - screenshot attached

 

Also when we try to start the backup it fails with the following error:

[Critical] From: BDA-NET@client3.domain.com "client3.domain.com [/CONFIGURATION]"  Time: 6/2/2014 12:25:02 AM  Cannot connect to Media Agent on system cellserver1.domain.com, port 56324 (IPC Invalid Hostname or IP Address) => aborting.

 

We have Successfull ping and telnet on port 5555, via IP and FQDN between the client and the cell.

 

Any assistance identifying the issue will be well appreciated. Thank you in advance!

HP Expert
Bob_Clark
Posts: 1,473
Registered: ‎08-14-2013
Message 2 of 7 (647 Views)

Re: DP8.1 Ipc invalid hostname or ip address

In the Error message, this is the key thing to look at

 

[Critical] From: BDA-NET@client3.domain.com "client3.domain.com [/CONFIGURATION]"  Time: 6/2/2014 12:25:02 AM  Cannot connect to Media Agent on system cellserver1.domain.com, port 56324 (IPC Invalid Hostname or IP Address) => aborting

 

For some reason, this p[ort is being blocked.  This has all the signs of trying to backup through a firewall.  After initial connection is made between teh Cell manager, Disk Agent and Media Agent using port 5555, then DP uses Dynamic Port Addressing to use whatever port is available, in ths case port 56324 was chosen

 

You have to create a firewall rule on the disk agent to allow a range of ports to be used for the backup, then you have to edit the file

 

Disk Agent (Linux)

   /opt/omni/.omnirc

Media Agent (Windows 2008)

   Program Data -> Omniback -> omnirc

 

and add the line

 

OB2PORTRANGE=[start]-[finish]

 

where "[start]-[finish]" represents the range of ports set by the firewall rule, so for example

 

OB2PORTRANGE=2000-2030

 

After saving the file, on Windows systems, DP INET service must be stopped and started

 

This must be done on BOTH the disk Agent and Media Agent

 

In the GUI, if you click on Help -> Help topics, and enter OB2PORTRANGE is the search string, there will be much more extensive discussions on this topic.  Also, if the DP 5.5 Admin Guide (the last version for which the Admin Guide was published)

 

http://support.openview.hp.com/selfsolve/document/KM532906?searchIdentifier=6deae444%3a1465323505c%3...   Chapter 13

 

The 'omnirc' file and Firewall support are als well-explained

Frequent Visitor
Evo_BG
Posts: 5
Registered: ‎06-02-2014
Message 3 of 7 (622 Views)

Re: DP8.1 Ipc invalid hostname or ip address

[ Edited ]

 

Hi Bob,

 

Thanks for your reply. Unfortunately the issue still persist:

 

What i did is :

 

 

1.The following configuration of iptables file were applied and saved after that:

 

*filter

:INPUT ACCEPT [942:170492]

:FORWARD ACCEPT [0:0]

:OUTPUT ACCEPT [312:91583]

-A INPUT -p tcp -m state --state NEW -m tcp --dport 5555 -j ACCEPT

-A INPUT -p tcp -m state --state NEW -m tcp --dport 40000 -j ACCEPT

-A INPUT -p tcp -m tcp --dport 40000:40020 -j ACCEPT

-A OUTPUT -p tcp -m state --state NEW -m tcp --sport 5555 -j ACCEPT

-A OUTPUT -p tcp -m state --state NEW -m tcp --sport 40000 -j ACCEPT

-A OUTPUT -p tcp -m tcp --dport 40000:40020 -j ACCEPT

COMMIT

 

2.Added following entry was added in omnirc file of the client and the host:

OB2PORTRANGE=40000-40020

The client started to use the defined ports, but still fails with the same error.

 

3.The client and the cell manager were rebooted.

 

 

It seems that there is an issue with the Firewall of the client, but even with the configuration mentioned above it 

 

 

HP Expert
Bob_Clark
Posts: 1,473
Registered: ‎08-14-2013
Message 4 of 7 (602 Views)

Re: DP8.1 Ipc invalid hostname or ip address

Did you implement the OB2PORTRANGE on BOTH the Disk Agent and Media Agent system?

Frequent Visitor
Evo_BG
Posts: 5
Registered: ‎06-02-2014
Message 5 of 7 (584 Views)

Re: DP8.1 Ipc invalid hostname or ip address

Yes

HP Expert
Bob_Clark
Posts: 1,473
Registered: ‎08-14-2013
Message 6 of 7 (582 Views)

Re: DP8.1 Ipc invalid hostname or ip address

Open a case, implementing OB2PORTRANGE on DA and MA is the usual soluton for this.  If that si not working, then the problem will need to be debugged

Frequent Visitor
Evo_BG
Posts: 5
Registered: ‎06-02-2014
Message 7 of 7 (574 Views)

Re: DP8.1 Ipc invalid hostname or ip address

Hello Bob, the issue was solved. The error appeared, because CentOS could not resolvse itself like windows. 

 

We just added an entry in /etc/hosts with its ip address and FQDN.

 

Anyway thank you for you help. 

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.