Erling Ringen Elvsrud wrote:
Hello list,

Installation of the CA-unicenter agents used to monitor my servers fails if
HOSTNAME is set to FQDN in /etc/sysconfig/network.

This is due to a limitation in CA. According to the CA-documentation the

_I_ would start by bugging CA, citing the relevant RFC (which allows much longer host names, as I recall).

hostname can be maximum 26 characters long, but in my case the
hostnames can exceed 35 characters!

The RHEL Deployment guide (system -> documentation -> deployment
guide) says this about HOSTNAME:

"HOSTNAME=<value>, where <value> should be the Fully Qualified Domain
Name (FQDN) such as hostname.example.com, but can be whatever hostname
is necessary."

I can solve this problem by changing HOSTNAME in /etc/sysconfig/network to
HOSTNAME=hostname

and adding in /etc/hosts
192.168.1.10   hostname.example.com hostname

Then the installation of the CA-agents can be performed sucessfully.

Do you know if the RH practice of storing the fqdn in HOSTNAME is
common practice and sensible? or is it better to use only the hostname
in HOSTNAME and add the fqdn to /etc/hosts?

_I_ do neither, I set the IP address by dchp and the client sets its hostname from DNS.

The exception is servers running DHCP where the hostname is set, fully qualified, in /etc/sysconfig/network.

/etc/hosts does not scale well, I always have BIND on my servers and sometimes on my laptops.

--

Cheers
John

-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to