<?xml version="1.0" encoding="utf-8"?><!-- generator="b2evolution/7.2.3-stable" -->
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>IBM Power Systems Blog</title>
		<link>http://www.capacityreports.net/AIX_Blog/index.php</link>
		<atom:link rel="self" type="application/rss+xml" href="http://www.capacityreports.net/AIX_Blog/index.php?tempskin=_rss2" />
		<description></description>
		<language>en-AU</language>
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
		<admin:generatorAgent rdf:resource="http://b2evolution.net/?v=7.2.3-stable"/>
		<ttl>60</ttl>
				<item>
			<title>AIX NIM Hints and Tips</title>
			<link>http://www.capacityreports.net/AIX_Blog/index.php</link>
			<pubDate>Wed, 15 Sep 2021 23:18:00 +0000</pubDate>			<dc:creator>Mr_AIX</dc:creator>
			<category domain="alt">AIX Tips</category>
<category domain="main">NIM Tips</category>			<guid isPermaLink="false">101@http://www.capacityreports.net/AIX_Blog/</guid>
						<description>&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;This is just a listing of useful NIM commands I use, which I hope others will find useful.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;Install the bos.rte.install fileset from your NIM server:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;Preview:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;code&gt;/usr/sbin/nimclient -o cust -a lpp_source=LPP-AIX72TL1SP2 -a filesets=bos.rte.install -a installp_flags=-pacNYgX&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;Actual Install:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;code&gt;/usr/sbin/nimclient -o cust -a lpp_source=LPP-AIX72TL1SP2 -a filesets=bos.rte.install -a installp_flags=-acNYgX&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;Patch the server to AIX7.2 TL1 SP2, server must already be running AIX7.2.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;Preview:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;code&gt;/usr/sbin/nimclient -o cust -a lpp_source=LPP-AIX72TL1SP2 -a fixes=update_all -a installp_flags=-pacNYgX&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;Actual Patching:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;code&gt;/usr/sbin/nimclient -o cust -a lpp_source=LPP-AIX72TL1SP2 -a fixes=update_all -a installp_flags=-acNYgX&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;Patching a specific set of files.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;Generate a listing of filesets that are lower than the current known maintenance level.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;code&gt;KNOWN_OSLEVEL=$( oslevel -sq 2&amp;gt;&amp;amp;1 | tail +3 | head -1 )&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;code&gt;oslevel -s -l ${KNOWN_OSLEVEL} 2&amp;gt;&amp;amp;1 | \&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;code&gt;grep -e COMMITTED -e APPLIED | \&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;code&gt;awk &#039;{ print $1 }&#039; | \&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;code&gt;sort -u &amp;gt;&amp;gt; /tmp/filelist&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;Using NIM, we can install those filesets from above.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;code&gt;/usr/sbin/nimclient -o cust -a lpp_source=LPP-AIX72TL0SP0-DVD -a filesets=-f/tmp/filelist -a installp_flags=-acNgX&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;Then update them to the latest TL and SP:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;code&gt;/usr/sbin/nimclient -o cust -a lpp_source=LPP-AIX72TL1SP1 -a fixes=update_all -a installp_flags=-acNYgX&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Create an LPP_SOURCE:&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;code&gt;nim -o define -t lpp_source -a server=master -a location=/export/lpp_source/aix72_lpp -a comments=&quot;AIX 7.2 lpp source&quot; aix72_lpp&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Create a SPOT:&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;code&gt;nim -o define -t spot -a server=master -a location=/export/spot -a comments=&quot;AIX 7.2 spot&quot; aix72_spot&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Create a MKSYSB definition from existing file:&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;code&gt;nim -o define -t mksysb -a server=master -a location=/export/mksysb/aix72_mksysb -a comments=&quot;AIX 7.2 mksysb&quot; aix72_mksysb&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://www.capacityreports.net/AIX_Blog/index.php&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p><span style="font-family: verdana, geneva, sans-serif;">This is just a listing of useful NIM commands I use, which I hope others will find useful.</span></p>
<p> </p>
<p><strong><span style="font-family: verdana, geneva, sans-serif;">Install the bos.rte.install fileset from your NIM server:</span></strong></p>
<p><span style="font-family: verdana, geneva, sans-serif;">Preview:</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"><code>/usr/sbin/nimclient -o cust -a lpp_source=LPP-AIX72TL1SP2 -a filesets=bos.rte.install -a installp_flags=-pacNYgX</code></span></p>
<p><span style="font-family: verdana, geneva, sans-serif;">Actual Install:</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"><code>/usr/sbin/nimclient -o cust -a lpp_source=LPP-AIX72TL1SP2 -a filesets=bos.rte.install -a installp_flags=-acNYgX</code></span></p>
<p> </p>
<p> </p>
<p><strong><span style="font-family: verdana, geneva, sans-serif;">Patch the server to AIX7.2 TL1 SP2, server must already be running AIX7.2.</span></strong></p>
<p><span style="font-family: verdana, geneva, sans-serif;">Preview:</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"><code>/usr/sbin/nimclient -o cust -a lpp_source=LPP-AIX72TL1SP2 -a fixes=update_all -a installp_flags=-pacNYgX</code></span></p>
<p><span style="font-family: verdana, geneva, sans-serif;">Actual Patching:</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"><code>/usr/sbin/nimclient -o cust -a lpp_source=LPP-AIX72TL1SP2 -a fixes=update_all -a installp_flags=-acNYgX</code></span></p>
<p> </p>
<p><span style="font-family: verdana, geneva, sans-serif;"> </span></p>
<p><strong><span style="font-family: verdana, geneva, sans-serif;">Patching a specific set of files.</span></strong></p>
<p><span style="font-family: verdana, geneva, sans-serif;">Generate a listing of filesets that are lower than the current known maintenance level.</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"><code>KNOWN_OSLEVEL=$( oslevel -sq 2&gt;&amp;1 | tail +3 | head -1 )</code></span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"><code>oslevel -s -l ${KNOWN_OSLEVEL} 2&gt;&amp;1 | \</code></span><br /><span style="font-family: verdana, geneva, sans-serif;"><code>grep -e COMMITTED -e APPLIED | \</code></span><br /><span style="font-family: verdana, geneva, sans-serif;"><code>awk '{ print $1 }' | \</code></span><br /><span style="font-family: verdana, geneva, sans-serif;"><code>sort -u &gt;&gt; /tmp/filelist</code></span></p>
<p> </p>
<p><span style="font-family: verdana, geneva, sans-serif;">Using NIM, we can install those filesets from above.</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"><code>/usr/sbin/nimclient -o cust -a lpp_source=LPP-AIX72TL0SP0-DVD -a filesets=-f/tmp/filelist -a installp_flags=-acNgX</code></span></p>
<p> </p>
<p><span style="font-family: verdana, geneva, sans-serif;">Then update them to the latest TL and SP:</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"><code>/usr/sbin/nimclient -o cust -a lpp_source=LPP-AIX72TL1SP1 -a fixes=update_all -a installp_flags=-acNYgX</code></span></p>
<p> </p>
<p> </p>
<p><strong>Create an LPP_SOURCE:</strong> </p>
<p><span style="font-family: verdana, geneva, sans-serif;"><code>nim -o define -t lpp_source -a server=master -a location=/export/lpp_source/aix72_lpp -a comments="AIX 7.2 lpp source" aix72_lpp</code></span></p>
<p> </p>
<p><strong>Create a SPOT:</strong> </p>
<p><span style="font-family: verdana, geneva, sans-serif;"><code>nim -o define -t spot -a server=master -a location=/export/spot -a comments="AIX 7.2 spot" aix72_spot</code></span></p>
<p> </p>
<p><strong>Create a MKSYSB definition from existing file:</strong> </p>
<p><span style="font-family: verdana, geneva, sans-serif;"><code>nim -o define -t mksysb -a server=master -a location=/export/mksysb/aix72_mksysb -a comments="AIX 7.2 mksysb" aix72_mksysb</code></span></p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p><div class="item_footer"><p><small><a href="http://www.capacityreports.net/AIX_Blog/index.php">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://www.capacityreports.net/AIX_Blog/index.php/aix-nim-hints-and-tips#comments</comments>
			<wfw:commentRss>http://www.capacityreports.net/AIX_Blog/index.php?tempskin=_rss2&#38;disp=comments&#38;p=101</wfw:commentRss>
		</item>
				<item>
			<title>Finding Multiple Install Sources for AIX</title>
			<link>http://www.capacityreports.net/AIX_Blog/index.php/finding-multiple-install-sources-for</link>
			<pubDate>Thu, 07 Nov 2019 03:50:00 +0000</pubDate>			<dc:creator>Mr_AIX</dc:creator>
			<category domain="main">AIX Tips</category>
<category domain="alt">Command Line Tips</category>			<guid isPermaLink="false">100@http://www.capacityreports.net/AIX_Blog/</guid>
						<description>&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;While upgrading MQ instanaces on AIX, we may have multiple versions of MQ installed at the same time.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;These are some usful lslpp commands to find the multiple versions installed, or no longer installed as the case is now.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;code&gt;# lslpp -R ALL -l mqm.java.rte&lt;/code&gt;&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;+-----------------------------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;INSTALL ROOT PATH = /usr/mqm71&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;+-----------------------------------------------------------------------------+&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;lslpp: 0504-132 Fileset mqm.java.rte not installed.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;+-----------------------------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;INSTALL ROOT PATH = /usr/mqm9&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;+-----------------------------------------------------------------------------+&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;Fileset Level State Description&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt; ----------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;Path: /usr/mqm9/usr/lib/objrepos&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt; mqm.java.rte 9.0.0.5 APPLIED IBM MQ Java Client, JMS and&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt; Web Services support&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;+-----------------------------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;INSTALL ROOT PATH = /&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;+-----------------------------------------------------------------------------+&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;padding-left: 30px;&quot;&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;lslpp: 0504-132 Fileset mqm.java.rte not installed.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://www.capacityreports.net/AIX_Blog/index.php/finding-multiple-install-sources-for&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p><span style="font-family: verdana, geneva, sans-serif;">While upgrading MQ instanaces on AIX, we may have multiple versions of MQ installed at the same time.</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;">These are some usful lslpp commands to find the multiple versions installed, or no longer installed as the case is now.</span></p>
<p> </p>
<p><code># lslpp -R ALL -l mqm.java.rte</code></p>
<p style="padding-left: 30px;"><span style="font-family: 'courier new', courier, monospace;">+-----------------------------------------------------------------------------+</span><br /><span style="font-family: 'courier new', courier, monospace;">INSTALL ROOT PATH = /usr/mqm71</span><br /><span style="font-family: 'courier new', courier, monospace;">+-----------------------------------------------------------------------------+</span></p>
<p style="padding-left: 30px;"><span style="font-family: 'courier new', courier, monospace;">lslpp: 0504-132 Fileset mqm.java.rte not installed.</span></p>
<p style="padding-left: 30px;"><span style="font-family: 'courier new', courier, monospace;">+-----------------------------------------------------------------------------+</span><br /><span style="font-family: 'courier new', courier, monospace;">INSTALL ROOT PATH = /usr/mqm9</span><br /><span style="font-family: 'courier new', courier, monospace;">+-----------------------------------------------------------------------------+</span></p>
<p style="padding-left: 30px;"><span style="font-family: 'courier new', courier, monospace;">Fileset Level State Description</span><br /><span style="font-family: 'courier new', courier, monospace;"> ----------------------------------------------------------------------------</span><br /><span style="font-family: 'courier new', courier, monospace;">Path: /usr/mqm9/usr/lib/objrepos</span><br /><span style="font-family: 'courier new', courier, monospace;"> mqm.java.rte 9.0.0.5 APPLIED IBM MQ Java Client, JMS and</span><br /><span style="font-family: 'courier new', courier, monospace;"> Web Services support</span></p>
<p style="padding-left: 30px;"><span style="font-family: 'courier new', courier, monospace;">+-----------------------------------------------------------------------------+</span><br /><span style="font-family: 'courier new', courier, monospace;">INSTALL ROOT PATH = /</span><br /><span style="font-family: 'courier new', courier, monospace;">+-----------------------------------------------------------------------------+</span></p>
<p style="padding-left: 30px;"><span style="font-family: 'courier new', courier, monospace;">lslpp: 0504-132 Fileset mqm.java.rte not installed.</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"> </span></p><div class="item_footer"><p><small><a href="http://www.capacityreports.net/AIX_Blog/index.php/finding-multiple-install-sources-for">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://www.capacityreports.net/AIX_Blog/index.php/finding-multiple-install-sources-for#comments</comments>
			<wfw:commentRss>http://www.capacityreports.net/AIX_Blog/index.php?tempskin=_rss2&#38;disp=comments&#38;p=100</wfw:commentRss>
		</item>
				<item>
			<title>PowerHA and EMC Busy Devices</title>
			<link>http://www.capacityreports.net/AIX_Blog/index.php/powerha-and-emc-busy-devices</link>
			<pubDate>Wed, 13 Mar 2019 05:30:00 +0000</pubDate>			<dc:creator>Mr_AIX</dc:creator>
			<category domain="alt">AIX Tips</category>
<category domain="main">PowerHA Tips</category>			<guid isPermaLink="false">99@http://www.capacityreports.net/AIX_Blog/</guid>
						<description>&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;While migrating data from an old EMC storage array to the new EMC All Flash array, we found that some of the EMC devices were giving an error that the specified device was busy when attempting to rmdev the device.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;While the version of PowerHA is old now, I thought I would still blog this in case anyone has a similar issue.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;I found another reference to this issue here:  &lt;a href=&quot;http://omnitech.net/reference/2017/02/27/powerha-holds-my-disks/&quot; target=&quot;_blank&quot;&gt;Powerha-holds-my-disks&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;EMC Device Details&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;-------------------------------------------------------------------------&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;DEVICE         :VEND    :PROD            :REV   :SER NUM          :CAP(kb)&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;-------------------------------------------------------------------------&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;/dev/rhdisk12  :EMC     :SYMMETRIX       :5876  :24059ed000 :    11784960&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;code&gt;node4:/# lsdev -Cc disk | grep hdisk12&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;hdisk12  Available 31-T1-01 EMC Symmetrix FCP MPIO VRAID&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;No volume group on the device.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;code&gt;node4:/# lspv | grep -w -f /tmp/Disk.List.txt&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;hdisk12         00abc7a7abc2dabd                    None&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;Current Software Levels.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;code&gt;node4:/# oslevel -s&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;7100-05-01-1731&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;code&gt;node4:/# halevel -s&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;7.1.3 SP7&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;Removing the device gives an error.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;code&gt;node4:/# rmdev -l hdisk12&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;Method error (/etc/methods/ucfgdevice):&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;        0514-062 Cannot perform the requested function because the&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;                 specified device is busy.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;The device is not in a Fence Group and we appear to have read/write access.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;code&gt;node4:/# /usr/es/sbin/cluster/cspoc/cl_getdisk hdisk12&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;Disk name:                      hdisk12&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;Disk UUID:                      f671eedf241cc9cd 0265e4f89c1f3fef&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;Fence Group UUID:               0000000000000000 0000000000000000 - Not in a Fence Group&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;Disk device major/minor number: 19, 101&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;Fence height:                   0 (Read/Write)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;Reserve mode:                   0 (No Reserve)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;Disk Type:                      0x01 (Local access only)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;Disk State:                     17&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;To fix this, I needed to take the cluster offline and then back online, just on this node.  Note that I used the unmanaged option to avoid an application outage.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;code&gt;node4:/# clmgr offline node node4 when=now manage=unmanage broadcast=false&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;code&gt;node4:/# clmgr online node node4 when=now manage=auto broadcast=false&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;Once the cluster software is up and running, I can delete the device.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;code&gt;node4:/# rmdev -dl hdisk12&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;hdisk12&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;hdisk12 deleted&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://www.capacityreports.net/AIX_Blog/index.php/powerha-and-emc-busy-devices&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p><span style="font-family: verdana, geneva, sans-serif;">While migrating data from an old EMC storage array to the new EMC All Flash array, we found that some of the EMC devices were giving an error that the specified device was busy when attempting to rmdev the device.</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;">While the version of PowerHA is old now, I thought I would still blog this in case anyone has a similar issue.</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;">I found another reference to this issue here:  <a href="http://omnitech.net/reference/2017/02/27/powerha-holds-my-disks/" target="_blank">Powerha-holds-my-disks</a></span></p>
<p> </p>
<p><strong><span style="font-family: verdana, geneva, sans-serif;">EMC Device Details</span></strong></p>
<p><span style="font-family: 'courier new', courier, monospace;">-------------------------------------------------------------------------<br /></span><span style="font-family: 'courier new', courier, monospace;">DEVICE         :VEND    :PROD            :REV   :SER NUM          :CAP(kb)<br /></span><span style="font-family: 'courier new', courier, monospace;">-------------------------------------------------------------------------<br /></span><span style="font-family: 'courier new', courier, monospace;">/dev/rhdisk12  :EMC     :SYMMETRIX       :5876  :24059ed000 :    11784960</span></p>
<p> </p>
<p><span style="font-family: verdana, geneva, sans-serif;"><code>node4:/# lsdev -Cc disk | grep hdisk12</code></span></p>
<p><span style="font-family: 'courier new', courier, monospace;">hdisk12  Available 31-T1-01 EMC Symmetrix FCP MPIO VRAID</span></p>
<p><span style="font-family: 'courier new', courier, monospace;"> </span></p>
<p><strong><span style="font-family: verdana, geneva, sans-serif;">No volume group on the device.</span></strong></p>
<p><span style="font-family: verdana, geneva, sans-serif;"><code>node4:/# lspv | grep -w -f /tmp/Disk.List.txt</code></span></p>
<p><span style="font-family: 'courier new', courier, monospace;">hdisk12         00abc7a7abc2dabd                    None</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"> </span></p>
<p> </p>
<p><strong><span style="font-family: verdana, geneva, sans-serif;">Current Software Levels.</span></strong></p>
<p><span style="font-family: verdana, geneva, sans-serif;"><code>node4:/# oslevel -s</code></span></p>
<p><span style="font-family: 'courier new', courier, monospace;">7100-05-01-1731</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"> </span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"><code>node4:/# halevel -s</code></span></p>
<p><span style="font-family: 'courier new', courier, monospace;">7.1.3 SP7</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"> </span></p>
<p><strong><span style="font-family: verdana, geneva, sans-serif;">Removing the device gives an error.</span></strong></p>
<p><span style="font-family: verdana, geneva, sans-serif;"><code>node4:/# rmdev -l hdisk12</code></span></p>
<p><span style="font-family: 'courier new', courier, monospace;">Method error (/etc/methods/ucfgdevice):</span></p>
<p><span style="font-family: 'courier new', courier, monospace;">        0514-062 Cannot perform the requested function because the</span></p>
<p><span style="font-family: 'courier new', courier, monospace;">                 specified device is busy.</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"> </span></p>
<p><span style="font-family: verdana, geneva, sans-serif;">The device is not in a Fence Group and we appear to have read/write access.</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"><code>node4:/# /usr/es/sbin/cluster/cspoc/cl_getdisk hdisk12</code></span></p>
<p><span style="font-family: 'courier new', courier, monospace;">Disk name:                      hdisk12</span></p>
<p><span style="font-family: 'courier new', courier, monospace;">Disk UUID:                      f671eedf241cc9cd 0265e4f89c1f3fef</span></p>
<p><span style="font-family: 'courier new', courier, monospace;">Fence Group UUID:               0000000000000000 0000000000000000 - Not in a Fence Group</span></p>
<p><span style="font-family: 'courier new', courier, monospace;">Disk device major/minor number: 19, 101</span></p>
<p><span style="font-family: 'courier new', courier, monospace;">Fence height:                   0 (Read/Write)</span></p>
<p><span style="font-family: 'courier new', courier, monospace;">Reserve mode:                   0 (No Reserve)</span></p>
<p><span style="font-family: 'courier new', courier, monospace;">Disk Type:                      0x01 (Local access only)</span></p>
<p><span style="font-family: 'courier new', courier, monospace;">Disk State:                     17</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"> </span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"> </span></p>
<p><span style="font-family: verdana, geneva, sans-serif;">To fix this, I needed to take the cluster offline and then back online, just on this node.  Note that I used the unmanaged option to avoid an application outage.</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"><code>node4:/# clmgr offline node node4 when=now manage=unmanage broadcast=false</code></span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"><code>node4:/# clmgr online node node4 when=now manage=auto broadcast=false</code></span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"> </span></p>
<p><span style="font-family: verdana, geneva, sans-serif;">Once the cluster software is up and running, I can delete the device.</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"><code>node4:/# rmdev -dl hdisk12</code></span></p>
<p><span style="font-family: 'courier new', courier, monospace;">hdisk12</span></p>
<p><span style="font-family: 'courier new', courier, monospace;">hdisk12 deleted</span></p>
<p> </p>
<p> </p>
<p> </p><div class="item_footer"><p><small><a href="http://www.capacityreports.net/AIX_Blog/index.php/powerha-and-emc-busy-devices">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://www.capacityreports.net/AIX_Blog/index.php/powerha-and-emc-busy-devices#comments</comments>
			<wfw:commentRss>http://www.capacityreports.net/AIX_Blog/index.php?tempskin=_rss2&#38;disp=comments&#38;p=99</wfw:commentRss>
		</item>
				<item>
			<title>AIX Random Password Generation</title>
			<link>http://www.capacityreports.net/AIX_Blog/index.php/aix-random-password-generation</link>
			<pubDate>Wed, 20 Feb 2019 09:37:00 +0000</pubDate>			<dc:creator>Mr_AIX</dc:creator>
			<category domain="main">AIX Tips</category>
<category domain="alt">Command Line Tips</category>			<guid isPermaLink="false">98@http://www.capacityreports.net/AIX_Blog/</guid>
						<description>&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;I had a request to create a script that would allow users to reset a password, but the password needed to be randomly generated and at least 16 characters long.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;We have already enabled longer passwords in AIX and updated the password algorithm to ssha512.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;code&gt;chsec -f /etc/security/login.cfg -s usw -a pwd_algorithm=ssha512&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;As all the AIX systems (and other UNIX) have openssl installed, to avoid installing any other tools, we will use openssl.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;Generate a 16 character password.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;code&gt;/usr/bin/openssl rand -base64 16&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;b4all5h6+sLvYh1TPl13yw==&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;Now putting that in to a script is very easy.  First we generate the password, and remove any $ symbols, as these would be interated by the shell as variables, then display the password to the user and final using chpasswd we can apply the new random password to username.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;code&gt;NEWPASS=$( /usr/bin/openssl rand -base64 16 | tr -d &quot;$&quot; )&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;print -- ${NEWPASS}&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;print -- username:${NEWPASS} | /usr/bin/chpasswd&lt;/code&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://www.capacityreports.net/AIX_Blog/index.php/aix-random-password-generation&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p><span style="font-family: verdana, geneva, sans-serif;">I had a request to create a script that would allow users to reset a password, but the password needed to be randomly generated and at least 16 characters long.</span></p>
<p> </p>
<p><span style="font-family: verdana, geneva, sans-serif;">We have already enabled longer passwords in AIX and updated the password algorithm to ssha512.</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"><code>chsec -f /etc/security/login.cfg -s usw -a pwd_algorithm=ssha512</code></span></p>
<p> </p>
<p><span style="font-family: verdana, geneva, sans-serif;">As all the AIX systems (and other UNIX) have openssl installed, to avoid installing any other tools, we will use openssl.</span></p>
<p> </p>
<p><span style="font-family: verdana, geneva, sans-serif;">Generate a 16 character password.</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"><code>/usr/bin/openssl rand -base64 16</code></span></p>
<p><span style="font-family: 'courier new', courier, monospace;">b4all5h6+sLvYh1TPl13yw==</span></p>
<p> </p>
<p><span style="font-family: verdana, geneva, sans-serif;">Now putting that in to a script is very easy.  First we generate the password, and remove any $ symbols, as these would be interated by the shell as variables, then display the password to the user and final using chpasswd we can apply the new random password to username.</span></p>
<p> </p>
<p><code>NEWPASS=$( /usr/bin/openssl rand -base64 16 | tr -d "$" )</code></p>
<p><code>print -- ${NEWPASS}</code></p>
<p><code>print -- username:${NEWPASS} | /usr/bin/chpasswd</code></p>
<p> </p>
<p> </p><div class="item_footer"><p><small><a href="http://www.capacityreports.net/AIX_Blog/index.php/aix-random-password-generation">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://www.capacityreports.net/AIX_Blog/index.php/aix-random-password-generation#comments</comments>
			<wfw:commentRss>http://www.capacityreports.net/AIX_Blog/index.php?tempskin=_rss2&#38;disp=comments&#38;p=98</wfw:commentRss>
		</item>
				<item>
			<title>VIO Server 3.1.0 and ssh host keys</title>
			<link>http://www.capacityreports.net/AIX_Blog/index.php/vio-server-3-1-2</link>
			<pubDate>Wed, 05 Dec 2018 08:02:00 +0000</pubDate>			<dc:creator>Mr_AIX</dc:creator>
			<category domain="main">VIO Server Tips</category>			<guid isPermaLink="false">97@http://www.capacityreports.net/AIX_Blog/</guid>
						<description>&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;After installing VIO Server v3.1.0 I noticed that the ssh host keys are included in the mksysb image, and therefore unless you delete them and recreate them, all your VIO Servers will have the same host keys.  So unless you change them, I also have the same host keys that you have.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;This may or may not be a security concern to you, but I would prefer each of my VIO Servers to have unique host keys.  I believe it is best practice for security sake to have every server have a unique SSH host key.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;# /usr/ios/cli/ioscli ioslevel&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;3.1.0.00&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;SSH Host Keys&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;By default, the install just uses the SSH host keys already in the mksysb image.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;# cd etc/ssh&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;# ls -l ssh_host*&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;-rw------- 1 root system  668 19 Oct 06:49 ssh_host_dsa_key&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;-rw-r--r-- 1 root system  590 19 Oct 06:49 ssh_host_dsa_key.pub&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;-rw------- 1 root system  227 19 Oct 06:49 ssh_host_ecdsa_key&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;-rw-r--r-- 1 root system  162 19 Oct 06:49 ssh_host_ecdsa_key.pub&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;-rw------- 1 root system  387 19 Oct 06:49 ssh_host_ed25519_key&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;-rw-r--r-- 1 root system   82 19 Oct 06:49 ssh_host_ed25519_key.pub&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;-rw------- 1 root system 1679 19 Oct 06:49 ssh_host_rsa_key&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;-rw-r--r-- 1 root system  382 19 Oct 06:49 ssh_host_rsa_key.pub&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;Let&#039;s take a look at one of those keys.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;Does the public key look exactly the same as the one on your VIO Server?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;# cat ssh_host_rsa_key.pub&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDEpdzANZeF9ul8KOENb6FO/Iu4CznbO49jaBhS8vFRtwwT/&lt;br /&gt;0Y+VoSCIPc/BVPGUYzdu1e27Y4kTt1cFhQgxOsXaARgQMplYJ5F8UciiJSTujVQzQbJhYMk6VISmdEQ/HINIG&lt;br /&gt;SeI+hyIQZ9fnAlo0HrjVzIK0EPVKVV5Wsu63CtA3PhE4ONr10BZBkUzwV0+7KFOecQ0KjDchHJeM1GeqVrqWO&lt;br /&gt;hqKTy36Zg8bXsCgwfPPKh6JZGuimPrQ9CTvhBGXyNEw2USO1Z4lXtbc+z7aFdGtmamkvWE2cFD190uaQoqK9o&lt;br /&gt;Yj7VuhCD/5J0WnkOdjpyQ73LBhTxsugRFb2wcejP&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;To Fix This.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;# rm /etc/ssh/ssh_host*&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;# ssh-keygen -P &#039;&#039; -t rsa -f /etc/ssh/ssh_host_rsa_key&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://www.capacityreports.net/AIX_Blog/index.php/vio-server-3-1-2&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p><span style="font-family: verdana, geneva, sans-serif;">After installing VIO Server v3.1.0 I noticed that the ssh host keys are included in the mksysb image, and therefore unless you delete them and recreate them, all your VIO Servers will have the same host keys.  So unless you change them, I also have the same host keys that you have.</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;">This may or may not be a security concern to you, but I would prefer each of my VIO Servers to have unique host keys.  I believe it is best practice for security sake to have every server have a unique SSH host key.</span></p>
<p> </p>
<p><span style="font-family: verdana, geneva, sans-serif;"># /usr/ios/cli/ioscli ioslevel</span><br /><span style="font-family: verdana, geneva, sans-serif;">3.1.0.00</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"> </span></p>
<p><strong><span style="font-family: verdana, geneva, sans-serif;">SSH Host Keys</span></strong></p>
<p><span style="font-family: verdana, geneva, sans-serif;">By default, the install just uses the SSH host keys already in the mksysb image.</span></p>
<p><span style="font-family: 'courier new', courier, monospace;"># cd etc/ssh</span></p>
<p><span style="font-family: 'courier new', courier, monospace;"># ls -l ssh_host*</span></p>
<p><span style="font-family: 'courier new', courier, monospace;">-rw------- 1 root system  668 19 Oct 06:49 ssh_host_dsa_key</span><br /><span style="font-family: 'courier new', courier, monospace;">-rw-r--r-- 1 root system  590 19 Oct 06:49 ssh_host_dsa_key.pub</span><br /><span style="font-family: 'courier new', courier, monospace;">-rw------- 1 root system  227 19 Oct 06:49 ssh_host_ecdsa_key</span><br /><span style="font-family: 'courier new', courier, monospace;">-rw-r--r-- 1 root system  162 19 Oct 06:49 ssh_host_ecdsa_key.pub</span><br /><span style="font-family: 'courier new', courier, monospace;">-rw------- 1 root system  387 19 Oct 06:49 ssh_host_ed25519_key</span><br /><span style="font-family: 'courier new', courier, monospace;">-rw-r--r-- 1 root system   82 19 Oct 06:49 ssh_host_ed25519_key.pub</span><br /><span style="font-family: 'courier new', courier, monospace;">-rw------- 1 root system 1679 19 Oct 06:49 ssh_host_rsa_key</span><br /><span style="font-family: 'courier new', courier, monospace;">-rw-r--r-- 1 root system  382 19 Oct 06:49 ssh_host_rsa_key.pub</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"> </span></p>
<p><strong><span style="font-family: verdana, geneva, sans-serif;">Let's take a look at one of those keys.</span></strong></p>
<p><span style="font-family: verdana, geneva, sans-serif;">Does the public key look exactly the same as the one on your VIO Server?</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"># cat ssh_host_rsa_key.pub</span></p>
<p><span style="font-family: 'courier new', courier, monospace;">ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDEpdzANZeF9ul8KOENb6FO/Iu4CznbO49jaBhS8vFRtwwT/<br />0Y+VoSCIPc/BVPGUYzdu1e27Y4kTt1cFhQgxOsXaARgQMplYJ5F8UciiJSTujVQzQbJhYMk6VISmdEQ/HINIG<br />SeI+hyIQZ9fnAlo0HrjVzIK0EPVKVV5Wsu63CtA3PhE4ONr10BZBkUzwV0+7KFOecQ0KjDchHJeM1GeqVrqWO<br />hqKTy36Zg8bXsCgwfPPKh6JZGuimPrQ9CTvhBGXyNEw2USO1Z4lXtbc+z7aFdGtmamkvWE2cFD190uaQoqK9o<br />Yj7VuhCD/5J0WnkOdjpyQ73LBhTxsugRFb2wcejP</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"> </span></p>
<p><strong><span style="font-family: verdana, geneva, sans-serif;">To Fix This.</span></strong></p>
<p><span style="font-family: verdana, geneva, sans-serif;"># rm /etc/ssh/ssh_host*</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"># ssh-keygen -P '' -t rsa -f /etc/ssh/ssh_host_rsa_key</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"> </span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"> </span></p><div class="item_footer"><p><small><a href="http://www.capacityreports.net/AIX_Blog/index.php/vio-server-3-1-2">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://www.capacityreports.net/AIX_Blog/index.php/vio-server-3-1-2#comments</comments>
			<wfw:commentRss>http://www.capacityreports.net/AIX_Blog/index.php?tempskin=_rss2&#38;disp=comments&#38;p=97</wfw:commentRss>
		</item>
				<item>
			<title>VIO Server 3.1.0 Items to Review</title>
			<link>http://www.capacityreports.net/AIX_Blog/index.php/vio-server-3-1</link>
			<pubDate>Tue, 20 Nov 2018 12:42:00 +0000</pubDate>			<dc:creator>Mr_AIX</dc:creator>
			<category domain="main">VIO Server Tips</category>			<guid isPermaLink="false">96@http://www.capacityreports.net/AIX_Blog/</guid>
						<description>&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;After installing VIO Server v3.1.0 I noticed a few configuration items that you may want to review.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;# /usr/ios/cli/ioscli ioslevel&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;3.1.0.00&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;Paging Devices&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;By default, the install creates a hd6 at 512MB and a paging00 device at 1024MB.  The AIX best practice guides advise against this.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;# lsps -a&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;Page Space Physical Volume Volume Group  Size    %Used  Active  Auto  Type  Chksum&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;paging00   hdisk0   rootvg               1024MB      1    yes    yes   lv      0&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;hd6        hdisk1   rootvg                512MB      0    yes    yes   lv      0&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;Filesystems maybe too small.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;These filesystems maybe on the small size.  I like to have some space for the logging in /var, so I make this 2GB and I like / to be 1GB, just in case!!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;# df -g&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;Filesystem   GB blocks  Free  %Used  Iused  %Iused  Mounted on&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;/dev/hd4        0.50    0.45    10%   4139     4%   /&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;/dev/hd9var     1.00    0.77    23%   3630     2%   /var&lt;/span&gt;&lt;br /&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;AIX and VIOS still use crypt for password hashing.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;This only enforces the first 8 characters of the password.  &lt;/span&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;I highly recommend you change this to sha512.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;Before, you will see that pwd_algorithm is blank.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;# lssec -f /etc/security/login.cfg -s usw -a pwd_algorithm&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;usw pwd_algorithm=&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;Change the password encryption to sha512.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;# chsec -f /etc/security/login.cfg -s usw -a pwd_algorithm=ssha512&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;After the change, confirm it is now sha512.&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;# lssec -f /etc/security/login.cfg -s usw -a pwd_algorithm&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;usw pwd_algorithm=ssha512&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://www.capacityreports.net/AIX_Blog/index.php/vio-server-3-1&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p><span style="font-family: verdana, geneva, sans-serif;">After installing VIO Server v3.1.0 I noticed a few configuration items that you may want to review.</span></p>
<p> </p>
<p><span style="font-family: verdana, geneva, sans-serif;"># /usr/ios/cli/ioscli ioslevel</span><br /><span style="font-family: verdana, geneva, sans-serif;">3.1.0.00</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"> </span></p>
<p><strong><span style="font-family: verdana, geneva, sans-serif;">Paging Devices</span></strong></p>
<p><span style="font-family: verdana, geneva, sans-serif;">By default, the install creates a hd6 at 512MB and a paging00 device at 1024MB.  The AIX best practice guides advise against this.</span></p>
<p><span style="font-family: 'courier new', courier, monospace;"># lsps -a</span><br /><span style="font-family: 'courier new', courier, monospace;">Page Space Physical Volume Volume Group  Size    %Used  Active  Auto  Type  Chksum</span><br /><span style="font-family: 'courier new', courier, monospace;">paging00   hdisk0   rootvg               1024MB      1    yes    yes   lv      0</span><br /><span style="font-family: 'courier new', courier, monospace;">hd6        hdisk1   rootvg                512MB      0    yes    yes   lv      0</span></p>
<p> </p>
<p><strong><span style="font-family: verdana, geneva, sans-serif;">Filesystems maybe too small.</span></strong></p>
<p><span style="font-family: verdana, geneva, sans-serif;">These filesystems maybe on the small size.  I like to have some space for the logging in /var, so I make this 2GB and I like / to be 1GB, just in case!!</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"><span style="font-family: 'courier new', courier, monospace;"># df -g</span><br /><span style="font-family: 'courier new', courier, monospace;">Filesystem   GB blocks  Free  %Used  Iused  %Iused  Mounted on</span><br /><span style="font-family: 'courier new', courier, monospace;">/dev/hd4        0.50    0.45    10%   4139     4%   /</span><br /><span style="font-family: 'courier new', courier, monospace;">/dev/hd9var     1.00    0.77    23%   3630     2%   /var</span><br /> </span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"> </span></p>
<p><strong><span style="font-family: verdana, geneva, sans-serif;">AIX and VIOS still use crypt for password hashing.</span></strong></p>
<p><span style="font-family: verdana, geneva, sans-serif;">This only enforces the first 8 characters of the password.  </span><span style="font-family: verdana, geneva, sans-serif;">I highly recommend you change this to sha512.</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;">Before, you will see that pwd_algorithm is blank.</span></p>
<p><span style="font-family: 'courier new', courier, monospace;"># lssec -f /etc/security/login.cfg -s usw -a pwd_algorithm</span><br /><span style="font-family: 'courier new', courier, monospace;">usw pwd_algorithm=</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;">Change the password encryption to sha512.</span></p>
<p><span style="font-family: 'courier new', courier, monospace;"># chsec -f /etc/security/login.cfg -s usw -a pwd_algorithm=ssha512</span></p>
<p>After the change, confirm it is now sha512.</p>
<p><span style="font-family: 'courier new', courier, monospace;"># lssec -f /etc/security/login.cfg -s usw -a pwd_algorithm<br /></span><span style="font-family: 'courier new', courier, monospace;">usw pwd_algorithm=ssha512</span></p>
<p><span style="font-family: 'courier new', courier, monospace;"> </span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"> </span></p><div class="item_footer"><p><small><a href="http://www.capacityreports.net/AIX_Blog/index.php/vio-server-3-1">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://www.capacityreports.net/AIX_Blog/index.php/vio-server-3-1#comments</comments>
			<wfw:commentRss>http://www.capacityreports.net/AIX_Blog/index.php?tempskin=_rss2&#38;disp=comments&#38;p=96</wfw:commentRss>
		</item>
				<item>
			<title>Just when you thought you understood idle CPU time!!</title>
			<link>http://www.capacityreports.net/AIX_Blog/index.php/vmstat-and-user</link>
			<pubDate>Tue, 28 Aug 2018 12:45:00 +0000</pubDate>			<dc:creator>Mr_AIX</dc:creator>
			<category domain="main">AIX Tuning</category>
<category domain="alt">AIX Tips</category>
<category domain="alt">Performance Testing</category>			<guid isPermaLink="false">94@http://www.capacityreports.net/AIX_Blog/</guid>
						<description>&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;Myself and many other people were of the opinion that the percentage columns for user, system, wait and idle in the vmstat output were percentages in relation to the Physical Consumed (PC) column, well this as I discovered recently, this is not always true.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;From the man page for vmstat it states:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;If the current physical processor consumption of the uncapped partitions exceeds the entitled capacity, the percentage becomes relative to the number of physical processor consumed (pc).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;What the man page fails to state is that if the current physical processor consumption of the uncapped partition is less than the entitled capacity, the percentage is in relation to the entitled capacity of the LPAR.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;The idle system - no workload except vmstat running.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;Note the LPAR has 4 Virtual Processors and starts with an Entitlement of 1 core.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;r b p w   avm     fre  fi fo pi po fr sr in  sy  cs us sy id wa  pc  ec  hr mi se&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;0 0 0 0 443929 1585346 0  0  0  0  0  0   1 372 173  0  0 99  0 0.01 0.8 19:18:09&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;0 0 0 0 443930 1585345 0  0  0  0  0  0   0  50 167  0  0 99  0 0.00 0.4 19:18:10&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;0 0 0 0 443930 1585345 0  0  0  0  0  0   2 100 206  0  0 99  0 0.01 0.5 19:18:11&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;0 0 0 0 443930 1585345 0  0  0  0  0  0   5  50 169  0  0 99  0 0.00 0.4 19:18:12&lt;/span&gt;&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; Now starting 1 spinning CPU thread.&lt;br /&gt; So a single thread running gives the 59 user and 41 idle percentages as expected for p8.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;1 0 0 0 443978 1585296 0  0  0  0  0  0   1  47 167 59  0 41  0 1.00 100.3 19:18:50&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;1 0 0 0 443978 1585296 0  0  0  0  0  0   5  99 207 59  0 41  0 1.00 100.4 19:18:51&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;1 0 0 0 443978 1585296 0  0  0  0  0  0   1  56 174 59  0 41  0 1.01 100.5 19:18:52&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;1 0 0 0 443978 1585296 0  0  0  0  0  0   1  47 169 59  0 41  0 1.00 100.2 19:18:53&lt;/span&gt;&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;Now I add more Entitlement using DLPAR.&lt;br /&gt; Upping the Entitlement to 2 changes the Entitled percentage from 100% to 50%, but does not change the PC column, we are still running a single spinning thread on 1 CPU.  Yet, user drops to 30%, half of the 60% in the above test.  We just added 100% more Entitlement, and idle increases to 70%, that’s 50% idle for the extra entitlement, plus 20% of the Entitlement that is being used (20% of 2 Entitlement = 40% of 1 Entitlement).&lt;br /&gt; So if the LPAR is below entitlement, these values are percentages of the Entitlement, not the PC column.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;1 0 0 0 443988 1585259 0  0  0  0  0  0   0  52 195 30  0 70  0 1.00 50.2 19:19:37&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt; 1 0 0 0 443988 1585259 0  0  0  0  0  0   1  82 186 30  0 70  0 1.00 50.2 19:19:38&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt; 1 0 0 0 443988 1585259 0  0  0  0  0  0   0  60 183 30  0 70  0 1.00 50.2 19:19:39&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt; 1 0 0 0 443988 1585259 0  0  0  0  0  0   0  55 184 30  0 70  0 1.00 50.2 19:19:40&lt;/span&gt;&lt;br /&gt; &lt;br /&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;So now I add another spinning thread and we go back to the expected 59% user and 41% idle.  Why?  Well both cores are running a single thread on the primary SMT, so we get the expected 59% user and 41% idle as per p8.  &lt;/span&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;As the LPAR is now running above entitlement, the user, system, wait and idle percentages are now in relation to the PC column.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;2 0 0 0 444053 1585188 0  0  0  0  0  0   2  70 170 59  0 41  0 2.00 100.2 19:20:14&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;2 0 0 0 444053 1585188 0  0  0  0  0  0   0  46 165 59  0 41  0 2.00 100.1 19:20:15&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;2 0 0 0 444053 1585188 0  0  0  0  0  0   0 128 178 59  0 41  0 2.00 100.2 19:20:16&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;2 0 0 0 444053 1585188 0  0  0  0  0  0   2  47 169 59  0 41  0 2.00 100.1 19:20:17&lt;/span&gt;&lt;br /&gt; &lt;br /&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;Adding another thread does not change the percentage values for user and idle, as the new core is running only 1 SMT thread.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;3 0 0 0 436105 1593130 0  0  0  0  0  0   5  46 165 59  0 41  0 3.00 150.0 19:20:39&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;3 0 0 0 436105 1593130 0  0  0  0  0  0   9  56 167 59  0 41  0 3.00 150.0 19:20:40&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;3 0 0 0 436105 1593130 0  0  0  0  0  0   1  58 201 59  0 41  0 3.02 151.0 19:20:41&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#039;courier new&#039;, courier, monospace;&quot;&gt;3 0 0 0 436105 1593130 0  0  0  0  0  0   2  47 167 60  0 40  0 2.98 149.1 19:20:42&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://www.capacityreports.net/AIX_Blog/index.php/vmstat-and-user&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p><span style="font-family: verdana, geneva, sans-serif;">Myself and many other people were of the opinion that the percentage columns for user, system, wait and idle in the vmstat output were percentages in relation to the Physical Consumed (PC) column, well this as I discovered recently, this is not always true.</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;">From the man page for vmstat it states:</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;">If the current physical processor consumption of the uncapped partitions exceeds the entitled capacity, the percentage becomes relative to the number of physical processor consumed (pc).</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;">What the man page fails to state is that if the current physical processor consumption of the uncapped partition is less than the entitled capacity, the percentage is in relation to the entitled capacity of the LPAR.</span></p>
<p> </p>
<p><span style="font-family: verdana, geneva, sans-serif;">The idle system - no workload except vmstat running.</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;">Note the LPAR has 4 Virtual Processors and starts with an Entitlement of 1 core.</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"><span style="font-family: 'courier new', courier, monospace;">r b p w   avm     fre  fi fo pi po fr sr in  sy  cs us sy id wa  pc  ec  hr mi se</span><br /><span style="font-family: 'courier new', courier, monospace;">0 0 0 0 443929 1585346 0  0  0  0  0  0   1 372 173  0  0 99  0 0.01 0.8 19:18:09</span><br /><span style="font-family: 'courier new', courier, monospace;">0 0 0 0 443930 1585345 0  0  0  0  0  0   0  50 167  0  0 99  0 0.00 0.4 19:18:10</span><br /><span style="font-family: 'courier new', courier, monospace;">0 0 0 0 443930 1585345 0  0  0  0  0  0   2 100 206  0  0 99  0 0.01 0.5 19:18:11</span><br /><span style="font-family: 'courier new', courier, monospace;">0 0 0 0 443930 1585345 0  0  0  0  0  0   5  50 169  0  0 99  0 0.00 0.4 19:18:12</span><br /> <br /> <br /> Now starting 1 spinning CPU thread.<br /> So a single thread running gives the 59 user and 41 idle percentages as expected for p8.</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"><span style="font-family: 'courier new', courier, monospace;">1 0 0 0 443978 1585296 0  0  0  0  0  0   1  47 167 59  0 41  0 1.00 100.3 19:18:50</span><br /><span style="font-family: 'courier new', courier, monospace;">1 0 0 0 443978 1585296 0  0  0  0  0  0   5  99 207 59  0 41  0 1.00 100.4 19:18:51</span><br /><span style="font-family: 'courier new', courier, monospace;">1 0 0 0 443978 1585296 0  0  0  0  0  0   1  56 174 59  0 41  0 1.01 100.5 19:18:52</span><br /><span style="font-family: 'courier new', courier, monospace;">1 0 0 0 443978 1585296 0  0  0  0  0  0   1  47 169 59  0 41  0 1.00 100.2 19:18:53</span><br /> <br /> <br />Now I add more Entitlement using DLPAR.<br /> Upping the Entitlement to 2 changes the Entitled percentage from 100% to 50%, but does not change the PC column, we are still running a single spinning thread on 1 CPU.  Yet, user drops to 30%, half of the 60% in the above test.  We just added 100% more Entitlement, and idle increases to 70%, that’s 50% idle for the extra entitlement, plus 20% of the Entitlement that is being used (20% of 2 Entitlement = 40% of 1 Entitlement).<br /> So if the LPAR is below entitlement, these values are percentages of the Entitlement, not the PC column.</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"><span style="font-family: 'courier new', courier, monospace;">1 0 0 0 443988 1585259 0  0  0  0  0  0   0  52 195 30  0 70  0 1.00 50.2 19:19:37</span><br /><span style="font-family: 'courier new', courier, monospace;"> 1 0 0 0 443988 1585259 0  0  0  0  0  0   1  82 186 30  0 70  0 1.00 50.2 19:19:38</span><br /><span style="font-family: 'courier new', courier, monospace;"> 1 0 0 0 443988 1585259 0  0  0  0  0  0   0  60 183 30  0 70  0 1.00 50.2 19:19:39</span><br /><span style="font-family: 'courier new', courier, monospace;"> 1 0 0 0 443988 1585259 0  0  0  0  0  0   0  55 184 30  0 70  0 1.00 50.2 19:19:40</span><br /> <br /> </span></p>
<p><span style="font-family: verdana, geneva, sans-serif;">So now I add another spinning thread and we go back to the expected 59% user and 41% idle.  Why?  Well both cores are running a single thread on the primary SMT, so we get the expected 59% user and 41% idle as per p8.  </span><span style="font-family: verdana, geneva, sans-serif;">As the LPAR is now running above entitlement, the user, system, wait and idle percentages are now in relation to the PC column.</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;"><span style="font-family: 'courier new', courier, monospace;">2 0 0 0 444053 1585188 0  0  0  0  0  0   2  70 170 59  0 41  0 2.00 100.2 19:20:14</span><br /><span style="font-family: 'courier new', courier, monospace;">2 0 0 0 444053 1585188 0  0  0  0  0  0   0  46 165 59  0 41  0 2.00 100.1 19:20:15</span><br /><span style="font-family: 'courier new', courier, monospace;">2 0 0 0 444053 1585188 0  0  0  0  0  0   0 128 178 59  0 41  0 2.00 100.2 19:20:16</span><br /><span style="font-family: 'courier new', courier, monospace;">2 0 0 0 444053 1585188 0  0  0  0  0  0   2  47 169 59  0 41  0 2.00 100.1 19:20:17</span><br /> <br /> </span></p>
<p><span style="font-family: verdana, geneva, sans-serif;">Adding another thread does not change the percentage values for user and idle, as the new core is running only 1 SMT thread.</span></p>
<p><span style="font-family: 'courier new', courier, monospace;">3 0 0 0 436105 1593130 0  0  0  0  0  0   5  46 165 59  0 41  0 3.00 150.0 19:20:39</span><br /><span style="font-family: 'courier new', courier, monospace;">3 0 0 0 436105 1593130 0  0  0  0  0  0   9  56 167 59  0 41  0 3.00 150.0 19:20:40</span><br /><span style="font-family: 'courier new', courier, monospace;">3 0 0 0 436105 1593130 0  0  0  0  0  0   1  58 201 59  0 41  0 3.02 151.0 19:20:41</span><br /><span style="font-family: 'courier new', courier, monospace;">3 0 0 0 436105 1593130 0  0  0  0  0  0   2  47 167 60  0 40  0 2.98 149.1 19:20:42</span></p><div class="item_footer"><p><small><a href="http://www.capacityreports.net/AIX_Blog/index.php/vmstat-and-user">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://www.capacityreports.net/AIX_Blog/index.php/vmstat-and-user#comments</comments>
			<wfw:commentRss>http://www.capacityreports.net/AIX_Blog/index.php?tempskin=_rss2&#38;disp=comments&#38;p=94</wfw:commentRss>
		</item>
				<item>
			<title>40Gbit Adapter Performance Testing</title>
			<link>http://www.capacityreports.net/AIX_Blog/index.php/40gbit-adapter-performance-testing</link>
			<pubDate>Tue, 19 Jun 2018 04:42:00 +0000</pubDate>			<dc:creator>Mr_AIX</dc:creator>
			<category domain="alt">AIX Tuning</category>
<category domain="alt">VIO Server Tips</category>
<category domain="alt">AIX Tips</category>
<category domain="alt">SRIOV and vNIC</category>
<category domain="main">Performance Testing</category>			<guid isPermaLink="false">95@http://www.capacityreports.net/AIX_Blog/</guid>
						<description><br />
<b>Fatal error</b>:  Uncaught Error: Call to undefined function finfo_open() in /home4/capacity/public_html/AIX_Blog/inc/files/model/_file.funcs.php:379
Stack trace:
#0 /home4/capacity/public_html/AIX_Blog/inc/files/model/_file.funcs.php(405): is_image_file('/home4/capacity...')
#1 /home4/capacity/public_html/AIX_Blog/inc/files/model/_file.class.php(1019): imgsize('/home4/capacity...', 'widthheight')
#2 /home4/capacity/public_html/AIX_Blog/inc/files/model/_file.class.php(1037): File-&gt;load_lastmod_ts()
#3 /home4/capacity/public_html/AIX_Blog/inc/files/model/_file.class.php(2499): File-&gt;get_lastmod_ts()
#4 /home4/capacity/public_html/AIX_Blog/inc/files/model/_file.class.php(2715): File-&gt;get_thumb_url('fit-320x320', '&amp;', 1)
#5 /home4/capacity/public_html/AIX_Blog/inc/files/model/_file.class.php(1419): File-&gt;get_img_attribs('fit-320x320', NULL, NULL, 1, NULL, NULL)
#6 /home4/capacity/public_html/AIX_Blog/inc/links/model/_link.class.php(261): File-&gt;get_tag('&lt;div&gt;', '&lt;div&gt;&lt;i&gt;', '&lt;/i&gt;&lt;/div&gt;', '&lt;/div&gt;', 'fit-320x320', 'original', '#desc# in <b>/home4/capacity/public_html/AIX_Blog/inc/files/model/_file.funcs.php</b> on line <b>379</b><br />
