<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: long Machine Name in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/long-machine-name/m-p/3455711#M564337</link>
    <description>My experience has been that for practical matters, you just DON'T want to have long hostnames.  Things start to NOT WORK, like for example swinstall -s verylonghostname:/depot just completely breaks down.&lt;BR /&gt;&lt;BR /&gt;I NEVER do it.</description>
    <pubDate>Thu, 06 Jan 2005 08:12:20 GMT</pubDate>
    <dc:creator>Stuart Abramson</dc:creator>
    <dc:date>2005-01-06T08:12:20Z</dc:date>
    <item>
      <title>long Machine Name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/long-machine-name/m-p/3455708#M564334</link>
      <description>Dear All&lt;BR /&gt;i am having a very long mahine HPUX 11.11 name like abcdefghijk, i find my machine only named with 8 charcters of this name, i need to be able to use this long name, what files shall i change the name in it ???&lt;BR /&gt;i already did the hosts file with the Ip and the correct name (long one)i need, also the netconf file is configured with correct hostname i need to use (long one) can someone tell me how to do this ?&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 05 Jan 2005 05:44:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/long-machine-name/m-p/3455708#M564334</guid>
      <dc:creator>Ahmed_41</dc:creator>
      <dc:date>2005-01-05T05:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: long Machine Name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/long-machine-name/m-p/3455709#M564335</link>
      <description>hi,&lt;BR /&gt;the maximum length of a hostname is determined by MAXHOSTNAMELEN in /usr/include/sys/param.h. The default (on HPUX 11.11 ) is 64.&lt;BR /&gt;see the following links.it may solve your problem.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=364972" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=364972&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=301546" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=301546&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;regds,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Jan 2005 05:57:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/long-machine-name/m-p/3455709#M564335</guid>
      <dc:creator>bhavin asokan</dc:creator>
      <dc:date>2005-01-05T05:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: long Machine Name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/long-machine-name/m-p/3455710#M564336</link>
      <description>There are two names for a Unix system Look at the man page for hostname and you'll see that uname is the UUCP name while hostname is used for modern TCP/IP networking. HP-UX is a standards-based system and uname must remain consistent with the standards. uname is defined as an 8-character (max) name as stated in the man page for hostname. Once a standard is changed, all sorts of problems with compatibility start showing up (can you say Windows?). Each man page documents the applicable standard(s) at the bottom.&lt;BR /&gt;&lt;BR /&gt;Now hostname is limited to 64 characters but nodename (the value reported by uname) is limited to 8 characters. BOTH can be set by editing the /etc/rc.conig.d/netconf file and entering separate values for HOSTNAME and NODENAME:&lt;BR /&gt; &lt;BR /&gt;HOSTNAME=max8char&lt;BR /&gt;NODENAME=maximum64characternames&lt;BR /&gt; &lt;BR /&gt;The NODENAME value is what is used for LAN connections. If only HOSTNAME exists then NODENAME is set to HOSTNAME.</description>
      <pubDate>Wed, 05 Jan 2005 08:19:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/long-machine-name/m-p/3455710#M564336</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-01-05T08:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: long Machine Name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/long-machine-name/m-p/3455711#M564337</link>
      <description>My experience has been that for practical matters, you just DON'T want to have long hostnames.  Things start to NOT WORK, like for example swinstall -s verylonghostname:/depot just completely breaks down.&lt;BR /&gt;&lt;BR /&gt;I NEVER do it.</description>
      <pubDate>Thu, 06 Jan 2005 08:12:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/long-machine-name/m-p/3455711#M564337</guid>
      <dc:creator>Stuart Abramson</dc:creator>
      <dc:date>2005-01-06T08:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: long Machine Name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/long-machine-name/m-p/3455712#M564338</link>
      <description>See this recent post:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=780354" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=780354&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;As I mention there, alias the long name in DNS, but keep the real hostname at 8 characters.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Thu, 06 Jan 2005 09:02:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/long-machine-name/m-p/3455712#M564338</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-01-06T09:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: long Machine Name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/long-machine-name/m-p/3455713#M564339</link>
      <description>OOPS...big correction. I reversed the names for HOSTNAME and NODENAME. It should read as follows:&lt;BR /&gt; &lt;BR /&gt;&amp;gt; NODENAME=max8char&lt;BR /&gt;&amp;gt; HOSTNAME=maximum64characternames&lt;BR /&gt;&lt;BR /&gt;&amp;gt;The HOSTNAME value is what is used for LAN connections. If only HOSTNAME exists then NODENAME is set to HOSTNAME.&lt;BR /&gt; &lt;BR /&gt;So the hostname command can return a long name while uname -n will show the value of NODENAME from the startup script. Some sysadmins will set HOSTNAME to a fully qualified domain name (ie, bigfoot.sasquatch.net) which works for most environments but can break some scripts...and the startup script actually removes everything to the right starting with the first dot:&lt;BR /&gt; &lt;BR /&gt;&amp;gt; uname -S ${HOSTNAME%%.*}</description>
      <pubDate>Thu, 06 Jan 2005 13:02:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/long-machine-name/m-p/3455713#M564339</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-01-06T13:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: long Machine Name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/long-machine-name/m-p/3455714#M564340</link>
      <description>Don't forget about the scripts you are going to write or want to run. &lt;BR /&gt;&lt;BR /&gt;My experience has been that long hostnames create more confusion and forgetfulness.&lt;BR /&gt;(What was the name of that system that has 64 characters in its name?)</description>
      <pubDate>Thu, 06 Jan 2005 13:27:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/long-machine-name/m-p/3455714#M564340</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-01-06T13:27:10Z</dc:date>
    </item>
  </channel>
</rss>

