Highlighted
rgb99 Outstanding Contributor.
Outstanding Contributor.
9684 views

Add Linux Client w/o Local Install First?

Hi.  I'd like to know how to install agents on a Linux client only via the installation server, instead of a local install and then importing.  Is it even possible?

 

DP 6.21

 

[Critical] <ip_addr> Could not connect to the remote client.
Connection attempts with the rexec and rcp commands failed...

 

What needs to be done on the client to allow a remote installation to complete sucessfully?  I saw a site like http://www.unixmen.com/install-data-protector-client-in-linux/, but are these really necessary?

 

Thanks.

Tags (3)
0 Likes
7 Replies
Knowledge Partner Knowledge Partner
Knowledge Partner

Re: Add Linux Client w/o Local Install First?

One time action for a Linux IS:

- RPM based distribution listed in the support matrix

- make sure xinetd is installed and port 5555 is not listed in the /etc/services, the name resolution should work with DNS

- I recommend disabling SELinux and iptables

- install IS packages using omnisetup.sh -IS

- install DP patches if required

- import IS into cell

- modify /opt/omni/.omnirc to allow ssh based installations

- run ssh-keygen -t rsa to generate a public/private key pair

 

Requirements for the Linux client:

- make sure xinetd is installed and port 5555 is not listed in the /etc/services, the name resolution should work with DNS

- I recommend disabling SELinux and iptables

- perform a secure key exchange from the IS to the client via ssh-copy-id -i /root/.ssh/<key>.pub root@client.domain / enter root password and add to known hosts

- perform the client installation via the GUI from the Linux IS / push at least the DA component

 

Regards,

Sebastian

---
Please use the Like button below, if you find this post useful.
0 Likes
ranjithpk Honored Contributor.
Honored Contributor.

Re: Add Linux Client w/o Local Install First?

Adding a linux client from an IS ,please follow below steps.

1.please install rsh-server rpm package on your linux client.

2.enable rsh,rexec,rsync service (chkconfig rexec on)

3.check /etc/services to see anyone using 5555 ports,normally in linux replay service will be using it,you can comment out this service in that file,if you are using.Otherwise use another port for DP ( see the dp doc).

4.check ipfilter stopped or in securetty file you have rexec service enabled.

5.restart xinetd service.

   service xeinted restart.

 

Now try adding the client.it will WORK!!

Regards,
Ranjith
0 Likes
Knowledge Partner Knowledge Partner
Knowledge Partner

Re: Add Linux Client w/o Local Install First?

I usually do not recommend using rsh since it is nearly obsolete on most platforms and a potential security risk. The ssh approach is more state of the art.

Regards,
Sebastian
---
Please use the Like button below, if you find this post useful.
0 Likes
rgb99 Outstanding Contributor.
Outstanding Contributor.

Re: Add Linux Client w/o Local Install First?

Thank you both for the input.  I will have to work with the Linux guys and see if this can be implemented.  Currently they have install the client first and do a few more things before I can import it and then upgrade the components.  I'd rather just push out the client from the beginning.  Either way, some prep work will need to be done beforehand on the Linux server.

0 Likes
Knowledge Partner Knowledge Partner
Knowledge Partner

Re: Add Linux Client w/o Local Install First?

Depending on how you deploy servers (e.g. kickstart or autoyast) you can have them to implement the prerequisites with the server deployment.

Regards,
Sebastian
---
Please use the Like button below, if you find this post useful.
0 Likes
sabri_senol Absent Member.
Absent Member.

Re: Add Linux Client w/o Local Install First?

I come across following fail:

Connection attempts with the rexec and rcp commands failed

I applied those steps and it solved my problem.

My client is Aix

cd /etc

vi inetd.conf

I removed the comment mark  "#" the following row.

exec    stream  tcp6    nowait  root    /usr/sbin/rexecd        rexecd 

Then run that command:  refresh -s inetd

 

0 Likes
Absent Member.. danielbraun Absent Member..
Absent Member..

Re: Add Linux Client w/o Local Install First?

Hi,

 

so as your problem has been solved and you are able to do push installation to your AIX clients, you need to know when installing patches on AIX it might happen that /etc/services is overwritten and the "personal-agent" is enabled again (and at the end of the file Data Protector port is listed). So this in general is no problem, as the backup will run, but next time when you need to update your AIX client it will tells you the port 5555 is in use and the update cannot be done... In this case have a look at /etc/services and disable personal-agent again.

 

Best regards

Daniel

-----------
Please assign Kudos - How to assign...
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.