AIX Switching Kernel Bit Modes: Difference between revisions

From UNIX Systems Administration
Jump to navigation Jump to search
Line 13: Line 13:


== Switching to the 64 bit Kernel ==
== Switching to the 64 bit Kernel ==
# Ensure that the hardware is 64 bit enabled.
## <tt>'''# bootinfo -y'''</tt>
# If the previous command returns 64 bit then proceed.
# Linking the 64 bit kernel.
# <tt>'''# ln -sf /usr/lib/boot/unix_64 /unix'''</tt>
# <tt>'''# ln -sf /usr/lib/boot/unix_64 /unix'''</tt>
# <tt>'''# ln -sf /usr/lib/boot/unix_64 /usr/lib/boot/unix'''</tt>
# <tt>'''# ln -sf /usr/lib/boot/unix_64 /usr/lib/boot/unix'''</tt>
Line 24: Line 28:
# Verify that the server is running the 64 bit kernel.
# Verify that the server is running the 64 bit kernel.
## <tt>'''# bootinfo -K'''</tt>
## <tt>'''# bootinfo -K'''</tt>


== Resources ==
== Resources ==

Revision as of 13:51, 26 January 2012

Switching to the 32 bit Kernel

  1. # ln -sf /usr/lib/boot/unix_mp /unix
  2. # ln -sf /usr/lib/boot/unix_mp /usr/lib/boot/unix
  3. You will need to note which hdisks that hd5 appears on.
    1. # lslv -m hd5
  4. Change the base operating system boot devices repeat for each disk listed in previous step.
    1. # bosboot -ad <hdisk#>
  5. Add the drives to the bootlist that where listed with the lslv command.
    1. # bootlist -m normal <hdisk#> ... <hdisk#n>
  6. Restart the server to apply the changes.
  7. Verify that the server is running the 32 bit kernel.
    1. # bootinfo -K

Switching to the 64 bit Kernel

  1. Ensure that the hardware is 64 bit enabled.
    1. # bootinfo -y
  2. If the previous command returns 64 bit then proceed.
  3. Linking the 64 bit kernel.
  4. # ln -sf /usr/lib/boot/unix_64 /unix
  5. # ln -sf /usr/lib/boot/unix_64 /usr/lib/boot/unix
  6. You will need to note which hdisks that hd5 appears on.
    1. # lslv -m hd5
  7. Change the base operating system boot devices repeat for each disk listed in previous step.
    1. # bosboot -ad <hdisk#>
  8. Add the drives to the bootlist that where listed with the lslv command.
    1. # bootlist -m normal <hdisk#> ... <hdisk#n>
  9. Restart the server to apply the changes.
  10. Verify that the server is running the 64 bit kernel.
    1. # bootinfo -K

Resources

  1. IBM pSeries and AIX Information Center
  2. AIX Commands you should not leave home without