DISCLAIMER : Please note that blog owner takes no responsibility of any kind for any type of data loss or damage by trying any of the command/method mentioned in this blog. You may use the commands/method/scripts on your own responsibility.If you find something useful, a comment would be appreciated to let other viewers also know that the solution/method work(ed) for you.
Showing posts with label swap. Show all posts
Showing posts with label swap. Show all posts
Switching between 32-bit & 64-bit modes in AIX
SWITCHING BETWEEN 32-BIT AND 64-BIT
MODES
----------------------------------------------------------------------------------------------
To switch from 32-bit mode to 64-bit mode run do following commands,
in the given order:
1. ln -sf /usr/lib/boot/unix_64 /unix
2. ln -sf /usr/lib/boot/unix_64 /usr/lib/boot/unix
3. smitty load64bit
4. Select Enable/Disable at System Restart
5. Choose Yes and press ENTER.
6. Quit smitty.
7. bosboot -ad /dev/ipldevice
8. shutdown -Fr
9. bootinfo -K (should now show 64)
===============================================================
SWITCHING BETWEEN 64-BIT AND 32-BIT MODES
-----------------------------------------------------------------------------------------------
To switch from 64-bit mode to 32-bit mode run the following commands,
in the given order:
1. ln -sf /usr/lib/boot/unix_mp /unix
2. ln -sf /usr/lib/boot/unix_mp /usr/lib/boot/unix
3. smitty load64bit
4. Select Enable/Disable at System Restart
5. Choose No and press ENTER.
6. Quit smitty.
7. bosboot -ad /dev/ipldevice
8. shutdown -Fr
9. bootinfo -K (should now show 32)
Paging Space in AIX
System paging space
#lsps -a --
current utilization of each of the paging spaces on a system
lsps -s -------
total active paging space and its current utilization.
swapon---- to activate the initial paging-space device.
swapoff
--command to dynamically deactivate the paging space,
swapon -a
---Activates listed in the /etc/swapspaces
Creating paginglv-----
smit mklv
eg: Name-------paging03
On
---------------------hdisk5
VG
--------------------rootvg
b) swapon
/dev/paging03-----To activate paging
Increasing and decreasing paginglv
Use the chps -d
command to decrease the size of paging03 by 2 logical partitions
# chps -d 2
paging03
To increase
#chps –s 2
paging03