<?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 Kernel changes with off-hour scheduled reboot in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-changes-with-off-hour-scheduled-reboot/m-p/2573492#M30892</link>
    <description>I made some kernel parameter changes (via SAM) and elected not to move the kernal into place and reboot immediately.&lt;BR /&gt;I received the message that I must execute /usr/sbin/kmupdate and then reboot my system for the changes to take effect.  I want to schedule an automatic reboot about 7pm tonight.  What would be the best method to automate the kernel parameter changes and the reboot tonight at 7pm, respectively?&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;&lt;BR /&gt;..Joe</description>
    <pubDate>Fri, 31 Aug 2001 12:43:54 GMT</pubDate>
    <dc:creator>Joe Profaizer</dc:creator>
    <dc:date>2001-08-31T12:43:54Z</dc:date>
    <item>
      <title>Kernel changes with off-hour scheduled reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-changes-with-off-hour-scheduled-reboot/m-p/2573492#M30892</link>
      <description>I made some kernel parameter changes (via SAM) and elected not to move the kernal into place and reboot immediately.&lt;BR /&gt;I received the message that I must execute /usr/sbin/kmupdate and then reboot my system for the changes to take effect.  I want to schedule an automatic reboot about 7pm tonight.  What would be the best method to automate the kernel parameter changes and the reboot tonight at 7pm, respectively?&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;&lt;BR /&gt;..Joe</description>
      <pubDate>Fri, 31 Aug 2001 12:43:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-changes-with-off-hour-scheduled-reboot/m-p/2573492#M30892</guid>
      <dc:creator>Joe Profaizer</dc:creator>
      <dc:date>2001-08-31T12:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel changes with off-hour scheduled reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-changes-with-off-hour-scheduled-reboot/m-p/2573493#M30893</link>
      <description>Forgot to mention this is HP-UX 11.0 on an L2000</description>
      <pubDate>Fri, 31 Aug 2001 12:49:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-changes-with-off-hour-scheduled-reboot/m-p/2573493#M30893</guid>
      <dc:creator>Joe Profaizer</dc:creator>
      <dc:date>2001-08-31T12:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel changes with off-hour scheduled reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-changes-with-off-hour-scheduled-reboot/m-p/2573494#M30894</link>
      <description>&lt;BR /&gt;1.)    set new kernel parameters&lt;BR /&gt;     kmtune -s params=values&lt;BR /&gt;2.)   create new kernel&lt;BR /&gt;      mk_kernel&lt;BR /&gt;3.)  schedule kernel update&lt;BR /&gt;       kmupdate&lt;BR /&gt;4.)   reboot at desired time&lt;BR /&gt;     reboot -t time&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Rainer&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 31 Aug 2001 12:50:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-changes-with-off-hour-scheduled-reboot/m-p/2573494#M30894</guid>
      <dc:creator>Rainer von Bongartz</dc:creator>
      <dc:date>2001-08-31T12:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel changes with off-hour scheduled reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-changes-with-off-hour-scheduled-reboot/m-p/2573495#M30895</link>
      <description>Everything as said by Rainer except for the&lt;BR /&gt;last point.&lt;BR /&gt;&lt;BR /&gt;You can schedule the shutdown with at command.&lt;BR /&gt;Do a shutdown -r y instead of reboot. kmupdate command will create a flag file called .update_ux in /stand. Based on this, kmbuild script in /sbin/init.d will move the kernel in place during the shutdown and clear .update_ux file. Reboot will make this script to run during the startup and causes an additional reboot of the system.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Fri, 31 Aug 2001 13:16:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-changes-with-off-hour-scheduled-reboot/m-p/2573495#M30895</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-08-31T13:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel changes with off-hour scheduled reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-changes-with-off-hour-scheduled-reboot/m-p/2573496#M30896</link>
      <description>So "shutdown -r -y 28800"   will shutdown and reboot my system in 8 hours?  Can you only specify seconds for the time? (8*60)*60.&lt;BR /&gt;&lt;BR /&gt;..Joe</description>
      <pubDate>Fri, 31 Aug 2001 13:27:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-changes-with-off-hour-scheduled-reboot/m-p/2573496#M30896</guid>
      <dc:creator>Joe Profaizer</dc:creator>
      <dc:date>2001-08-31T13:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel changes with off-hour scheduled reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-changes-with-off-hour-scheduled-reboot/m-p/2573497#M30897</link>
      <description>I would use at than shutdown/reboot with the time option. Because, if by any chance I do mistake, it is going to reboot immediately. So, it's better if you use at.&lt;BR /&gt;&lt;BR /&gt;For ex&lt;BR /&gt;&lt;BR /&gt;echo "/etc/shutdown -r y" |at now + 210 minutes&lt;BR /&gt;&lt;BR /&gt;This will reboot the box after 3.5 hours from now.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Fri, 31 Aug 2001 13:34:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-changes-with-off-hour-scheduled-reboot/m-p/2573497#M30897</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-08-31T13:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel changes with off-hour scheduled reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-changes-with-off-hour-scheduled-reboot/m-p/2573498#M30898</link>
      <description>Hi Joe,&lt;BR /&gt;&lt;BR /&gt;I know the solution offered will work for you now and since it is a L-class machine the reboots should be fast as well but if you were doing the same on a K-class, then the amount of downtime you need would easily double because when you run kmupdate, it creats a file called .update_ux and when the machine reboots one of the startup file (kmbuild) is looking for this file and if it finds it then moves the kernel along with the system file and dlkm directory to the correct location and then reboots the machine.&lt;BR /&gt;&lt;BR /&gt;Like i said, for a production machine if time is a concern then it might be a better idea to just run kmupdate and then /sbin/init.d/kmbuild (if your run this in multi-user mode, it just moves the files for you and doesn't reboot but when run during system start, reboots the machine again) and then reboot just once which reduces your downtime.&lt;BR /&gt;&lt;BR /&gt;I would like to hear what others think of this approach.&lt;BR /&gt;&lt;BR /&gt;-Regards&lt;BR /&gt;Ramesh</description>
      <pubDate>Fri, 31 Aug 2001 14:14:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-changes-with-off-hour-scheduled-reboot/m-p/2573498#M30898</guid>
      <dc:creator>linuxfan</dc:creator>
      <dc:date>2001-08-31T14:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel changes with off-hour scheduled reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-changes-with-off-hour-scheduled-reboot/m-p/2573499#M30899</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;Here's my procedure (and 2 cents worth) for building a kernel with SAM and rebooting later.&lt;BR /&gt;&lt;BR /&gt;Use SAM to modify kernel parameters and build new kernel&lt;BR /&gt;&lt;BR /&gt;After all mods are made use &lt;BR /&gt;"Actions"&lt;BR /&gt;"Process New Kernel"&lt;BR /&gt;"Do Not Move Kernel Into Place; Do Not Shutdown / Reboot Now"&lt;BR /&gt;&lt;BR /&gt;note the message concerning location of the new kernel and system file, and running kmupdate&lt;BR /&gt;&lt;BR /&gt;exit out of SAM&lt;BR /&gt;&lt;BR /&gt;Tell the system you've built a new kernel (/stand/build/vmunix_test) and want to use it at the next boot&lt;BR /&gt;/usr/sbin/kmupdate&lt;BR /&gt;&lt;BR /&gt;Move the new kernel parameters file (/stand/build/system.SAM) into place&lt;BR /&gt;cd /stand&lt;BR /&gt;cp -p /stand/system /stand/system.prev&lt;BR /&gt;cp -p /stand/build/system.SAM /stand/system&lt;BR /&gt;&lt;BR /&gt;Everything is now set to utilize the new kernel at the next reboot.&lt;BR /&gt;Do not make other kernel modifications until after booting the new kernel.  You need to test the new kernel and the only true test is to boot and run off it.&lt;BR /&gt;Reboot at your convenience (but I wouldn't wait an extended period).&lt;BR /&gt;&lt;BR /&gt;To schedule the reboot:&lt;BR /&gt;echo "/usr/sbin/shutdown -r -y 300 &amp;gt;&amp;gt;some_logfile 2&amp;gt;&amp;amp;1" | at 1900&lt;BR /&gt;&lt;BR /&gt;Of course, I hope you check that the system came up okay before your users try it!&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Fri, 31 Aug 2001 14:39:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-changes-with-off-hour-scheduled-reboot/m-p/2573499#M30899</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2001-08-31T14:39:44Z</dc:date>
    </item>
  </channel>
</rss>

