Wednesday, May 6, 2020

Solaris 11 kernel parameter for Oracle 12.2


– set UDP and TCP kernel parameters
/usr/sbin/ndd -set /dev/tcp tcp_smallest_anon_port 9000
/usr/sbin/ndd -set /dev/tcp tcp_largest_anon_port 65500
/usr/sbin/ndd -set /dev/udp udp_smallest_anon_port 9000
/usr/sbin/ndd -set /dev/udp udp_largest_anon_port 65500
 add project
projadd group.oinstall

projmod -sK "project.max-shm-memory=(privileged,50G,deny)" group.oinstall
projmod -sK "process.max-sem-nsems=(priv,4096,deny)" group.oinstall
projmod -sK "project.max-shm-ids=(priv,1024,deny)" group.oinstall
projmod -sK "project.max-sem-ids=(priv,1024,deny)" group.oinstall 
projmod -sK "project.max-shm-memory=(privileged,12G,deny)" group.dba
prtconfroot@BSPZTRNEPMDB0301:~# prctl -n project.max-shm-memory -i project group.dba
root@BSPZTRNEPMDB0301:~# prctl -n project.max-shm-memory -i project group.dba project: 104: group.dba NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT project.max-shm-memory usage 5.96GB privileged 4.00GB - deny - system 16.0EB max deny - root@hostdb0301:~# prtconf System Configuration: Oracle Corporation sun4v Memory size: 8192 Megabytes System Peripherals (Software Nodes): prtconf: devinfo facility not available root@hostdb0301:~#

No comments:

Post a Comment