AIX Switching Kernel Bit Modes: Difference between revisions

From UNIX Systems Administration
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== Switching to the 32 bit Kernel ==
== Switching to the 32 bit Kernel ==
# Linking the 32 bit kernel.
# Linking the 32 bit kernel.
## <tt>'''# ln -sf /usr/lib/boot/unix_mp /unix'''</tt>
#: <tt>'''# ln -sf /usr/lib/boot/unix_mp /unix'''</tt>
## <tt>'''# ln -sf /usr/lib/boot/unix_mp /usr/lib/boot/unix'''</tt>
#: <tt>'''# ln -sf /usr/lib/boot/unix_mp /usr/lib/boot/unix'''</tt>
# You will need to note which hdisks that hd5 appears on.
# You will need to note which hdisks that hd5 appears on.
## <tt>'''# lslv -m hd5'''</tt>
#: <tt>'''# lslv -m hd5'''</tt>
# Change the base operating system boot devices repeat for each disk listed in previous step.
# Change the base operating system boot devices repeat for each disk listed in previous step.
## <tt>'''# bosboot -ad <hdisk#>'''</tt>
#: <tt>'''# bosboot -ad <hdisk#>'''</tt>
# Add the drives to the bootlist that where listed with the lslv command.
# Add the drives to the bootlist that where listed with the lslv command.
## <tt>'''# bootlist -m normal <hdisk#> ... <hdisk#n>'''</tt>
#: <tt>'''# bootlist -m normal <hdisk#> ... <hdisk#n>'''</tt>
# Restart the server to apply the changes.
# Restart the server to apply the changes.
# Verify that the server is running the 32 bit kernel.
# Verify that the server is running the 32 bit kernel.
## <tt>'''# bootinfo -K'''</tt>
#: <tt>'''# bootinfo -K'''</tt>


== Switching to the 64 bit Kernel ==
== Switching to the 64 bit Kernel ==
# Ensure that the hardware is 64 bit enabled.
# Ensure that the hardware is 64 bit enabled.
## <tt>'''# bootinfo -y'''</tt>
#: <tt>'''# bootinfo -y'''</tt>
# If the previous command returns 64 bit then proceed.
# If the previous command returns 64 bit then proceed.
# Linking the 64 bit kernel.
# 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>
# You will need to note which hdisks that hd5 appears on.
# You will need to note which hdisks that hd5 appears on.
## <tt>'''# lslv -m hd5'''</tt>
#: <tt>'''# lslv -m hd5'''</tt>
# Change the base operating system boot devices repeat for each disk listed in previous step.
# Change the base operating system boot devices repeat for each disk listed in previous step.
## <tt>'''# bosboot -ad <hdisk#>'''</tt>
#: <tt>'''# bosboot -ad <hdisk#>'''</tt>
# Add the drives to the bootlist that where listed with the lslv command.
# Add the drives to the bootlist that where listed with the lslv command.
## <tt>'''# bootlist -m normal <hdisk#> ... <hdisk#n>'''</tt>
#: <tt>'''# bootlist -m normal <hdisk#> ... <hdisk#n>'''</tt>
# Restart the server to apply the changes.
# Restart the server to apply the changes.
# 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 ==

Latest revision as of 21:02, 13 December 2017

Switching to the 32 bit Kernel

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

Switching to the 64 bit Kernel

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

Resources

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