<?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: Kernel Changes in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-changes/m-p/2623802#M39265</link>
    <description>Hi, &lt;BR /&gt;You can modify some kernel parameters and reboot your server later even using SAM. &lt;BR /&gt;Fr??d??ric</description>
    <pubDate>Mon, 03 Dec 2001 09:15:28 GMT</pubDate>
    <dc:creator>Frederic Sevestre</dc:creator>
    <dc:date>2001-12-03T09:15:28Z</dc:date>
    <item>
      <title>Kernel Changes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-changes/m-p/2623801#M39264</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Is it possible to change kernel paramters and re-boot at a later date to allow them to take effect ?.&lt;BR /&gt;I have changed parameters in the past using SAM and seem to remember it automatically &lt;BR /&gt;re-booting. (HPUX 11.0)&lt;BR /&gt;&lt;BR /&gt;Cheers in advance</description>
      <pubDate>Mon, 03 Dec 2001 09:03:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-changes/m-p/2623801#M39264</guid>
      <dc:creator>Stephen Young_1</dc:creator>
      <dc:date>2001-12-03T09:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Changes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-changes/m-p/2623802#M39265</link>
      <description>Hi, &lt;BR /&gt;You can modify some kernel parameters and reboot your server later even using SAM. &lt;BR /&gt;Fr??d??ric</description>
      <pubDate>Mon, 03 Dec 2001 09:15:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-changes/m-p/2623802#M39265</guid>
      <dc:creator>Frederic Sevestre</dc:creator>
      <dc:date>2001-12-03T09:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Changes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-changes/m-p/2623803#M39266</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;In SAM you usually get the option to build kernel, but not put in place or reboot.  Later when you are ready you need to move new kernel into place and reboot.  You may need to make a backup copy of the running kernel, can't remember if this is done for you.&lt;BR /&gt;&lt;BR /&gt;Hilary&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Dec 2001 09:17:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-changes/m-p/2623803#M39266</guid>
      <dc:creator>BFA6</dc:creator>
      <dc:date>2001-12-03T09:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Changes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-changes/m-p/2623804#M39267</link>
      <description>Hi,&lt;BR /&gt;It is not possible using SAM. When you chanage kernel parms in SAM, exiting you will be asked to build a new kernel or not. If you choose not to build a new kernel all chages will be lost.&lt;BR /&gt;The only way to do that is to copy /stand/system to system.new, edit system.new and kompile a new kernel in an appropriate time with mk_kernel.&lt;BR /&gt;Later,</description>
      <pubDate>Mon, 03 Dec 2001 09:21:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-changes/m-p/2623804#M39267</guid>
      <dc:creator>Marcin Wicinski</dc:creator>
      <dc:date>2001-12-03T09:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Changes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-changes/m-p/2623805#M39268</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Yes, it is possible.&lt;BR /&gt;&lt;BR /&gt;To use HP-UX commands to reconfigure the kernel:&lt;BR /&gt;&lt;BR /&gt;1) Change directory to the build environment (/stand/build). There, execute a system preparation script, system_prep. system_prep writes a system file based on your current kernel in the current directory. (That is, it creates /stand/build/system.) &lt;BR /&gt;&lt;BR /&gt;# cd /stand/build&lt;BR /&gt;# /usr/lbin/sysadm/system_prep -v -s system&lt;BR /&gt;&lt;BR /&gt;2) Use the commands kmsystem and kmtune to modify system parameters.&lt;BR /&gt;&lt;BR /&gt;3) Build the new kernel by invoking the mk_kernel command:&lt;BR /&gt;# /usr/sbin/mk_kernel -s /stand/build/system&lt;BR /&gt;This builds a new kernel ready for testing: /stand/build/vmunix_test and the associated kernel components. &lt;BR /&gt;&lt;BR /&gt;4) Save the old system file by moving it. Then move the new system file into place.&lt;BR /&gt;mv /stand/system /stand/system.prev&lt;BR /&gt;mv /stand/build/system /stand/system&lt;BR /&gt;&lt;BR /&gt;5) Prepare for rebooting by invoking the kmupdate command. This sets a flag that tells the system to use the new kernel when it restarts.&lt;BR /&gt;&lt;BR /&gt;# /usr/sbin/kmupdate&lt;BR /&gt;&lt;BR /&gt;6) Schedule a cron job to reboot the system at an appropriate timing via crontab -l eg.&lt;BR /&gt;&lt;BR /&gt;0 0 31 12 * /sbin/shutdown -ry 0&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong&lt;BR /&gt;Brainbench MVP for Unix Admin&lt;BR /&gt;&lt;A href="http://www.brainbench.com" target="_blank"&gt;http://www.brainbench.com&lt;/A&gt;</description>
      <pubDate>Mon, 03 Dec 2001 09:24:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-changes/m-p/2623805#M39268</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2001-12-03T09:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Changes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-changes/m-p/2623806#M39269</link>
      <description>Of course, with SAM you can just build a new kernel and do not move it into right place. At appropriate time move new kernel with kmupdate command.</description>
      <pubDate>Mon, 03 Dec 2001 09:26:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-changes/m-p/2623806#M39269</guid>
      <dc:creator>Marcin Wicinski</dc:creator>
      <dc:date>2001-12-03T09:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Changes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-changes/m-p/2623807#M39270</link>
      <description>Hi Stephen,&lt;BR /&gt;&lt;BR /&gt;From an earlier thread:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xf3835220af9bd5118ff10090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xf3835220af9bd5118ff10090279cd0f9,00.html&lt;/A&gt;&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>Mon, 03 Dec 2001 14:04:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-changes/m-p/2623807#M39270</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2001-12-03T14:04:29Z</dc:date>
    </item>
  </channel>
</rss>

