Operating System - HP-UX
1753388 Members
7318 Online
108792 Solutions
New Discussion

After adding RAM in HP-UX 11i

 
Anit Jha
Occasional Advisor

After adding RAM in HP-UX 11i

Hi All,
I m having hp9000 L-class server with 2gb RAM, if i add 2gb more RAM than how to configure in hp-ux 11i and how to add swap space more.

Thankx in advance

 

 

 

Moved from HP-UX Technical Documentation to HP-UX > sysadmin

6 REPLIES 6
Lokesh_8
Advisor

Re: After adding RAM in HP-UX 11i

hi anit,

First tell me that what is your existing swap size.
Anit Jha
Occasional Advisor

Re: After adding RAM in HP-UX 11i

Hi Lokesh,
My ucrrent swap size is 4 Gb
Bharat Katkar
Honored Contributor

Re: After adding RAM in HP-UX 11i

HiAnit,
There is no need to configure Memory. Once you physically install it, it get automaticaly detected and you will be able to use it.
Now if required (Only if the current swap is highly used) then you can add swap.
For that you use "swapon" command. See man swapon for further details.


Regards,

You need to know a lot to actually know how little you know
Lokesh_8
Advisor

Re: After adding RAM in HP-UX 11i

hi anit,

To create swap space on logical volume lvol3 in volucme group vg03, use the following swapon command
#swapon /dev/vg03/lvol3
Make an entry(/dev/vg03/lvol3 . swap defaults 0 0) in /etc/fstab file. All swap system entries in this file
can be activated using the following command at any time.
#swapon -a
When you reboot your system, the /sbin/init.d/swap_start script gets executed in run level1. This script executes
the above command to turn on the swap.
Just suppose if you are using a whole disk , c2t5d0, as the swap space in the /etc/fstab file, you will use an
entry like the following
/dev/dsk/c2t5d0 . swap defaults 0 0
In case of a file system swap, you dont mention the block device file. Instead, a dot is placed for it. However,
you specify the mount point for the file system being used as swap space and use options with it, as you have used
on the command line.
. /myswap swapfs lim=200M 0 0
After using this command the swap area is created and it becomes immediately usable to the system.

Yogeeraj_1
Honored Contributor

Re: After adding RAM in HP-UX 11i

hi,
with 4GB of RAM, you can increase your swap to 8GB.

see the following threads for steps:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=938362
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=905832


regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Bharat Katkar
Honored Contributor

Re: After adding RAM in HP-UX 11i

Hi,
Before increasing the SWAP size just go thr' the "vmstat" output. In case if you are swapping a lot then only you increase the swap size.
Have a lot at "po/pi" pages out/ pages in attributes of the output.

Regards,
You need to know a lot to actually know how little you know