HP Insight Control for Linux 6.2 User Guide

Corrective actionsCause/Symptom
The following actions fix this issue:
Configure a DNS resolver on the network in question.
On the managed system, modify the /etc/hosts file
to include both the CMS and the managed system. The
entry for each must contain a fully qualified name and
a short alias. It is not necessary that the name is a real
registered domain name because the network has no
name resolution.
For example, if the CMS is at IP address 192.0.2.1 and
the managed node is at IP address 192.0.2.10, add two
lines that look like this:
192.0.2.1 saturn.example.com saturn
192.0.2.10 terra.example.com terra
Edit the /etc/ssh/sshd_config file to modify the
configuration of the sshd server to turn off name
resolution, as follows:
UseDNS no
Turning off name resolution on the sshd server fixes
only the SSH connection delay; it does not fix the
hostname -s delay.
SSH delays on SLES managed systems on networks
without name resolution
You might encounter extended delays when trying to use
SSH to access a SLES managed system on a network that
does not have DNS name resolution configured or does
not have a well populated /etc/hosts file.
Such a configuration might exist if your managed nodes
are on an internal private network, which is typical for
many high performance computing applications.
Automatic fix for Insight Control for Linux installations
To eliminate this delay whenever you use Insight Control
for Linux to install a Linux OS on a server, do the
following:
1. Create a master /etc/hosts file for your private
network that contains all servers on your internal
network as described previously in this section.
2. Store the master /etc/hosts file in the Insight
Control for Linux repository and use /opt/
repository/hosts.txt as the file name.
3. Modify the AutoYaST file for the installation by adding
a line similar to the following after the line with the
%%agentinstall%% statement:
wget 192.0.2.1:60000/hosts.txt -O
/etc/hosts
In place of 192.0.2.1:60000, substitute the actual
IP address of your CMS and the repository web server
port.
This entry automatically copies your master /etc/
hosts file from the CMS as part of the installation
procedure.
256 Troubleshooting