- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to support more than 8 characters for hostname...
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
Forums
Discussions
Discussions
Discussions
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
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
10-25-2001 07:27 AM
10-25-2001 07:27 AM
How to support more than 8 characters for hostname in HP-UX 11.0
I haven't tried it. I don't know if it's supported or not. If supported, how to make the change?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 07:56 AM
10-25-2001 07:56 AM
Re: How to support more than 8 characters for hostname in HP-UX 11.0
And say you'll use kiliman as your "short" hostname.
Try this ... (it seems to work with 10.20)
1) Edit /etc/rc.config.d/netconf and put ..
NODENAME="kiliman"
2) Edit /etc/hosts
3) If DNS is enable, you might want to change /etc/nsswitch.conf to use /etc/hosts before resolving the hostname with DNS.
4) Edit /var/adm/inetd.sec and use IP addr of kilimanjaro instead of hostname.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 08:56 AM
10-25-2001 08:56 AM
Re: How to support more than 8 characters for hostname in HP-UX 11.0
It will work and not. If you have long name you are going to face lots of trouble.
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 09:12 AM
10-25-2001 09:12 AM
Re: How to support more than 8 characters for hostname in HP-UX 11.0
HOSTNAME=mylongcomputername
NODENAME=myname
(this is loosely documented in /sbin/init.d/hostname)
Be sure to use the alias feature in /etc/hosts as previously mentioned, and also update your DNS server (if you use one) with the short and long names. As mentioned, using a long hostname can create occasional problems in some programs that assume 8 character maximum names.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2001 11:43 AM
10-29-2001 11:43 AM
Re: How to support more than 8 characters for hostname in HP-UX 11.0
It's said in HP-UX 11i Version 1.5 Reference Volume 1 that there is a file under
I am sure this only affects the hostname, not the uname. But there is another file name uname.h and has similar configurable parameters. If I change both of them and apply it(just rebuild the kernel?), will it work well?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2001 12:01 PM
10-29-2001 12:01 PM
Re: How to support more than 8 characters for hostname in HP-UX 11.0
There is no telling what the consequences of that could be.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2001 12:09 PM
10-29-2001 12:09 PM
Re: How to support more than 8 characters for hostname in HP-UX 11.0
Now can we modify UTSLEN to more than 9?... I don't try and I advise others not to try as we don't know the consequences.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2001 01:19 PM
10-29-2001 01:19 PM
Re: How to support more than 8 characters for hostname in HP-UX 11.0
But as mentioned, the hostname, which is associated with the IP address, is not constrained to 8 characters. For compatibility, place at least 2 entries in /etc/hosts: uname (8 chars max) and hostname (long) plus additional aliases such as a Fully Quylaified Domain Name (FQDN).
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2001 02:24 PM
10-29-2001 02:24 PM
Re: How to support more than 8 characters for hostname in HP-UX 11.0
Take a look at the thread below for more info.
http://us-support.external.hp.com/cki/bin/doc.pl/sid=5579400a108cf8c23d/screen=ckiDisplayDocument?docId=200000056960991
hope this helps.
thanks