- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Hostname: simple or fqdn?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2002 10:36 PM
тАО09-11-2002 10:36 PM
Hostname: simple or fqdn?
not about to start a flame war, this is a serious question for me: it seems possible to
make the hostname of a system simple (like
'mike') and declare the domain /etc/resolv.conf with 'domain mydomain.com', or to make it a FQDN (like 'mike.mydomain.com') What are the pro's and cons of each?
Background: the systems I'm administrating
do a lot of name resolving outside their own domain, (openview monitoring a lot of systems ;-) ) and we are considering implementing a domain tree based on location ('interface.router.location.line.mydomain.com')
and type (alias 'router.type.brand.mydomain.com') to give the monitoring people more usefull information.
Sincerely,
Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2002 11:02 PM
тАО09-11-2002 11:02 PM
Re: Hostname: simple or fqdn?
in my opinion FQDNs are better if you use products like Network Node Manager or Omniback or something like that. They are very picky with name resolution and the recommanded way is to use FQDNs. To make it simple for your users you could use /etc/hosts file to write simple names as aliases behind FQDNs. Take care that name resolution uses DNS first and define FQDNs there only. ( nsswitch.conf file ).
Allways stay on the bright side of life!
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2002 11:31 PM
тАО09-11-2002 11:31 PM
Re: Hostname: simple or fqdn?
Reading through your question I assume that you want to set a FQDN as hostname (so that the FQDN is returned by hostname(1) and gethostname(2))?
This would be possible, but I would strongly discourage from that. Several application have massive problems with such a setup... one of them is MC/ServiceGuard.
Regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2002 11:44 PM
тАО09-11-2002 11:44 PM
Re: Hostname: simple or fqdn?
now that's what I call usefull information. You were right in your assumption about how I want to do it. But unfortunately you were also right about your second: we are using MC/Service Guard. :-( Any chance in an improvement in the near future? As I recall one of the competitors has a 'hostname' application that has a '-s' option that strips the domain part of the FQDN and returns just the simple hostname part.
Thanks for your reply.
Sincerely,
Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 12:52 AM
тАО09-12-2002 12:52 AM
Re: Hostname: simple or fqdn?
Ich just digged around... there are Change Requests for ServiceGuard addressing this issue, but there is no resolution yet.
The problem is that, if the hostname is full qualified, you always NEED to use it full qualified with all commands, especially with cmquerycl (see also the man page). Otherwise unexpected behaviour may be the result, e.g. a cluster start may fail with a configuration that was successfully created/checked with cmapplyconf.
So, ServiceGuard generally works, but does not check for wrong command usage.
Note, that there may be other apps making trouble.
Regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 04:56 AM
тАО09-12-2002 04:56 AM
Re: Hostname: simple or fqdn?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2002 03:42 AM
тАО09-13-2002 03:42 AM
Re: Hostname: simple or fqdn?
We have used fqdn for years with just a few problems, (No ServiceGuard & and changed files manually without SAM), but lately more problems have started showing up. The last one was that I couldn't get my Gigabit Ethernet interface to work until I went back to using a simple name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2002 10:42 AM
тАО09-27-2002 10:42 AM
Re: Hostname: simple or fqdn?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2002 10:46 AM
тАО09-27-2002 10:46 AM
Re: Hostname: simple or fqdn?
You're likely to break some SW using FQDN, but the opposite does not apply - you'll break nothing using simple.
My 2 cents,
Jeff