<?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>AIX Solaris HPUX UNIX Linux system storage administration ksh/perl scripting</title>
	<atom:link href="http://www.aixmind.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.aixmind.com</link>
	<description>UNIX administrator blog tips experience command log knowledge base</description>
	<lastBuildDate>Sat, 19 May 2012 03:42:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Yup, another PowerHA bug! cl_chfs: VG sharedvg is concurrent</title>
		<link>http://www.aixmind.com/?p=2530</link>
		<comments>http://www.aixmind.com/?p=2530#comments</comments>
		<pubDate>Sat, 19 May 2012 03:42:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AIX]]></category>
		<category><![CDATA[Cluster]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[cl_chfs]]></category>
		<category><![CDATA[concurrent]]></category>
		<category><![CDATA[VG]]></category>

		<guid isPermaLink="false">http://www.aixmind.com/?p=2530</guid>
		<description><![CDATA[Problem: &#160; When trying to extend a shared filesystem in  Enhanced-Capable Concurrent mode VG in PowerHA, I always return the following message: &#160; cl_chfs: VG sharedvg is concurrent No matter I use smit cspoc -&#62; filesystem or command: /usr/es/sbin/cluster/sbin/cl_chfs -cspoc -nnode1,node2 -a size=+100G -A no /usr/opt/db2/dat1 Or /usr/es/sbin/cluster/cspoc/cli_chfs -a size=+100G /usr/opt/db2/dat1 &#160; Solution: &#160; The problem is [...]]]></description>
			<content:encoded><![CDATA[<p>Problem:</p>
<p>&nbsp;</p>
<p>When trying to extend a shared filesystem in  Enhanced-Capable Concurrent mode VG in PowerHA, I always return the following message:</p>
<p>&nbsp;</p>
<pre>cl_chfs: VG sharedvg is concurrent</pre>
<p>No matter I use smit cspoc -&gt; filesystem</p>
<p>or command:</p>
<pre>/usr/es/sbin/cluster/sbin/cl_chfs -cspoc -nnode1,node2 -a size=+100G -A no /usr/opt/db2/dat1</pre>
<p>Or</p>
<pre>/usr/es/sbin/cluster/cspoc/cli_chfs -a size=+100G /usr/opt/db2/dat1</pre>
<p>&nbsp;</p>
<p>Solution:</p>
<p>&nbsp;</p>
<p>The problem is due to a typo in line 139 of /usr/es/sbin/cluster/utilities/clresactive</p>
<pre>if print -- "$lsvg_out" | grep -i -q "passive_only"</pre>
<p>It should be</p>
<pre>  if print -- "$lsvg_out" | grep -i -q "passive-only"</pre>
<p>&nbsp;</p>
<p>Please note it should be _ instead of &#8211; between passive and only.</p>
<p>&nbsp;</p>
<p>Modify the /usr/es/sbin/cluster/utilities/clresactive on all the Power HA nodes, now extending sharded filesystem works!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aixmind.com/?feed=rss2&#038;p=2530</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Determining if TSAMP/RSCT rebooted a node/server</title>
		<link>http://www.aixmind.com/?p=2524</link>
		<comments>http://www.aixmind.com/?p=2524#comments</comments>
		<pubDate>Thu, 17 May 2012 03:13:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AIX]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[kernel panic 225E3B63]]></category>
		<category><![CDATA[Reliable]]></category>
		<category><![CDATA[rsct]]></category>
		<category><![CDATA[Scalable Cluster Technology]]></category>
		<category><![CDATA[TSAMP]]></category>

		<guid isPermaLink="false">http://www.aixmind.com/?p=2524</guid>
		<description><![CDATA[Problem(Abstract) This document will discuss the various ways to determine if RSCT has rebooted your node. Symptom Node reboots without operator issuing the reboot command Resolving the problem TSAMP cannot reboot your node, there is no functionality built into the core TSAMP application that allows for this functionality. However, RSCT (Reliable, Scalable Cluster Technology), the [...]]]></description>
			<content:encoded><![CDATA[<h2>Problem(Abstract)</h2>
<p>This document will discuss the various ways to determine if RSCT has rebooted your node.</p>
<h2>Symptom</h2>
<div>
<p>Node reboots without operator issuing the reboot command</p>
</div>
<h2>Resolving the problem</h2>
<p>TSAMP cannot reboot your node, there is no functionality built into the core TSAMP application that allows for this functionality. However, RSCT (Reliable, Scalable Cluster Technology), the cluster provider that TSAMP &#8216;rides&#8217; upon can and will reboot your node given a few different situations. This technote will not discuss why the node was rebooted, only some of the ways to determine if RSCT was the culprit who initiated the reboot.</p>
<p><strong>Syslogs:</strong></p>
<p>The easiest way to see that RSCT has rebooted a node is to check your syslogs for the following message:<br />
<tt>Jan 11 10:15:38 node03 ConfigRM[1418]: (Recorded using libct_ffdc.a cv 2):::Error ID: :::Reference ID:  :::Template ID: 0:::Details File:  :::Location: RSCT,PeerDomain.C,1.99.25.16,18148            :::CONFIGRM_NOQUORUM_ER#012The operational quorum state of the active peer domain has changed to NO_QUORUM. #012This indicates that recovery of cluster resources can no longer occur and that #012the node may be rebooted or halted in order to ensure that critical resources #012are released so that they can be recovered by another sub-domain that may have #012operational quorum.</tt></p>
<p><tt>Jan 11 10:15:38 node03 ConfigRM[1418]: (Recorded using libct_ffdc.a cv 2):::Error ID: :::Reference ID:  :::Template ID: 0:::Details File:  :::Location: RSCT,PeerDomain.C,1.99.25.16,21028            :::CONFIGRM_REBOOTOS_ER#012The operating system is being rebooted to ensure that critical resources are #012stopped so that another sub-domain that has operational quorum may recover #012these resources without causing corruption or conflict.</tt></p>
<p>The easiest way to do this is to grep &#8220;REBOOTOS&#8221; from your syslogs output file.</p>
<p><strong>ConfigRM Trace File:</strong><br />
Your IBM.ConfigRM trace file can be found in the following directory and needs to be formatted to be read:<br />
To format the file:<br />
<tt>rpttr -odtic /var/ct/IW/log/mc/IBM.ConfigRM trace &gt; /tmp/IBM.ConfigRM_Trace.out</tt><br />
** Note: Your specific file names for the trace file may differ from what is shown above **</p>
<p>01/11/2011 10:15:38 AM.886775 T(11844464) _CFD !!!!!!!!!!!!!!!!! PeerDomainRcp::haltOS Entered. !!!!!!!!!!!!!!!!!!!!!<br />
/var/ct/IW/log/mc/IBM.ConfigRM/<br />
01/11/2011 10:15:38 AM.886856 T(11844464) _CFD logerr: In file=/project/spreljan/build/rjans002a/src/rsct/rm/ConfigRM/PeerDomain.C (Version=1.99.25.16 Line=21028) :<br />
CONFIGRM_REBOOTOS_ER<br />
The operating system is being rebooted to ensure that critical resources are<br />
stopped so that another sub-domain that has operational quorum may recover<br />
these resources without causing corruption or conflict.</p>
<p>After running the above rpttr command to format the traces, grep the word &#8220;rebootos&#8221; from the output file.</p>
<p><strong>Error Report (AIX only):</strong><br />
Create or view the error report with the following command:<br />
errpt -a &gt; /tmp/error_report.out</p>
<p><tt>Search for the following message:</tt><br />
<tt>-----------------------------------------------------------------------</tt><br />
<tt>LABEL: KERNEL_PANIC</tt><br />
<tt>IDENTIFIER: 225E3B63</tt></p>
<p><tt>Date/Time:       Fri Sep  9 17:35:14 2011</tt><br />
<tt>Sequence Number: 163592</tt><br />
<tt>Machine Id:      00C54C6E4C00</tt><br />
<tt>Node Id:         ccdev32</tt><br />
<tt>Class:           S</tt><br />
<tt>Type:            TEMP</tt><br />
<tt>WPAR:            Global</tt><br />
<tt>Resource Name:   PANIC</tt></p>
<p><tt>Description</tt><br />
<tt>SOFTWARE PROGRAM ABNORMALLY TERMINATED</tt></p>
<p><tt> Recommended Actions</tt><br />
<tt> PERFORM PROBLEM DETERMINATION PROCEDURES</tt></p>
<p><tt>Detail Data</tt><br />
<tt>ASSERT STRING</tt></p>
<p><tt>PANIC STRING</tt><br />
<tt>RSCT reboot caused by critical resource protection</tt><br />
<tt>-----------------------------------------------------------------------</tt></p>
<p>On both AIX 5.3 and AIX 6.1 the &#8220;IDENTIFIER&#8221; is the same value so searching the error report for &#8220;225E3B63&#8243; will locate and identify the RSCT reboot.</p>
<p><strong>Event Viewer (Windows only):</strong><br />
Search the event viewer for &#8220;0xDEADDEAD&#8221; to find the RSCT initiated reboots.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aixmind.com/?feed=rss2&#038;p=2524</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GPFS filesystem outage with a kernel panic 225E3B63</title>
		<link>http://www.aixmind.com/?p=2522</link>
		<comments>http://www.aixmind.com/?p=2522#comments</comments>
		<pubDate>Thu, 17 May 2012 03:10:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AIX]]></category>
		<category><![CDATA[Cluster]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[225E3B63]]></category>
		<category><![CDATA[DB2]]></category>
		<category><![CDATA[GPFS]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[KERNEL_PANIC]]></category>
		<category><![CDATA[PANIC]]></category>
		<category><![CDATA[pureScale]]></category>

		<guid isPermaLink="false">http://www.aixmind.com/?p=2522</guid>
		<description><![CDATA[A kernel panic has occurred on a member host that is due to a IBM® General Parallel File System (GPFS™) trigger. The trigger repeats on a sporadic but recurring basis. Symptoms The output of the db2instance -list command includes a pending failback operation, as shown in the following example: ID TYPE STATE HOME_HOST CURRENT_HOST ALERT [...]]]></description>
			<content:encoded><![CDATA[<p>A kernel panic has occurred on a member host that is due to a IBM® General Parallel File System (GPFS™) trigger. The trigger repeats on a sporadic but recurring basis.</p>
<div>
<h2>Symptoms</h2>
<div>
<p>The output of the db2instance -list command includes a pending failback operation, as shown in the following example:</p>
<p><code>ID TYPE STATE HOME_HOST CURRENT_HOST ALERT PARTITION_NUMBER LOGICAL_PORT NETNAME<br />
-- ---- ----- --------- ------------ ----- ---------------- ------------ -------<br />
0 MEMBER <strong class="ph b">WAITING_FOR_FAILBACK</strong> hostA hostB NO 0 1 hostB-ib0<br />
1 MEMBER STARTED hostB hostB NO 0 0 hostB-ib0<br />
2 MEMBER STARTED hostC hostC NO 0 0 hostC-ib0<br />
128 CF PRIMARY hostD hostD NO - 0 hostD-ib0<br />
129 CF PEER hostE hostE NO - 0 hostE-ib0</code></p>
<p>HOSTNAME STATE INSTANCE_STOPPED ALERT<br />
&#8212;&#8212;&#8211; &#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;- &#8212;&#8211;<br />
hostA <strong class="ph b">INACTIVE</strong> NO YES<br />
hostB ACTIVE NO NO<br />
hostC ACTIVE NO NO<br />
hostD ACTIVE NO NO<br />
hostE ACTIVE NO NO</p>
<p>In the previous example, hostA has a state of INACTIVE, and an ALERT field is marked as YES. This output of the db2instance -list command is seen when hostA is offline or rebooting. Since the home host for member 0, hostA is offline, member 0 has failed over to hostB. Member 0 is now waiting to failback to its home host, as indicated by the WAITING_FOR_FAILBACK state. After hostA is rebooted from the panic, member 1 will fail back to hostA.</p>
</div>
</div>
<div>
<h2>Diagnosis</h2>
<div>
<p>When you check the db2diag log file, you can find many log entries that indicate that a restart light operation has occurred, as shown in the following example:</p>
<p><code>2009-08-27-23.37.52.416270-240 I6733A457 LEVEL: Event<br />
PID : 1093874 TID : 1 KTID : 2461779<br />
PROC : db2star2<br />
INSTANCE: NODE : 000<br />
HOSTNAME: hostB<br />
EDUID : 1<br />
FUNCTION: DB2 UDB, base sys utilities, DB2StartMain, probe:3368<br />
MESSAGE : Idle process taken over by member<br />
DATA #1 : Database Partition Number, PD_TYPE_NODE, 2 bytes<br />
996<br />
DATA #2 : Database Partition Number, PD_TYPE_NODE, 2 bytes<br />
0</code></p>
</div>
<div>
<p>Another way to diagnose this type of problem is to check the system log. Run the OS command errpt -a to view the contents of the AIX® errpt system log. In the AIX errpt log, you might see log entries similar in the following example, which is for hostA:</p>
<p><code>LABEL: KERNEL_PANIC<br />
IDENTIFIER: 225E3B63</code></p>
<p>Date/Time: Mon May 26 08:02:03 EDT 2008<br />
Sequence Number: 976<br />
Machine Id: 0006DA8AD700<br />
Node Id: hostA<br />
Class: S<br />
Type: TEMP<br />
Resource Name: PANIC</p>
<p>Description<br />
SOFTWARE PROGRAM ABNORMALLY TERMINATED</p>
<p>Recommended Actions<br />
PERFORM PROBLEM DETERMINATION PROCEDURES</p>
<p>Detail Data<br />
ASSERT STRING<br />
5.1: xmemout succeeded rc=d</p>
<p>PANIC STRING<br />
kx.C:2024:0:0:04A53FA8::advObjP == ofP-&gt;advLkObjP</p>
</div>
<p>If you see a</p>
<p><samp>KERNEL_PANIC</samp>log entry as shown in the previous example, the system reboot might be due to an operating system kernel panic that was triggered by a problem in the GPFS subsystem. A kernel panic and system reboot can be the result of excessive processor usage or heavy paging on the system when the GPFS daemons do not receive enough system resources to perform critical tasks. If you experience GPFS filesystem outages that are related to kernel panics, the underlying processor usage or paging issues must be resolved first. If you cannot resolve the underlying issues, run the db2support command for the database with the -s parameter to collect diagnostic information and contact IBM Technical Support.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.aixmind.com/?feed=rss2&#038;p=2522</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DBI1122E after using db2iupdt command on existing instance</title>
		<link>http://www.aixmind.com/?p=2514</link>
		<comments>http://www.aixmind.com/?p=2514#comments</comments>
		<pubDate>Sun, 29 Apr 2012 21:37:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[.instuse]]></category>
		<category><![CDATA[db2iupdt]]></category>
		<category><![CDATA[DBI1122E]]></category>

		<guid isPermaLink="false">http://www.aixmind.com/?p=2514</guid>
		<description><![CDATA[Problem(Abstract) db2iupdt on existing instance fails with DBI1122E on cleanly brought down instance. Symptom DBI1122E Instance db2inst1 cannot be updated or upgraded. Cause An attempt was made to either update or upgrade an instance. The error message is indicating an incorrect version. This is caused by the .instuse file being corrupted. /db2inst1/sqllib/ctrl/.instuse &#160; Diagnosing the [...]]]></description>
			<content:encoded><![CDATA[<h2>Problem(Abstract)</h2>
<p>db2iupdt on existing instance fails with DBI1122E on cleanly brought down instance.</p>
<h2>Symptom</h2>
<div>
<p>DBI1122E Instance db2inst1 cannot be updated or upgraded.</p>
</div>
<h2>Cause</h2>
<div>
<p>An attempt was made to either update or upgrade an instance. The error message is indicating an incorrect version. This is caused by the .instuse file being corrupted.</p>
<p><tt>/db2inst1/sqllib/ctrl/.instuse </tt></p>
</div>
<p>&nbsp;</p>
<h2>Diagnosing the problem</h2>
<div>
<p>&nbsp;</p>
<ul>
<li>Run db2iupdt with debug option -d.<br />
<tt>db2iupdt -d db2inst1</tt>Check if output contains db2version as 199 just before DBI1122E is received.<br />
## exit function query_instuse_string<br />
## INSTUSE_VALUE for INSTVER is 0<br />
## db2version=199 &lt;======<br />
## db2proddir=UNKNOWN<br />
## exit function chk_version<br />
DBI1122E Instance db2inst1 cannot be updated or upgraded.</li>
</ul>
<ul>
<li>Check the content of &lt;instance home directory&gt;/sqllib/ctrl/.instusecat /home/db2inst1/sqllib/ctrl/.instuse</li>
<li>If the file contains following, then .instuse file is corrupted
<ul>
<ul>BitWidth=64</ul>
</ul>
<ul>RealBitWidth=64</ul>
</li>
</ul>
</div>
<h2>Resolving the problem</h2>
<div>
<p>To resolve the issue, perform the following steps.</p>
<p>1. Login as instance owner</p>
<p>2. Manually edit the .instuse file to enter following fields:</p>
<ul>
<ul>BitWidth=64</ul>
</ul>
<ul>
<ul>RealBitWidth=64</ul>
</ul>
<ul>
<ul>DB2DIR=&lt;db2 installation directory&gt;</ul>
</ul>
<ul>
<ul>InstanceType=1</ul>
</ul>
<ul>
<ul>InstallerID=0</ul>
</ul>
<ul>
<ul>INSTVER=97</ul>
</ul>
<ul>
<ul>V=9</ul>
</ul>
<ul>
<ul>R=7</ul>
</ul>
<ul>
<ul>M=0</ul>
</ul>
<ul>
<ul>F=1</ul>
</ul>
<ul>
<ul>I=0</ul>
</ul>
<ul>
<ul>S=3</ul>
</ul>
<ul>
<ul>SpecialBuild=</ul>
</ul>
<ul>Once, step 4 is run, above will be corrected depending on the latest fixpack user installed.</ul>
<p>3. Login as root<br />
4. Run db2iupdt again.</p></div>
<p>&nbsp;</p>
<h2>Related information</h2>
<p><a href="http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/topic/com.ibm.db2.luw.admin.cmd.doc/doc/r0002060.html">db2iupdt</a><br />
<a href="http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/topic/com.ibm.db2.luw.messages.dbi.doc/doc/mdbi01122e.html">DBI1122E</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.aixmind.com/?feed=rss2&#038;p=2514</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle installation compiler requirement</title>
		<link>http://www.aixmind.com/?p=2509</link>
		<comments>http://www.aixmind.com/?p=2509#comments</comments>
		<pubDate>Fri, 27 Apr 2012 02:34:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AIX]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[compiler requirement]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.aixmind.com/?p=2509</guid>
		<description><![CDATA[Compiler Requirements for Oracle Database 11g Release 2(11.2) installation: The following is the minimum compiler requirement for Pro*C/C++, Oracle Call Interface, Oracle C++ Call Interface, and Oracle XML Developer&#8217;s Kit (XDK) with Oracle Database 11g Release 2 (11.2): IBM XL C/C++ Enterprise Edition for AIX, V9.0 April 2008 PTF: You can download this software from [...]]]></description>
			<content:encoded><![CDATA[<h3 id="autoId9">Compiler Requirements for Oracle Database 11g Release 2(11.2) installation:</h3>
<p>The following is the minimum compiler requirement for Pro*C/C++, Oracle Call Interface, Oracle C++ Call Interface, and Oracle XML Developer&#8217;s Kit (XDK) with Oracle Database 11g Release 2 (11.2):</p>
<p>IBM XL C/C++ Enterprise Edition for AIX, V9.0 April 2008 PTF:<a id="sthref77" name="sthref77"></a><a id="sthref78" name="sthref78"></a><a id="sthref79" name="sthref79"></a></p>
<p>You can download this software from the following link:</p>
<p><code><a href="http://www-01.ibm.com/support/docview.wss?uid=swg24015075">http://www-01.ibm.com/support/docview.wss?uid=swg24015075</a></code></p>
<div>
<p>Note:</p>
<p>Even if you do not install the IBM XL C/C++ compiler, you require the compiler for AIX Runtime Environment Component. The runtime environment file sets can be downloaded with no license requirements. The minimum recommended runtime environment for AIX 5.3 and AIX 6.1 is available at the following URL:IBM XL C/C++ for AIX, V10.1 Runtime Environment</p>
<p><code><a href="http://www-01.ibm.com/support/docview.wss?rs=2239&amp;uid=swg24019829">http://www-01.ibm.com/support/docview.wss?rs=2239&amp;uid=swg24019829</a></code></p>
<p>&nbsp;</p>
<div>
<h2>Abstract</h2>
<p>This page contains the Runtime Environment package for use with applications developed using the IBM XL C/C++ for AIX, V10.1 compiler or its predecessors.</p>
<h2>Download Description</h2>
<div>
<p>If you wish to run an application developed using the IBM XL C/C++ for AIX, V10.1 compiler, but do not have the corresponding version of compiler or runtime already installed, then you need to install the Runtime Environment package.</p>
<p>Note: Depending on your application, in addition to the Runtime Environment package, you may also need to install the <a href="http://www-1.ibm.com/support/docview.wss?rs=2239&amp;uid=swg24019828">Utilities package</a>. The Utilities package contains files that may be required by some third-party applications. Only download and install the Utilities package if instructed by your application provider.</p>
</div>
<h2>Prerequisites</h2>
<div>
<p>Operating system (one of):</p>
<ul>
<li>IBM AIX V5.3 TL 5300-06, or higher, with bos.rte.libc 5.3.0.60, or higher</li>
<li>IBM AIX V6.1 with bos.rte.libc 6.0.0.0, or higher</li>
<li>IBM i 6.1 (i5/OS V6R1) PASE</li>
</ul>
<p>Disk space: 45 MB</p>
</div>
</div>
<div>
<h2>Installation Instructions</h2>
<div>
<p>Refer to the <a href="ftp://public.dhe.ibm.com/aix/products/ccpp/xlc.rte.aix.10.1/README">README</a> file for installation instructions.</p>
<p>&nbsp;</p>
<p><strong>Terms and Conditions<br />
</strong>By downloading, installing, copying, accessing or using this software you agree to the terms and conditions outlined in the License Agreement. Please review the <a href="ftp://public.dhe.ibm.com/aix/products/ccpp/xlc.rte.aix.10.1/LicenseAgreement.pdf">License Agreement</a> and <a href="ftp://public.dhe.ibm.com/aix/products/ccpp/xlc.rte.aix.10.1/LicenseInformation.pdf">License Information</a> documents prior to proceeding with download or installation.</p>
</div>
</div>
<div>
<h2>Download package</h2>
<div>
<p>The Runtime Environment package xlcpp.rte.10.1.0.aix.base.tar.Z contains the following files:<br />
vacpp.cmp.rte<br />
vacpp.memdbg.aix53.rte<br />
vacpp.memdbg.rte<br />
xlC.aix50<br />
xlC.aix61<br />
xlC.msg.Ja_JP<br />
xlC.msg.en_US<br />
xlC.msg.ja_JP<br />
xlC.rte<br />
xlsmp.aix53.rte<br />
xlsmp.msg.EN_US.rte<br />
xlsmp.msg.JA_JP.rte<br />
xlsmp.msg.Ja_JP.rte<br />
xlsmp.msg.ZH_CN.rte<br />
xlsmp.msg.Zh_CN.rte<br />
xlsmp.msg.en_US.rte<br />
xlsmp.msg.ja_JP.rte<br />
xlsmp.msg.zh_CN.rte<br />
xlsmp.rte</p>
</div>
</div>
<p>&nbsp;</p>
<table border="0" cellspacing="0" cellpadding="0">
<thead></thead>
<tbody>
<tr>
<th scope="col">
<pre>Download</pre>
</th>
<th scope="col">
<pre>RELEASE DATE</pre>
</th>
<th scope="col">
<pre>LANGUAGE</pre>
</th>
<th scope="col">
<pre>SIZE(Bytes)</pre>
</th>
<th scope="col">
<pre>Download Options</pre>
</th>
</tr>
</tbody>
<tbody>
<tr>
<th scope="row">
<pre>xlcpp.rte.10.1.0.aix.base</pre>
</th>
<td>
<pre>2008-07-14</pre>
</td>
<td>
<pre>English</pre>
</td>
<td>
<pre>34310266</pre>
</td>
<td>
<pre><a href="ftp://public.dhe.ibm.com/aix/products/ccpp/xlc.rte.aix.10.1/xlcpp.rte.10.1.0.aix.base.tar.Z">FTP</a></pre>
</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<div></div>
<div>
<h2>Technical support</h2>
<p>The C++ Runtime Environment for AIX is not supported as a stand-alone software product.</p>
<p>Support for questions and problems relating to installation of the C++ Runtime Environment is available as part of <a href="http://www-03.ibm.com/systems/p/os/aix/index.html">AIX</a> Software Maintenance (<a href="http://www-03.ibm.com/systems/p/os/aix/softwaresub/maint.html">SWMA</a>).</p>
<p>If you suspect a problem with the C++ Runtime Environment while using it with a third-party application, contact your application provider for support.</p>
<p>Full support (installation, defect support and general questions) for the C++ Runtime Environment is available with the software maintenance agreement for the <a href="http://www-306.ibm.com/software/awdtools/ccompilers/">XL C++ Compilers</a>. A suitable test case is required for defect support; click <a href="http://www-1.ibm.com/support/docview.wss?rs=2239&amp;uid=swg21260804">here</a> for details.</p>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.aixmind.com/?feed=rss2&#038;p=2509</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MustGather: No response (hang) on AIX 5.2 and higher versions produces no javacore</title>
		<link>http://www.aixmind.com/?p=2506</link>
		<comments>http://www.aixmind.com/?p=2506#comments</comments>
		<pubDate>Mon, 23 Apr 2012 20:20:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AIX]]></category>
		<category><![CDATA[gencore]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[no javacore]]></category>

		<guid isPermaLink="false">http://www.aixmind.com/?p=2506</guid>
		<description><![CDATA[Problem(Abstract) MustGather for when your WebSphere Application Server is not responding (hangs) on an AIX 5.2 system and a &#8220;kill -3&#8243; command does not produce javacore files. Gathering this information before calling IBM support will help familiarize you with the troubleshooting process and save you time. Resolving the problem If you already contacted support, continue [...]]]></description>
			<content:encoded><![CDATA[<h2>Problem(Abstract)</h2>
<p>MustGather for when your WebSphere Application Server is not responding (hangs) on an AIX 5.2 system and a &#8220;kill -3&#8243; command does not produce javacore files. Gathering this information before calling IBM support will help familiarize you with the troubleshooting process and save you time.</p>
<h2>Resolving the problem</h2>
<div>
<p>If you already contacted support, continue to the component-specific MustGather information. Otherwise, click on the following link: <a href="http://www.ibm.com/support/docview.wss?uid=swg21145599">MustGather: Read first for all WebSphere Application Server products</a>.</p>
<p><strong>No javacore generated specific MustGather information</strong><br />
The following steps will ensure that AIX is set up to accept a full core:</p>
<ol type="1">
<li>Go into SMIT and ensure that <strong>full core</strong> is enabled; or, from a command line, enter the following:
<p><tt>lsattr -Elsys0 | grep full</tt><strong><br />
</strong><br />
<strong></p>
<p></strong>To set<strong> full core</strong><strong> </strong>to true:</p>
<p>chdev -a fullcore=true -lsys0</p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr valign="top">
<td width="100%"><img src="http://www-01.ibm.com/support/docview.wss?uid=swg21205260&amp;aid=1" alt="" width="1" height="1" border="0" /></td>
</tr>
<tr valign="top">
<td width="100%"><img src="http://www-01.ibm.com/support/docview.wss?uid=swg21205260&amp;aid=1" alt="" width="1" height="1" border="0" /></td>
</tr>
</tbody>
</table>
</li>
<li>Ensure that your <strong>ulimit -c</strong> and <strong>ulimit -f</strong> is set high enough.
<p><strong>Note:</strong> Units are in 512-byte blocks. Set to <strong>unlimited</strong> to ensure that you have enough free file system space in your <tt><em>install_root</em></tt><tt>/bin</tt> directory (at least 750 MB to 2 GB).</p>
<p>To check the current settings run the following commands:</p>
<p>ulimit -c<br />
ulimit -f</p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr valign="top">
<td width="100%"></td>
</tr>
<tr valign="top">
<td width="100%">To set to ​<strong>unlimited​</strong>, run the following commands:​</td>
</tr>
<tr valign="top">
<td width="100%">
<p>ulimit -c unlimited​<br />
ulimit -f unlimited​</td>
</tr>
<tr valign="top">
<td width="100%"></td>
</tr>
</tbody>
</table>
</li>
<li>Ensure that the WebSphere Application Server process can write to the <tt><em>install_root</em></tt><tt>\bin</tt> directory (default, unless <tt>workingDirectory</tt> variable is changed).</li>
<li>Check the file, <tt>/etc/security/limits</tt>. The stanza for the user that runs the process should have <tt>fsize = -1</tt> and <tt>core = -1</tt>. Setting these values to <strong>-1 </strong>changes the setting to unlimited; you must ensure that you have enough free space to handle a large core file.</li>
<li>Enter the following command:
<p>gencore process_ID file_name</p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr valign="top">
<td width="100%"></td>
</tr>
<tr valign="top">
<td width="100%"><strong>Example:​</strong> To generate a core file, named ​<tt>core.1095​</tt>, for the process with process ID 1095, enter the following command:​</td>
</tr>
<tr valign="top">
<td width="100%">
<p>gencore 1095 core.1095​</td>
</tr>
<tr valign="top">
<td width="100%"></td>
</tr>
<tr valign="top">
<td width="100%">The ​<strong>gencore​</strong> command creates a core file of the process specified by the ProcessID without terminating the process.​</td>
</tr>
<tr valign="top">
<td width="100%"></td>
</tr>
</tbody>
</table>
</li>
<li>If you still do not get a core file after setting these parameters correctly, do the following:
<ol type="a">
<li>Add the following lines to the beginning of the file, <tt>startupServer.sh</tt>:<tt><br />
</tt></p>
<p><tt>export DISABLE_JAVADUMP=true<br />
export IBM_NOSIGHANDLER=true</tt></p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr valign="top">
<td width="100%"></td>
</tr>
</tbody>
</table>
</li>
<li>Restart all WebSphere Application Server java processes.</li>
<li>Enter the following command against the PID of the java process to test getting a core file:
<p><tt>gencore </tt><tt><em>process_ID</em></tt><tt> </tt><tt><em>file_name</em></tt></p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr valign="top">
<td width="100%"></td>
</tr>
</tbody>
</table>
</li>
</ol>
</li>
<li>If you can get a core from the test, wait for a hang to occur during an error condition.
<p>If you are using WebSphere MQ, it might trap the signal and not propagate to the Java™ process.</p>
<p>Disable the WebSphere MQ signal handling by setting the following environment variable:</p>
<p><tt>MQS_NO_SYNC_SIGNAL_HANDLING</tt></p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr valign="top">
<td width="100%"></td>
</tr>
<tr valign="top">
<td width="100%"><strong>Example:​</strong></td>
</tr>
<tr valign="top">
<td width="100%">
<p>​<tt>export MQS_NO_SYNC_SIGNAL_HANDLING=true​</tt></td>
</tr>
<tr valign="top">
<td width="100%"></td>
</tr>
</tbody>
</table>
</li>
<li>When the Java process hangs, perform the following steps:
<ol type="a">
<li>Enter the following command:
<p><tt>gencore </tt><tt><em>process_ID</em></tt><tt> core1.</tt><tt><em>process_ID</em></tt></p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr valign="top">
<td width="100%"></td>
</tr>
</tbody>
</table>
</li>
<li>Wait for 3 to 5 minutes to allow for core file generation.</li>
<li>Enter the following command:
<p><tt>gencore </tt><tt><em>process_ID</em></tt><tt> core2.</tt><tt><em>process_ID</em></tt></p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr valign="top">
<td width="100%"></td>
</tr>
</tbody>
</table>
</li>
<li>Wait for 3 to 5 minutes to allow for core file generation.</li>
<li>Enter the following command:
<p><tt><br />
gencore </tt><tt><em>process_ID</em></tt><tt> core3.</tt><tt><em>process_ID</em></tt></p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr valign="top">
<td width="100%"></td>
</tr>
</tbody>
</table>
</li>
<li>Enter the following command:
<p><tt>./getlib.sh </tt><tt><em>java_executable_fullpath</em></tt><tt> </tt><tt><em>core_file_name</em></tt></p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr valign="top">
<td width="100%"></td>
</tr>
<tr valign="top">
<td width="100%">This creates ​<tt>getlib_archive.tar.Z​</tt>.​<br />
​<br />
​<strong>Note: ​</strong>You must have ​<tt>dbx​</tt> installed to run this command.​</td>
</tr>
<tr valign="top">
<td width="100%"></td>
</tr>
</tbody>
</table>
</li>
<li>Enter the following command:
<p><tt>tar cvf </tt><tt><em>core_file_name.tar</em></tt><tt> </tt><tt><em>core_file_name</em></tt></p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr valign="top">
<td width="100%"></td>
</tr>
<tr valign="top">
<td width="100%">This creates ​<tt>core_file_name.tar​</tt>.​</td>
</tr>
<tr valign="top">
<td width="100%"></td>
</tr>
</tbody>
</table>
</li>
<li>If the Developer Kit is 131 SR5 (131-20030618) or later, run the following command against each core file:<tt><br />
</tt></p>
<p><tt>./jextract -o core</tt><tt><em>N</em></tt><tt>.sdff [</tt><tt><em>CORE_PATH</em></tt><tt>]</tt></p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr valign="top">
<td width="100%"></td>
</tr>
<tr valign="top">
<td width="100%">Where, ​ ​ ​ ​</p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr valign="top">
<td width="23%"><tt>jextract​​</tt></td>
<td width="77%">is found in the ​​<tt><em>install_root​​</em></tt><tt>/java/jre/bin​​</tt> directory ​​<tt>core​​</tt><tt><em>N​​</em></tt><tt>.sdff​​</tt> is the output file and &#8220;N&#8221; is the number (for example: 1, 2, 3, and so on)​​</td>
</tr>
<tr valign="top">
<td width="23%"><tt>[​​</tt><tt><em>CORE_PATH​​</em></tt><tt>]​​</tt></td>
<td width="77%">is the path and file name for the core file​​</td>
</tr>
</tbody>
</table>
<p>​</td>
</tr>
<tr valign="top">
<td width="100%"></td>
</tr>
</tbody>
</table>
</li>
</ol>
</li>
<li>Collect the following diagnostic information:<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr valign="top">
<td width="100%">​</p>
<ul>​</p>
<li>All ​<tt>dbxtrace.out​</tt> files ​</li>
<li>All standard data file format (SDFF) files ​</li>
<li><tt>errpt.out ​</tt> ​</li>
<li>All ​<tt>getlib_archive.tar.Z​</tt> files ​</li>
<li>All ​<tt>core.tar​</tt> files ​</li>
<li><strong>All WebSphere Application Server log files for V6.0: ​</strong>​
<ul>​</p>
<li>Include all of the files from the following directory:​<br />
​</p>
<p>​<tt><em>install_root​</em></tt><tt>/profiles/​</tt><tt><em>profile_name​</em></tt><tt>/logs/​</tt><tt><em>server_name​</em></tt>​ ​ ​ ​ ​</p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr valign="top">
<td width="100%"></td>
</tr>
<tr valign="top">
<td width="100%">Include the following Application Server log files if they are located in a different location: ​​</p>
<ul type="disc">​​</p>
<li><tt>SystemOut​​</tt> ​​</li>
<li><tt>SystemErr​​</tt> ​​</li>
<li><tt>native_stdout​​</tt> ​​</li>
<li><tt>native_stderr​​</tt></li>
</ul>
<p>​​</td>
</tr>
<tr valign="top">
<td width="100%"></td>
</tr>
</tbody>
</table>
<p>​</li>
<li>Send the ​<tt>server.xml​</tt> file located in the following directory:​<br />
​</p>
<p>​<tt><em>install_root​</em></tt><tt>/profiles/​</tt><tt><em>profile_name​</em></tt><tt>/configcells/​</tt><tt><em><br />
cell_name​</em></tt><tt>/nodes/​</tt><tt><em>node_name​</em></tt><tt>/servers/​</tt><tt><em>server_name​</em></tt>​ ​ ​</p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr valign="top">
<td width="100%"></td>
</tr>
</tbody>
</table>
<p>​</li>
</ul>
<p>​</li>
<li><strong>All WebSphere Application Server log files for V5.1 and V5.0:​</strong>​
<ul>​</p>
<li>Include all of the files from the following directory:​<br />
​</p>
<p>​<tt><em>install_root​</em></tt><tt>/logs/​</tt><tt><em>server_name​</em></tt>​ ​ ​ ​ ​</p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr valign="top">
<td width="100%"></td>
</tr>
<tr valign="top">
<td width="100%">Include the following Application Server log files if they are located in a different location: ​​</p>
<ul type="disc">​​</p>
<li><tt>SystemOut​​</tt> ​​</li>
<li><tt>SystemErr​​</tt> ​​</li>
<li><tt>native_stdout​​</tt> ​​</li>
<li><tt>native_stderr​​</tt></li>
</ul>
<p>​​</td>
</tr>
<tr valign="top">
<td width="100%"></td>
</tr>
</tbody>
</table>
<p>​</li>
<li>Send the ​<tt>server.xml ​</tt>file located in the following directory:​<br />
​</p>
<p>​<tt><em>install_root​</em></tt><tt>/config/cells/​</tt><tt><em>cell_name​</em></tt><tt>/nodes/​</tt><tt><em><br />
node_name​</em></tt><tt>/servers/​</tt><tt><em>server_name​</em></tt></li>
</ul>
<p>​</li>
</ul>
<p>​</td>
</tr>
<tr valign="top">
<td width="100%"></td>
</tr>
<tr valign="top">
<td width="100%"><strong>Note: ​</strong>See the attached scripts ​<tt>dbxtrace_aix.sh​</tt> and ​<tt>getlib.sh​</tt>. To run the ​<tt>dbxtrace_aix.sh​</tt> file, you must have the ​<tt>dbx​</tt> component of AIX installed on the machine.​</td>
</tr>
<tr valign="top">
<td width="100%"></td>
</tr>
</tbody>
</table>
</li>
<li>Follow instructions to <a href="http://www.ibm.com/support/docview.wss?rs=180&amp;uid=swg21153852">send diagnostic information to IBM support</a></li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.aixmind.com/?feed=rss2&#038;p=2506</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SEA Failover flapping on backup SEA</title>
		<link>http://www.aixmind.com/?p=2502</link>
		<comments>http://www.aixmind.com/?p=2502#comments</comments>
		<pubDate>Sat, 14 Apr 2012 20:16:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AIX]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[failover]]></category>
		<category><![CDATA[SEA]]></category>
		<category><![CDATA[Shared Ethernet Adapter]]></category>
		<category><![CDATA[VIO]]></category>

		<guid isPermaLink="false">http://www.aixmind.com/?p=2502</guid>
		<description><![CDATA[Question Why is the backup SEA adapter of my SEA failover flapping from Primary to Backup repeatedly? Cause The Shared Ethernet Adapter (SEA) failover hung or became unresponsive. The backup SEA adapter was flapping between Primary and Backup states which is seen as contention on the control channel between primary ( 1) and backup (2) [...]]]></description>
			<content:encoded><![CDATA[<h2>Question</h2>
<p>Why is the backup SEA adapter of my SEA failover flapping from Primary to Backup repeatedly?</p>
<h2>Cause</h2>
<div>
<p>The Shared Ethernet Adapter (SEA) failover hung or became unresponsive. The backup SEA adapter was flapping between Primary and Backup states which is seen as contention on the control channel between primary ( 1) and backup (2) of SEAs.</p>
</div>
<h2>Answer</h2>
<div>
<p>This issue can be caused by 2 different problems:</p>
<p>1) The backup SEA sends a pulse to the primary SEA to see if it is still alive. The primary VIO is not able to send heart beats to backup SEA fast enough due to a lack of available CPU cycles. The backup SEA with trunk priority 2 tries to become primary before it receives the reply and logs these SEAHA_PRIMARY, SEAHA_BACKUP errors. This can sometimes be resolved by changing the VIO CPUs from shared to dedicated.</p>
<p>Another resolution is to update the VIO servers to at least 2.2.0.12 FP24 SP02 to get the SEA fixes for this issue.</p>
<p>2) CPU folding enabled on VIO servers can cause SEA flapping and in turn will cause the VIO SEA to hang.</p>
<p><strong>Processor folding</strong>: Processor folding currently is not supported for VIOS partitions. If processor folding is enabled on your VIOS, and migration media is used to move from VIOS 1.5 to 2.1.0.13 FP 23, or later, processor folding remains enabled. Upgrading via migration media does not change the processor folding state. If you have installed VIOS 2.1.3.0, or later, and have not changed the folding policy, then folding is disabled.</p>
<p>Check for CPU folding on VIOS:</p>
<p>$ oem_setup_env</p>
<p># schedo -o vpm_fold_policy</p>
<p>If the value is anything other than 4, turn it off with this command:</p>
<p># schedo -p -o vpm_fold_policy=4</p>
<p>The current value can also found in the ./kernel/kernel.snap file in the VIO snap.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.aixmind.com/?feed=rss2&#038;p=2502</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Optimizing Sybase Adaptive Server Enterprise (ASE) for IBM AIX</title>
		<link>http://www.aixmind.com/?p=2496</link>
		<comments>http://www.aixmind.com/?p=2496#comments</comments>
		<pubDate>Mon, 09 Apr 2012 14:36:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AIX]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Adaptive Server Enterprise]]></category>
		<category><![CDATA[ASE]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[Optimizing]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[Sybase]]></category>
		<category><![CDATA[tuning]]></category>

		<guid isPermaLink="false">http://www.aixmind.com/?p=2496</guid>
		<description><![CDATA[This is a paper from IBM and Sybase to assist database administrators (DBAs) and UNIX system administrators (SAs) working together. This white paper helps these professionals achieve the best possible performance from the Sybase Adaptive Server Enterprise (ASE) on IBM Power Systems running in the IBM AIX operating environment. The focus of this white paper [...]]]></description>
			<content:encoded><![CDATA[<p>This is a paper from IBM and Sybase to assist database administrators (DBAs) and UNIX system administrators (SAs) working together. This white paper helps these professionals achieve the best possible performance from the Sybase Adaptive Server Enterprise (ASE) on IBM Power Systems running in the IBM AIX operating environment.</p>
<p>The focus of this white paper is on Sybase ASE 15.0.2 through ASE 15.5, running under AIX 5.3, 6.1, and 7.1 on the IBM POWER6 and IBM POWER7 processor-based servers. The recommendations of the original version of this white paper, published in March 2006, applied to IBM AIX 5L logical partitions (LPARs) with dedicated processors, memory, and devices. The 2009 revision of the paper also addressed all relevant aspects of IBM PowerVM including shared-processor LPARs (referred to as IBM Micro-Partitioning) and virtual I/O, features which are only available in the POWER 5, POWER6, and POWER7 processor-based servers with AIX 5.3 or later releases. The current revision of the white paper extends coverage to POWER7, enhancements to virtual I/O, and AIX 7.1 where relevant to ASE. Recent field and lab experience with POWER7 processor-based servers is applied to new or revised best practice recommendations. The recommendations apply to ASE Cluster Edition for AIX except where noted.</p>
<p>&nbsp;</p>
<p>Full PDF:  <a href="http://www.aixmind.com/wp-content/uploads/2012/04/Optimizing-Sybase-Adaptive-Server-EnterpriseASE-for-IBM-AIX.pdf" target="_blank">Optimizing Sybase Adaptive Server Enterprise(ASE) for IBM AIX</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.aixmind.com/?feed=rss2&#038;p=2496</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading CAA in a PowerHA v7.1 Cluster</title>
		<link>http://www.aixmind.com/?p=2490</link>
		<comments>http://www.aixmind.com/?p=2490#comments</comments>
		<pubDate>Sun, 08 Apr 2012 18:24:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AIX]]></category>
		<category><![CDATA[Cluster]]></category>
		<category><![CDATA[CAA]]></category>
		<category><![CDATA[HACMP]]></category>
		<category><![CDATA[PowerHA v7.1]]></category>
		<category><![CDATA[TL upgrade]]></category>
		<category><![CDATA[Upgrading]]></category>

		<guid isPermaLink="false">http://www.aixmind.com/?p=2490</guid>
		<description><![CDATA[AIX 6100-06/7100-00 delivered the first version of the Operating System embedded cluster technology also called as Cluster Aware AIX (CAA). AIX releases later to these technology levels have modified CAA significantly. Hence updating to these later AIX levels from 6100-06 or 7100-00 requires that CAA based cluster be stopped from operation before the OS update. [...]]]></description>
			<content:encoded><![CDATA[<p>AIX 6100-06/7100-00 delivered the first version of the Operating System embedded<br />
cluster technology also called as Cluster Aware AIX (CAA). AIX releases later to these<br />
technology levels have modified CAA significantly. Hence updating to these later AIX<br />
levels from 6100-06 or 7100-00 requires that CAA based cluster be stopped from<br />
operation before the OS update. This document provides guidelines to customers for such<br />
an OS update procedure.<br />
Note that PowerHA SystemMirror 7.1 exploits the CAA technology in the AIX<br />
Operating System and hence would require CAA cluster be stopped before the OS<br />
updates.</p>
<p>&nbsp;</p>
<div><strong>CAA Migration Demo Resource Configuration</strong></div>
<div></div>
<div><a href="http://www.aixmind.com/wp-content/uploads/2012/04/caa1.jpg"><img title="caa1" src="http://www.aixmind.com/wp-content/uploads/2012/04/caa1.jpg" alt="" width="867" height="266" /></a></div>
<div></div>
<div>
<div><strong>Upgrading CAA Overview Steps</strong></div>
</div>
<div></div>
<div>
<div>
<ul>
<li>Stop cluster services on all nodes</li>
<li>Remove CAA cluster via rmcluster command</li>
<li>Update to current TL/SP levels</li>
</ul>
</div>
<div>– at least bos.cluster,bos.ahafs, and RSCT (CAAv2 no longer uses the soliddb)</div>
<div>– More commonly update entire TL/SP levels and it may require a reboot.</div>
<div>
<ul>
<li>Update /etc/cluster/rhosts</li>
</ul>
</div>
<div>– This generally should <strong>not </strong>be needed but early v2 release overwrites the file</div>
<div>
<ul>
<li>Refresh -s clcomd</li>
<li>Synchronize the cluster</li>
</ul>
</div>
<div>– This will recreate the CAA cluster</div>
<div>
<ul>
<li>Restart cluster services on all nodes</li>
</ul>
</div>
<div>
<div>
<div>Full details are provided in the following the following whitepaper</div>
<div></div>
<div><a href="http://www.aixmind.com/wp-content/uploads/2012/04/Upgrading-CAA-in-a-PowerHA-v7.1-Cluster.pdf" target="_blank">Upgrading CAA in a PowerHA v7.1 Cluster</a></div>
</div>
<div></div>
<div>Demo on Youtube:</div>
</div>
<p><object width="420" height="315" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/NxTJd10_tiM?version=3&amp;hl=en_US" /><param name="allowfullscreen" value="true" /><embed width="420" height="315" type="application/x-shockwave-flash" src="http://www.youtube.com/v/NxTJd10_tiM?version=3&amp;hl=en_US" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<div></div>
<div></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.aixmind.com/?feed=rss2&#038;p=2490</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAS 9.2 on IBM AIX 7.1:  Tuning guideline</title>
		<link>http://www.aixmind.com/?p=2486</link>
		<comments>http://www.aixmind.com/?p=2486#comments</comments>
		<pubDate>Sun, 08 Apr 2012 17:59:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AIX]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[7.1]]></category>
		<category><![CDATA[guideline]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[SAS]]></category>
		<category><![CDATA[tuning]]></category>

		<guid isPermaLink="false">http://www.aixmind.com/?p=2486</guid>
		<description><![CDATA[SAS 9.2 on IBM AIX 7.1: Tuning guidelines &#160; This paper provides a starting point for performance optimization from a system-wide perspective to create an enhanced environment for SAS 9.2 on IBM® POWER® processor-based servers that run IBM AIX® 7.1. &#160; § Technology levels: Use the latest version of AIX 7 Version 7.1 with the [...]]]></description>
			<content:encoded><![CDATA[<p align="center"><strong><span style="text-decoration: underline;">SAS 9.2 on IBM AIX 7.1: </span></strong></p>
<p align="center"><strong><span style="text-decoration: underline;">Tuning guidelines </span></strong></p>
<p>&nbsp;</p>
<p>This paper provides a starting point for performance optimization from a system-wide perspective to create an enhanced environment for SAS 9.2 on IBM® POWER® processor-based servers that run IBM AIX® 7.1.</p>
<p>&nbsp;</p>
<p>§ <strong>Technology levels: </strong></p>
<p>Use the latest version of AIX 7 Version 7.1 with the latest maintenance level and fix pack. Refer to the following website: <strong>ibm.com</strong>/support/fixcentral</p>
<p>At publication of this paper, TL00 with fix pack is considered to be the latest technology level.</p>
<p>&nbsp;</p>
<p>§ <strong>IBM Hardware Managements Console (HMC): </strong></p>
<p>Keep the HMC and microcode up-to-date.</p>
<p>You can search update bulletins for HMC and microcode at:</p>
<p>www14.software.ibm.com/webapp/set2/subscriptions/pqvcmjd</p>
<p>&nbsp;</p>
<p>§ <strong>VMM: </strong></p>
<p>AIX 7.1 default VMM parameters are mostly tuned for optimal SAS performance, except for one parameter. If needed, you can change the other values by using the AIX <strong>vmo </strong>command. It is suggested that you start with the following parameter value:</p>
<p>nokilluid=10</p>
<p>minfree=use greater of 960 or (128 * number of logical processors)</p>
<p>maxfree=(minfree + j2_maxPageReadAhead * number of logical processors)</p>
<p><strong>Note: </strong>The following have been designated as restricted values in AIX 7 and should not be changed unless asked by AIX support. These values are already in-line with what SAS recommends.</p>
<p>&nbsp;</p>
<ul>
<li>maxperm%</li>
<li>maxclient%</li>
<li>strict_maxclient</li>
<li>strict_maxperm</li>
</ul>
<p>&nbsp;</p>
<p>§ <strong>I/O: </strong></p>
<p>Tune I/O at the filesystem layer by using the AIX <strong>ioo </strong>command to enable Enhanced Journaled File System (JFS2) to perform efficient caching. It is suggested that you start with the following parameter values:</p>
<p>j2_dynamicBufferPreallocation=256</p>
<p>j2_nBufferPerPagerDevice=2048 j2_maxPageReadAhead=1024 j2_minPageReadAhead=16</p>
<p>j2_nPagesPerWriteBehindCluster=64</p>
<p>&nbsp;</p>
<p>For higher workloads, it is recommended to increase the value of j2_maxPageReadAhead upto 2048.</p>
<p>&nbsp;</p>
<p>§ <strong>Network: </strong></p>
<p>Tune network parameters by using the <strong>no </strong>command. If SAS applications (such as SPDS, SPDE and/or SAS/CONNECT) are being used, set the following parameter value:</p>
<p>tcp_nodelayack=1</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>§ <strong>Maximum user process: </strong></p>
<p>If the maximum number of processes for a single user exceeds 2000, increase the value of maxuproc to prevent SAS processes from abnormal shutdown or delay.</p>
<p>Increase the maxuproc setting by using the AIX <strong>smit </strong>or <strong>chdev </strong>command, for example: <strong>chdev –l sys0 –a maxuproc=&lt;new value&gt; </strong></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>§ <strong>User limits: </strong></p>
<p>Increase user-process resource limits for SAS users and database instances as appropriate (for example, <strong>unlimited </strong>or some tuned value for all resources (Refer to the <strong>Note</strong>).</p>
<p>In the /etc/security/limits file, set <strong>-1 </strong>for all resources.</p>
<p><strong>Note: </strong>The default AIX user-process resource limits might be too low for SAS power users or large enterprise-class deployments of SAS. When SAS processes end because of attempts to exceed these resource limits, the system administrator typically sets all user-process resource limits to <strong>unlimited </strong>(a numeric value of <strong>-1</strong>) for users who run SAS. The problem with this approach is that the increased multithreading and scalability support in newer versions of SAS, coupled with an <strong>unlimited </strong>setting for user-process resource limits, allows other users to potentially exhaust system resources such as processor, memory I/O, and paging space. Before increasing user-process resource limits, such as memory, to very high values, carefully consider the potential consequences.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>§ <strong>Paging space: </strong></p>
<p>Configure the paging space to include at least the following suggestions:</p>
<p>Place paging spaces on dedicated disks to eliminate I/O contention.</p>
<p>&nbsp;</p>
<p>Use multiple paging spaces that are spread across multiple disks.</p>
<p>&nbsp;</p>
<p>Make the primary paging space <strong>hd6 </strong>a little bigger than the secondary paging spaces.</p>
<p>&nbsp;</p>
<p>Ensure that the paging space is sufficient to support the number of concurrent SAS processes (because the number of SAS processes can be dynamic, depending on application workload).</p>
<p>&nbsp;</p>
<p>§ <strong>Volume groups (VGs): </strong></p>
<p>Use the AIX Scalable or Big volume group.</p>
<p>The scalable VG implementation provides configuration flexibility with respect to the number of physical volumes (PVs) and logical volumes (LVs) that a given instance of the new VG type can accommodate. The configuration options allow any scalable VG to contain 32, 64, 128, 256, 512, 768, or 1024 disks and 256, 512, 1024, 2048, or 4096 LVs. You do not need to configure the maximum values of 1024 PVs and 4096 LVs when creating the VG to account for potential future growth. You can increase the initial settings later, as required.</p>
<p>&nbsp;</p>
<p>§ <strong>Disk layout: </strong></p>
<p>Minimize disk contention between SAS temporary space and data spaces.</p>
<p>Avoid disk contention by placing SAS temporary-space file systems and SAS data file systems on physically separate disks.</p>
<p>&nbsp;</p>
<p>Use multiple storage-server controllers to further separate and isolate the I/O traffic between SAS temporary and data spaces.</p>
<p>&nbsp;</p>
<p>Use multiple mount points for SAS file systems. Place the operating system, SAS, user, SAS temporary space and SAS data file systems on separate physical disks.</p>
<p>&nbsp;</p>
<p>Consider creating multiple SAS WORK areas that can be used by groups of SAS users.</p>
<p>&nbsp;</p>
<p>Create separate JFS2 log files on separate physical disks for each SAS file system.</p>
<p>&nbsp;</p>
<p>Spread the I/O workload across many physical disk spindles rather than across fewer, larger-capacity disks. Determine the sizing, based on the quantity of disks rather than disk capacity. Do not wrap logical unit numbers (LUNs) around the same spindle sets.</p>
<p>&nbsp;</p>
<p>Do not share disk spindles with a RDBMS.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>§ <strong>Release-behind mechanism for JFS2: </strong></p>
<p>This feature allows the file system to release the file pages from file system buffer cache as soon as an application has read or written the file pages.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>This feature helps when the SAS application performs a great deal of sequential reads or writes and most often, once accessed, these file pages are not accessed again in the near future. This feature can be configured on a file system basis. When using the <strong>mount </strong>command, enable release-behind by specifying one of the three flags below:</p>
<p>Release-behind sequential read flag (-rbr),</p>
<p>&nbsp;</p>
<p>Release-behind sequential write flag (-rbw),</p>
<p>&nbsp;</p>
<p>Release-behind sequential read and write flag (-rbrw).</p>
<p>&nbsp;</p>
<p>§ <strong>Host bus adapters (HBAs): </strong></p>
<p>Use an adequate number of HBAs from storage to the host server to provide the required application bandwidth.</p>
<p>Consider high-performance storage channels, such as Fibre Channel technology instead of slower mediums.</p>
<p>&nbsp;</p>
<p>If possible, use dynamic multipathing to spread the I/O load across multiple adapters.</p>
<p>&nbsp;</p>
<p>§ <strong>Redundant Array of Independent Disks (RAID): </strong></p>
<p>Implement storage system RAID striping across multiple physical disks.</p>
<p>Use RAID10 or RAID5, depending on the level of redundancy and total capacity instead of the usable capacity that is needed for each file system type.</p>
<p>&nbsp;</p>
<p>Use Logical Volume Manager (LVM) striping instead of concatenation.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>§ <strong>LVM striping: </strong></p>
<p>When choosing the disk stripe or segment size, or array stripe size, note that AIX file systems are aligned on a 16 KB boundary.</p>
<p>A strip is the size of data to be written to each physical disk in the array. A stripe is the size of the full write across all the physical disks in the array. For example: strip size x number of disks = stripe size</p>
<p>&nbsp;</p>
<p>The AIX LVM stripe size that you can select from the <strong>smit lv create </strong>panel is actually the single strip size (not stripe). In other words, it is the size of data to be written to each of the array disks; it is not the full stripe size across all the physical disks. Consider using an LVM stripe size of 64 K or 128 K. Stripe sizes of 256 K or 512 K has shown better I/O performance in the case of SAS 9.2 workloads.</p>
<p>&nbsp;</p>
<p>Synchronize SAS BUFSIZE with the storage-system stripe size and the AIX LVM stripe size (if using LVM striping) and VMM read-ahead increments.</p>
<p>&nbsp;</p>
<p>Synchronizing I/O sizes streamlines I/O processing and reduces the number of I/O requests to the storage subsystem.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>§ <strong>Resources: </strong></p>
<p>For detailed tuning information, refer to the following publications:</p>
<p>Best Practices for Configuring your IO Subsystem for SAS9 Applications <a href="http://support.sas.com/rnd/papers/sgf07/sgf2007-iosubsystem.pdf" target="_blank">http://support.sas.com/rnd/papers/sgf07/sgf2007-iosubsystem.pdf</a></p>
<p>How to Maintain Happy SAS Users <a href="http://support.sas.com/resources/papers/happyIT.pdf" target="_blank">http://support.sas.com/resources/papers/happyIT.pdf</a></p>
<p>&nbsp;</p>
<p>AIX 6 best practices for SAS on IBM POWER6</p>
<p>http://www.sas.com</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aixmind.com/?feed=rss2&#038;p=2486</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAS on IBM AIX 6.1:  Tuning guidelines</title>
		<link>http://www.aixmind.com/?p=2482</link>
		<comments>http://www.aixmind.com/?p=2482#comments</comments>
		<pubDate>Sun, 08 Apr 2012 17:26:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AIX]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[6.1]]></category>
		<category><![CDATA[Guidelines]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[SAS]]></category>
		<category><![CDATA[tuning]]></category>

		<guid isPermaLink="false">http://www.aixmind.com/?p=2482</guid>
		<description><![CDATA[SAS on IBM AIX 6.1: Tuning guidelines This paper provides a starting point for performance optimization from a system-wide perspective to create an enhanced environment for SAS 9 on IBM® POWER® processor-based servers that run IBM AIX® 6.1. &#160; § Technology levels: Use the latest version of AIX 6 Version 6.1 with the latest maintenance [...]]]></description>
			<content:encoded><![CDATA[<p align="center"><strong><span style="text-decoration: underline;">SAS on IBM AIX 6.1: </span></strong></p>
<p align="center"><strong><span style="text-decoration: underline;">Tuning guidelines </span></strong></p>
<p align="center">
<p>This paper provides a starting point for performance optimization from a system-wide perspective to create an enhanced environment for SAS 9 on IBM® POWER® processor-based servers that run IBM AIX® 6.1.</p>
<p>&nbsp;</p>
<p>§ <strong>Technology levels: </strong></p>
<p>Use the latest version of AIX 6 Version 6.1 with the latest maintenance level and fix pack. Refer to the following website: <strong>ibm.com</strong>/support/fixcentral</p>
<p>At publication of this paper, TL03 with fix pack is considered to be the latest technology level.</p>
<p>&nbsp;</p>
<p>§ <strong>IBM Hardware Managements Console (HMC): </strong></p>
<p>Keep the HMC and microcode up-to-date.</p>
<p>You can search update bulletins for HMC and microcode at:</p>
<p>www14.software.ibm.com/webapp/set2/subscriptions/pqvcmjd</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>§ <strong>VMM: </strong></p>
<p>AIX 6.1 default VMM parameters are mostly tuned for optimal SAS performance, except for one parameter. If needed, you can change the other values by using the AIX <strong>vmo </strong>command. It is suggested that you start with the following parameter value:</p>
<p>nokilluid=10</p>
<p>minfree=use greater of 960 or (128 * number of logical processors)</p>
<p>maxfree=(minfree + j2_maxPageReadAhead * number of logical processors)</p>
<p><strong>Note: </strong>The following have been designated as restricted values in AIX 6 and should not be changed unless asked by AIX support. These values are already in-line with what SAS recommends.</p>
<p>&nbsp;</p>
<ul>
<li>lru_file_repage</li>
<li>minperm%</li>
<li>maxperm%</li>
<li>maxclient%</li>
<li>strict_maxclient</li>
<li>strict_maxperm</li>
</ul>
<p>&nbsp;</p>
<p>§ <strong>I/O: </strong></p>
<p>Tune I/O at the filesystem layer by using the AIX <strong>ioo </strong>command to enable Enhanced Journaled File System (JFS2) to perform efficient caching.</p>
<p>&nbsp;</p>
<p>It is suggested that you start with the following parameter values:</p>
<p>j2_dynamicBufferPreallocation=256</p>
<p>j2_nBufferPerPagerDevice=2048 j2_maxPageReadAhead=1024 j2_minPageReadAhead=16</p>
<p>j2_nPagesPerWriteBehindCluster=64</p>
<p>For higher workloads, it is recommended to increase the value of the j2_maxPageReadAhead parameter upto 2048.</p>
<p>&nbsp;</p>
<p>§ <strong>Network: </strong></p>
<p>Tune network parameters by using the <strong>no </strong>command. If SAS applications (such as SPDS, SPDE and/or SAS/CONNECT) are being used, set the following parameter value:</p>
<p>tcp_nodelayack=1</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>§ <strong>Maximum user process: </strong></p>
<p>If the maximum number of processes for a single user exceeds 2000, increase the value of maxuproc to prevent SAS processes from abnormal shutdown or delay.</p>
<p>Increase the maxuproc setting by using the AIX <strong>smit </strong>or <strong>chdev </strong>command, for example: <strong>chdev –l sys0 –a maxuproc=&lt;new value&gt; </strong></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>§ <strong>User limits: </strong></p>
<p>Increase user-process resource limits for SAS users and database instances as appropriate (for example, <strong>unlimited </strong>or some tuned value for all resources (Refer to the <strong>Note</strong>).</p>
<p>In the /etc/security/limits file, set <strong>-1 </strong>for all resources.</p>
<p><strong>Note: </strong>The default AIX user-process resource limits might be too low for SAS power users or large enterprise-class deployments of SAS. When SAS processes end because of attempts to exceed these resource limits, the system administrator typically sets all user-process resource limits to <strong>unlimited </strong>(a numeric value of <strong>-1</strong>) for users who run SAS. The problem with this approach is that the increased multithreading and scalability support in newer versions of SAS, coupled with an <strong>unlimited </strong>setting for user-process resource limits, allows other users to potentially exhaust system resources such as processor, memory I/O, and paging space. Before increasing user-process resource limits, such as memory, to very high values, carefully consider the potential consequences.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>§ <strong>Paging space: </strong></p>
<p>Configure the paging space to include at least the following suggestions:</p>
<p>Place paging spaces on dedicated disks to eliminate I/O contention.</p>
<p>&nbsp;</p>
<p>Use multiple paging spaces that are spread across multiple disks.</p>
<p>&nbsp;</p>
<p>Make the primary paging space <strong>hd6 </strong>a little bigger than the secondary paging spaces.</p>
<p>&nbsp;</p>
<p>Ensure that the paging space is sufficient to support the number of concurrent SAS processes (because the number of SAS processes can be dynamic, depending on application workload).</p>
<p>&nbsp;</p>
<p>§ <strong>Volume groups (VGs): </strong></p>
<p>Use the AIX Scalable or Big volume group.</p>
<p>The scalable VG implementation provides configuration flexibility with respect to the number of physical volumes (PVs) and logical volumes (LVs) that a given instance of the new VG type can accommodate. The configuration options allow any scalable VG to contain 32, 64, 128, 256, 512, 768, or 1024 disks and 256, 512, 1024, 2048, or 4096 LVs. You do not need to configure the maximum values of 1024 PVs and 4096 LVs when creating the VG to account for potential future growth. You can increase the initial settings later, as required.</p>
<p>&nbsp;</p>
<p>§ <strong>Disk layout: </strong></p>
<p>Minimize disk contention between SAS temporary space and data spaces.</p>
<p>Avoid disk contention by placing SAS temporary-space file systems and SAS data file systems on physically separate disks.</p>
<p>&nbsp;</p>
<p>Use multiple storage-server controllers to further separate and isolate the I/O traffic between SAS temporary and data spaces.</p>
<p>&nbsp;</p>
<p>Use multiple mount points for SAS file systems. Place the operating system, SAS, user, SAS temporary space, and SAS data file systems on separate physical disks.</p>
<p>&nbsp;</p>
<p>Consider creating multiple SAS WORK areas that can be used by groups of SAS users.</p>
<p>&nbsp;</p>
<p>Create separate JFS2 log files on separate physical disks for each SAS file system.</p>
<p>&nbsp;</p>
<p>Spread the I/O workload across many physical disk spindles rather than across fewer, larger-capacity disks. Determine the sizing based on the quantity of disks rather than disk capacity. Do not wrap logical unit numbers (LUNs) around the same spindle sets.</p>
<p>&nbsp;</p>
<p>Do not share disk spindles with a RDBMS.</p>
<p>&nbsp;</p>
<p>§ <strong>Release-behind mechanism for JFS2: </strong></p>
<p>This feature allows the file system to release the file pages from file system buffer cache as soon as</p>
<p>&nbsp;</p>
<p>an application has read or written the file pages. This feature helps when the SAS application performs a great deal of sequential reads or writes and most often, once accessed, these file pages are not accessed again in the near future. This feature can be configured on a file system basis. When using the <strong>mount </strong>command, enable release-behind by specifying one of the following three flags:</p>
<p>Release-behind sequential read flag (-rbr),</p>
<p>&nbsp;</p>
<p>Release-behind sequential write flag (-rbw),</p>
<p>&nbsp;</p>
<p>Release-behind sequential read and write flag (-rbrw).</p>
<p>&nbsp;</p>
<p>§ <strong>Host bus adapters (HBAs): </strong></p>
<p>Use an adequate number of HBAs from storage to the host server to provide the required application bandwidth.</p>
<p>Consider high-performance storage channels, such as Fibre Channel technology instead of slower mediums.</p>
<p>&nbsp;</p>
<p>If possible, use dynamic multipathing to spread the I/O load across multiple adapters.</p>
<p>&nbsp;</p>
<p>§ <strong>Redundant Array of Independent Disks (RAID): </strong></p>
<p>Implement storage system RAID striping across multiple physical disks.</p>
<p>Use RAID10 or RAID5, depending on the level of redundancy and total capacity instead of the usable capacity that is needed for each file-system type.</p>
<p>&nbsp;</p>
<p>Use Logical Volume Manager (LVM) striping instead of concatenation.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>§ <strong>LVM striping: </strong></p>
<p>When choosing the disk stripe or segment size, or array stripe size, note that AIX file systems are aligned on a 16 KB boundary.</p>
<p>A strip is the size of data to be written to each physical disk in the array. A stripe is the size of the full write across all the physical disks in the array. For example: strip size x number of disks = stripe size</p>
<p>&nbsp;</p>
<p>The AIX LVM stripe size that you can select from the <strong>smit lv create </strong>panel is actually the single strip size (not stripe). In other words, it is the size of data to be written to each of the array disks; it is not the full stripe size across all the physical disks. Consider using an LVM stripe size of 64K or 128 K. Stripe sizes of 256 K or 512 K has shown better I/O performance in the case of SAS 9.2 workloads.</p>
<p>&nbsp;</p>
<p>Synchronize SAS BUFSIZE with the storage-system stripe size and the AIX LVM stripe size (if using LVM striping) and VMM read-ahead increments.</p>
<p>&nbsp;</p>
<p>Synchronizing I/O sizes streamlines I/O processing and reduces the number of I/O requests to the storage subsystem.</p>
<p>&nbsp;</p>
<p>§ <strong>Resources: </strong></p>
<p>For detailed tuning information, refer to the following publications:</p>
<p>Best Practices for Configuring your IO Subsystem for SAS9 Applications http://support.sas.com/rnd/papers/sgf07/sgf2007-iosubsystem.pdf</p>
<p>How to Maintain Happy SAS Users http://support.sas.com/resources/papers/happyIT.pdf</p>
<p>&nbsp;</p>
<p>AIX 6 best practices for SAS on IBM POWER6</p>
<p>http://www.sas.com/partners/directory/ibm/AIXBestPractice.pdf</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aixmind.com/?feed=rss2&#038;p=2482</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAS AIX 5L Tuning Guide</title>
		<link>http://www.aixmind.com/?p=2478</link>
		<comments>http://www.aixmind.com/?p=2478#comments</comments>
		<pubDate>Sun, 08 Apr 2012 15:36:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AIX]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[5L]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[SAS]]></category>
		<category><![CDATA[Tuning Guide]]></category>

		<guid isPermaLink="false">http://www.aixmind.com/?p=2478</guid>
		<description><![CDATA[This paper provides a starting point for performance optimization from a system-wide perspective to create an enhanced environment for SAS 9 on IBM® POWER® processor-based servers that run IBM AIX® 5. &#160; § Technology levels: Use the latest version of IBM AIX 5L™ Version 5.3 with the latest maintenance level and fix pack. Refer to [...]]]></description>
			<content:encoded><![CDATA[<p>This paper provides a starting point for performance optimization from a system-wide perspective to create an enhanced environment for SAS 9 on IBM® POWER® processor-based servers that run IBM AIX® 5.</p>
<p>&nbsp;</p>
<p>§ <strong>Technology levels: </strong></p>
<p>Use the latest version of IBM AIX 5L™ Version 5.3 with the latest maintenance level and fix pack. Refer to the following website: <strong>ibm.com</strong>/support/fixcentral</p>
<p>At publication of this paper, TL10 with e-fix is considered to be the latest technology level.</p>
<p>&nbsp;</p>
<p>§ <strong>IBM Hardware Managements Console (HMC):</strong></p>
<p><strong> </strong>Keep the HMC and microcode up-to-date.</p>
<p>Sign up for daily notification of updates for AIX 5L, HMC and microcode at:</p>
<p>www14.software.ibm.com/webapp/set2/subscriptions/pqvcmjd</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>§ <strong>VMM: </strong></p>
<p>Tune VMM by using the AIX <strong>vmo </strong>command to enable Enhanced Journaled File System (JFS2) to perform efficient caching. It is suggested that you start with the following parameter values:</p>
<p>&nbsp;</p>
<pre>maxclient%=80</pre>
<pre>maxperm%=80</pre>
<pre>minperm%=5</pre>
<pre>lru_file_repage=0</pre>
<pre>strict_maxperm=0</pre>
<pre>minfree=128 * number of logical processors</pre>
<pre>maxfree=minfree + j2_maxPageReadAhead * number of logical processors</pre>
<pre>nokilluid=10</pre>
<p>&nbsp;</p>
<p>It is also suggested to set the following parameter value to <strong>1 </strong>from the default value of <strong>0</strong>.</p>
<pre>page_steal_method = 1</pre>
<p>&nbsp;</p>
<p>§ <strong>I/O: </strong></p>
<p>Tune I/O at the file system layer by using the AIX <strong>ioo </strong>command to enable JFS2 to perform efficient caching. It is suggested that you start with the following parameter values:</p>
<p>&nbsp;</p>
<pre>j2_dynamicBufferPreallocation=256</pre>
<pre>j2_maxPageReadAhead=128</pre>
<pre>j2_minPageReadAhead=8</pre>
<p>&nbsp;</p>
<p>§ <strong>Network: </strong></p>
<p>Tune network parameters by using the <strong>no </strong>command. If SAS applications (such as SPDS, SPDE and/or SAS/CONNECT) are being used, set the following parameter value:</p>
<p>tcp_nodelayack=1</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>§ <strong>Maximum user process: </strong></p>
<p>If you anticipate that the maximum number of processes for a single user will exceed 2000, increase the value of maxuproc to prevent abnormal delay or shutdown of SAS processes.</p>
<p>Increase the maxuproc setting by using the AIX <strong>smit </strong>or <strong>chdev </strong>command. For example: <strong>chdev –l sys0 –a maxuproc=&lt;new value&gt; </strong></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>§ <strong>User limits: </strong>Increase the AIX user-process resource limits for SAS users and database instances, as appropriate (for example, <strong>unlimited </strong>or some tuned value for all resources (Refer to the <strong>Note</strong>).</p>
<p>In the /etc/security/limits file, set <strong>-1 </strong>for all resources.</p>
<p>&nbsp;</p>
<p><strong>Note: </strong>The default user-process resource limits might be too low for SAS power users or large enterprise-class SAS deployments. When SAS processes end because of attempts to exceed these resource limits, the system administrator typically sets all user-process resource limits to <strong>unlimited </strong>(a numeric value of <strong>-1</strong>) for users who run SAS. The problem with this approach is that the increased multithreading and scalability support in newer versions of SAS, coupled with an <strong>unlimited </strong>setting for user-process resource limits, allows other users to potentially exhaust system resources such as processor, memory, I/O and paging space. Before increasing user-process resource limits, such as memory, to very high values, carefully consider the potential consequences.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>§ <strong>Paging space: </strong></p>
<p><strong> </strong></p>
<p>Configure the paging space to include at least with the following suggestions:</p>
<p>Place paging spaces on dedicated disks to eliminate I/O contention.</p>
<p>&nbsp;</p>
<p>Use multiple paging spaces that are spread across multiple disks.</p>
<p>&nbsp;</p>
<p>Make the primary paging space <strong>hd6 </strong>a little bigger than the secondary paging spaces.</p>
<p>&nbsp;</p>
<p>Ensure sufficient paging space to support all concurrent SAS processes (because the number of SAS processes can be dynamic, depending on application workload).</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>§ <strong>Volume groups (VGs): </strong></p>
<p>&nbsp;</p>
<p>Use the AIX Scalable or Big volume group.</p>
<p>The scalable VG implementation provides configuration flexibility with respect to the number of physical volumes (PVs) and logical volumes (LVs) that a given instance of the new VG type can accommodate. The configuration options allow any scalable VG to contain 32, 64, 128, 256, 512, 768 or 1024 disks and 256, 512, 1024, 2048 or 4096 LVs. You do not need to configure the maximum values of 1024 PVs and 4096 LVs when creating the VG to account for potential future growth. You can increase the initial settings later, as required.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>§ <strong>Disk layout: </strong></p>
<p><strong> </strong></p>
<p>Minimize disk contention between SAS temporary space and data spaces.</p>
<p>Avoid disk contention by placing SAS temporary-space file systems and SAS data file systems on physically separate disks.</p>
<p>&nbsp;</p>
<p>Use multiple storage-server controllers to further separate and isolate the I/O traffic between SAS temporary and data spaces.</p>
<p>&nbsp;</p>
<p>Use multiple mount points for SAS file systems. Place the operating system, SAS, user, SAS temporary space and SAS data file systems on separate physical disks.</p>
<p>&nbsp;</p>
<p>Consider creating multiple SAS WORK areas that can be used by groups of SAS users.</p>
<p>&nbsp;</p>
<p>Create separate JFS2 log files on separate physical disks for each SAS file system.</p>
<p>&nbsp;</p>
<p>Spread the I/O workload across many physical disk spindles rather than across fewer, larger-capacity disks. Determine the sizing, based on the quantity of disks rather than disk capacity. Do not wrap logical unit numbers (LUNs) around the same spindle sets.</p>
<p>&nbsp;</p>
<p>Do not share disk spindles with a RDBMS.</p>
<p>&nbsp;</p>
<p>§ <strong>Host bus adapters (HBAs): </strong></p>
<p>Use an adequate number of HBAs from storage to the host server to provide the required application bandwidth.</p>
<p>Consider high-performance storage channels, such as Fibre Channel technology instead of slower mediums.</p>
<p>&nbsp;</p>
<p>If possible, use dynamic multipathing to spread the I/O load across multiple adapters.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>§ <strong>Release-behind mechanism for JFS2: </strong></p>
<p>This feature allows the file system to release the file pages from file system buffer cache as soon as an application has read or written the file pages. This feature helps when the SAS application performs a great deal of sequential reads or writes and most often, once accessed, these file pages are not accessed again in the near future. This feature can be configured on a file system basis. When using the <strong>mount </strong>command, enable release-behind by specifying one of the following three flags:</p>
<p>Release-behind sequential read flag (-rbr),</p>
<p>&nbsp;</p>
<p>Release-behind sequential write flag (-rbw),</p>
<p>&nbsp;</p>
<p>Release-behind sequential read and write flag (-rbrw).</p>
<p>&nbsp;</p>
<p>§ <strong>RAID: </strong></p>
<p>Implement storage system RAID striping across multiple physical disks.</p>
<p>Use RAID10 or RAID5, depending on the level of redundancy and total capacity instead of the usable capacity that is needed for each file-system type.</p>
<p>&nbsp;</p>
<p>Use LVM striping instead of concatenation.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>§ <strong>LVM striping: </strong></p>
<p>When choosing the disk stripe or segment size, or array stripe size, note that AIX file systems are aligned on a 16 KB boundary.</p>
<p>A strip is the size of data to be written to each physical disk in the array. A stripe is the size of the full write across all the physical disks in the array. For example: strip size x number of disks = stripe size</p>
<p>&nbsp;</p>
<p>The AIX LVM stripe size that you can select from the <strong>smit lv create </strong>panel is actually the single strip size (not stripe). In other words, it is the size of data to be written to each of the array disks; it is not the full stripe size across all the physical disks. Consider using an LVM stripe size of 64 K or 128 K.</p>
<p>&nbsp;</p>
<p>Synchronize SAS BUFSIZE with the storage-system stripe size and the AIX LVM stripe size (if using LVM striping) and VMM read-ahead increments.</p>
<p>&nbsp;</p>
<p>Synchronizing I/O sizes streamlines I/O processing and reduces the number of I/O requests to the storage subsystem.</p>
<p>&nbsp;</p>
<p>§ <strong>AIX 5L thread tuning: </strong>To improve SAS application performance, set the following parameter: AIXTHREAD_SCOPE=S</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aixmind.com/?feed=rss2&#038;p=2478</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running SAS applications on Virtual I/O based storage configuration</title>
		<link>http://www.aixmind.com/?p=2471</link>
		<comments>http://www.aixmind.com/?p=2471#comments</comments>
		<pubDate>Sun, 08 Apr 2012 15:24:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AIX]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[SAS]]></category>
		<category><![CDATA[VIO]]></category>

		<guid isPermaLink="false">http://www.aixmind.com/?p=2471</guid>
		<description><![CDATA[Previous SAS benchmarks relied heavily on directly-attached storage for high disk I/O throughput capability. This white paper shows that VIOS-attached disks can meet the same high I/O throughput needs as the directly-attached storage without compromising performance. The white paper compares two similar configurations running the same benchmark; one configuration uses directly- attached disks and the [...]]]></description>
			<content:encoded><![CDATA[<p>Previous SAS benchmarks relied heavily on directly-attached storage for high disk I/O throughput capability. This white paper shows that VIOS-attached disks can meet the same high I/O throughput needs as the directly-attached storage without compromising performance. The white paper compares two similar configurations running the same benchmark; one configuration uses directly- attached disks and the other uses VIOS-attached disks to handle high I/O activity needed by the SAS computational back-end servers.</p>
<p>&nbsp;</p>
<div>
<h1>Introduction</h1>
</div>
<p>With the introduction of IBM® Dynamic Infrastructure initiative, more customer production systems are using virtualization features available through IBM PowerVM™. Today’s modern data center has embraced virtualization and is now a key component of their architecture. Features such as micro-partitioning, virtualized Ethernet and storage help to deliver superior business and IT services with agility and speed. Customers realize that consolidating resources through virtualization increases utilization beyond what they used to be five years ago. Not only does virtualization decrease total cost of ownership, it also helps to improve speed of service delivery and flexibility.</p>
<p>In previous SAS benchmarks performed through the collaboration of SAS and IBM engineers, virtualization features proved to increase utilization by accommodating more SAS users compared to using dedicated servers. In previous benchmarks, the use of virtual storage was limited to the system filesystems (rootvg) where little I/O was needed. This paper studies the effect of using virtual storage when high I/O SAS filesystems such as /saswork and /sasdata are accessed through the Virtual I/O Server (VIOS). The test methodology mentioned in this paper is the same as the one mentioned in the paper entitled <em>Deploying SAS Enterprise Business Intelligence 9.2 on IBM PowerVM.</em></p>
<div>
<h1>The SAS test environment</h1>
</div>
<p>The SAS environment is a three-tier architecture, comprising a Web and application tier, a services middle tier, and a computational back-end tier. Using PowerVM, the different tiers are deployed in separate logical partitions (LPARs) within the same physical server. There are two SAS test environment configurations used. The first configuration, known as the baseline configuration, uses VIOS-attached disks for system filesystems only and high I/O disks are attached directly to the SAS computational back-end server. The second configuration is where the high I/O disks are reconfigured to be on the VIOS and shared back to the computational back-end server.</p>
<p>&nbsp;</p>
<p>Full Word Document:     <a title="SAS_vios_testing_final.doc" href="http://www.aixmind.com/wp-content/uploads/2012/04/SAS_vios_testing_final.doc" target="_blank">SAS_vios_testing_final</a><br />
Full PDF Document:         <a title="SAS_vios_testing_final.pdf" href="http://www.aixmind.com/wp-content/uploads/2012/04/SAS_vios_testing_final.pdf" target="_blank">SAS_vios_testing_final</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.aixmind.com/?feed=rss2&#038;p=2471</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Live Partition Mobility for Oracle RAC</title>
		<link>http://www.aixmind.com/?p=2466</link>
		<comments>http://www.aixmind.com/?p=2466#comments</comments>
		<pubDate>Sun, 08 Apr 2012 15:16:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AIX]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Live Partition Mobility]]></category>
		<category><![CDATA[LPM]]></category>
		<category><![CDATA[Oracle RAC]]></category>

		<guid isPermaLink="false">http://www.aixmind.com/?p=2466</guid>
		<description><![CDATA[This paper documents the concept and recommendation of using Live Partition Mobility (LPM) in an Oracle RAC environment. It describes the configuration of the IBM Power systems infrastructure and Oracle RAC to perform the Live Partition Mobility of an Oracle RAC node. The paper describes two scenarios, the first is using LPM and show you [...]]]></description>
			<content:encoded><![CDATA[<p>This paper documents the concept and recommendation of using Live Partition Mobility (LPM) in an Oracle RAC environment. It describes the configuration of the IBM Power systems infrastructure and Oracle RAC to perform the Live Partition Mobility of an Oracle RAC node.</p>
<p>The paper describes two scenarios, the first is using LPM and show you how to setup the configuration and let you understand the interaction of all components.</p>
<p>The second scenario stops Oracle cluster on the node to migrate before the LPM operation.</p>
<p>This paper is illustrated with a real example of the LPM of a RAC node from a Porwer6 processor based source server to a Power7 target server.</p>
<p>&nbsp;</p>
<p>Full PDF:   <a title="Live Partition Mobility for Oracle RAC.pdf" href="http://www.aixmind.com/wp-content/uploads/2012/04/Live-Partition-Mobility-for-Oracle-RAC.pdf" target="_blank">http://www.aixmind.com/wp-content/uploads/2012/04/Live-Partition-Mobility-for-Oracle-RAC.pdf</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.aixmind.com/?feed=rss2&#038;p=2466</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Apply ACL to New Files Automatically</title>
		<link>http://www.aixmind.com/?p=2462</link>
		<comments>http://www.aixmind.com/?p=2462#comments</comments>
		<pubDate>Sun, 08 Apr 2012 14:53:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AIX]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[Access Control Lists]]></category>
		<category><![CDATA[ACL]]></category>
		<category><![CDATA[Extended Attributes Version 2]]></category>
		<category><![CDATA[jfs2]]></category>
		<category><![CDATA[NFSv4]]></category>

		<guid isPermaLink="false">http://www.aixmind.com/?p=2462</guid>
		<description><![CDATA[Question How can I set up a directory that will automatically apply ACLs (Access Control Lists)? Answer Using an ACL is a way to set restrictions on the use of a file beyond the standard AIX or Unix discretionary access control. These can be set on an individual or group basis, and rights can be [...]]]></description>
			<content:encoded><![CDATA[<h2>Question</h2>
<p>How can I set up a directory that will automatically apply ACLs (Access Control Lists)?</p>
<h2>Answer</h2>
<div>
<p>Using an ACL is a way to set restrictions on the use of a file beyond the standard AIX or Unix discretionary access control. These can be set on an individual or group basis, and rights can be given or taken away as needed.</p>
<p>The concept of having a directory with ACLs on it, and then automatically applying those ACLs to any files created in that directory is called inheritance. AIX ACLs do not support inheritance, but NFSV4 ACLs do. NFSV4 ACL is platform-independent, so it can be supported on many clients or servers.</p>
<p>Most filesystem types in AIX do not support NFSV4 ACLs. CFS, UDF, JFS, and JFS2 with extended attribute version 1 (EAv1) do not support these. However JFS2 filesystems using EAv2 do, so they can be used for this purpose.</p>
<p>1. Use a JFS2 filesystem<br />
If you have an existing JFS2 filesystem that can be used, or create one if you do not have one already</p>
<p># crfs -v jfs2 -g datavg -m /myfs -A yes -a size=2G</p>
<p>2. Change the filesystem to use Extended Attributes Version 2</p>
<p># chfs -a ea=v2 /myfs</p>
<p>3. Create a directory, or identify an existing directory</p>
<p># cd /myfs<br />
# mkdir newdir</p>
<p>4. Convert the directory to use NFS4 ACLs:</p>
<p># aclconvert -t NFS4 newdir</p>
<p>5. Edit the ACL</p>
<p># export EDITOR=/usr/bin/vi<br />
# acledit newdir</p>
<p>You should see this in the file:</p>
<p>*<br />
* ACL_type NFS4<br />
*<br />
*<br />
* Owner: root<br />
* Group: system<br />
*<br />
s:(OWNER@): a rwpRWxDaAdcCs<br />
s:(OWNER@): d o<br />
s:(GROUP@): a rRxadcs<br />
s:(GROUP@): d wpWDACo<br />
s:(EVERYONE@): a rRxadcs<br />
s:(EVERYONE@): d wpWDACo</p>
<p>To allow inheritance for all files and directories underneath this dir, add the strings &#8220;fi&#8221; (for files) and &#8220;di&#8221; (for directories) to any ACLs you create. Those ACLs will be propagated to each file created from now on.</p>
<p>*<br />
* ACL_type NFS4<br />
*<br />
*<br />
* Owner: root<br />
* Group: system<br />
*<br />
<strong>s:(OWNER@): a rwpRWxDaAdcCs fidi</strong><br />
s:(OWNER@): d o<br />
s:(GROUP@): a rRxadcs<br />
s:(GROUP@): d wpWDACo<br />
s:(EVERYONE@): a rRxadcs<br />
s:(EVERYONE@): d wpWDACo</p>
<p>Create a file in your directory and check the ACL list on it:</p>
<p># cd newdir<br />
# touch newfile<br />
# aclget newfile</p>
<p>*<br />
* ACL_type NFS4<br />
*<br />
*<br />
* Owner: root<br />
* Group: system<br />
*<br />
s:(OWNER@): a rwpRWxDaAdcCs fidi</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.aixmind.com/?feed=rss2&#038;p=2462</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Who&#8217;s using my port? (AIX, Linux, Windows example)</title>
		<link>http://www.aixmind.com/?p=2460</link>
		<comments>http://www.aixmind.com/?p=2460#comments</comments>
		<pubDate>Tue, 03 Apr 2012 03:58:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AIX]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[lock]]></category>
		<category><![CDATA[lsof]]></category>
		<category><![CDATA[netstat]]></category>
		<category><![CDATA[Open]]></category>
		<category><![CDATA[port]]></category>
		<category><![CDATA[SQL5043N]]></category>

		<guid isPermaLink="false">http://www.aixmind.com/?p=2460</guid>
		<description><![CDATA[Question When an instance is started (db2start), listeners are started to accept the connect request from clients. Sometimes, the listeners may fail to start because the port is being used by a different application. This causes error: SQL5043N. To find which application is using the port, run netstat followed by rmsock on AIX. On Linux [...]]]></description>
			<content:encoded><![CDATA[<h2>Question</h2>
<p>When an instance is started (db2start), listeners are started to accept the connect request from clients. Sometimes, the listeners may fail to start because the port is being used by a different application. This causes error: SQL5043N. To find which application is using the port, run netstat followed by rmsock on AIX. On Linux and Windows, netstat alone will do.</p>
<h2>Cause</h2>
<div>
<p>The db2start command gives a warning, SQL5043N, &#8220;Support for one or more communications protocols failed to start successfully. However, core database manager functionality started successfully.&#8221; The following message is logged in the db2diag.log file.<br />
<tt>2007-01-23-22.45.33.315991-300 LEVEL: Error</tt><br />
<tt>PID     : 3268824     TID  : 1       PROC : db2sysc 0</tt><br />
<tt>INSTANCE: db2inst1    NODE : 000</tt><br />
<tt>FUNCTION: DB2 UDB, common communication, sqlcctcpconnmgr, probe:46</tt><br />
<tt>MESSAGE : ADM7007E  The SVCENAME DBM configuration parameter, "50000", is configured with a port or a service name.  When it is configured with a service name, the TCP/IP services files is used to map the service name to a port number.  The port specified in this field is being used by another process.  Resolve this problem by either deleting the process using the port or use another port.</tt></p>
<p>The db2diag.log file shows that the TCP/IP listener (db2tcpcm) failed to start because the required port, 50000 in this example, was already being used by another application. The simple resolution is to use a different port for listener. If you must use the port 50000, you should terminate the application that&#8217;s using it.</p>
<p>The commands below demonstrate how to determine which application or process is using the port. Please note that SQL5043N can be returned for various reasons. This technote only applies to the case where the port is used by another application.</p></div>
<p>&nbsp;</p>
<h2>Answer</h2>
<div>
<p><span style="text-decoration: underline;">AIX Command</span><br />
1. netstat -Aan | grep &lt;port number&gt;<br />
- This shows if the specified &lt;port number&gt; is being used. The hex number in the first column is the address of protocol control block (PCB)</p>
<p>2. rmsock &lt;addr of PCB&gt; tcpcb<br />
- This shows the process who is holding the socket. Note: This command must be run as root..</p>
<p><span style="text-decoration: underline;">AIX Example</span></p>
<p>Let&#8217;s set SVCENAME to 30542, so that the listener will use this port. Then, use the commands above to check if the port is indeed being used by DB2 LUW.</p>
<p><tt>$ db2 update dbm cfg using svcename 30542</tt><br />
<tt>$ db2start</tt><br />
<tt>$ netstat -Aan | grep 30542</tt></p>
<p><tt>f10000f303321b58 tcp4     0     0  *.30542     *.*     LISTEN</tt></p>
<p>The netstat command above shows that the port 30542 is being used for listening. To confirm that DB2 LUW is using the port, run rmsock as root like following below:</p>
<p><tt>$ rmsock </tt><tt>f10000f303321b58 </tt><tt>tcpcb</tt><br />
<tt>The socket 0x3321800 is being held by proccess 692476 (db2sysc).</tt></p>
<p>The rmsock command shows it&#8217;s db2sysc process that&#8217;s using the port and its PID is 692476. So, in this case, no one else but DB2 is using this port.</p>
<p>Note that rmsock, unlike what its name implies, does not remove the socket, if the socket is being used by any process. Instead of removing the socket, it just reports the process holding the socket. Also note that the second argument of rmsock is the protocol. It&#8217;s tcpcb in the example to indicate that the protocol is TCP.</p>
<p><span style="text-decoration: underline;">Windows Command</span></p>
<p>1. netstat -aon | findstr &#8220;&lt;port number&gt;&#8221;<br />
- This shows if the specified &lt;port number&gt; is being used. The number in the last column is the process id (PID) of the process holding the socket. Once PID is determined, one can refer to &#8220;Windows Task Manager&#8221; to determine which application corresponds to the PID.</p>
<p><span style="text-decoration: underline;">Windows Example</span></p>
<p><tt>C:\&gt;netstat -aon | findstr "50000"</tt><br />
<tt>TCP    0.0.0.0:50000     0.0.0.0:0       LISTENING       2564</tt></p>
<p><tt>C:\&gt;pslist 2564</tt></p>
<p><tt>pslist v1.28 - Sysinternals PsList</tt><br />
<tt>Copyright ⌐ 2000-2004 </tt><br />
<tt>Sysinternals</tt></p>
<p><tt>Process information for MACHINENAME:</tt><br />
<tt>Process information for MACHINENAME:</tt></p>
<p><tt>   Name      Pid Pri Thd  Hnd   Priv     CPU Time  Elapsed Time</tt><br />
<tt>   db2syscs 2564   8  15  366  30912  0:00:02.859   2:12:08.564</tt></p>
<p>The example above shows the use of pslist to determine the name of the process. Note that pslist is a free command available from Microsoft Sysinternals at <a href="http://www.microsoft.com/technet/sysinternals/default.mspx">http://www.microsoft.com/technet/sysinternals/default.mspx</a> .</p>
<p><span style="text-decoration: underline;">Linux Command</span></p>
<p>1. netstat -anp | grep &lt;port number&gt;<br />
- This shows the PID and the program name that uses the port. The command must be run as root.</p>
<p>2. Alternatively, one can also run<br />
fuser -n tcp &lt;port number&gt;</p>
<p><span style="text-decoration: underline;">Linux Example</span></p>
<p>Suppose the port 12345 is being used by someone else. Find out who by running the following.</p>
<p><tt># netstat -anp | grep 12345</tt><br />
<tt># netstat -anp | grep 12345</tt><br />
<tt>tcp    0   0 127.0.0.1:12345   0.0.0.0:*    LISTEN   6629/ssh</tt><br />
<tt>tcp    0   0 ::1:12345              :::*    LISTEN   6629/ssh</tt></p>
<p>ssh with the PID 6629 is using the port. Find more info about it.</p>
<p><tt># ps -efl | grep 6629</tt><br />
<tt>4 S root      6629 29716  0  75   0 -  6976 -      14:05 pts/4    00:00:00 ssh testserver -D 12345 -l db2inst1</tt><br />
<tt>0 S root      7648  7302  0  78   0 -   742 pipe_w 14:07 pts/7    00:00:00 grep 6629</tt></p>
<p>In this case, the user db2inst1 is deliberately using the port 12345 by specifying -D option of ssh.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.aixmind.com/?feed=rss2&#038;p=2460</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up your DB2 High Availability (HA) environment on Power7 systems</title>
		<link>http://www.aixmind.com/?p=2456</link>
		<comments>http://www.aixmind.com/?p=2456#comments</comments>
		<pubDate>Mon, 02 Apr 2012 20:18:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AIX]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[DB2]]></category>
		<category><![CDATA[HA]]></category>
		<category><![CDATA[High Availability]]></category>
		<category><![CDATA[SAMP]]></category>

		<guid isPermaLink="false">http://www.aixmind.com/?p=2456</guid>
		<description><![CDATA[Abstract This technote provides information and the manual steps required to install new DB2 products or existing DB2 products on Power7 systems running the following minimum supported operation systems levels: AIX® 5.3 TL9, AIX 6.1 TL4, or AIX 7.1. This technote is applicable to scenarios where the DB2 High Availability (HA) Feature is used. Content [...]]]></description>
			<content:encoded><![CDATA[<h2>Abstract</h2>
<p>This technote provides information and the manual steps required to install new DB2 products or existing DB2 products on Power7 systems running the following minimum supported operation systems levels: AIX® 5.3 TL9, AIX 6.1 TL4, or AIX 7.1. This technote is applicable to scenarios where the DB2 High Availability (HA) Feature is used.</p>
<h2>Content</h2>
<div>
<p><strong><span style="text-decoration: underline;">Before you begin</span></strong></p>
<p>For a list of the DB2 fix pack levels that automatically support Power7 systems, see:<br />
<a href="http://www-01.ibm.com/support/docview.wss?uid=swg21420730">http://www-01.ibm.com/support/docview.wss?uid=swg21420730</a></p>
<p>If you can not upgrade to a DB2 fix pack level that supports Power7 and you are using the DB2 High Availbility Feature and Tivoli System Multiplatform (SA MP) products, follow the steps in this technote to upgrade SA MP to a level supported on the POWER7® hardware.</p>
<p><strong><span style="text-decoration: underline;">Overview</span></strong></p>
<p>Step #1 &#8211; Install the appropriate level of JDK.<br />
Step #2 &#8211; Select one of the following scenarios that applies to your environment :</p>
<p><strong>Note</strong>: On AIX 5.3 TL11 systems and above, SA MP 3.2.0.0 is the minimum level with a supported RSCT version. If this is a new DB2 installation, follow scenario (a) using the SA MP 3.2.0.0 package. If you already have an existing DB2 integrated High Availability environment with an older SA MP level, follow scenario (c) to migrate to SA MP 3.2.0.0.</p>
<ul>
<ul>a) New installation for DB2 V9.5, DB2 V9.7, or DB2 V9.8</ul>
</ul>
<p>b) Migration from SA MP 3.1.x / RSCT 2.5.4.0 to SA MP 3.1.0.6 special package with RSCT 2.5.4.2<br />
(typically describes environments with DB2 V9.7 or DB2 V9.8. Also applies to DB2 V9.5 environments using SA MP 3.1.x already)</p>
<p>c) Migration scenario from SA MP 2.2..x / RSCT 2.5.4.0 to SA MP 3.1.0.6 special package with RSCT 2.5.4.2 (typically describes environments with DB2 V9.5 Fix Pack 5 and earlier fix packs)</p>
<p><strong><span style="text-decoration: underline;">Step #1 &#8211; JDK installation</span></strong><br />
For each platform and DB2 release combination, install the appropriate level of JDK:</p>
<p>Set the initial configuration on all nodes. On all nodes, set the following environment variable:<br />
# export JAVA_COMPILER=noneInstall the appropriate DB2 release.</p>
<p>Set the initial configuration on all nodes. On all nodes, set the following environment variable to re-enable the Just-In-Time (JIT) compiler:<br />
# export JAVA_COMPILER=</p>
<p>Download and install the appropriate JDK package for the DB2 release level:</p>
<table width="100%" border="1">
<tbody>
<tr valign="top">
<td width="28%"><strong>DB2 release​</strong></td>
<td width="36%"><strong>JDK AIX​</strong></td>
<td width="36%"><strong>JDK Linux​</strong></td>
</tr>
<tr valign="top">
<td width="28%">V91 FP8​</td>
<td rowspan="2" width="36%">JDK 5 SR 11​<br />
​<a href="http://www.ibm.com/developerworks/java/jdk/aix/j564/fixinfo.html">http:​/​​/​www.ibm.com​/​developerworks​/​java​/​jdk​/​aix​/​j564​/​fixinfo.html​​</a></td>
<td rowspan="2" width="36%"><a href="https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=sdk5&amp;S_PKG=ipseries645sr11&amp;S_TACT=105AGX05&amp;S_CMP=JDK">https: ​/​​/​www14.software.ibm.com​/​webapp​/​iwm​/​web​/​preLogin.do?source​= ​sdk5​&amp;​S​_​PKG​=​ipseries645sr11​&amp;​S​_​TACT​=​105AGX05​&amp;​S​ _​CMP​=​JDK​​</a></td>
</tr>
<tr valign="top">
<td width="28%">V95 FP5​</td>
</tr>
<tr valign="top">
<td width="28%">V97 FP1​</td>
<td rowspan="2" width="36%">JDK 6 SR 7​<br />
​<a href="http://www.ibm.com/developerworks/java/jdk/aix/j664/Java6_64.fixinfo.html">http:​/​​/​www.ibm.com​/​developerworks​/​java​/​jdk​/​aix​/​j664​/​Java6​_​64.fixinfo.html​​</a></td>
<td rowspan="2" width="36%"><a href="https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=swg-sdk6&amp;S_PKG=ipseries64_6sr7&amp;S_TACT=105AGX05&amp;S_CMP=JDK">https: ​/​​/​www14.software.ibm.com​/​webapp​/​iwm​/​web​/​preLogin.do?source​= ​swg​-​sdk6​&amp;​S​_​PKG​=​ipseries64​_​6sr7​&amp;​S​_​TACT​=​105AGX05​ &amp;​S​_​CMP​=​JDK​​</a></td>
</tr>
<tr valign="top">
<td width="28%">V98 GA​</td>
</tr>
</tbody>
</table>
<p>Update the JDK_PATH database manager configuration parameter to point to the top directory of the new JDK. For example, if the new JDK is installed in the /home/user1/bin/jdk64 path, under which you should see directories like bin, jre, and lib, then run the following:<br />
db2 update dbm cfg using JDK_PATH /home/user1/bin/jdk64For Version 9.7 and Version 9.8, update DB2LIBPATH. For example, if the new JDK is installed in the /home/user1/bin/jdk64 path, under which you should see directories like bin, jre, and lib, then run the following command:<br />
set DB2LIBPATH=/home/usr1/bin/jdk64/jre/lib/ppc64</p>
<p>Restart the DB2 instance to make use of the new JDK. This step should be run because the JDK shipped in existing DB2 fix packs will not work otherwise.<br />
db2stop force<br />
db2start</p>
<p>If you apply a DB2 fixpak that supports Power7 (which includes a JRE that supports Power7), (Refer to this techNote <a href="http://www-01.ibm.com/support/docview.wss?uid=swg21420730">http://www-01.ibm.com/support/docview.wss?uid=swg21420730</a>), you can reset the JDK_PATH parameter to its original value.</p>
<p><strong><span style="text-decoration: underline;">Step #2 (a) &#8211; New installation</span></strong><br />
All steps should be run as root unless indicated otherwise. References to the 3.1.0.6 package should be substituted for the 3.2.0.0 package on AIX 5.3 TL11 and above, and for the 3.2.0.1 package on the AIX 7.1 operating systems.</p>
<ol type="1">
<li>Install the JDK as described in the previous section</li>
<li>Set the initial configuration on all nodes. On all nodes, set the following environment variables:<br />
# export CT_MANAGEMENT_SCOPE=2<br />
# export JAVA_COMPILER=none</li>
<li>Install the DB2 product and the SA MP product.<br />
<table border="1">
<tbody>
<tr valign="top">
<td width="295">V9.5​</td>
<td width="295">V9.7 and V9.8​</td>
</tr>
<tr valign="top">
<td width="295">Install the DB2 product without the integrated SA MP:​<br />
# cd &lt;db2_install_file_dir&gt;​<br />
# ./db2_install -f NOTSAMP​<br />
​<br />
Install the SA MP 3.1.0.6 special package:​<br />
# cd &lt;tsa_install_file_dir&gt;​<br />
# ./installSAM​<br />
Accept license agreement to proceed with the installation.​<br />
​<br />
After the installation, an integrated HA installation will copy the SA MP policies scripts to the correct location. Since SA MP is installed separately in this case, run the following command to copy the scripts over:​<br />
# /opt/IBM/db2/V9.5/install/tsamp/db2cptsa​</td>
<td width="295">Install the DB2 product with the integrated SA MP:​<br />
# cd &lt;db2_install_file_dir&gt;​<br />
# ./db2_install​<br />
​<br />
Install the SA MP 3.1.0.6 special package:​<br />
# cd &lt;tsa_install_file_dir&gt;​<br />
# ./installSAM​<br />
​</td>
</tr>
</tbody>
</table>
</li>
</ol>
<p><strong><span style="text-decoration: underline;">Step #2 (b) &#8211; Migration from SA MP 3.1.X stream</span></strong><br />
All steps should be run as root unless indicated otherwise. References to the 3.1.0.6 package should be substituted for the 3.2.0.0 package on AIX 5.3 TL11 and above, and for the 3.2.0.1 package on the AIX 7.1 operating systems.</p>
<ol type="1">
<li>Set the initial configuration on all nodes. On all nodes, set the following environment variables:<br />
# export CT_MANAGEMENT_SCOPE=2<br />
# export JAVA_COMPILER=none</li>
<li>Stop the DB2 instance. As the instance owner, run the following command:<br />
# db2stop force<br />
You should receive the following message after running the db2stop command:<br />
SQL1064N DB2STOP processing was successful.</li>
<li>Stop the existing cluster domain using the following command:<br />
# stoprpdomain –f &lt;domain_name&gt;</li>
<li>Install the SA MP 3.1.0.6 special package by running the following commands:<br />
# cd &lt;tsa_install_file_dir&gt;<br />
# ./installSAM</li>
<li>Start the existing cluster domain using the following command:<br />
# startrpdomain &lt;domain_name&gt;</li>
<li>Ensure that the domain is started and that all the nodes in the domain are online by running the following commands:<br />
# lsrpdomain<br />
Name OpState RSCTActiveVersion MixedVersions TSPort GSPort<br />
ha Online 2.5.4.0 No 12347 12348</p>
<p># lsrpnode<br />
Name OpState RSCTVersion<br />
el9-89-205 Online 2.5.4.2<br />
el9-89-206 Online 2.5.4.2</li>
</ol>
<p><strong>Post-migration steps:</strong></p>
<ol type="1">
<li>Verify the active and installed version number by running the following command:<br />
# lssrc -ls IBM.RecoveryRM</p>
<p>Daemon State:<br />
My Node Name : el9-89-205<br />
Master Node Name : el9-89-205 (node number = 1)<br />
Our IVN : 3.1.0.6<br />
Our AVN : 3.1.0.1</p>
<p># lsrpdomain<br />
Name OpState RSCTActiveVersion MixedVersions TSPort GSPort<br />
ha Online 2.5.4.0 No 12347 12348</p>
<p># lsrpnode<br />
Name OpState RSCTVersion<br />
el9-89-205 Online 2.5.4.2<br />
el9-89-206 Online 2.5.4.2</li>
<li>Update the RSCTActiveVersion. Ensure that all the nodes are online before issuing the following command:<br />
# runact -c IBM.PeerDomain CompleteMigration Options=0<br />
Resource Class Action Response for CompleteMigration</p>
<p># lsrpdomain<br />
Name OpState RSCTActiveVersion MixedVersions TSPort GSPort<br />
ha Online 2.5.4.2 No 12347 12348</li>
<li>Activate the new features and finish the migration by running the following commands:<br />
# samctrl –m</p>
<p># lssrc -ls IBM.RecoveryRM</p>
<p>Daemon State:<br />
My Node Name : el9-89-205<br />
Master Node Name : el9-89-205 (node number = 1)<br />
Our IVN : 3.1.0.6<br />
Our AVN : 3.1.0.6</p>
<p># lssam<br />
Online IBM.ResourceGroup:db2_db2inst1_0-rg Nominal=Online<br />
&#8216;- Online IBM.Application:db2_db2inst1_0-rs<br />
|- Online IBM.Application:db2_db2inst1_0-rs:el9-89-205<br />
&#8216;- Offline IBM.Application:db2_db2inst1_0-rs:el9-89-206<br />
Online IBM.Equivalency:db2_db2inst1_0-rg_group-equ<br />
|- Online IBM.PeerNode:el9-89-205:el9-89-205<br />
&#8216;- Online IBM.PeerNode:el9-89-206:el9-89-206</li>
</ol>
<p><strong><span style="text-decoration: underline;">Step #2 (c) &#8211; Migration from SA MP 2.2.X stream</span></strong><br />
All steps should be run as root unless indicated otherwise. References to the 3.1.0.6 package should be substituted for the 3.2.0.0 package on AIX 5.3 TL11 and above, and for the 3.2.0.1 package on the AIX 7.1 operating systems.</p>
<ol type="1">
<li>Set the initial configuration on all nodes. On all nodes, set the following environment variables:<br />
# export CT_MANAGEMENT_SCOPE=2<br />
# export JAVA_COMPILER=none</li>
<li>As instance owner, stop the DB2 instance by running the following command:<br />
# db2stop force</li>
<li>Stop the existing cluster domain by running the following command:<br />
# stoprpdomain –f &lt;domain_name&gt;</li>
<li>Install the SA MP 3.1.0.6 special package by running the following commands:<br />
# cd &lt;tsa_install_file_dir&gt;<br />
# ./installSAM</li>
<li>Install the appropriate SA MP product license file by running the following commands:<br />
# samlicm –i &lt;license_file&gt;<br />
# samlicm -s<br />
Product: IBM Tivoli System Automation for Multiplatforms 3.1<br />
Product ID: 101<br />
Product Annotation:<br />
Creation date: Sun Mar 19 18:00:00 2006<br />
Expiration date: Thu Dec 31 17:59:59 2037</li>
<li>Start the existing cluster domain by running the following commands:<br />
# startrpdomain &lt;domain_name&gt;</li>
</ol>
<p><strong>Post-migration steps:</strong></p>
<ol type="1">
<li>Verify the active and installed version number by running the following commands:<br />
# lssrc -ls IBM.RecoveryRM</p>
<p>Daemon State:<br />
My Node Name : el9-89-205<br />
Master Node Name : el9-89-205 (node number = 1)<br />
Our IVN : 3.1.0.6<br />
Our AVN : 2.2.5.7</p>
<p># lsrpdomain<br />
Name OpState RSCTActiveVersion MixedVersions TSPort GSPort<br />
ha Online 2.5.4.0 No 12347 12348</p>
<p># lsrpnode<br />
Name OpState RSCTVersion<br />
el9-89-205 Online 2.5.4.2<br />
el9-89-206 Online 2.5.4.2</li>
<li>Update the RSCTActiveVersion. Ensure that all the nodes are online before issuing the following command:<br />
# runact -c IBM.PeerDomain CompleteMigration Options=0<br />
Resource Class Action Response for CompleteMigration</p>
<p># lsrpdomain<br />
Name OpState RSCTActiveVersion MixedVersions TSPort GSPort<br />
ha Online 2.5.4.2 No 12347 12348</li>
<li>Activate the new features and finish the migration by running the following commands:<br />
# samctrl –m</p>
<p># lssrc -ls IBM.RecoveryRM</p>
<p>Daemon State:<br />
My Node Name : el9-89-205<br />
Master Node Name : el9-89-205 (node number = 1)<br />
Our IVN : 3.1.0.6<br />
Our AVN : 3.1.0.6</p>
<p># lssam<br />
Online IBM.ResourceGroup:db2_db2inst1_0-rg Nominal=Online<br />
&#8216;- Online IBM.Application:db2_db2inst1_0-rs<br />
|- Online IBM.Application:db2_db2inst1_0-rs:el9-89-205<br />
&#8216;- Offline IBM.Application:db2_db2inst1_0-rs:el9-89-206<br />
Online IBM.Equivalency:db2_db2inst1_0-rg_group-equ<br />
|- Online IBM.PeerNode:el9-89-205:el9-89-205<br />
&#8216;- Online IBM.PeerNode:el9-89-206:el9-89-206</li>
</ol>
<p><strong><span style="text-decoration: underline;">Frequently Asked Questions</span></strong><br />
<strong>Where can I get RSCT 2.5.4.0?</strong><br />
After upgrading to AIX 6.1 TL4, RSCT will be moved to RSCT 2.5.4.0. The full TL4 can be downloaded here: <span style="text-decoration: underline;"><a href="http://www-933.ibm.com/eserver/support/fixes/fixcentral/pfixpacks/61">http://www-933.ibm.com/eserver/support/fixes/fixcentral/pfixpacks/61</a></span></p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr valign="top">
<td width="498"><img src="http://www-01.ibm.com/support/docview.wss?uid=swg21456582&amp;aid=1" alt="" width="1" height="1" border="0" /></td>
</tr>
</tbody>
</table>
<p><strong>Why do we need a SA MP 3.1.0.6 special package?</strong><br />
SA MP 2.2.x is not compatible with RSCT 2.5.4.2. Therefore, you must upgrade SA MP to the 3.1.x release level. If you apply Version 9.5 Fix Pack 6a (or a later fix pack), V9.7 Fix Pack 2 (or a later fix pack), or V9.8 Fix Pack 2 (or a later fix pack) , the RSCT level is automatically updated to the correct level. On AIX 5.3 TL11 and above systems, SA MP 3.2.0.0 is the minimum level with a supported RSCT version.</p>
<p><strong>Where can I get a SA MP 3.1.0.6 special package?</strong><br />
Contact IBM support.</p>
<p><strong>Where can I get a SA</strong> <strong>MP 3</strong><strong>.1.x or 3.2.x license?</strong><br />
To obtain a license for Tivoli SA MP 3.1 or 3.2:<br />
1. Go to the Passport Advantage site: <a href="http://www.ibm.com/software/howtobuy/passportadvantage/"><span style="text-decoration: underline;">http://www.ibm.com/software/howtobuy/passportadvantage/</span><img src="http://www-01.ibm.com/support/docview.wss?uid=swg21456582&amp;aid=2" alt="" width="7" height="7" border="0" /></a><br />
2. Download a refreshed DB2 Enterprise Server Edition image or a High Availability feature image.<br />
3. Each of these images contain a license key for the Tivoli SA MP product.<br />
4. Place the license key under the SA MP installation directory&#8217;s license folder to proceed with SA MP installation.</p>
<p><strong>During </strong><strong>SA</strong> <strong>MP 3.1.0.6 special package installation, the following message is displayed. What does it mean?</strong><br />
/opt/IBM/tsamp/sam/bin/samadapter[51]: 9-SSU: bad number</p>
<p>This message indicates an installation problem that will be addressed in a future SA MP release version. You can continue using SA MP since samadapter is not used by the DB2 product.</p>
<p><strong>During DB2 installation, the following message is displayed: “WARNING: A minor error occurred while installing”. However, there are no errors in the installation log.</strong><br />
This warning might be due to an ITMA installation failure. Check for javacore.* under the /tmp folder referencing ITMInstall. ITMA is not supported on Power7 systems but the DB2 installer tries to install it anyway. This defect will be addressed in APAR IC69770.</p>
<p><strong>Where can I get more details on SA</strong> <strong>MP installation and migration?</strong><br />
Tivoli SA MP 3.1 &#8211; Installation and Configuration Guide<br />
<a href="http://publib.boulder.ibm.com/tividd/td/IBMTivoliSystemAutomationforMultiplatforms3.1.html">http://publib.boulder.ibm.com/tividd/td/IBMTivoliSystemAutomationforMultiplatforms3.1.html</a><br />
Tivoli SA MP 3.2 &#8211; Installation and Configuration Guide<br />
<a href="http://publib.boulder.ibm.com/tividd/td/IBMTivoliSystemAutomationforMultiplatforms3.2_or_later.html">http://publib.boulder.ibm.com/tividd/td/IBMTivoliSystemAutomationforMultiplatforms3.2_or_later.html</a></p>
<p><strong>The lssam command outputs for non-root users do not seem correct as some resources are missing, Is there a problem with the installation? </strong><br />
This issue is an expected behavior for RSCT 2.5.4.0 level and above. It applies to all non-root IDs and to all resource classes and their resources. The non-root user must have appropriate ACL permission on any cluster node remote from where the query is executed.</p>
<p><strong>Do DB2 products on the Linux® operating system support Power7 systems?</strong><br />
Yes. No special setup is required on that operating system. <a href="http://www-01.ibm.com/support/docview.wss?uid=swg21420730">http://www-01.ibm.com/support/docview.wss?uid=swg21420730</a></p>
<p><strong>After installing SA MP 3.2.x, the lssam output displays the following error messages. What does it mean? </strong></p>
<ul>
<ul>(lsrsrc-api) 2610-440 Permission is denied to access a resource specified in this command.\nNetwork Identity regress@0x75bd611f6bab1867/clusteruser requires &#8216;s&#8217; permission for the resource &#8217;0x201f 0xffff 0xab3c34af 0xcdda8cf6 0x91dbfccb 0xdf3fd258&#8242; of class IBM.ResourceGroup on node vmreglnxesx64a.torolab.ibm.com.</ul>
</ul>
<ul>
<ul>(lsrsrc-api) 2610-440 Permission is denied to access a resource specified in this command.\nNetwork Identity regress@0x75bd611f6bab1867/clusteruser requires &#8216;s&#8217; permission for the resource &#8217;0&#215;2020 0xffff 0xab3c34af 0xcdda8cf6 0x91dbfccd 0x344463a8&#8242; of class IBM.ManagedResource on node vmreglnxesx64a.torolab.ibm.com.</ul>
</ul>
<ul>lssam: An unexpected RMC error occurred.The RMC return code was 1.</ul>
<p>These messages have no functional impact and can be ignored. This defect will be addressed in SA MP APAR IZ89629.</p>
<p><strong>What to do if I see the following warning in the db2diag.log when running Power 7?</strong></p>
<p>2011-03-17-14.45.22.377107-300 I9247A375          LEVEL: Warning<br />
PID     : 4915288              TID  : 1           PROC : db2fmp<br />
INSTANCE: db2inst1             NODE : 000<br />
EDUID   : 1                    EDUNAME: db2fmp<br />
FUNCTION: DB2 UDB, oper system services, sqloJVMvfprintf, probe:20<br />
DATA #1 : String, 63 bytes<br />
Unhandled exception<br />
Type=Segmentation error vmState=0&#215;00000000</p>
<p>You can try running Power 7 in Power 6 compatibility mode or try setting:</p>
<p>JAVA_COMPILER=none</p>
<p>also please confirm that you are on a supported version of JDK and DB2 for Power 7.</p></div>
<p>&nbsp;</p>
<h2>Related information</h2>
<p><a href="http://www.ibm.com/support/docview.wss?rs=0&amp;uid=swg21420730">Preparing for DB2 product installation on Power7 System</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.aixmind.com/?feed=rss2&#038;p=2456</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle Solaris 11 Administrator&#8217;s Cheat Sheet</title>
		<link>http://www.aixmind.com/?p=2452</link>
		<comments>http://www.aixmind.com/?p=2452#comments</comments>
		<pubDate>Sun, 01 Apr 2012 23:23:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[cheat-sheet]]></category>
		<category><![CDATA[Solaris 11]]></category>
		<category><![CDATA[system administrator]]></category>

		<guid isPermaLink="false">http://www.aixmind.com/?p=2452</guid>
		<description><![CDATA[Below is Oracle Solaris 11 Administrator&#8217;s Cheat Sheet Oracle Solaris 11 Cheat Sheet General Administration Installation Automated Installer (AI) is the new network based multi-client provisioning system on Oracle Solaris 11. AI provides hands-free installation of both SPARC and x86 systems by using an installation service that installs systems from software package repositories on the network. [...]]]></description>
			<content:encoded><![CDATA[<p>Below is <strong>Oracle Solaris 11 Administrator&#8217;s Cheat Sheet</strong></p>
<p>Oracle Solaris 11 Cheat Sheet<br />
General Administration<br />
Installation<br />
Automated Installer (AI) is the new network based multi-client provisioning system on<br />
Oracle Solaris 11. AI provides hands-free installation of both SPARC and x86 systems by<br />
using an installation service that installs systems from software package repositories on<br />
the network.<br />
Create an install service from a downloaded ISO file, specifying x86 based DHCP<br />
client starting at address 192.168.1.210 with a total count of 10 addresses:<br />
# installadm create-service -n s11x86 -i 192.168.1.210 -c 10 -s<br />
/path/to/solaris-11-1111-ai-x86.iso<br />
List all enabled services:<br />
# installadm list<br />
List any installation manifests associated with the install services:<br />
# installadm list -m<br />
Export the default installation manifest associated with the s11x86 service:<br />
# installadm export -n s11x86 -m orig_default &gt; manifest.xml<br />
Import a manifest to be associated with the s11x86 service:<br />
# installadm update-manifest -n s11x86 -m orig_default \<br />
-f manifest.xml<br />
List any system configuration profiles associated with the install services:<br />
# installadm list -p<br />
Create a system configuration profile interactively, saving the contents to a file:<br />
# sysconfig create-profile -o profile.xml<br />
Validate a system configuration profile against the default x86 install service:<br />
# installadm validate -n default-i386 -P profile.xml<br />
Associate a system configuration profile with the deafult x86 install service and<br />
give it a name sc-profile:<br />
# installadm create-profile -n default-i386 -f profile.xml \<br />
-p sc-profile<br />
Apply a criteria that all clients must have 4096MB memory or greater to the<br />
manifest s11manifest of s11x86 service:<br />
# installadm set-criteria -m s11manifest -n s11x</p>
<p>&nbsp;</p>
<p><span style="color: #0000ff;"><strong>Full PDF:  <a href="http://www.aixmind.com/wp-content/uploads/2012/04/Oracle-Solaris-11-Administrators-Cheat-Sheet.pdf">Oracle Solaris 11 Administrator&#8217;s Cheat Sheet</a></strong></span></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aixmind.com/?feed=rss2&#038;p=2452</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AIX Support Center Tools web site now available for AIX 7.1, 6.1 and 5.3</title>
		<link>http://www.aixmind.com/?p=2448</link>
		<comments>http://www.aixmind.com/?p=2448#comments</comments>
		<pubDate>Sun, 01 Apr 2012 20:56:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AIX]]></category>
		<category><![CDATA[AIX Support Center Tools]]></category>
		<category><![CDATA[FLRT]]></category>
		<category><![CDATA[perfpmr]]></category>
		<category><![CDATA[snap]]></category>
		<category><![CDATA[VIOS Advisor]]></category>
		<category><![CDATA[zsnap]]></category>

		<guid isPermaLink="false">http://www.aixmind.com/?p=2448</guid>
		<description><![CDATA[The AIX Support Center Tools web site provides information about widely used data gathering tools and recommendation tools that are used by AIX system administrators in conjunction with the IBM support center team. Data gathering tools like zsnap help reduce the amount of time spent during initial problem determination. The recommendation tools help provide health [...]]]></description>
			<content:encoded><![CDATA[<div id="ibm-pcon">
<div id="ibm-content"><!--CONTENT_BEGIN --> <!--TITLE_BEGIN --></p>
<div id="ibm-content-head">The AIX Support Center Tools web site provides information about widely used data gathering tools and recommendation tools that are used by AIX system administrators in conjunction with the IBM support center team. Data gathering tools like <strong>zsnap</strong> help reduce the amount of time spent during initial problem determination. The recommendation tools help provide health check reports or cross-product compatibility information. <a href="http://www.ibm.com/support/docview.wss?uid=aixtools_home">Visit AIX Support Center Tools</a></div>
<div id="ibm-content-body">
<div id="ibm-content-body">
<p>Featured tools:</p>
<p><a href="http://www.ibm.com/support/docview.wss?uid=aixtools_home">snap</a></p>
<p>Snap captures system configuration information for AIX and PowerHA. Product technical support centers regularly request snap output to identify and resolve problems.</p>
<p><a href="http://www.ibm.com/support/docview.wss?uid=aixtools_home">zsnap</a></p>
<p>The <strong>zsnap</strong> utility delivers all the benefits of the standard snap command and captures additional debugging data in an easily understood format. IBM&#8217;s world-class AIX support centers have teamed up to deliver a more fully integrated tool for data gathering, one that has already been proven to reduce the time needed to resolve customer problems.</p>
<p><a href="http://www.ibm.com/support/docview.wss?uid=aixtools_home">perfpmr</a></p>
<p>The perfpmr tool is used extensively by the AIX technical support centers. This package contains a set of tools and instructions for collecting the data needed to analyze performance problems.</p>
<div id="ibm-pcon">
<div id="ibm-content">
<div id="ibm-content-head"><!-- TwoX wstitle.doc --></p>
<h1>AIX Support Center Tools</h1>
</div>
</div>
</div>
<div>
<div>
<p> AIX Support Center Tools provides information about widely used data gathering tools and recommendation tools that are used by AIX system administrators in conjunction with the IBM support center team. The gathering tools help reduce the amount of time spent during initial problem determination. The recommendation tools help provide health check reports or cross-product compatibility information.</p>
</div>
</div>
<div>
<h2>Data gathering tools</h2>
<div>
<ol>
<li>
<h3><a href="http://www-01.ibm.com/support/docview.wss?uid=aixtools-b533987">snap</a></h3>
<p>The <strong>snap</strong> command is included with the operating system. Snap captures system configuration information for AIX and PowerHA. Product technical support centers regularly request snap output to identify and resolve problems. Snap output can be delivered to IBM in portable archive exchange format (pax).</li>
<li>
<h3><a href="http://www-01.ibm.com/support/docview.wss?uid=aixtools-2f5a8cf3">zsnap</a></h3>
<p>The <strong>zsnap</strong> utility delivers all the benefits of the standard snap command and captures additional debugging data in an easily understood format. IBM&#8217;s world-class AIX support centers have teamed up to deliver a more fully integrated tool for data gathering, one that has already been proven to reduce the time needed to resolve customer problems. IBM recommends that you install zsnap before you call IBM technical support.</li>
<li>
<h3><a href="http://www-01.ibm.com/support/docview.wss?uid=aixtools-27a38cfb">perfpmr</a></h3>
<p>The <strong>perfpmr</strong> tool is used extensively by the AIX technical support centers. This package contains a set of tools and instructions for collecting the data needed to analyze performance problems. IBM may ask you to download and use this tool.</li>
</ol>
</div>
</div>
<div>
<h2>Recommendation tools</h2>
<div>
<ol>
<li>
<h3><a href="http://www.ibm.com/developerworks/wikis/display/WikiPtype/VIOS+Advisor" target="new.window">VIOS Advisor</a></h3>
<p>The VIOS Advisor application runs on the PowerVM Virtual I/O Server partition. The application collects key performance metrics before analyzing the results. It then provides a health check report listing recommended changes or areas requiring further investigation.</li>
<li>
<h3><a href="http://www.ibm.com/support/customercare/flrt">FLRT</a></h3>
<p>The Fix Level Recommendation Tool web site provides fix recommendations for AIX, PowerHA, VIOS, System Firmware and many key components of your Power Systems server.</li>
</ol>
</div>
</div>
</div>
</div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.aixmind.com/?feed=rss2&#038;p=2448</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to setup LVM hot spare</title>
		<link>http://www.aixmind.com/?p=2445</link>
		<comments>http://www.aixmind.com/?p=2445#comments</comments>
		<pubDate>Sun, 01 Apr 2012 20:31:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AIX]]></category>
		<category><![CDATA[hot spare]]></category>
		<category><![CDATA[lvm]]></category>

		<guid isPermaLink="false">http://www.aixmind.com/?p=2445</guid>
		<description><![CDATA[Question Setup LVM hot spare. Answer Hot Spare only works if the volume group has mirrored logical volumes. There can be no logical partitions using the drive to be marked a hot spare. The following command marks hdisk1 as a hot spare disk: # chpv -hy hdisk1 Now that the drive is marked as a [...]]]></description>
			<content:encoded><![CDATA[<h2>Question</h2>
<p>Setup LVM hot spare.</p>
<h2>Answer</h2>
<div>
<p>Hot Spare only works if the volume group has mirrored logical volumes. There can be no logical partitions using the drive to be marked a hot spare. The following command marks hdisk1 as a hot spare disk:</p>
<p># chpv -hy hdisk1</p>
<p>Now that the drive is marked as a hot spare you must determine the hotsparepolicy, and the syncpolicy. Here are your options:</p>
<p>Hotsparepolicy:</p>
<p>y This policy automatically migrates partitions from one failing disk to one<br />
spare disk. From the pool of hot spare disks, the smallest one that is big<br />
enough to substitute for the failing disk will be used.</p>
<p>Y This policy automatically migrates partitions from a failing disk, but might<br />
use the complete pool of hot spare disks.</p>
<p>n No automatic migration will take place. This is the default value for a volume group.</p>
<p>r This value removes all disks from the pool of hot spare disks for this volume group.</p>
<p>Syncpolicy:</p>
<p>y This will automatically try to synchronize stale partitions.</p>
<p>n This will not automatically try to synchronize stale partitions. The latter argument is also the default for a volume group.</p>
<p>This is the syntax to set the policies:</p>
<p># chvg -h hotsparepolicy -s syncpolicy VolumeGroup</p>
<p>for example:</p>
<p># chvg -hy -sy vgname</p>
<p>Now the vg will have a hot spare.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.aixmind.com/?feed=rss2&#038;p=2445</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

