Knowing
the Size of Ram,Swap space in HP Unix 11
I want to know the commands that are used for checking the size of RAM & Swap space coz, I am doing the oracle installation on HP unix for the first time. Praveen Do you just want to see how much you have?
free
Bharath Raja Thanks for the Input... No, for the Oracle 9.2.0.1 Installation on HP Unix the minimum requirement
what the oracle recommends is
I wanted to use one of the available servers here, so thats the reason i was checking the RAM,SWAP sizes. Can you please tell me how to increase the swap size which doesn't do much pagging & swapping coz, our entire SGA has to fit into RAM for the optimal usage of the DB. Thanks again. Praveen For Memory size pass a command #dmesg |grep physical And for Swap details see the following comands 1. As root, use SAM to create a contiguous logical volume of enough size or create the contiguous logical volume from command line using following procedure.(name new logical volume as newswap) (where cXtXdX is main root disk and cYtYdY is the mirrored disk) #lvcreate –n newswap -C y –r n /dev/vg00
2. use SAM to verify that there is no bad block relocation if it is success proceed with following procedure. reboot the system in single user mode for avoiding any of the external access /corruptions 3. first reduce the mirror from second disk. lvreduce -m 0 /dev/vg00/lvol2 /dev/dsk/cYtYdY 4. as root from console window ,remove and add primary swap and dump devices a) Remove current dump device # lvrmboot –v –d lvol2 /dev/vg00 b) Add a new dump device # lvlnboot –d /dev/vg00/newswap c) Remove the current swap device # lvrmboot –s /dev/vg00 d) add a new swap volume # lvlnboot –s /dev/vg00/newswap 5. verify the change # lvlnboot –v 6. reboot system 7. after rebooting view the status. # swapinfo –t
8 . remove the old lvol2 from system through SAM or command line 9. extend the new swap volume to mirror disk also. #lvextend -m 1 /dev/vg00/newswap /dev/dsk/cYtYdY Vijay Patil
Have a Unix Problem
Unix Books :-
Return to : - Unix System Administration Hints and Tips (c) www.gotothings.com All material on this site is Copyright.
|