<?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: Hostname query in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-query/m-p/3645980#M239840</link>
    <description>&lt;BR /&gt; I need to know where does the system look for the hostname locally if it is not hooked up onto the network and DNS is not available.&lt;BR /&gt;&lt;BR /&gt; I would have thought it reads /etc/hosts file locally to pick up the hostname but obviously in this instance its not working, so where else it looks for the hostname locally???</description>
    <pubDate>Mon, 10 Oct 2005 19:40:53 GMT</pubDate>
    <dc:creator>Becke</dc:creator>
    <dc:date>2005-10-10T19:40:53Z</dc:date>
    <item>
      <title>Hostname query</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-query/m-p/3645977#M239837</link>
      <description>&lt;BR /&gt; Hello Guys,&lt;BR /&gt;&lt;BR /&gt; I'm in the middle of cloning the HP-UX machine, I have copied across the /etc/hosts file to test machine, but when I typed in command 'hostname' it still shows me an old hostname instead of reading the new one from the /etc/hosts file.&lt;BR /&gt;&lt;BR /&gt; Could you please advise which other file I need to look at in order to change the host name successfully, obviously I don't want to change it through SAM as I'm cloning the machine.&lt;BR /&gt;&lt;BR /&gt; Thanks in Advance......</description>
      <pubDate>Mon, 10 Oct 2005 19:15:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-query/m-p/3645977#M239837</guid>
      <dc:creator>Becke</dc:creator>
      <dc:date>2005-10-10T19:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Hostname query</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-query/m-p/3645978#M239838</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I refer you to run 'set_parms' command :&lt;BR /&gt;&lt;BR /&gt;to change the hostname :&lt;BR /&gt;# set_parms hostname&lt;BR /&gt;&lt;BR /&gt;OR for entire initial boot-time dialog sequence :&lt;BR /&gt;&lt;BR /&gt;# set_parms initial&lt;BR /&gt;&lt;BR /&gt;For more details about the command :&lt;BR /&gt;&lt;BR /&gt;# man set_parms&lt;BR /&gt;&lt;BR /&gt;Hope this information can help you.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;AW</description>
      <pubDate>Mon, 10 Oct 2005 19:32:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-query/m-p/3645978#M239838</guid>
      <dc:creator>Adisuria Wangsadinata_1</dc:creator>
      <dc:date>2005-10-10T19:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Hostname query</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-query/m-p/3645979#M239839</link>
      <description>Hi AW,&lt;BR /&gt; &lt;BR /&gt;Thank you very much for your prompt response, I'm running HP verseion 10.01 and because I'm cloning the machine for DR purposes that is why I don't want to change the hostname manually through 'set_parms' or SAM. I need to know which other file I'll have to copy in order to get the hostname right.&lt;BR /&gt;&lt;BR /&gt; I have already copied /etc/hosts file but the machine doesn't read this file to display the new hostname.&lt;BR /&gt;&lt;BR /&gt; Please advise and thanks again...</description>
      <pubDate>Mon, 10 Oct 2005 19:37:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-query/m-p/3645979#M239839</guid>
      <dc:creator>Becke</dc:creator>
      <dc:date>2005-10-10T19:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Hostname query</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-query/m-p/3645980#M239840</link>
      <description>&lt;BR /&gt; I need to know where does the system look for the hostname locally if it is not hooked up onto the network and DNS is not available.&lt;BR /&gt;&lt;BR /&gt; I would have thought it reads /etc/hosts file locally to pick up the hostname but obviously in this instance its not working, so where else it looks for the hostname locally???</description>
      <pubDate>Mon, 10 Oct 2005 19:40:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-query/m-p/3645980#M239840</guid>
      <dc:creator>Becke</dc:creator>
      <dc:date>2005-10-10T19:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Hostname query</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-query/m-p/3645981#M239841</link>
      <description>Hi Farhan,&lt;BR /&gt;&lt;BR /&gt;Please check the /etc/rc.config.d/netconf.&lt;BR /&gt;&lt;BR /&gt;Actually 'set_parms hostname' just to change the necessary information thru system files on your system. So you dont need to worry that this command will change other information.&lt;BR /&gt;&lt;BR /&gt;Hope this information can help you.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;AW</description>
      <pubDate>Mon, 10 Oct 2005 19:55:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-query/m-p/3645981#M239841</guid>
      <dc:creator>Adisuria Wangsadinata_1</dc:creator>
      <dc:date>2005-10-10T19:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Hostname query</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-query/m-p/3645982#M239842</link>
      <description>&lt;BR /&gt; Thanks a lot for your help mate, I will now dump '/etc/rc.config.d/netconf' file from the backup tape. I will then run a hostname command and see if it displays the new hostname...I will let you know soon about this....&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Raf</description>
      <pubDate>Mon, 10 Oct 2005 20:22:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-query/m-p/3645982#M239842</guid>
      <dc:creator>Becke</dc:creator>
      <dc:date>2005-10-10T20:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Hostname query</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-query/m-p/3645983#M239843</link>
      <description>It will not read the hostname from the netconf file until you reboot or do a '/sbin/init.d/net stop' and then a '/sbin/init.d/net start'.</description>
      <pubDate>Mon, 10 Oct 2005 21:22:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-query/m-p/3645983#M239843</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-10-10T21:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: Hostname query</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-query/m-p/3645984#M239844</link>
      <description>&lt;BR /&gt; Thanks Patrick for your help, I have just used the set_parms command to change the system's hostname and ip address, as I'm cloning HP-UX version 10.01 server onto a machine which is running HP-UX 10.20, I'm performing a DR exercise and there are issues cloning the operating system due to different hardware and software level, and I'm now manually restoring OS files to recover the 10.01 machine...&lt;BR /&gt;&lt;BR /&gt; This is a bit of hassel as my expertise is AIX, but I have learned a lot from you guys in HP...We have a fantastic team here....&lt;BR /&gt;My problem is resolved now....&lt;BR /&gt;I will now assign points...&lt;BR /&gt; Thank you very much guys...&lt;BR /&gt; Raf&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Oct 2005 22:15:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-query/m-p/3645984#M239844</guid>
      <dc:creator>Becke</dc:creator>
      <dc:date>2005-10-10T22:15:57Z</dc:date>
    </item>
  </channel>
</rss>

