Oracle Apps DBA

My photo
More than 5+ Years of IT Experience in administering Enterprise wide Multi Vendor UNIX Servers, Oracle Databases (8i to 11gR2), Middle-tiers, Applications and Clusters. I am a Sun Certified System Administrator (SCSA) for Solaris 10, oracle 10g database certified associate(OCA), Oracle 10g Database certified professional (OCP) and Oracle E-Business suite R12 certified professionl(OCP)

Oracle Database and Applications

Thursday, 11 December 2014

Adding swap space to Solaris 11.2

I was Installing Oracle Database 12c on Oracle Solaris 11.2 and the pre-requisites for database Installation failed for SWAP memory requirement. The configured swap memory on the server is 1GB and the Physical memory of the server is 4GB.

There should be at least 4GB of SWAP memory configured to avoid this error.

This is article will help to Increase the SWAP memory of the system without any downtime. We can add additional SWAP memory online using zfs commands.


- Identify the current volume using for SWAP:

root@soltest1:~# swap -l
swapfile             dev    swaplo   blocks     free
/dev/zvol/dsk/rpool/swap 303,1         8  2097144  2097144


- Identify the size of the current SWAP space:

root@soltest1:~# zfs get volsize rpool/swap
NAME        PROPERTY  VALUE  SOURCE
rpool/swap  volsize   1G     local


- Set new size for SWAP volume

root@soltest1:~# zfs set volsize=5g rpool/swap
root@soltest1:~# zfs get volsize rpool/swap
NAME        PROPERTY  VALUE  SOURCE
rpool/swap  volsize   5G     local
root@soltest1:~#

 Set new size for SWAP volume


 Its very simple in Solaris 11 to re-size the SWAP volume.

regards,
X A H E E R

1 comment:

Blogger said...

BlueHost is one of the best website hosting company for any hosting plans you require.