onsdag 6. juni 2012

Adding more SWAP space in Solaris 10



In addition to installing ORACLE 11g R2 on Solaris 10, this articles explain how you can add swap space on Solaris. In Oracle 11g R2 you need couple of Gbytes of SWAP space so if you need it to start ORACLE installation, the steps below can help you in adding additional swap space. Here is useful table for determine how much SWAP space you actually need (recomended by ORACLE):

RAM                                     Swap Space
Between 1 GB and 2 GB      1.5 times the size of RAM
Between 2 GB and 16 GB    Equal to the size of RAM
More than 16 GB                  16 GB

Here is the procedure:

1.
Login as root and check how much swap space you have from the following command.
# swap –l

2. We guess that you have not enough of SWAP space so we will create swap file. As root, use mkfile to create a swap file:
# mkfile filesize /path/file
e.g.
# mkfile 3072m /export/home/oracle/swap1

3. Add the file create above in the swap area.
# swap -a /path/file
e.g.
# swap -a /export/home/oracle/swap1

4. Check the swap space again
# swap -l

Done. You have now enough of SWAP space so you can proceed with the ORACLE installation process.

Ingen kommentarer:

Legg inn en kommentar