<?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: reboot vs. uname -S / hostname &amp;lt;hostname&amp;gt; and more in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot-vs-uname-s-hostname-lt-hostname-gt-and-more/m-p/3491499#M215005</link>
    <description>"... attach the PROD storage to the test system ..."&lt;BR /&gt; &lt;BR /&gt;If disaster striks on your PROD storage, you'll be left with two nice servers but without operational data.&lt;BR /&gt; &lt;BR /&gt;Well, on the other hand this solution gives an extra benefit to the test server.&lt;BR /&gt; &lt;BR /&gt;regards,&lt;BR /&gt;Thierry.&lt;BR /&gt;</description>
    <pubDate>Wed, 23 Feb 2005 05:50:33 GMT</pubDate>
    <dc:creator>Thierry Poels_1</dc:creator>
    <dc:date>2005-02-23T05:50:33Z</dc:date>
    <item>
      <title>reboot vs. uname -S / hostname &lt;hostname&gt; and more</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot-vs-uname-s-hostname-lt-hostname-gt-and-more/m-p/3491496#M215002</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm having an issue here that I'll try to explain briefly.&lt;BR /&gt;We have 2 nodes, 1 is production, 1 is test.&lt;BR /&gt;The systems are exactly similar (HW and SW).&lt;BR /&gt;OS is exactly similar (patches etc)&lt;BR /&gt;the customer didn't want to use serviceguard but wants a disaster recovery option. So they thought of the following:&lt;BR /&gt;use scripts to gather specific system info, user info (home dirs) etc. and ftp these every evening to the test system. Build scripts to install these files and attach the PROD storage to the test system.&lt;BR /&gt;When disaster strikes, prod is down, test will be altered to function as the prod system. hostname and ip address will be changed so that it looks like the prod system is up and running.&lt;BR /&gt;OK, you see what I'm facing here? Terrible solution but I'm stuck with it..&lt;BR /&gt;This all is working already (in test phase) but what i would like to know is.&lt;BR /&gt;Should I expect any problems when I don't reboot the test system and let it boot with a new hostname/ip-adres but use # uname -S &lt;HOSTNAME&gt; and # hostname &lt;HOSTNAME&gt; to alter the ... hostname? All apps will be down at this point but the system will be in runlevel 3.&lt;BR /&gt;Any idea's if this will create a problem?&lt;BR /&gt;Thanks in advance&lt;BR /&gt;&lt;BR /&gt;Emiel&lt;/HOSTNAME&gt;&lt;/HOSTNAME&gt;</description>
      <pubDate>Wed, 23 Feb 2005 05:15:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reboot-vs-uname-s-hostname-lt-hostname-gt-and-more/m-p/3491496#M215002</guid>
      <dc:creator>Emiel van Grinsven_1</dc:creator>
      <dc:date>2005-02-23T05:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: reboot vs. uname -S / hostname &lt;hostname&gt; and more</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot-vs-uname-s-hostname-lt-hostname-gt-and-more/m-p/3491497#M215003</link>
      <description>Dear Van,&lt;BR /&gt;&lt;BR /&gt;        You can't change the hostname just&lt;BR /&gt;by typing #hostname.  The #uname -s hostname&lt;BR /&gt;will always give you the HPUX the ver of OS you are running.&lt;BR /&gt;&lt;BR /&gt;         If your system i,e production and&lt;BR /&gt;test servers are working fine as the fault&lt;BR /&gt;redundance without any problem using your&lt;BR /&gt;customised script, you can check the same &lt;BR /&gt;at the test phase by removing network connection to the production server.&lt;BR /&gt;&lt;BR /&gt;    In this case your test server should get&lt;BR /&gt;alert to get activate with the new ip and &lt;BR /&gt;hostname. If this is not working everything&lt;BR /&gt;you have struggled or enjoyed to prepare &lt;BR /&gt;script will be waste and it will not be the&lt;BR /&gt;redundance server.&lt;BR /&gt;&lt;BR /&gt;Thanks and regards&lt;BR /&gt;&lt;BR /&gt;Techtricks</description>
      <pubDate>Wed, 23 Feb 2005 05:24:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reboot-vs-uname-s-hostname-lt-hostname-gt-and-more/m-p/3491497#M215003</guid>
      <dc:creator>Techtricks</dc:creator>
      <dc:date>2005-02-23T05:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: reboot vs. uname -S / hostname &lt;hostname&gt; and more</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot-vs-uname-s-hostname-lt-hostname-gt-and-more/m-p/3491498#M215004</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Actually, I tested with a system and after i changed the hostname and the uname the system replied in every case the new given name..&lt;BR /&gt;Sure that the unique ID will not be the same but I don't think this will be a problem.&lt;BR /&gt;What i'm wondering about mostly if something will stay in memory that refers to the old nodename and will give me a problem.</description>
      <pubDate>Wed, 23 Feb 2005 05:46:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reboot-vs-uname-s-hostname-lt-hostname-gt-and-more/m-p/3491498#M215004</guid>
      <dc:creator>Emiel van Grinsven_1</dc:creator>
      <dc:date>2005-02-23T05:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: reboot vs. uname -S / hostname &lt;hostname&gt; and more</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot-vs-uname-s-hostname-lt-hostname-gt-and-more/m-p/3491499#M215005</link>
      <description>"... attach the PROD storage to the test system ..."&lt;BR /&gt; &lt;BR /&gt;If disaster striks on your PROD storage, you'll be left with two nice servers but without operational data.&lt;BR /&gt; &lt;BR /&gt;Well, on the other hand this solution gives an extra benefit to the test server.&lt;BR /&gt; &lt;BR /&gt;regards,&lt;BR /&gt;Thierry.&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Feb 2005 05:50:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reboot-vs-uname-s-hostname-lt-hostname-gt-and-more/m-p/3491499#M215005</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2005-02-23T05:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: reboot vs. uname -S / hostname &lt;hostname&gt; and more</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot-vs-uname-s-hostname-lt-hostname-gt-and-more/m-p/3491500#M215006</link>
      <description>Dear Emiel,&lt;BR /&gt;&lt;BR /&gt;Check for the /etc/rc.config.d/netconf file&lt;BR /&gt;after changing the HOSTNAME, check for the&lt;BR /&gt;HOSTNAME entry. &lt;BR /&gt;&lt;BR /&gt;If it is reflecting the hostname in the conf&lt;BR /&gt;file, there is no such things to keep it in the memory for the hostname change.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Techtricks</description>
      <pubDate>Wed, 23 Feb 2005 05:52:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reboot-vs-uname-s-hostname-lt-hostname-gt-and-more/m-p/3491500#M215006</guid>
      <dc:creator>Techtricks</dc:creator>
      <dc:date>2005-02-23T05:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: reboot vs. uname -S / hostname &lt;hostname&gt; and more</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot-vs-uname-s-hostname-lt-hostname-gt-and-more/m-p/3491501#M215007</link>
      <description>About storage.&lt;BR /&gt;This is all on EMC symmetrics devided over 2 sites.&lt;BR /&gt;the 2 systems are about 10KM apart and on the site where the test system is, prod storage is available with a srdf mirror (read only)&lt;BR /&gt;When disaster strikes, the mirror will be altered so that the test site storage will become leading. I'm not that worried about the storage actually..&lt;BR /&gt;&lt;BR /&gt;netconf is not altered with uname or hostname, this is a manual action that we will perform when the hostname will be changed.&lt;BR /&gt;&lt;BR /&gt;Please understand that if it was my decision we would not use such a procedure that is waiting for something to go wrong but would use serviceguard.. but.. it's not my decision</description>
      <pubDate>Wed, 23 Feb 2005 06:02:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reboot-vs-uname-s-hostname-lt-hostname-gt-and-more/m-p/3491501#M215007</guid>
      <dc:creator>Emiel van Grinsven_1</dc:creator>
      <dc:date>2005-02-23T06:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: reboot vs. uname -S / hostname &lt;hostname&gt; and more</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot-vs-uname-s-hostname-lt-hostname-gt-and-more/m-p/3491502#M215008</link>
      <description>"... EMC symmetrics devided over 2 sites ..."  Now you're talking!! ;-)&lt;BR /&gt; &lt;BR /&gt;The nodename is generally not so important.  Users (applications) generally connect via the IP address.&lt;BR /&gt;If the application does not check on the nodename, I would only change the IP address.&lt;BR /&gt; &lt;BR /&gt;regards,&lt;BR /&gt;Thierry.</description>
      <pubDate>Wed, 23 Feb 2005 06:23:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reboot-vs-uname-s-hostname-lt-hostname-gt-and-more/m-p/3491502#M215008</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2005-02-23T06:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: reboot vs. uname -S / hostname &lt;hostname&gt; and more</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot-vs-uname-s-hostname-lt-hostname-gt-and-more/m-p/3491503#M215009</link>
      <description>the apps on this system get data from incomming ftp sessions that use the hostname...&lt;BR /&gt;we were just wondering if a reboot is needed or not to 'clean the system'.&lt;BR /&gt;If not, it will save us some time.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Feb 2005 06:30:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reboot-vs-uname-s-hostname-lt-hostname-gt-and-more/m-p/3491503#M215009</guid>
      <dc:creator>Emiel van Grinsven_1</dc:creator>
      <dc:date>2005-02-23T06:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: reboot vs. uname -S / hostname &lt;hostname&gt; and more</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot-vs-uname-s-hostname-lt-hostname-gt-and-more/m-p/3491504#M215010</link>
      <description>May I ask *why* they don't want Serviceguard? The only reason I can think of is that they're too cheap to pay for the S/W &amp;amp; licences, in which case I'll say:&lt;BR /&gt;a) you forked out for a Symmetrix, dust off your wallet!&lt;BR /&gt;b) compare the cost of Serviceguard to the cost of man-hours &amp;amp; downtime that this so-called "solution" will involve when (not if!) you have a disaster.&lt;BR /&gt;&lt;BR /&gt;Stepping down from my soapbox, I'll now say that although changing the hostname &amp;amp; IP address of a system can certainly be done, there is often some niggly little thing that is overlooked and bites you in the bum. So I suggest one of the following 2 alternatives, in order of preference:&lt;BR /&gt;1) keep your hostname &amp;amp; primary IP address for each server , but have a spare LAN card, and a name &amp;amp; IP address for the service that you're running. In case of disaster, configure the spare lan card with the address of the service, mount the EMC disks and away you go. This is basically what serviceguard does, without the bells &amp;amp; whistles.&lt;BR /&gt;2) In the event of disaster, take an Ignite tape from your production server and boot your test server from it.</description>
      <pubDate>Wed, 23 Feb 2005 06:34:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reboot-vs-uname-s-hostname-lt-hostname-gt-and-more/m-p/3491504#M215010</guid>
      <dc:creator>Gordon  Morrison</dc:creator>
      <dc:date>2005-02-23T06:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: reboot vs. uname -S / hostname &lt;hostname&gt; and more</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot-vs-uname-s-hostname-lt-hostname-gt-and-more/m-p/3491505#M215011</link>
      <description>guess you don't even want to hear that these systems are superdome partitions, fully loaded? (and almost unused)&lt;BR /&gt;Yeah, you're completely right that they're to cheap but there's nothing I can do about it more..&lt;BR /&gt;In the end it will cost more and it's much less fault tolerance. &lt;BR /&gt;we need the hostname for the ftp users who connect on hostname.&lt;BR /&gt;Ignite is an option but because of the HW it takes a long time to finish..&lt;BR /&gt;My biggest problem is that I was never consulted, it was simply put on my desk with the notification: "make it happen".&lt;BR /&gt;&lt;BR /&gt;Yep, they want it all. But enough about politics :)&lt;BR /&gt;&lt;BR /&gt;Are there any problems that cannot be overcome without a reboot?&lt;BR /&gt;Now I can still claim that a reboot is needed, if later after i claimed otherwise it shows that i was incorrect I'll have a problem.&lt;BR /&gt;In such situations it's important to make sure you can't be the one to blame... sad but true</description>
      <pubDate>Wed, 23 Feb 2005 06:43:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reboot-vs-uname-s-hostname-lt-hostname-gt-and-more/m-p/3491505#M215011</guid>
      <dc:creator>Emiel van Grinsven_1</dc:creator>
      <dc:date>2005-02-23T06:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: reboot vs. uname -S / hostname &lt;hostname&gt; and more</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot-vs-uname-s-hostname-lt-hostname-gt-and-more/m-p/3491506#M215012</link>
      <description>In Unixland, most things can be overcome without a reboot, but sometimes a reboot is quicker.&lt;BR /&gt;:o/&lt;BR /&gt;(Too bad you can't reboot your managers:o)&lt;BR /&gt;&lt;BR /&gt;Using the name of the service will work for telnet, as long as the service is associated with an IP address, even if that address "floats" between various servers (as long as your network is set up to allow it). Just make sure that the service name is defined in /etc/hosts on all relevant servers and in DNS, and make *VERY* sure that only one server is actively hosting that address at any one time.</description>
      <pubDate>Wed, 23 Feb 2005 06:54:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reboot-vs-uname-s-hostname-lt-hostname-gt-and-more/m-p/3491506#M215012</guid>
      <dc:creator>Gordon  Morrison</dc:creator>
      <dc:date>2005-02-23T06:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: reboot vs. uname -S / hostname &lt;hostname&gt; and more</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot-vs-uname-s-hostname-lt-hostname-gt-and-more/m-p/3491507#M215013</link>
      <description>yeah, that's another issue we have to overcome.&lt;BR /&gt;What if the original node will come up again?&lt;BR /&gt;We thought about it and since it's a manual action it can be halted or booted without networking but still.. you know that this always happens when some new guy has standby etcetera..&lt;BR /&gt;&lt;BR /&gt;the network is not an issue.&lt;BR /&gt;&lt;BR /&gt;in 2 weeks we have to test this whole procedure. I think we already overcome most of the potentional problems.&lt;BR /&gt;Thanks for the help!&lt;BR /&gt;&lt;BR /&gt;Emiel</description>
      <pubDate>Wed, 23 Feb 2005 07:07:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reboot-vs-uname-s-hostname-lt-hostname-gt-and-more/m-p/3491507#M215013</guid>
      <dc:creator>Emiel van Grinsven_1</dc:creator>
      <dc:date>2005-02-23T07:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: reboot vs. uname -S / hostname &lt;hostname&gt; and more</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot-vs-uname-s-hostname-lt-hostname-gt-and-more/m-p/3491508#M215014</link>
      <description>Hi Emiel,&lt;BR /&gt;Again, we're re-inventing the wheel here. This is more or less how Serviceguard does it:&lt;BR /&gt;&lt;BR /&gt;The "spare" lan card (i.e. the one that is used for the failover service) is NOT configured automatically, so if a machine reboots, that card will have no address. The card should be configured &amp;amp; activated in the startup script for the service, which also does NOT start automatically. It would also be a good idea to put a simple test in the startup script to see if the service is already running, say, try to ping it &amp;amp; if you get a response, abort the startup.&lt;BR /&gt;Of course, this means that every time the service fails, it will need to be restarted manually, but that's so much better than suddenly having 2 machines with the same address on the same network!&lt;BR /&gt;&lt;BR /&gt;Of course, Serviceguard would do all this automatically &amp;amp; seamlessly in a couple of minutes, but then you already know that.&lt;BR /&gt;&lt;BR /&gt;p.s. Having re-read this thread, I see you have 2 EMC's in dual sites. So I presume you also have 2 Superdomes in dual sites? (and probably 2 managers...)&lt;BR /&gt;And still no budget for software. I sympathise. I really do.</description>
      <pubDate>Wed, 23 Feb 2005 07:30:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reboot-vs-uname-s-hostname-lt-hostname-gt-and-more/m-p/3491508#M215014</guid>
      <dc:creator>Gordon  Morrison</dc:creator>
      <dc:date>2005-02-23T07:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: reboot vs. uname -S / hostname &lt;hostname&gt; and more</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reboot-vs-uname-s-hostname-lt-hostname-gt-and-more/m-p/3491509#M215015</link>
      <description>A couple things here...&lt;BR /&gt;First, man this is a scary option but you know that already. 8)&lt;BR /&gt;Second, you could turn off autoboot on the systems so that it will sit at the BCH (the boot prompt) waiting to be told what to do.&lt;BR /&gt;That way if the primary drops and tries to reboot, it will only make it to the BCH and sit there. If you have the LAN/Web console configured, it would be a simple and remote process to boot it up the rest of the way.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Feb 2005 09:59:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reboot-vs-uname-s-hostname-lt-hostname-gt-and-more/m-p/3491509#M215015</guid>
      <dc:creator>Travis Harp_1</dc:creator>
      <dc:date>2005-02-24T09:59:32Z</dc:date>
    </item>
  </channel>
</rss>

