<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sys-Admin Information&#039;s &#187; Hell-me</title>
	<atom:link href="http://sysinfo.bascomp.org/author/helmyh/feed/" rel="self" type="application/rss+xml" />
	<link>http://sysinfo.bascomp.org</link>
	<description></description>
	<lastBuildDate>Fri, 23 Apr 2010 09:43:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Comparison Kernel parameter Solaris9 and Solaris10</title>
		<link>http://sysinfo.bascomp.org/2008/03/kernel-parameter-tuning-comparison-solaris9-and-10/</link>
		<comments>http://sysinfo.bascomp.org/2008/03/kernel-parameter-tuning-comparison-solaris9-and-10/#comments</comments>
		<pubDate>Tue, 04 Mar 2008 11:27:12 +0000</pubDate>
		<dc:creator>Hell-me</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Tunable Parameters]]></category>
		<category><![CDATA[shminfo_shmmax]]></category>
		<category><![CDATA[Solaris Tuneable parameter]]></category>
		<category><![CDATA[Tuning]]></category>

		<guid isPermaLink="false">http://sysinfo.bascomp.org/2008/03/04/kernel-parameter-tuning-comparison-solaris9-and-10/</guid>
		<description><![CDATA[SERVER - Solaris9 -  Oracle9i .....[compare]..... SERVER - solaris10 - Oracle10g
[  Solaris9] forceload:sys/shmsys
[Solaris10] recommended not set, server impact long time for boot up
[  Solaris9] forceload:sys/semsys
[Solaris10]recommended not set, server impact long time for boot up
[  Solaris9] set shmsys:shminfo_shmmax=51539607552
[Solaris10] projmod -s -K "project.max-shm-memory=(priv,48g,deny)" user.oracle
[  Solaris9] set shmsys:shminfo_shmmin=1
[Solaris10] Obsolete in the Solaris 9 [...]]]></description>
			<content:encoded><![CDATA[<p>SERVER - Solaris9 -  Oracle9i .....[<strong>compare</strong>]..... SERVER - solaris10 - Oracle10g</p>
<p><cite>[  Solaris9]</cite> forceload:sys/shmsys<br />
<cite2>[Solaris10]</cite2> recommended not set, server impact long time for boot up</p>
<p><cite>[  Solaris9]</cite> forceload:sys/semsys<br />
<cite2>[Solaris10]</cite2>recommended not set, server impact long time for boot up</p>
<p><cite>[  Solaris9]</cite> set shmsys:shminfo_shmmax=51539607552<br />
<cite2>[Solaris10]</cite2> projmod -s -K "project.max-shm-memory=(priv,48g,deny)" user.oracle</p>
<p><cite>[  Solaris9]</cite> set shmsys:shminfo_shmmin=1<br />
<cite2>[Solaris10]</cite2> Obsolete in the Solaris 9 release, Solaris 10 also</p>
<p><cite>[  Solaris9]</cite> set  shmsys:shminfo_shmmni=2048<br />
<cite2>[Solaris10]</cite2> projmod -s -K "project.max-shm-ids=(priv,2048,deny)" user.oracle</p>
<p><cite>[  Solaris9]</cite> set shmsys:shminfo_shmseg=200<br />
<cite2>[Solaris10]</cite2> Obsolete in the Solaris 9 release, Solaris 10 also</p>
<p><cite>[  Solaris9]</cite> set semsys:seminfo_semmni=1000<br />
<cite2>[Solaris10]</cite2> projmod -s -K "project.max-sem-ids=(priv,1000,deny)" user.oracle</p>
<p><span id="more-45"></span></p>
<p><cite>[  Solaris9]</cite> set semsys:seminfo_semmns=32767<br />
<cite2>[Solaris10]</cite2> Removed in the Solaris 10 release</p>
<p><cite>[  Solaris9]</cite> semsys:seminfo_semmnu=500<br />
<cite2>[Solaris10]</cite2> Removed in the Solaris  10 release.</p>
<p><cite>[  Solaris9]</cite> set semsys:seminfo_semmsl=2048.<br />
<cite2>[Solaris10]</cite2> projmod -s -K "project.max-sem-nsems=(priv,4096,deny)" user.oracle</p>
<p><cite>[  Solaris9]</cite> semsys:seminfo_semvmx=32767.<br />
<cite2>[Solaris10]</cite2> Removed in the Solaris 10 release</p>
<p><cite>[  Solaris9]</cite> set  semsys:seminfo_semopm=2048<br />
<cite2>[Solaris10]</cite2> projmod -s -K "process.max-sem-ops=(priv,2048,deny)" user.oracle</p>
<p><cite>[  Solaris9]</cite> set maxusers=2048<br />
<cite2>[Solaris10]</cite2> recommended not set</p>
<p><cite>[  Solaris9]</cite> set max_nprocs=32778<br />
<cite2>[Solaris10]</cite2> set max_nprocs=32778</p>
<p><cite>[  Solaris9]</cite> set maxuprc=32773<br />
<cite2>[Solaris10]</cite2> set maxuprc=32773</p>
<p><cite>[  Solaris9]</cite> set rlim_fd_max=65536<br />
<cite2>[Solaris10]</cite2> set rlim_fd_max=65536</p>
<p><cite>[  Solaris9]</cite> set rlim_fd_cur=2048<br />
<cite2>[Solaris10]</cite2> set rlim_fd_cur=2048</p>
<p><cite>[  Solaris9]</cite> set noexec_user_stack=1<br />
<cite2>[Solaris10]</cite2> set noexec_user_stack=1</p>
<p><strong>*For Veritas NetBackup Performance</strong><br />
<cite>[  Solaris9]</cite> set msgsys:msginfo_msgtql=512<br />
<cite2>[Solaris10]</cite2> Obsolete in the Solaris  10 release</p>
<p><cite>[  Solaris9]</cite> set msgsys:msginfo_msgmnb=65536<br />
<cite2>[Solaris10]</cite2> Obsolete in the Solaris 10  release</p>
<p>---------------------------------------------------------------------------------------------------------------------------------------<br />
<strong> Conclusion ,the following are the important  parameters:</strong></p>
<blockquote><p>*project.max-shm-ids: Maximum shared memory IDs for  a project. Replaces  shmmni</p>
<p>*project.max-sem-ids: Maximum semaphore IDs for a  project.Replaces  semmni</p>
<p>*project.max-msg-ids: Maximum message queue IDs for  a project. Replaces msgmni</p>
<p>*project.max-shm-memory: Total amount of shared  memory allowed for a project. Replaces  shmmax</p>
<p>*process.max-sem-nsems: Maximum number of  semaphores allowed per semaphore set.Replaces semmsl</p>
<p>*process.max-sem-ops: Maximum number of semaphore  operations allowed per semop.Replaces  semopm</p>
<p>*process.max-msg-qbytes: Maximum number of bytes of  messages on a message queue. Replaces  msgmnb</p>
<p>*process.max-msg-messages: Maximum number of  messages on a message queue.Replaces  msgtql</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://sysinfo.bascomp.org/2008/03/kernel-parameter-tuning-comparison-solaris9-and-10/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Kernel setup for Solaris 10 using project files - Special for Oracle10g</title>
		<link>http://sysinfo.bascomp.org/2008/03/kernel-setup-for-solaris-10-using-project-files-special-for-oracle10g/</link>
		<comments>http://sysinfo.bascomp.org/2008/03/kernel-setup-for-solaris-10-using-project-files-special-for-oracle10g/#comments</comments>
		<pubDate>Tue, 04 Mar 2008 10:20:49 +0000</pubDate>
		<dc:creator>Hell-me</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Projadd]]></category>
		<category><![CDATA[Projmod]]></category>

		<guid isPermaLink="false">http://sysinfo.bascomp.org/2008/03/04/kernel-setup-for-solaris-10-using-project-files-special-for-oracle10g/</guid>
		<description><![CDATA[1. Recommended method for modifying the /etc/project file is to use the "projadd" and "projmod" :
a.

bash&#62; projadd -c &#34;Oracle&#34; 'user.oracle'

b.

bash&#62; projmod -s -K &#34;project.max-shm-memory=(privileged,10GB,deny)&#34; 'user.oracle'

c. verify with

bash&#62; cat /etc/project

or

bash&#62; 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 [...]]]></description>
			<content:encoded><![CDATA[<p><strong>1</strong>. Recommended method for modifying the /etc/project file is to use the "projadd" and "projmod" :</p>
<p>a.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> projadd <span style="color: #660033;">-c</span> <span style="color: #ff0000;">&quot;Oracle&quot;</span> <span style="color: #ff0000;">'user.oracle'</span></pre></div></div>

<p>b.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> projmod <span style="color: #660033;">-s</span> <span style="color: #660033;">-K</span> <span style="color: #ff0000;">&quot;project.max-shm-memory=(privileged,10GB,deny)&quot;</span> <span style="color: #ff0000;">'user.oracle'</span></pre></div></div>

<p>c. verify with</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>project</pre></div></div>

<p>or</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> prctl <span style="color: #660033;">-i</span> project user.oracle</pre></div></div>

<p><strong>2</strong>. Resource Control assignments made in this way (in the /etc/project file) are permanent, and will survive a system re-boot.</p>
<p><strong>3</strong>. There is also an <strong><u>"on-the-fly"</u></strong> way to temporarily set Resource Control assignments using the prctl(1) command.</p>
<p>a. Should we need to temporarily increase the setting to <strong>48</strong> GB:<br />
For example, assuming the preceding /etc/project</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> prctl <span style="color: #660033;">-n</span> project.max-shm-memory <span style="color: #660033;">-i</span> project user.oracle
project: <span style="color: #000000;">100</span>: user.oracle
NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
project.max-shm-memory
privileged 16.0GB - deny -
system 16.0EB max deny -</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> prctl <span style="color: #660033;">-n</span> project.max-shm-memory <span style="color: #660033;">-r</span> <span style="color: #660033;">-v</span> 48GB <span style="color: #660033;">-i</span> project user.oracle</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> prctl <span style="color: #660033;">-n</span> project.max-shm-memory <span style="color: #660033;">-i</span> project user.oracle
project: <span style="color: #000000;">100</span>: user.oracle
NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
project.max-shm-memory
privileged <span style="color: #000000; font-weight: bold;">&lt;</span>strong<span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000;">48</span><span style="color: #000000; font-weight: bold;">&lt;/</span>strong<span style="color: #000000; font-weight: bold;">&gt;</span> .0GB - deny -
system 16.0EB max deny</pre></div></div>

<p>b. fix parameter ; entry new value on max-shm</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>project</pre></div></div>

<p>values such as 48GB instead of the 51539607552</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">project.max-shm-memory=(privileged, 51539607552, deny);</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://sysinfo.bascomp.org/2008/03/kernel-setup-for-solaris-10-using-project-files-special-for-oracle10g/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Disable Telnet Session</title>
		<link>http://sysinfo.bascomp.org/2008/03/block-telnet-session/</link>
		<comments>http://sysinfo.bascomp.org/2008/03/block-telnet-session/#comments</comments>
		<pubDate>Tue, 04 Mar 2008 08:16:21 +0000</pubDate>
		<dc:creator>Hell-me</dc:creator>
				<category><![CDATA[SMF]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Telnet]]></category>

		<guid isPermaLink="false">http://sysinfo.bascomp.org/2008/03/04/block-telnet-session/</guid>
		<description><![CDATA[Bellow this, is procedure to block/stop/disable telnet service at solaris 10

bash&#62; vi /etc/inetd.conf
&#40;then put comment out ‘#’ below)
#telnet stream tcp6 nowait root /usr/sbin/in.telnetd in.telnetd

(then stop and restart services)

bash&#62; /etc/rc2.d/S72inetsvc stop
bash&#62; /etc/rc2.d/S72inetsvc start

or

bash&#62; /etc/init.d/inetsvc stop
bash&#62; /etc/init.d/inetsvc start

Update:
Solaris 10 x86 updae 6, telnet was offline/disable by default

bash&#62;cat /etc/release 
         [...]]]></description>
			<content:encoded><![CDATA[<p>Bellow this, is procedure to block/stop/disable telnet service at solaris 10</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>inetd.conf
<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">then</span> put comment out ‘<span style="color: #666666; font-style: italic;">#’ below)</span>
<span style="color: #666666; font-style: italic;">#telnet stream tcp6 nowait root /usr/sbin/in.telnetd in.telnetd</span></pre></div></div>

<p>(then stop and restart services)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc2.d<span style="color: #000000; font-weight: bold;">/</span>S72inetsvc stop
<span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc2.d<span style="color: #000000; font-weight: bold;">/</span>S72inetsvc start</pre></div></div>

<p>or</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>inetsvc stop
<span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>inetsvc start</pre></div></div>

<p><strong>Update:</strong><br />
Solaris 10 x86 updae 6, telnet was offline/disable by default</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>release 
                       Solaris <span style="color: #000000;">10</span> <span style="color: #000000;">10</span><span style="color: #000000; font-weight: bold;">/</span>08 s10x_u6wos_07b X86
           Copyright <span style="color: #000000;">2008</span> Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                            Assembled <span style="color: #000000;">27</span> October <span style="color: #000000;">2008</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span>svcs <span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">grep</span> telnet
offline         <span style="color: #000000;">13</span>:08:<span style="color: #000000;">13</span> svc:<span style="color: #000000; font-weight: bold;">/</span>network<span style="color: #000000; font-weight: bold;">/</span>telnet:default</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://sysinfo.bascomp.org/2008/03/block-telnet-session/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
