<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6489538435035165830</id><updated>2024-02-08T08:24:24.028-08:00</updated><category term="administration"/><category term="aix"/><category term="tips"/><category term="linux"/><category term="IBM"/><category term="network"/><category term="Red Hat Enterprise Linux"/><category term="VIOS"/><category term="Virtualization"/><category term="programming"/><category term="security"/><category term="Backup"/><category term="EMC"/><category term="SSL"/><category term="hp-ux"/><category term="nfs"/><category term="storage"/><category term="C#"/><category term="DNS"/><category term="HMC"/><category term="LVM"/><category term="NAS"/><category term="OSSEC"/><category term="Symmetrix"/><category term="VM"/><category term="WebSphere MQ"/><category term="announcement"/><category term="celerra"/><category term="general"/><category term="mail"/><category term="mount point"/><category term="mta"/><category term="performance"/><category term="perl"/><category term="sed"/><category term="tape drive"/><category term="technology"/><title type='text'>asr.tech.notes</title><subtitle type='html'>&lt;i&gt;Learn all you can from the mistakes of others.  You won&#39;t have time to make them all yourself&lt;/i&gt;&#xa;&lt;br&gt;~Alfred Sheinwold</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://asrtechnotes.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://asrtechnotes.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>42</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6489538435035165830.post-7059300692632823778</id><published>2012-06-18T16:40:00.001-07:00</published><updated>2012-06-18T16:40:06.558-07:00</updated><title type='text'>Disable GRO for a ethernet interface</title><content type='html'>&lt;p&gt;Use this to disable the GRO (Generic Receive Offload) on a RHEL system: &lt;/p&gt; &lt;p&gt;&lt;strong&gt;# /sbin/ethtool -K eth4 gro off&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;You can also add this to the /etc/rc.local file to persist across restarts. &lt;/p&gt; &lt;p&gt;There are also other options you can set with the ethtool utility.&amp;nbsp; Please see the man page for ethtool for more information&lt;/p&gt;  </content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/7059300692632823778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/7059300692632823778'/><link rel='alternate' type='text/html' href='http://asrtechnotes.blogspot.com/2012/06/disable-gro-for-ethernet-interface.html' title='Disable GRO for a ethernet interface'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6489538435035165830.post-1948383598088981331</id><published>2012-06-12T11:32:00.001-07:00</published><updated>2012-06-12T11:32:33.974-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="administration"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="mail"/><category scheme="http://www.blogger.com/atom/ns#" term="mta"/><title type='text'>Configure default MTA on Red Hat Enterprise Linux</title><content type='html'>&lt;p&gt;1.&amp;nbsp; Install postfix&lt;br&gt;&lt;strong&gt;# yum install postfix&lt;/strong&gt;&lt;br&gt;2.&amp;nbsp; Stop and Disable sendmail (if running)&lt;br&gt;&lt;strong&gt;# service sendmail stop&lt;br&gt;# chkconfig sendmail off&lt;/strong&gt;&lt;br&gt;3.&amp;nbsp; Enable and start postfix&lt;br&gt;&lt;strong&gt;# chkconfig postfix on&lt;br&gt;# service postfix start&lt;/strong&gt;&lt;br&gt;4.&amp;nbsp; Update postfix config with correct relay host&lt;br&gt;&lt;strong&gt;# postconf -e relayhost=yoursmtphost.com&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;5.&amp;nbsp; Make postfix the default MTA&lt;/p&gt; &lt;p&gt;&lt;strong&gt;# alternatives –config mta&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;i&gt;There are 2 programs which provide &#39;mta&#39;.&lt;/i&gt; &lt;p&gt;&lt;i&gt;&lt;/i&gt; &lt;p&gt;&lt;i&gt;&amp;nbsp; Selection&amp;nbsp;&amp;nbsp;&amp;nbsp; Command&lt;/i&gt; &lt;p&gt;&lt;i&gt;-----------------------------------------------&lt;/i&gt; &lt;p&gt;&lt;i&gt;*+ 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /usr/sbin/sendmail.sendmail&lt;/i&gt; &lt;p&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /usr/sbin/sendmail.postfix&lt;/i&gt; &lt;p&gt;&lt;i&gt;&lt;/i&gt; &lt;p&gt;&lt;i&gt;Enter to keep the current selection[+], or type selection number: 2&lt;/i&gt; &lt;p&gt;&lt;br&gt;5.&amp;nbsp; Test mail relay&lt;br&gt;&lt;strong&gt;# echo TEST | mail -s TEST &lt;/strong&gt;&lt;a href=&quot;mailto:youremail@yoursmtphost.com&quot;&gt;&lt;strong&gt;youremail@yoursmtphost.com&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;  </content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/1948383598088981331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/1948383598088981331'/><link rel='alternate' type='text/html' href='http://asrtechnotes.blogspot.com/2012/06/configure-default-mta-on-red-hat.html' title='Configure default MTA on Red Hat Enterprise Linux'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6489538435035165830.post-4904250652222704102</id><published>2012-06-11T15:32:00.001-07:00</published><updated>2012-09-20T11:23:00.729-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Backup"/><category scheme="http://www.blogger.com/atom/ns#" term="hp-ux"/><category scheme="http://www.blogger.com/atom/ns#" term="tape drive"/><title type='text'>HP-UX tape configuration</title><content type='html'>&lt;p&gt;Here are few commands to configure tape drives in HP-UX&lt;br&gt;1.&amp;nbsp; Scan for new devices:&lt;br&gt;&lt;b&gt;# ioscan –fnC tape&lt;/b&gt;&lt;br&gt;2.&amp;nbsp; List tape drives currently recognized by the OS (without performing an actual hardware scan)&lt;br&gt;&lt;b&gt;# ioscan –fnkC tape&lt;/b&gt;&lt;br&gt;3.&amp;nbsp; remove all the special files used by the tape drives&lt;br&gt;&lt;b&gt;# rmsf&amp;nbsp; /dev/rmt/*&lt;/b&gt;&lt;br&gt;4.&amp;nbsp; Recreate the specil files for the tape drives&lt;br&gt;&lt;b&gt;# insf –C tape –e&lt;/b&gt;&lt;br&gt;5.&amp;nbsp; Remove a tape drive (that has a NO_HW state)&lt;br&gt;&lt;b&gt;# rmsf –H 0/7/1/0.1.24.255.5.5.0&lt;/b&gt;&lt;br&gt;&lt;br&gt;Find the WWN for the HBAs:&lt;/p&gt; &lt;p&gt;# &lt;strong&gt;ioscan –fnkC fc&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;#&lt;strong&gt; fcmsutil /dev/fcd0&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Find the WWN for the tape drives connected to the HBA:&lt;/p&gt; &lt;p&gt;# &lt;strong&gt;fcmsutil /dev/fcd0 get remote all&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;i&gt;&lt;/i&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;i&gt;**These are just a handful of commands to deal with the tape drives.&amp;nbsp; Not to be used as a procedure&lt;/i&gt;&lt;/p&gt;  </content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/4904250652222704102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/4904250652222704102'/><link rel='alternate' type='text/html' href='http://asrtechnotes.blogspot.com/2012/06/hp-ux-tape-configuration_11.html' title='HP-UX tape configuration'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6489538435035165830.post-296997684904817616</id><published>2011-12-19T17:33:00.001-08:00</published><updated>2011-12-19T17:33:19.287-08:00</updated><title type='text'>Create file system from Command line (AIX)</title><content type='html'>&lt;p&gt;1.&amp;nbsp; Create a Volume Group (Scalable):&lt;/p&gt; &lt;p&gt;&lt;em&gt;# mkvg&amp;nbsp; -S –y ‘vgname’ –f hdisk12&lt;/em&gt;&lt;/p&gt; &lt;p&gt;2.&amp;nbsp; Create a LV in the VG (jfs2):&lt;/p&gt; &lt;p&gt;&lt;em&gt;# mklv –y ‘lvname’ –t jfs2 vgname 1024&lt;/em&gt;&lt;/p&gt; &lt;p&gt;3.&amp;nbsp; Create a file system on the previously created LV (jfs2):&lt;/p&gt; &lt;p&gt;&lt;em&gt;# crfs –v jfs2 –d ‘lvname’ –A yes –p rw –m ‘mount point’ –u ‘mount group’&lt;/em&gt;&lt;/p&gt;  </content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/296997684904817616'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/296997684904817616'/><link rel='alternate' type='text/html' href='http://asrtechnotes.blogspot.com/2011/12/create-file-system-from-command-line.html' title='Create file system from Command line (AIX)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6489538435035165830.post-4762254002887617210</id><published>2011-09-28T13:43:00.001-07:00</published><updated>2011-09-28T13:43:10.554-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="administration"/><category scheme="http://www.blogger.com/atom/ns#" term="aix"/><category scheme="http://www.blogger.com/atom/ns#" term="DNS"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="tips"/><title type='text'>Dig that!</title><content type='html'>&lt;p&gt;Here are some handy ‘dig’ commands to verify DNS records:&lt;/p&gt; &lt;h3&gt;&lt;font style=&quot;font-weight: bold&quot;&gt;Do a hostname lookup&lt;/font&gt;&lt;/h3&gt; &lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Lucida Console&quot;&gt;# dig &lt;/font&gt;&lt;a href=&quot;http://www.google.com&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Lucida Console&quot;&gt;www.google.com&lt;/font&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Lucida Console&quot;&gt;; &amp;lt;&amp;lt;&amp;gt;&amp;gt; DiG 9.4.1 &amp;lt;&amp;lt;&amp;gt;&amp;gt; www.google.com&lt;br&gt;;; global options:&amp;nbsp; printcmd&lt;br&gt;;; Got answer:&lt;br&gt;;; -&amp;gt;&amp;gt;HEADER&amp;lt;&amp;lt;- opcode: QUERY, status: NOERROR, id: 76&lt;br&gt;;; flags: qr rd ra; QUERY: 1, ANSWER: 7, AUTHORITY: 0, ADDITIONAL: 0&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Lucida Console&quot;&gt;;; QUESTION SECTION:&lt;br&gt;;www.google.com.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Lucida Console&quot;&gt;;; ANSWER SECTION:&lt;br&gt;www.google.com.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 84790&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CNAME&amp;nbsp;&amp;nbsp; www.l.google.com.&lt;br&gt;www.l.google.com.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 259&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 209.85.148.104&lt;br&gt;www.l.google.com.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 259&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 209.85.148.105&lt;br&gt;www.l.google.com.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 259&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 209.85.148.106&lt;br&gt;www.l.google.com.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 259&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 209.85.148.147&lt;br&gt;www.l.google.com.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 259&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 209.85.148.99&lt;br&gt;www.l.google.com.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 259&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 209.85.148.103&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Lucida Console&quot;&gt;;; Query time: 119 msec&lt;br&gt;;; SERVER: 10.0.0.8#53(10.0.0.8)&lt;br&gt;;; WHEN: Wed Sep 28 13:23:41 2011&lt;br&gt;;; MSG SIZE&amp;nbsp; rcvd: 148&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;h3&gt;&lt;font style=&quot;font-weight: bold&quot;&gt;Get a short answer&lt;/font&gt;&lt;/h3&gt; &lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Lucida Console&quot;&gt;# dig &lt;/font&gt;&lt;a href=&quot;http://www.google.com&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Lucida Console&quot;&gt;www.google.com&lt;/font&gt;&lt;/a&gt;&lt;font size=&quot;2&quot; face=&quot;Lucida Console&quot;&gt; +short&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Lucida Console&quot;&gt;www.l.google.com.&lt;br&gt;209.85.148.99&lt;br&gt;209.85.148.103&lt;br&gt;209.85.148.104&lt;br&gt;209.85.148.105&lt;br&gt;209.85.148.106&lt;br&gt;209.85.148.147&lt;/font&gt;&lt;br&gt;&lt;/p&gt; &lt;h3&gt;&lt;font style=&quot;font-weight: bold&quot;&gt;Get just the answer section&lt;/font&gt;&lt;/h3&gt; &lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Lucida Console&quot;&gt;# dig &lt;/font&gt;&lt;a href=&quot;http://www.google.com&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Lucida Console&quot;&gt;www.google.com&lt;/font&gt;&lt;/a&gt;&lt;font size=&quot;2&quot; face=&quot;Lucida Console&quot;&gt; +noall +answer&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Lucida Console&quot;&gt;www.google.com.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 84278&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CNAME&amp;nbsp;&amp;nbsp; www.l.google.com.&lt;br&gt;www.l.google.com.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 49&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 209.85.148.105&lt;br&gt;www.l.google.com.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 49&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 209.85.148.106&lt;br&gt;www.l.google.com.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 49&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 209.85.148.147&lt;br&gt;www.l.google.com.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 49&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 209.85.148.99&lt;br&gt;www.l.google.com.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 49&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 209.85.148.103&lt;br&gt;www.l.google.com.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 49&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 209.85.148.104&lt;br&gt;&lt;/font&gt;&lt;/p&gt; &lt;h3&gt;&lt;font style=&quot;font-weight: bold&quot;&gt;Do a reverse lookup&lt;/font&gt;&lt;/h3&gt; &lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Lucida Console&quot;&gt;# dig -x 209.85.148.105 +noall +answer&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Lucida Console&quot;&gt;105.148.85.209.in-addr.arpa. 45351 IN&amp;nbsp;&amp;nbsp; PTR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fra07s07-in-f105.1e100.net.&lt;/font&gt;&lt;br&gt;&lt;/p&gt; &lt;h3&gt;&lt;font style=&quot;font-weight: bold&quot;&gt;Use your ‘search’ string from the /etc/resolv.conf&lt;/font&gt;&lt;/h3&gt; &lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Lucida Console&quot;&gt;#dig &lt;/font&gt;&lt;a href=&quot;http://www.google.com&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Lucida Console&quot;&gt;www.google.com&lt;/font&gt;&lt;/a&gt;&lt;font size=&quot;2&quot; face=&quot;Lucida Console&quot;&gt; +search&lt;/font&gt; &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Reference:&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;http://www.madboa.com/geek/dig/&quot;&gt;http://www.madboa.com/geek/dig/&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;http://linux.die.net/man/1/dig&quot;&gt;http://linux.die.net/man/1/dig&lt;/a&gt;&lt;/p&gt;  </content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/4762254002887617210'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/4762254002887617210'/><link rel='alternate' type='text/html' href='http://asrtechnotes.blogspot.com/2011/09/dig-that.html' title='Dig that!'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6489538435035165830.post-3620195628189253941</id><published>2011-09-14T13:42:00.001-07:00</published><updated>2011-09-14T13:43:14.427-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="administration"/><category scheme="http://www.blogger.com/atom/ns#" term="LVM"/><category scheme="http://www.blogger.com/atom/ns#" term="Red Hat Enterprise Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="storage"/><title type='text'>Red Hat Enterprise Linux 6 – How to: migrate data to a new Physical Volume and remove the old PV</title><content type='html'>&lt;ul&gt; &lt;li&gt;Add new devices to the system. Use rescan-scsi-bus.sh to scan for new devices or restart the system to get the new devices&lt;/li&gt; &lt;li&gt; Create LVM Physical Volumes with the new devices&lt;/li&gt; &lt;ul&gt; &lt;li&gt;&lt;em&gt; # pvcreate /dev/sdxx&lt;/em&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Add the devices to the respective VGs&lt;/li&gt; &lt;ul&gt; &lt;li&gt;&lt;em&gt; # vgextend vgname /dev/sdxx&lt;/em&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Migrate the data from the existing PV to the new PV&lt;/li&gt; &lt;ul&gt; &lt;li&gt;&lt;em&gt; # pvmove /dev/sdxx&lt;/em&gt;&lt;/li&gt; &lt;ul&gt; &lt;li&gt;o Where /dev/sdxx is the existing PV that needs to be removed from the VG&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt; &lt;li&gt;List the PVs to make sure the PV that needs to be removed has no data on it&lt;/li&gt; &lt;ul&gt; &lt;li&gt;&amp;nbsp;&lt;em&gt;# pvs –o+pv_used&lt;/em&gt;&lt;/li&gt; &lt;ul&gt; &lt;li&gt;PV VG Fmt Attr PSize PFree Used&lt;br&gt;/dev/sda2 rootvg lvm2 a- 39.51g 8.63g 30.88g&lt;br&gt;&lt;font style=&quot;background-color: #ffff00&quot;&gt;/dev/sda log2vg&amp;nbsp;&amp;nbsp; lvm2 a- 30.00g 8.00g &lt;b&gt;0&lt;/b&gt;&lt;br&gt;&lt;/font&gt;/dev/sde log2vg&amp;nbsp;&amp;nbsp; lvm2 a- 30.00g 8.00g 22.00g&lt;br&gt;/dev/sdf datavg&amp;nbsp;&amp;nbsp; lvm2 a- 100.00g 5.00g 95.00g&lt;br&gt;/dev/sdg log1vg&amp;nbsp;&amp;nbsp; lvm2 a- 30.00g 8.00g 22.00g&lt;/li&gt; &lt;li&gt;In the above example, the data was moved from /dev/sda to /dev/sde (they reside in the same VG)&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt; &lt;li&gt;Remove the PV from the VG&lt;/li&gt; &lt;ul&gt; &lt;li&gt;&amp;nbsp;&lt;em&gt;# vgreduce vgname /dev/sdxx&lt;/em&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Remove LVM PV information from the device&lt;/li&gt; &lt;ul&gt; &lt;li&gt;&lt;em&gt; # pvremove /dev/sdxx&lt;/em&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Delete the device from system&lt;/li&gt; &lt;ul&gt; &lt;li&gt;&amp;nbsp;&lt;em&gt;# echo 1 &amp;gt; /sys/block/sdx/device/delete&lt;/em&gt;&lt;/li&gt; &lt;li&gt; Or use rescan-scsi-bus.sh to remove the device&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;  </content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/3620195628189253941'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/3620195628189253941'/><link rel='alternate' type='text/html' href='http://asrtechnotes.blogspot.com/2011/09/red-hat-enterprise-linux-6-how-to.html' title='Red Hat Enterprise Linux 6 – How to: migrate data to a new Physical Volume and remove the old PV'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6489538435035165830.post-8349803367490148868</id><published>2011-09-12T17:19:00.001-07:00</published><updated>2011-09-12T17:19:53.726-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="administration"/><category scheme="http://www.blogger.com/atom/ns#" term="IBM"/><category scheme="http://www.blogger.com/atom/ns#" term="network"/><category scheme="http://www.blogger.com/atom/ns#" term="VIOS"/><category scheme="http://www.blogger.com/atom/ns#" term="Virtualization"/><title type='text'>Converting SEA on VIO from access to trunk mode</title><content type='html'>&lt;p&gt;Shared Ethernet Adapters on VIO server can be configured in two different modes while accessing the external network.&lt;/p&gt; &lt;p&gt;1.&amp;nbsp; Simple mode&lt;/p&gt; &lt;p&gt;2. Trunk mode or 802.1Q mode&lt;/p&gt; &lt;p&gt;In a Simple mode, the SEA is not aware of any VLAN information and bridges all the network packets to the external switch.&amp;nbsp; the external switch then determines the target and routes/discards it accordingly.&amp;nbsp; This is very useful when there is only one VLAN that needs to be serviced through the SEA to the LPARs using these VIO servers.&amp;nbsp; The configuration on the switch as well as the VIO (SEA) is simple and straight forward.&amp;nbsp; &lt;/p&gt; &lt;p&gt;In a Trunk mode (802.1Q complaint), the SEA is aware of the VLANs and bridges only the packets that is part of the ‘Additional VLANs’ list.&amp;nbsp; The external switch then determines the target and routes/discards it accordingly.&amp;nbsp; This is very useful when there is a need to service multiple VLANs through the same SEA adapter.&amp;nbsp; This will provide the ability to create LPARS from multiple networks to reside on the same physical nodes.&amp;nbsp; This requires additional configuration on the switch as well as the VIO servers. &lt;/p&gt; &lt;p align=&quot;left&quot;&gt;The configuration part of the SEA on the VIO are discussed &lt;a href=&quot;http://asrtechnotes.blogspot.com/2009/08/shared-ethernet-adapter-failover.html&quot;&gt;here&lt;/a&gt;&lt;/p&gt; &lt;p align=&quot;left&quot;&gt;This post will discuss the steps needed to convert a SEA from simple mode to a trunk mode.&amp;nbsp; The following is the current set up assumed on this post:&lt;/p&gt; &lt;p align=&quot;left&quot;&gt;Hardware – Power 7&lt;/p&gt; &lt;p align=&quot;left&quot;&gt;VIO Servers – Dual&lt;/p&gt; &lt;p align=&quot;left&quot;&gt;VIO Server IOS Level: 2.1.2.13-FP-22.1 SP-02&lt;/p&gt; &lt;p align=&quot;left&quot;&gt;HMC Version:&amp;nbsp; Version 7, Release 7.2.0, SP2&lt;/p&gt; &lt;p align=&quot;left&quot;&gt;SEA – Simple mode&lt;/p&gt; &lt;p align=&quot;left&quot;&gt;The ports on the external network switches are configured as ‘Access Port’ (cisco term) with allowed VLAN set to 22&lt;/p&gt; &lt;p align=&quot;left&quot;&gt;Ethernet Adapters used (on both the VIO Servers)&lt;/p&gt; &lt;p align=&quot;left&quot;&gt;ent2 – Physical Ethernet Adapter on each VIO Servers (P2-C1-T1)&lt;/p&gt; &lt;p align=&quot;left&quot;&gt;ent0 – Virtual Ethernet Adapter that will act as the bridge to the external network (PVID – 1002) (V1-C10-T1)&lt;/p&gt; &lt;p align=&quot;left&quot;&gt;ent1 – Virtual Ethernet Adapter used for control Channel (V1-C11-T1)&lt;/p&gt; &lt;p align=&quot;left&quot;&gt;ent3 – Virtual Ethernet Adapter used for VIO Server’s management interface (V1-C12-T1)&lt;/p&gt; &lt;p align=&quot;left&quot;&gt;ent4 – SEA created with ent0 and ent1 &lt;/p&gt; &lt;p align=&quot;left&quot;&gt;All the LPARs under these VIO Servers have the Virtual Ethernet configured to use 1002 as their PVID&lt;/p&gt; &lt;p align=&quot;left&quot;&gt;Steps to convert this setup to a trunk mode:&lt;/p&gt; &lt;ul&gt; &lt;li&gt; &lt;div align=&quot;left&quot;&gt;Shutdown all the LPARs (except the VIO servers)&lt;/div&gt;&lt;/li&gt; &lt;li&gt; &lt;div align=&quot;left&quot;&gt;Login to the VIO Servers through a console from the HMC&lt;/div&gt;&lt;/li&gt; &lt;li&gt; &lt;div align=&quot;left&quot;&gt;Change the network ports on the external switch as Trunk port with required VLANs (22)&lt;/div&gt;&lt;/li&gt; &lt;li&gt; &lt;div align=&quot;left&quot;&gt;Shutdown one of the VIO servers (vio2 for instance).&amp;nbsp; This is to avoid any possible network issues while reconfiguring one of the VIO servers&lt;/div&gt;&lt;/li&gt; &lt;li&gt; &lt;div align=&quot;left&quot;&gt;From the HMC, uncheck ‘Access external network’ from the current Virtual Ethernet that is configured as the bridge (Adapter ID 10)&lt;/div&gt;&lt;/li&gt; &lt;li&gt; &lt;div align=&quot;left&quot;&gt;From the HMC, add a new Virtual Ethernet Adapter to the VIO Server (vio1) – configure it to &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt; &lt;blockquote&gt; &lt;p align=&quot;left&quot;&gt;Enable ‘Access external network ‘&lt;/p&gt; &lt;p align=&quot;left&quot;&gt;Enable ‘IEEE 802.1q compatible’&lt;/p&gt; &lt;p align=&quot;left&quot;&gt;Add ‘Additional VLAN IDs to 22’&lt;/p&gt; &lt;p align=&quot;left&quot;&gt;Set Trunk Priority to 1 (2 for the other VIO Server)&lt;/p&gt;&lt;/blockquote&gt; &lt;ul&gt; &lt;li&gt; &lt;div align=&quot;left&quot;&gt;Shutdown and Activate the VIO Server if the virtual Ethernet was not added with DLPAR.&amp;nbsp; Restarting the VIO Server will not bring in the changes made on the profile.&amp;nbsp; A complete shutdown and activation of the profile is needed&lt;/div&gt;&lt;/li&gt; &lt;li&gt; &lt;div align=&quot;left&quot;&gt;This should create a new adapter ent5 on the VIO Server (V1-C13-T1)&lt;/div&gt;&lt;/li&gt; &lt;li&gt; &lt;div align=&quot;left&quot;&gt;Reconfigure the SEA to use the new virtual Ethernet Adapter as the bridge.&amp;nbsp; You can leave the current virtual Ethernet as part of the SEA’s virtual adapter list if there are some LPARS that would need it to communicate internally. &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt; &lt;blockquote&gt; &lt;p align=&quot;left&quot;&gt;# chdev –dev ent4 –attr virt_adapters=ent5 pvid_adapter=ent5&lt;/p&gt;&lt;/blockquote&gt; &lt;ul&gt; &lt;li&gt; &lt;div align=&quot;left&quot;&gt;Restart the VIO server&lt;/div&gt;&lt;/li&gt; &lt;li&gt; &lt;div align=&quot;left&quot;&gt;The VIO Server should be available on the network now through ent3&lt;/div&gt;&lt;/li&gt; &lt;li&gt; &lt;div align=&quot;left&quot;&gt;This will convert the SEA to use 802.1q compatible adapter as the network bridge to the external network &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p align=&quot;left&quot;&gt;Shutdown this VIO Server and execute the similar procedure on the other VIO Server (vio2).&amp;nbsp; Once VIO2 has been successfully converted, bring up VIO1 as well.&amp;nbsp; &lt;/p&gt; &lt;p align=&quot;left&quot;&gt;From the HMC, change the PVID for all the LPARs to use 22 and activate the saved profile for each LPAR. &lt;/p&gt; &lt;p align=&quot;left&quot;&gt;At this point all the LPARs will be communicating to the external network using the new 802.1Q compatible adapter.&amp;nbsp; &lt;/p&gt;  </content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/8349803367490148868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/8349803367490148868'/><link rel='alternate' type='text/html' href='http://asrtechnotes.blogspot.com/2011/09/converting-sea-on-vio-from-access-to.html' title='Converting SEA on VIO from access to trunk mode'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6489538435035165830.post-8840496078843872891</id><published>2011-08-11T14:19:00.001-07:00</published><updated>2011-08-11T14:20:05.174-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="administration"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Red Hat Enterprise Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="security"/><title type='text'>Red Hat SELinux–How to Enable/Disable</title><content type='html'>&lt;p&gt;Here is the quick how-to for enabling and disabling SELinux on a Red Hat Enterprise Linux server temporarily and permanently.&amp;nbsp; &lt;/p&gt; &lt;p&gt;There are 3 modes available with the SELinux- &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Enforcing&lt;/strong&gt; – SELinux policy is &lt;em&gt;enforced&lt;/em&gt; and access is denied based on the SELinux policy rules. &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Permissive&lt;/strong&gt; – SELinux policy is &lt;em&gt;not enforced&lt;/em&gt;.&amp;nbsp; Access is is not denied, but what would have been denied if it were enforced will be logged. &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Disabled&lt;/strong&gt; – SELinux is &lt;em&gt;disabled&lt;/em&gt; completely.&amp;nbsp; only DAC rules are used.&amp;nbsp; &lt;/p&gt; &lt;p&gt;To permanently disable SELinux on the system, update ‘&lt;strong&gt;SELINUX=disabled&lt;/strong&gt;’ in &lt;strong&gt;/etc/selinux/config&lt;/strong&gt; file and reboot the system for the change to take effect&lt;/p&gt; &lt;p&gt;To change between the modes temporarily during run time, use the &lt;strong&gt;/usr/sbin/setenforce&lt;/strong&gt; command with the appropriate mode&lt;/p&gt; &lt;p&gt;&lt;em&gt;&lt;strong&gt;/usr/sbin/setenforce 1&lt;/strong&gt;&lt;/em&gt; will set the mode to Enforced&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;em&gt;/usr/sbin/setenforce 0&lt;/em&gt;&lt;/strong&gt; will set the mode to Permissive&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;em&gt;/usr/sbin/getenforce&lt;/em&gt;&lt;/strong&gt; to display the current mode&lt;/p&gt; &lt;p&gt;Refer RHEL 6 SELinux guide for more detailed information&lt;/p&gt; &lt;p&gt;&lt;a title=&quot;http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/pdf/Security-Enhanced_Linux/Red_Hat_Enterprise_Linux-6-Security-Enhanced_Linux-en-US.pdf&quot; href=&quot;http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/pdf/Security-Enhanced_Linux/Red_Hat_Enterprise_Linux-6-Security-Enhanced_Linux-en-US.pdf&quot;&gt;http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/pdf/Security-Enhanced_Linux/Red_Hat_Enterprise_Linux-6-Security-Enhanced_Linux-en-US.pdf&lt;/a&gt;&lt;/p&gt;  </content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/8840496078843872891'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/8840496078843872891'/><link rel='alternate' type='text/html' href='http://asrtechnotes.blogspot.com/2011/08/red-hat-selinuxhow-to-enabledisable.html' title='Red Hat SELinux–How to Enable/Disable'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6489538435035165830.post-1064515664677456403</id><published>2011-08-02T14:23:00.001-07:00</published><updated>2011-08-02T14:25:47.211-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="administration"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Red Hat Enterprise Linux"/><title type='text'>Red Hat Linux Crash Dump Analysis</title><content type='html'>&lt;p&gt;Some useful links for analyzing Crash Dumps:&lt;/p&gt; &lt;p&gt;Quick overview of Kernel Crash Dump Analysis&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;http://magazine.redhat.com/2007/08/15/a-quick-overview-of-linux-kernel-crash-dump-analysis/&quot;&gt;http://magazine.redhat.com/2007/08/15/a-quick-overview-of-linux-kernel-crash-dump-analysis/&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Crash Facility – White paper&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;http://people.redhat.com/anderson/crash_whitepaper/&quot;&gt;http://people.redhat.com/anderson/crash_whitepaper/&lt;/a&gt;&lt;/p&gt; &lt;p&gt;More about Oops messages:&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;http://lxr.linux.no/linux/Documentation/oops-tracing.txt&quot;&gt;http://lxr.linux.no/linux/Documentation/oops-tracing.txt&lt;/a&gt;&lt;/p&gt;  </content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/1064515664677456403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/1064515664677456403'/><link rel='alternate' type='text/html' href='http://asrtechnotes.blogspot.com/2011/08/red-hat-linux-crash-dump-analysis.html' title='Red Hat Linux Crash Dump Analysis'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6489538435035165830.post-9179149629952303106</id><published>2011-07-25T13:08:00.001-07:00</published><updated>2011-07-25T13:09:33.170-07:00</updated><title type='text'>How to resize root file system on RHEL 6</title><content type='html'>&lt;p&gt;Here is the list of steps to reduce the&amp;nbsp; root file system (lv_root) on a RHEL 6 Linux server:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Boot the system into rescue mode. Do not mount the file systems (select the option to &#39;Skip&#39; in the rescue mode and start a shell)&lt;/li&gt; &lt;li&gt;Bring the Volume Group online&lt;/li&gt; &lt;ul&gt; &lt;li&gt;&lt;em&gt;&lt;strong&gt;#lvm vgchange -a -y&lt;/strong&gt;&lt;/em&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Run fsck on the FS&lt;/li&gt; &lt;ul&gt; &lt;li&gt;&lt;em&gt;&lt;strong&gt;#e2fsck -f /dev/vg_myhost/lv_root&lt;/strong&gt;&lt;/em&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Resize the file system with new size&lt;/li&gt; &lt;ul&gt; &lt;li&gt;&lt;em&gt;&lt;strong&gt;#resize2fs -f /dev/vg_myhost/lv_root 20G&lt;/strong&gt;&lt;/em&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Reduce the Logical Volume of the FS with the new size&lt;/li&gt; &lt;ul&gt; &lt;li&gt;&lt;em&gt;&lt;strong&gt;#lvreduce -L20G /dev/vg_myhost/lv_root&lt;/strong&gt;&lt;/em&gt; &lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Run fsck to make sure the FS is still ok&lt;/li&gt; &lt;ul&gt; &lt;li&gt;&lt;em&gt;&lt;strong&gt;#e2fsck -f /dev/vg_myhost/lv_root&lt;/strong&gt;&lt;/em&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Optionally mount the file system in the rescue mode&lt;/li&gt; &lt;ul&gt; &lt;li&gt;&lt;em&gt;&lt;strong&gt;#mkdir -p /mnt/sysimage/root&lt;/strong&gt;&lt;/em&gt;&lt;/li&gt; &lt;li&gt;&lt;em&gt;&lt;strong&gt;#mount -t ext4 /dev/mapper/vg_myhost-lv_root /mnt/sysimage/root&lt;/strong&gt;&lt;/em&gt;&lt;/li&gt; &lt;li&gt;&lt;em&gt;&lt;strong&gt;#cd /mnt/sysimage/root&lt;/strong&gt;&lt;/em&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Unmount the FS&lt;/li&gt; &lt;ul&gt; &lt;li&gt;&lt;em&gt;&lt;strong&gt;#cd &lt;/strong&gt;&lt;/em&gt;&lt;/li&gt; &lt;li&gt;&lt;em&gt;&lt;strong&gt;#umount /mnt/sysimage/root&lt;/strong&gt;&lt;/em&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Exit rescue mode and boot the system from the hard disk&lt;/li&gt; &lt;ul&gt; &lt;li&gt;&lt;em&gt;&lt;strong&gt;#exit&lt;/strong&gt;&lt;/em&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Select the reboot option from the recue mode&lt;/li&gt;&lt;/ul&gt;  </content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/9179149629952303106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/9179149629952303106'/><link rel='alternate' type='text/html' href='http://asrtechnotes.blogspot.com/2011/07/how-to-resize-root-file-system-on-rhel.html' title='How to resize root file system on RHEL 6'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6489538435035165830.post-892454129335921156</id><published>2011-06-24T13:56:00.001-07:00</published><updated>2011-06-24T13:56:34.182-07:00</updated><title type='text'>VIO Server–Performance and sizing considerations</title><content type='html'>&lt;p align=&quot;justify&quot;&gt;&lt;a href=&quot;http://www14.software.ibm.com/webapp/set2/sas/f/vios/documentation/perf.html&quot;&gt;http://www14.software.ibm.com/webapp/set2/sas/f/vios/documentation/perf.html&lt;/a&gt;&lt;/p&gt; &lt;p align=&quot;justify&quot;&gt;&lt;font size=&quot;5&quot;&gt;&lt;strong&gt;Reproduced from the link posted above:&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt; &lt;p align=&quot;justify&quot;&gt;The VIOS online pubs in InfoCenter include sections on sizing for both Virtual SCSI and SEA.&lt;br&gt;&lt;a href=&quot;http://publib.boulder.ibm.com/infocenter/eserver/v1r2s/en_US/index.htm&quot;&gt;http://publib.boulder.ibm.com/infocenter/eserver/v1r2s/en_US/index.htm&lt;/a&gt;&lt;/p&gt; &lt;p align=&quot;justify&quot;&gt;For Virtual SCSI, please see the section titled &quot;Virtual SCSI Sizing Considerations&quot;. For SEA, please see the section titled &quot;Planning for shared Ethernet adapters.&quot; &lt;p align=&quot;justify&quot;&gt;&lt;b&gt;QOS considerations&lt;/b&gt; &lt;p align=&quot;justify&quot;&gt;The Virtual I/O server is a shared resource that can be shared concurrently by Virtual SCSI and by Virtual Ethernet / Shared Ethernet. &lt;p align=&quot;justify&quot;&gt;Depending on the specific configuration of a Virtual I/O server, quality of service issues (long response times) may be encountered if insufficient CPU resources exist on the I/O server partition for the I/O load required. Recommendations for sizing and tuning the Virtual I/O server are discussed in the following paragraphs. &lt;p align=&quot;justify&quot;&gt;The Virtual Ethernet and Shared Ethernet drivers (LAN environment), like most device drivers, typically drive high interrupt rates and are CPU intensive. Streaming large packet workloads, like file transfers or data backup/restore, requires lower interrupt load than do other workloads that generate a lot of small packets. The Virtual SCSI has similar characteristics, where large IO&#39;s require lower CPU interrupt rates than do small I/O&#39;s. The Virtual SCSI environment runs at low priority interrupt levels, while the LAN environment runs on high priority interrupts. Because LAN&#39;s can be driven to high rates of activity with relatively little hardware and LAN pacing of requests for throughput requires matching adapter speeds, the LAN runs with high interrupt priority compared to disks which tend to be paced by disk latency. &lt;p align=&quot;justify&quot;&gt;If the combined workload of the LAN and SCSI in an I/O server partition are such that the available CPU capacity of the I/O server partition becomes expended, the response times will increase and the quality of service will be reduced, with the Virtual SCSI workloads being impacted the most. The possible tuning options are discussed below. &lt;ul&gt; &lt;li&gt; &lt;div align=&quot;justify&quot;&gt;Proper sizing of the Virtual I/O server&lt;/div&gt;&lt;/li&gt; &lt;li&gt; &lt;div align=&quot;justify&quot;&gt;Threading or non-threading of the Shared Ethernet&lt;/div&gt;&lt;/li&gt; &lt;li&gt; &lt;div align=&quot;justify&quot;&gt;Separate micro-partitions for the Virtual I/O server&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p align=&quot;justify&quot;&gt;The Shared Ethernet environment requires about 63% of a single CPU Virtual I/O server for simplex streaming of data or about 80% of a CPU for full duplex (two direction) streaming of data over a single Shared Ethernet adapter and one Virtual Ethernet. The Virtual SCSI requires about 20% of a CPU for large block streaming or as much as 70% for small block, high transaction rate workloads for a dual disk adapter environment. Given normal workloads, a single shared Gigabit Ethernet and single disk adapter can coexist on a dedicated partition utilizing a single CPU server without processor capacity limitations. If dual Gigabit Ethernets were to be configured on the same system, then the processing cycles can be totally consumed by the LAN environment and the disk response time may become poor at high processing utilization. The simplest solution is to configure a second CPU into the partition to provide the CPU resources needed to process the workload. &lt;p align=&quot;justify&quot;&gt;Another option is to tune the I/O server based on the workload and hardware configuration. One tuning variable is a &quot;threading&quot; option on the Shared Ethernet. Without threading enabled, the Virtual Ethernet and the real Ethernet drivers run on the interrupt level and forward their incoming packets thru the shared Ethernet driver and the destination driver on the interrupt level. This is the most efficient in terms of CPU cycles consumed (minimum path length) but is also the most disruptive for the SCSI software that runs more at a lower interrupt level. Threading can be enabled on a per Shared Ethernet device basis. Threading will cause the incoming packets to be queued to a thread. One of 10 special threads in the kernel will then be dispatched and will process the packet in the shared Ethernet driver and the associated outbound driver. This puts more processing in a user thread context and allows this processing to be shared more equally with the virtual SCSI I/O. However, the threading does increase the total CPU cycles required by the LAN (longer path length). The trade-off is more consistent quality of service but at a lower overall LAN throughput. &lt;p align=&quot;justify&quot;&gt;APAR IY62264 changes the default behavior of the Shared Ethernet devices to have &quot;threading&quot; enabled. Prior to this APAR, the default was non-threaded. &lt;p align=&quot;justify&quot;&gt;Depending on the customer environment, the threading option on Shared Ethernet can be tuned to help provide higher LAN performance (non-threaded) or improved shared performance when running with Virtual SCSI by running threaded. The following table shows example CPU utilization and throughput rates for the Virtual I/O server running one shared Ethernet with one Gigabit Ethernet and one Virtual Ethernet with and without threading. &lt;p align=&quot;justify&quot;&gt;&lt;em&gt;&lt;strong&gt;P5, L4 (1.65 Ghz), 1 CPU partition with SMT enabled Virtual I/O server&lt;/strong&gt;&lt;/em&gt; &lt;p align=&quot;justify&quot;&gt; &lt;table border=&quot;1&quot; cellspacing=&quot;0&quot; cellpadding=&quot;2&quot; width=&quot;549&quot;&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;161&quot;&gt;Test&lt;br&gt;&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;196&quot;&gt;Threaded=1&lt;br&gt;&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;190&quot;&gt;Threaded=0&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;161&quot;&gt;TCP, Simplex streaming&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;196&quot;&gt;72% CPU at 940 Mbits/sec&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;190&quot;&gt;63% CPU at 940 Mbits/sec&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;161&quot;&gt;TCP, Duplex streaming&lt;br&gt;&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;196&quot;&gt;87% CPU at 1420 Mbits/sec&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;190&quot;&gt;80% CPU at 1420 Mbits/sec&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt; &lt;p align=&quot;justify&quot;&gt;The shared I/O server commands allow it to be determined if a Shared Ethernet device is threaded or non-threaded. An example is shown at the end of this article. If the threaded mode is enabled, the&quot; Thread queue overflow packets:&quot; statistic can be used as a indicator to tell if the packets are being dropped on the Shared Ethernet threads. These threads can queue up to 8192 input packets before the queue is overflowed and input packets are discarded. If this is occurring, the threads are not getting to run frequently enough, indicating a CPU overloaded condition. A small number of these might indicate normal behavior in a bursty network while a large number of these overflows would indicate the need for more CPU resources. &lt;p align=&quot;justify&quot;&gt;The third option is to use micro-partitioning to create two I/O Server partitions, one for the Virtual SCSI server and one for the Virtual Ethernet/ Shared Ethernet (LAN). An example might be two tenths of a CPU dedicated to Virtual SCSI and eight tenths of a CPU dedicated to Shared Ethernet. With this configuration, the hypervisor would be controlling the CPU resource and would ensure about 20% of the cycles goes to Virtual SCSI and 80% to the Shared Ethernet server. Because the two I/O servers run in different partitions, there will be minimal impact of one steeling cycles from the other. The hypervisor will ensure each I/O server partition gets its allocated quota. &lt;p align=&quot;justify&quot;&gt;Even with this configuration, under sizing the CPU&#39;s per the number of adapters in either server could still give low throughput. Proper sizing of the CPU resource for the workload is still required. With the disk and LAN servers in separate partitions, it would be easier to trouble shoot performance issues. &lt;p align=&quot;justify&quot;&gt;Here are the commands to enable or disable threading on Shared Ethernet Adapter (SEA) referred to earlier. &lt;p align=&quot;justify&quot;&gt;To enable/disable threading on the SEA adapter. Set &quot;thread&quot; attribute to either &quot;0&quot; for disabled or &quot;1&quot; for enabled. &lt;div align=&quot;justify&quot;&gt;&lt;pre&gt;chdev -dev entX -attr thread=0/1&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;p align=&quot;justify&quot;&gt;There are two ways to check the state of threading on the SEA adapter.&lt;br /&gt;&lt;p align=&quot;justify&quot;&gt;The direct method&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;pre&gt;$ lsdev -dev ent5 -attr thread&lt;br /&gt;value&lt;br /&gt; &lt;br /&gt;0&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;p align=&quot;justify&quot;&gt;The indirect method&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;pre&gt;$ entstat -all ent5 &lt;br /&gt;ETHERNET STATISTICS (ent5) :&lt;br /&gt;Device Type: Shared Ethernet Adapter&lt;br /&gt;Hardware Address: 00:02:55:53:bc:d1&lt;br /&gt; &lt;br /&gt;Elapsed Time: 0 days 0 hours 0 minutes 0 seconds&lt;br /&gt; &lt;br /&gt;Transmit Statistics:                          Receive Statistics:&lt;br /&gt;--------------------                          -------------------&lt;br /&gt;Packets: 11180525                             Packets: 11180525&lt;br /&gt;Bytes: 1893260976                             Bytes: 1893260976&lt;br /&gt;Interrupts: 0                                 Interrupts: 1653132&lt;br /&gt;Transmit Errors: 0                            Receive Errors: 0&lt;br /&gt;Packets Dropped: 0                            Packets Dropped: 0&lt;br /&gt;                                              Bad Packets: 0&lt;br /&gt;Max Packets on S/W Transmit Queue: 122&lt;br /&gt;S/W Transmit Queue Overflow: 0&lt;br /&gt;Current S/W+H/W Transmit Queue Length: 0&lt;br /&gt; &lt;br /&gt;Broadcast Packets: 2                          Broadcast Packets: 2&lt;br /&gt;Multicast Packets: 3452                       Multicast Packets: 0&lt;br /&gt;No Carrier Sense: 0                           CRC Errors: 0&lt;br /&gt;DMA Underrun: 0                               DMA Overrun: 0&lt;br /&gt;Lost CTS Errors: 0                            Alignment Errors: 0&lt;br /&gt;Max Collision Errors: 0                       No Resource Errors: 0&lt;br /&gt;Late Collision Errors: 0                      Receive Collision Errors: 0&lt;br /&gt;Deferred: 1706                                Packet Too Short Errors: 0&lt;br /&gt;SQE Test: 0                                   Packet Too Long Errors: 0&lt;br /&gt;Timeout Errors: 0                             Packets Discarded by Adapter: 0&lt;br /&gt;Single Collision Count: 0                     Receiver Start Count: 0&lt;br /&gt;Multiple Collision Count: 0&lt;br /&gt;Current HW Transmit Queue Length: 0&lt;br /&gt; &lt;br /&gt;General Statistics:&lt;br /&gt;-------------------&lt;br /&gt;No mbuf Errors: 0&lt;br /&gt;Adapter Reset Count: 0&lt;br /&gt;Driver Flags: Up Broadcast Running&lt;br /&gt;        Simplex 64BitSupport&lt;br /&gt; &lt;br /&gt;--------------------------------------------------------------&lt;br /&gt;Statistics for adapters in the Shared Ethernet Adapter ent5&lt;br /&gt;--------------------------------------------------------------&lt;br /&gt;Number of adapters: 2&lt;br /&gt;SEA Flags: 00000000&lt;br /&gt;    &amp;lt;&amp;gt;	&amp;lt;== This field will read  if thread is enabled.&lt;br /&gt;VLAN Ids :&lt;br /&gt;    ent4: 0 1&lt;br /&gt;Real Side Statistics:&lt;br /&gt;    Packets received: 2079245&lt;br /&gt;    Packets bridged: 2079245&lt;br /&gt;    Packets consumed: 0&lt;br /&gt;    Packets received: 0&lt;br /&gt;    Packets transmitted: 9101280&lt;br /&gt;    Packets dropped: 0&lt;br /&gt;Virtual Side Statistics:&lt;br /&gt;    Packets received: 9101280&lt;br /&gt;    Packets bridged: 9101280&lt;br /&gt;    Packets consumed: 0&lt;br /&gt;    Packets received: 0&lt;br /&gt;    Packets received: 2079245&lt;br /&gt;    Packets dropped: 0&lt;br /&gt;Other Statistics:&lt;br /&gt;    Output packets generated: 0&lt;br /&gt;    Output packets dropped: 0&lt;br /&gt;    Device output failures: 0&lt;br /&gt;    Memory allocation failures: 0&lt;br /&gt;    ICMP error packets sent: 0&lt;br /&gt;    Non IP packets larger than MTU: 0&lt;br /&gt;    Thread queue overflow packets: 0&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;p align=&quot;justify&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;/p&gt;&lt;br /&gt;&lt;p align=&quot;justify&quot;&gt;&lt;/p&gt;  </content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/892454129335921156'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/892454129335921156'/><link rel='alternate' type='text/html' href='http://asrtechnotes.blogspot.com/2011/06/vio-serverperformance-and-sizing.html' title='VIO Server–Performance and sizing considerations'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6489538435035165830.post-4501201169611186479</id><published>2011-06-22T15:13:00.001-07:00</published><updated>2011-06-22T15:15:19.600-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="administration"/><category scheme="http://www.blogger.com/atom/ns#" term="hp-ux"/><title type='text'>HP-UX find WWN for HBAs</title><content type='html'>&lt;p&gt;&lt;font size=&quot;2&quot;&gt;First, list all the HBAs, in the output below the HBA device name is /dev/td0 and /dev/td1&lt;/font&gt; &lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Lucida Console&quot;&gt;my-hp-system# ioscan -fnkC fc&lt;/font&gt; &lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Lucida Console&quot;&gt;Class I H/W Path Driver S/W State H/W Type Description&lt;/font&gt; &lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Lucida Console&quot;&gt;=================================================================&lt;/font&gt; &lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Lucida Console&quot;&gt;fc 0 0/4/0/0 td CLAIMED INTERFACE HP Tachyon TL/TS Fibre Channel Mass Storage Adapter&lt;/font&gt; &lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Lucida Console&quot;&gt;/dev/td0&lt;/font&gt; &lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Lucida Console&quot;&gt;fc 1 0/7/0/0 td CLAIMED INTERFACE HP Tachyon TL/TS Fibre Channel Mass Storage Adapter&lt;/font&gt; &lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Lucida Console&quot;&gt;/dev/td1&lt;/font&gt; &lt;p&gt;&lt;font size=&quot;2&quot;&gt;Now, use the fcmsutil to find the WWN and other information related to each of these HBAs:&lt;/font&gt; &lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Lucida Console&quot;&gt;my-hp-system# fcmsutil /dev/td0&lt;/font&gt;&lt;/p&gt;  </content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/4501201169611186479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/4501201169611186479'/><link rel='alternate' type='text/html' href='http://asrtechnotes.blogspot.com/2011/06/hp-ux-find-wwn-for-hbas.html' title='HP-UX find WWN for HBAs'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6489538435035165830.post-3885777049488727301</id><published>2011-06-22T15:09:00.001-07:00</published><updated>2011-06-22T15:09:53.325-07:00</updated><title type='text'>List top ‘paging space’ users using svmon command</title><content type='html'>&lt;p&gt;Here is a easy way to find the top paging space users using a svmon command:&lt;/p&gt; &lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Lucida Console&quot;&gt;my-system&amp;gt; svmon -P -O sortseg=pgsp&lt;br&gt;Unit: page&lt;br&gt;-------------------------------------------------------------------------------&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Pid Command&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Inuse&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Pin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Pgsp&amp;nbsp; Virtual&lt;br&gt; 2289864 sshd&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 18908&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7988&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 18414&lt;br&gt; 2265260 ksh&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 18499&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7988&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 18427&lt;br&gt; 1765570 svmon&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 17398&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8032&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 17337&lt;br&gt;&lt;/font&gt;&lt;/p&gt;  </content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/3885777049488727301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/3885777049488727301'/><link rel='alternate' type='text/html' href='http://asrtechnotes.blogspot.com/2011/06/list-top-paging-space-users-using-svmon.html' title='List top ‘paging space’ users using svmon command'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6489538435035165830.post-3409849994906258975</id><published>2011-06-22T15:06:00.001-07:00</published><updated>2011-06-22T15:06:21.665-07:00</updated><title type='text'>Network throughput test between 2 AIX servers</title><content type='html'>&lt;p&gt;The easiest way to test throughput between 2 AIX servers is to do a FTP test, generating data transfer with ‘dd’ command.&amp;nbsp; This will provide the throughput/speed for the specified amount of data transfer:&lt;/p&gt; &lt;p&gt;#src-system&amp;gt; ftp dst-system&lt;br&gt;…&lt;br&gt;…&lt;br&gt;ftp&amp;gt;&amp;nbsp; put &quot;|dd if=/dev/zero bs=32k count=10000&quot; /dev/null&lt;br&gt;200 PORT command successful.&lt;br&gt;150 Opening data connection for /dev/null.&lt;br&gt;10000+0 records in&lt;br&gt;10000+0 records out&lt;br&gt;226 Transfer complete.&lt;br&gt;&lt;strong&gt;327680000 bytes sent in 1.406 seconds (2.277e+05 Kbytes/s)&lt;/strong&gt;&lt;br&gt;local: |dd if=/dev/zero bs=32k count=10000 remote: /dev/null&lt;br&gt;ftp&amp;gt;bye&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;This is the same test IBM recommends in the redbook and also during a support call&lt;/p&gt;  </content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/3409849994906258975'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/3409849994906258975'/><link rel='alternate' type='text/html' href='http://asrtechnotes.blogspot.com/2011/06/network-throughput-test-between-2-aix.html' title='Network throughput test between 2 AIX servers'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6489538435035165830.post-2696011240922325902</id><published>2011-02-22T13:58:00.001-08:00</published><updated>2011-02-22T14:06:12.695-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="administration"/><category scheme="http://www.blogger.com/atom/ns#" term="aix"/><category scheme="http://www.blogger.com/atom/ns#" term="tips"/><title type='text'>AIX file system group</title><content type='html'>Group a bunch of file systems together using mount group option:&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Lucida Console&#39;; font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Add an Enhanced Journaled File System &lt;/span&gt; &lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: &#39;Lucida Console&#39;;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;Type or select values in entry fields.&lt;br /&gt;
Press Enter AFTER making all desired changes.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Entry Fields]&lt;br /&gt;
&amp;nbsp; Volume group name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; datavg&lt;br /&gt;
&amp;nbsp; SIZE of file system&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Unit Size&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Megabytes&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Number of units&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; []&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
* MOUNT POINT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; []&lt;br /&gt;
&amp;nbsp; Mount AUTOMATICALLY at system restart?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp; PERMISSIONS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; read/write&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp; Mount OPTIONS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; []&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp; Block Size (bytes)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4096&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp; Logical Volume for Log&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp; Inline Log size (MBytes)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; []&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp; Extended Attribute Format&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp; ENABLE Quota Management?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp; Enable EFS?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp; Allow internal snapshots?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&lt;u&gt; &lt;strong&gt;Mount GROUP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [asm] &lt;/strong&gt;&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
FS commands to use with the mount group:&lt;br /&gt;
&lt;br /&gt;
List filesystem:&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &#39;Lucida Console&#39;;&quot;&gt;&lt;em&gt;[root@myserver][/]&amp;gt; lsfs -u asm&lt;/em&gt; &lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: &#39;Lucida Console&#39;;&quot;&gt;Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Nodename&amp;nbsp;&amp;nbsp; Mount Pt&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VFS&amp;nbsp;&amp;nbsp; Size&amp;nbsp;&amp;nbsp;&amp;nbsp; Options&amp;nbsp;&amp;nbsp;&amp;nbsp; Auto Accounting&lt;br /&gt;
/dev/asmhomelv&amp;nbsp; --&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /home/asm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jfs2&amp;nbsp; 4194304 rw&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; yes&amp;nbsp; no &lt;br /&gt;
/dev/asrouterlv --&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /home/asm/asrouter&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jfs2&amp;nbsp; 4194304 rw&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; yes&amp;nbsp; no &lt;br /&gt;
/dev/asmsavelv&amp;nbsp; --&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /home/asm/saveamgr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jfs2&amp;nbsp; 10485760 rw&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; yes&amp;nbsp; no &lt;br /&gt;
/dev/asmlv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /var/asm/amgrs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jfs2&amp;nbsp; 4194304 rw&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; yes&amp;nbsp; no &lt;br /&gt;
/dev/asmloglv&amp;nbsp;&amp;nbsp; --&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /var/asm/log&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jfs2&amp;nbsp; 10485760 rw&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; yes&amp;nbsp; no &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Mount the file system group:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-family: &#39;Lucida Console&#39;;&quot;&gt;[root@myserver][/]&amp;gt;&lt;/span&gt; mount –t asm&lt;br /&gt;
&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Unmount the file system group:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;em&gt;&lt;span style=&quot;font-family: &#39;Lucida Console&#39;;&quot;&gt;[root@myserver][/]&amp;gt;&lt;/span&gt;umount –t asm&lt;/em&gt;&lt;/span&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/2696011240922325902'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/2696011240922325902'/><link rel='alternate' type='text/html' href='http://asrtechnotes.blogspot.com/2011/02/aix-file-system-group.html' title='AIX file system group'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6489538435035165830.post-8559310086118713456</id><published>2011-01-24T12:44:00.001-08:00</published><updated>2011-01-25T13:44:47.194-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="administration"/><category scheme="http://www.blogger.com/atom/ns#" term="WebSphere MQ"/><title type='text'>Websphere MQ</title><content type='html'>&lt;span xmlns=&quot;&quot;&gt; &lt;h2&gt;Create File Systems:&lt;br&gt;&lt;/h2&gt; &lt;p&gt;/usr/mqm -&amp;gt; MQ installation base&lt;br&gt;&lt;/p&gt; &lt;p&gt;/var/mqm -&amp;gt; Queue Manager Data (log, qmgrs)&lt;br&gt;&lt;/p&gt; &lt;p&gt;/home/mqm -&amp;gt; MQM user base (scripts, admin files etc)&lt;br&gt;&lt;/p&gt; &lt;p&gt;/home/mqm/mqrouter - &amp;gt; MQ Router application files (scripts, config etc)&lt;br&gt;&lt;/p&gt; &lt;p&gt;/home/mqm/saveqmgr -&amp;gt; Queue Manager backup location&lt;br&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;&lt;strong&gt;Optional&lt;/strong&gt; (for large installations in place of /var/mqm/):&lt;br&gt;&lt;/em&gt;&lt;/p&gt; &lt;p&gt;/var/mqm/log –&amp;gt; Queue manager log&lt;br&gt;&lt;/p&gt; &lt;p&gt;/var/mqm/qmgrs -&amp;gt; Queue manager data&lt;br&gt;&lt;/p&gt; &lt;p&gt;&lt;br&gt;&amp;nbsp;&lt;/p&gt; &lt;h2&gt;Install – MQ Filesets:&lt;br&gt;&lt;/h2&gt; &lt;p&gt;mqm.base.runtime 7.0.1.3 WebSphere MQ Runtime for&lt;br&gt;&lt;/p&gt; &lt;p&gt;mqm.base.samples 7.0.1.3 WebSphere MQ Samples&lt;br&gt;&lt;/p&gt; &lt;p&gt;mqm.base.sdk 7.0.1.3 WebSphere MQ Base Kit for&lt;br&gt;&lt;/p&gt; &lt;p&gt;mqm.client.rte 7.0.1.3 WebSphere MQ Client for AIX&lt;br&gt;&lt;/p&gt; &lt;p&gt;mqm.java.rte 7.0.1.3 WebSphere MQ Java Client, JMS&lt;br&gt;&lt;/p&gt; &lt;p&gt;mqm.jre.rte 7.0.1.3 WebSphere MQ Java Runtime&lt;br&gt;&lt;/p&gt; &lt;p&gt;mqm.keyman.rte 7.0.1.3 WebSphere MQ Support for GSKit&lt;br&gt;&lt;/p&gt; &lt;p&gt;mqm.msg.en_US 7.0.1.3 WebSphere MQ Messages - U.S.&lt;br&gt;&lt;/p&gt; &lt;p&gt;mqm.server.rte 7.0.1.3 WebSphere MQ Server&lt;br&gt;&lt;/p&gt; &lt;p&gt;mqm.txclient.rte 7.0.1.3 WebSphere MQ Extended&lt;br&gt;&lt;/p&gt; &lt;p&gt;mqm.man.en_US.data 7.0.1.3 WebSphere MQ Man Pages - U.S.&lt;br&gt;&lt;/p&gt; &lt;p&gt;&lt;br&gt;&amp;nbsp;&lt;/p&gt; &lt;h2&gt;Collect information from current server (for migrations):&lt;br&gt;&lt;/h2&gt; &lt;p&gt;On the current server, save the Queue Manager information using the &lt;strong&gt;&lt;em&gt;saveqmgr&lt;/em&gt;&lt;/strong&gt; MQ utility&lt;br&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;#saveqmgr –m &amp;lt;Queue Manager Name&amp;gt; -s –f &amp;lt;File Name to save&amp;gt;&lt;br&gt;&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;#saveqmgr –m &amp;lt;Queue Manager Name&amp;gt; -z -f &amp;lt;File Name to save&amp;gt;&lt;br&gt;&lt;/em&gt;&lt;/p&gt; &lt;p&gt;This should create 2 files – one for the queue manager definitions and one for queue manager authorization definitions.&lt;br&gt;&lt;/p&gt; &lt;p&gt;This utility is available from IBM WebSphere site: &lt;a href=&quot;https://www-304.ibm.com/support/docview.wss?uid=swg24000673&quot;&gt;https://www-304.ibm.com/support/docview.wss?uid=swg24000673&lt;/a&gt;&lt;br&gt;&lt;/p&gt; &lt;p&gt;Do this for all the desired Queue Managers. &lt;br&gt;&lt;/p&gt; &lt;p&gt;Importing saved queue managers on the new server:&lt;br&gt;&lt;/p&gt; &lt;p&gt;Create the desired empty queue mangaers on the new server:&lt;br&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;#crtmqm – c &quot;QM for ….env&quot; –ll –ld /var/mqm/primary/log –md /var/mqm/primary/qmgrs –lp 3 –ls 2 &amp;lt;Queue Manager Name&amp;gt;&lt;br&gt;&lt;/em&gt;&lt;/p&gt; &lt;p&gt;Start the new Queue Manager&lt;br&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;#strmqm &amp;lt;Queue Manager Name&amp;gt;&lt;br&gt;&lt;/em&gt;&lt;/p&gt; &lt;p&gt;Create the new Queue Manager definitions from the previously saved file (using saveqmgr)&lt;br&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;#cat &amp;lt;QM definition file&amp;gt; | runmqsc &amp;lt;QM name&amp;gt;&lt;br&gt;&lt;/em&gt;&lt;/p&gt; &lt;p&gt;Apply the authorization for the objects &lt;p&gt;Make the authorization file executable and execute it from the command line.  &lt;p&gt;&lt;em&gt;#./Authorization File&lt;/em&gt; &lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;&lt;/span&gt;  </content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/8559310086118713456'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/8559310086118713456'/><link rel='alternate' type='text/html' href='http://asrtechnotes.blogspot.com/2011/01/websphere-mq.html' title='Websphere MQ'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6489538435035165830.post-1371290733980914684</id><published>2010-09-01T13:58:00.000-07:00</published><updated>2010-09-01T13:58:41.600-07:00</updated><title type='text'>ASCII codes for backspace settings</title><content type='html'>ASCII codes for backspace settings :&lt;div&gt; &lt;strong&gt;ASCII BS == 0x08 == ^H&lt;/strong&gt;  &lt;strong&gt;ASCII DEL == 0x7f == 0177 == ^?&lt;/strong&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/1371290733980914684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/1371290733980914684'/><link rel='alternate' type='text/html' href='http://asrtechnotes.blogspot.com/2010/09/ascii-codes-for-backspace-settings.html' title='ASCII codes for backspace settings'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6489538435035165830.post-5167817627761023753</id><published>2010-08-31T13:54:00.000-07:00</published><updated>2010-08-31T13:54:10.103-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="administration"/><category scheme="http://www.blogger.com/atom/ns#" term="aix"/><title type='text'>Check runlevel on AIX</title><content type='html'>Here is a handy command to see the current run level on AIX:&lt;br /&gt;
&lt;br /&gt;
# who -r&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;run-level 2 Aug 10 16:28 &amp;nbsp; &amp;nbsp; &amp;nbsp; 2 &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp;S&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/5167817627761023753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/5167817627761023753'/><link rel='alternate' type='text/html' href='http://asrtechnotes.blogspot.com/2010/08/check-runlevel-on-aix.html' title='Check runlevel on AIX'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6489538435035165830.post-7018072597432010191</id><published>2010-08-30T15:16:00.000-07:00</published><updated>2010-08-31T13:54:29.908-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="aix"/><category scheme="http://www.blogger.com/atom/ns#" term="SSL"/><title type='text'>Retrieve SSL certificate expiration date</title><content type='html'>There are several ways to extract the expiration date from the certificate file.  Here is one of the easiest way if you have the file locally:&lt;br /&gt;
&lt;div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;blockquote&gt;# openssl x509 –noout –in &amp;lt; cert_file &amp;gt;&amp;nbsp;&lt;private&gt; -dates&lt;/private&gt;&lt;/blockquote&gt;&lt;div class=&quot;MsoNormal&quot;&gt;[root@mysystem][/opt/certificates&lt;b&gt;]&amp;gt; openssl x509 -noout -in private_key -dates&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;notBefore=Jul 14 16:23:57 2010 GMT&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;notAfter=Jul 14 16:23:57 2012 GMT&lt;/div&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/7018072597432010191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/7018072597432010191'/><link rel='alternate' type='text/html' href='http://asrtechnotes.blogspot.com/2010/08/retrieve-ssl-certificate-expiration.html' title='Retrieve SSL certificate expiration date'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6489538435035165830.post-5513763242280769979</id><published>2010-08-26T08:39:00.000-07:00</published><updated>2010-08-31T13:54:56.405-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="administration"/><category scheme="http://www.blogger.com/atom/ns#" term="aix"/><category scheme="http://www.blogger.com/atom/ns#" term="network"/><title type='text'>Network problem determination: AIX tools for a systems administrator</title><content type='html'>&lt;a href=&quot;http://www.ibm.com/developerworks/aix/library/au-aixnetworkproblem2/index.html&quot;&gt;Network problem determination: AIX tools for a systems administrator&lt;/a&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/5513763242280769979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/5513763242280769979'/><link rel='alternate' type='text/html' href='http://asrtechnotes.blogspot.com/2010/08/network-problem-determination-aix-tools.html' title='Network problem determination: AIX tools for a systems administrator'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6489538435035165830.post-1125858193913082094</id><published>2010-08-25T15:17:00.000-07:00</published><updated>2010-08-31T13:55:12.142-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="administration"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="network"/><title type='text'>Tcpdump Recipes | danielmiessler.com</title><content type='html'>&lt;div&gt;Nice reference for tcpdump!  &lt;/div&gt;&lt;a href=&quot;http://danielmiessler.com/study/tcpdump_recipes/&quot;&gt;Tcpdump Recipes | danielmiessler.com&lt;/a&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/1125858193913082094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/1125858193913082094'/><link rel='alternate' type='text/html' href='http://asrtechnotes.blogspot.com/2010/08/tcpdump-recipes-danielmiesslercom.html' title='Tcpdump Recipes | danielmiessler.com'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6489538435035165830.post-745316639221892308</id><published>2010-08-24T14:16:00.001-07:00</published><updated>2010-09-03T14:53:52.332-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="administration"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>Linux Commands</title><content type='html'>&lt;span xmlns=&quot;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span xmlns=&quot;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span xmlns=&quot;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span xmlns=&quot;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span xmlns=&quot;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span xmlns=&quot;&quot;&gt;&lt;h1&gt;Few commands learned on SuSE Linux&lt;br /&gt;
&lt;/h1&gt;List version of SuSE Linux:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #4f81bd; font-family: HE_TERMINAL; font-size: 9pt;&quot;&gt;&lt;em&gt;# cat /etc/SuSE-release&lt;br /&gt;
&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
Restart network:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #4f81bd; font-family: HE_TERMINAL; font-size: 9pt;&quot;&gt;&lt;em&gt;# /sbin/rcnetwork restart&lt;br /&gt;
&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
Network config files under : &lt;span style=&quot;color: #4f81bd; font-family: HE_TERMINAL; font-size: 9pt;&quot;&gt;&lt;em&gt;/etc/sysconfig/network/&lt;/em&gt;&lt;/span&gt; directory (ifcfg-&amp;lt;interface name&amp;gt; files)&lt;br /&gt;
&lt;br /&gt;
Routes in &lt;span style=&quot;color: #4f81bd; font-family: HE_TERMINAL; font-size: 9pt;&quot;&gt;&lt;em&gt;/etc/sysconfig/network/routes&lt;/em&gt;&lt;/span&gt; file&lt;br /&gt;
&lt;br /&gt;
Status of the Network: &lt;span style=&quot;color: #4f81bd; font-family: HE_TERMINAL; font-size: 9pt;&quot;&gt;&lt;em&gt;ifstatus &amp;lt;network interface name&amp;gt;&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Bring down netowork – &lt;span style=&quot;color: #4f81bd; font-family: HE_TERMINAL; font-size: 9pt;&quot;&gt;&lt;em&gt;ifdown &amp;lt;network interface name&amp;gt;&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Bring up network – &lt;span style=&quot;color: #4f81bd; font-family: HE_TERMINAL; font-size: 9pt;&quot;&gt;&lt;em&gt;ifup &amp;lt;network interface name&amp;gt;&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #4f81bd; font-family: HE_TERMINAL; font-size: 9pt;&quot;&gt;&lt;em&gt;YaST &lt;/em&gt;&lt;/span&gt;– configuration tool for SuSE – pretty much all the system configuration can be done from this tool&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h1&gt;Generic  LVM commands in Linux:&lt;br /&gt;
&lt;/h1&gt;List the physical disks installed:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #4f81bd; font-family: HE_TERMINAL; font-size: 9pt;&quot;&gt;&lt;em&gt;# fdisk –l&lt;br /&gt;
&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
Create Physical Volume (initialize physical disk for LVM)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #4f81bd; font-family: HE_TERMINAL; font-size: 9pt;&quot;&gt;&lt;em&gt;# pvcreate /dev/sdc&lt;/em&gt;&lt;/span&gt; [or any free device name]&lt;br /&gt;
&lt;br /&gt;
Create Volume group&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #4f81bd; font-family: HE_TERMINAL; font-size: 9pt;&quot;&gt;&lt;em&gt;# vgcreate myvg /dev/sdc&lt;br /&gt;
&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
Create Logical Volume:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #4f81bd; font-family: HE_TERMINAL; font-size: 9pt;&quot;&gt;&lt;em&gt;# lvcreate –L 3G –n mylv myvg&lt;br /&gt;
&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
Display Commands&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #4f81bd; font-family: HE_TERMINAL; font-size: 9pt;&quot;&gt;&lt;em&gt;# pvdisplay&lt;br /&gt;
&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #4f81bd; font-family: HE_TERMINAL; font-size: 9pt;&quot;&gt;&lt;em&gt;# vgdisplay&lt;br /&gt;
&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #4f81bd; font-family: HE_TERMINAL; font-size: 9pt;&quot;&gt;&lt;em&gt;# lvdisplay&lt;br /&gt;
&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
Create ext3 filesystem:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #4f81bd; font-family: HE_TERMINAL; font-size: 9pt;&quot;&gt;&lt;em&gt;# mkfs.ext3 mylv&lt;br /&gt;
&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;em&gt;[&lt;br /&gt;
&lt;/em&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;em&gt;This filesystem will be automatically checked every 31 mounts or&lt;br /&gt;
&lt;/em&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;em&gt;180 days, whichever comes first.  Use tune2fs -c or -i to override.&lt;br /&gt;
&lt;/em&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;em&gt;]&lt;br /&gt;
&lt;/em&gt;&lt;/blockquote&gt;&lt;/span&gt;&lt;span xmlns=&quot;&quot;&gt;Check file system:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #4f81bd; font-family: HE_TERMINAL; font-size: 9pt;&quot;&gt;&lt;em&gt;# e2fsck –f /dev/myvg/mylv&lt;br /&gt;
&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
Extend LV:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #4f81bd; font-family: HE_TERMINAL; font-size: 9pt;&quot;&gt;&lt;em&gt;# lvextend –L2G /dev/myvg/mylv&lt;br /&gt;
&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
Resize the file system that is using the LV:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #4f81bd; font-family: HE_TERMINAL; font-size: 9pt;&quot;&gt;&lt;em&gt;# resize2fs /dev/myvg/mylv&lt;br /&gt;
&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;Remove LV:&lt;/span&gt;&lt;br /&gt;
&lt;span xmlns=&quot;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span xmlns=&quot;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;i&gt;# lvremove /dev/myvg/mylv&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span xmlns=&quot;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span xmlns=&quot;&quot;&gt;Change LV properties:&lt;/span&gt;&lt;br /&gt;
&lt;span xmlns=&quot;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span xmlns=&quot;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;# lvchange&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span xmlns=&quot;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span xmlns=&quot;&quot;&gt;To deactivate a LV:&lt;/span&gt;&lt;br /&gt;
&lt;span xmlns=&quot;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span xmlns=&quot;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;# lvchange -an /dev/myvg/mylv&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span xmlns=&quot;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span xmlns=&quot;&quot;&gt;Display all the LVs in a Volume Group (more verbose information):&lt;/span&gt;&lt;br /&gt;
&lt;span xmlns=&quot;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span xmlns=&quot;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;# vgdisplay -v myvg&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span xmlns=&quot;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
Rescan for new disks:&lt;br /&gt;
&lt;span xmlns=&quot;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;echo &quot;- - -&quot; &amp;gt; /sys/class/scsi_host/host0/scan&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/745316639221892308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/745316639221892308'/><link rel='alternate' type='text/html' href='http://asrtechnotes.blogspot.com/2010/08/suse-linux.html' title='Linux Commands'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6489538435035165830.post-6254014626555997735</id><published>2010-05-27T15:13:00.001-07:00</published><updated>2010-06-11T15:01:34.696-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OSSEC"/><category scheme="http://www.blogger.com/atom/ns#" term="security"/><title type='text'>OSSEC: Invalid integrity message in t...</title><content type='html'>&lt;div style=&quot;background-color: transparent; margin-left: 0px; margin-right: 0px;&quot;&gt;&lt;h3&gt;OSSEC: Invalid integrity message in the database&lt;/h3&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;
To clear this message, clear the syscheck database&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: medium;&quot;&gt;#/var/ossec/bin/ossec-control stop&lt;br /&gt;
#/var/ossec/bin/syscheck_update -a&lt;br /&gt;
#/var/ossec/bin/ossec-control start&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/6254014626555997735'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/6254014626555997735'/><link rel='alternate' type='text/html' href='http://asrtechnotes.blogspot.com/2010/05/ossec-invalid-integrity-message-in-t.html' title='OSSEC: Invalid integrity message in t...'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6489538435035165830.post-4070265801141243710</id><published>2010-05-27T01:43:00.000-07:00</published><updated>2010-05-27T01:43:02.736-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="announcement"/><category scheme="http://www.blogger.com/atom/ns#" term="general"/><title type='text'>Tweet up!</title><content type='html'>Created a new &lt;a href=&quot;http://www.twitter.com/asrtechnotes&quot;&gt;Twitter&lt;/a&gt;&amp;nbsp;account to publish tweets about the notes published on this site.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/4070265801141243710'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/4070265801141243710'/><link rel='alternate' type='text/html' href='http://asrtechnotes.blogspot.com/2010/05/tweet-up.html' title='Tweet up!'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-6489538435035165830.post-207606903586226674</id><published>2010-05-25T01:06:00.001-07:00</published><updated>2010-06-11T14:41:21.159-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="SSL"/><title type='text'>Code to check SSL Client Certificate ...</title><content type='html'>&lt;b&gt;Code to check SSL Client Certificate Expiration remotely&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;Language: C# (C Sharp) using &lt;a href=&quot;http://www.microsoft.com/express/downloads/&quot; id=&quot;oq0e&quot; title=&quot;Visual Studio Express Downloads&quot;&gt;MS Visual Studio Express 2010&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
Reference:&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.net.servicepointmanager.servercertificatevalidationcallback(VS.85).aspx&quot; id=&quot;zmmk&quot; title=&quot;System.Net.ServicePointManager&quot;&gt;System.Net.ServicePointManager&lt;/a&gt;, another sample code from &lt;a href=&quot;http://stackoverflow.com/questions/361686/how-do-you-track-hosting-domain-ssl-certificate-expiry-dates-for-customers&quot; id=&quot;x6.s&quot; title=&quot;stackOverflow&quot;&gt;stackOverflow&lt;/a&gt;&lt;br /&gt;
&lt;hr /&gt;&lt;div&gt;Code:&lt;/div&gt;&lt;div align=&quot;left&quot;&gt;&lt;table border=&quot;1&quot; bordercolor=&quot;#000000&quot; cellpadding=&quot;3&quot; cellspacing=&quot;0&quot; id=&quot;y8qj&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td width=&quot;100%&quot;&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;using System;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;using System.Collections.Generic;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;using System.Linq;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;using System.Text;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;using System.Net;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;using System.Diagnostics;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;namespace CertCheck&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;class Program&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;static void Main(string[] args)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//Get URL from command line to check&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (args.Length==0)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Console.WriteLine(&quot;Usage: CertCheck &amp;lt;https://url&amp;gt; [-v]&quot;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Console.WriteLine(&quot;Enter an url with https prefix&quot;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Console.WriteLine(&quot;Add -v for verbose output. &amp;nbsp;By default, this will print just the number of days on the console&quot;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string https_url = args[0];&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bool bVerbose=false;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (args.Length &amp;gt; 1)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (args[1] == &quot;-v&quot;)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bVerbose = true;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;HttpWebRequest http_req = null;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//Define the Certificate Verification Callback method&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ServicePointManager.ServerCertificateValidationCallback = (state,cert,certChain,sslerr)=&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DateTime certExpirationDate= DateTime.Parse(cert.GetExpirationDateString());&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (bVerbose)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Console.WriteLine(&quot;Certificate Expires in {0} days on {1}&quot;, certExpirationDate.Subtract(DateTime.Now).Days,certExpirationDate.ToShortDateString());&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Console.WriteLine(&quot;Certificate Serial Number: {0}&quot;,cert.GetSerialNumberString());&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Console.WriteLine(&quot;Certificate Issued to: {0}&quot;,cert.Subject);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Console.WriteLine(certExpirationDate.Subtract(DateTime.Now).Days);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return true;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;};&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//Connect to the URL to validate the certificate&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;http_req=(HttpWebRequest)HttpWebRequest.Create(https_url);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;HttpWebResponse http_resp = (HttpWebResponse)http_req.GetResponse();&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;http_resp.Close();&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;catch (Exception http_excep)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Debug.WriteLine(&quot;Error Checking site {0} : {1}&quot;,https_url,http_excep.ToString());&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;br /&gt;
Please feel free to modify the code to fit your needs.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/207606903586226674'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6489538435035165830/posts/default/207606903586226674'/><link rel='alternate' type='text/html' href='http://asrtechnotes.blogspot.com/2010/05/code-to-check-ssl-client-certificate.html' title='Code to check SSL Client Certificate ...'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>