Author Archive
Comparison Kernel parameter Solaris9 and Solaris10
SERVER – Solaris9 – Oracle9i …..[compare]….. SERVER – solaris10 – Oracle10g
[ Solaris9] forceload:sys/shmsys
[ Solaris9] forceload:sys/semsys
[ Solaris9] set shmsys:shminfo_shmmax=51539607552
[ Solaris9] set shmsys:shminfo_shmmin=1
[ Solaris9] set shmsys:shminfo_shmmni=2048
[ Solaris9] set shmsys:shminfo_shmseg=200
[ Solaris9] set semsys:seminfo_semmni=1000
Kernel setup for Solaris 10 using project files – Special for Oracle10g
1. Recommended method for modifying the /etc/project file is to use the “projadd” and “projmod” :
a.
bash> projadd -c "Oracle" 'user.oracle'
b.
bash> projmod -s -K "project.max-shm-memory=(privileged,10GB,deny)" 'user.oracle'
c. verify with
bash> cat /etc/project
or
bash> prctl -i project user.oracle
2. Resource Control assignments made in this way (in the /etc/project file) are permanent, and will survive a system re-boot.
3. There is also an “on-the-fly” way to temporarily set Resource Control assignments using the prctl(1) command.
a. Should we need to temporarily increase the setting to 48 GB:
For example, assuming the preceding /etc/project
bash> prctl -n project.max-shm-memory -i project user.oracle project: 100: user.oracle NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT project.max-shm-memory privileged 16.0GB - deny - system 16.0EB max deny -
bash> prctl -n project.max-shm-memory -r -v 48GB -i project user.oracle
bash> prctl -n project.max-shm-memory -i project user.oracle project: 100: user.oracle NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT project.max-shm-memory privileged <strong>48</strong> .0GB - deny - system 16.0EB max deny
b. fix parameter ; entry new value on max-shm
bash> vi /etc/project
values such as 48GB instead of the 51539607552
project.max-shm-memory=(privileged, 51539607552, deny);
Disable Telnet Session
Bellow this, is procedure to block/stop/disable telnet service at solaris 10
bash> vi /etc/inetd.conf (then put comment out ‘#’ below) #telnet stream tcp6 nowait root /usr/sbin/in.telnetd in.telnetd
(then stop and restart services)
bash> /etc/rc2.d/S72inetsvc stop bash> /etc/rc2.d/S72inetsvc start
or
bash> /etc/init.d/inetsvc stop bash> /etc/init.d/inetsvc start
Update:
Solaris 10 x86 updae 6, telnet was offline/disable by default
bash>cat /etc/release Solaris 10 10/08 s10x_u6wos_07b X86 Copyright 2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 27 October 2008
bash>svcs |grep telnet offline 13:08:13 svc:/network/telnet:default