<?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: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-15827798</id><updated>2011-11-27T16:20:21.090-08:00</updated><category term='ACL'/><category term='cdrom'/><category term='Performance'/><category term='DNS'/><category term='HEA'/><category term='Perl Module'/><category term='wtmp'/><category term='VG'/><category term='device'/><category term='getty'/><category term='storage'/><category term='errpt'/><category term='disk'/><category term='lvm'/><category term='upgrade'/><category term='TCPIP'/><category term='restore'/><category term='ESS'/><category term='mkvdev'/><category term='Power5'/><category term='lsof'/><category term='hostname'/><category term='printer'/><category term='HACMP'/><category term='ODM'/><category term='firmware'/><category term='Total Storage'/><category term='Sun Remote System Control'/><category term='ndd'/><category term='LED'/><category term='LV'/><category term='solaris'/><category term='VMM'/><category term='uninstall'/><category term='backup'/><category term='lifecycle'/><category term='SSH'/><category term='runq'/><category term='LPAR'/><category term='multibos'/><category term='security'/><category term='IP alias'/><category term='ssh-agent'/><category term='lofiadm'/><category term='Perl'/><category term='NPIV'/><category term='kdb'/><category term='memory'/><category term='sendmail'/><category term='savevg'/><category term='Best Practices'/><category term='lppchk'/><category term='NFS'/><category term='I/O'/><category term='compatibility'/><category term='subnet'/><category term='VIOS'/><category term='NIC'/><category term='Dynamic'/><category term='network'/><category term='dhcp'/><category term='Live Partition Mobility'/><category term='SSA'/><category term='error'/><category term='cfgmgr'/><category term='Installation'/><category term='users'/><category term='SEA'/><category term='etherchannel'/><category term='RAID5'/><category term='support'/><category term='admin'/><category term='Power VM'/><category term='permission'/><category term='trace'/><category term='iso'/><category term='dump'/><category term='GNU'/><category term='mksysb'/><category term='AIX 5.3'/><category term='bosboot'/><category term='console'/><category term='synchronize'/><category term='commands'/><category term='mkvgdata'/><category term='oslevel'/><category term='telnet'/><category term='tuning'/><category term='patching'/><category term='port'/><category term='Downloads'/><category term='Freeware'/><category term='VxVM'/><category term='scripts'/><category term='update'/><category term='Filesystem'/><category term='time zone'/><category term='topas'/><category term='netstat'/><category term='iptrace'/><category term='installp'/><category term='login'/><category term='process'/><category term='RSC'/><category term='mount'/><category term='Recovery'/><category term='migration'/><category term='jfs2'/><category term='update boot'/><category term='JFS to JFS2 conversion'/><category term='openssh'/><category term='NIM'/><category term='respawn'/><category term='HMC'/><category term='IVM.CLI'/><category term='Veritas Volume Manager'/><category term='kernel'/><category term='jfs'/><category term='AIX 6.1'/><category term='routing'/><category term='Atape'/><category term='Power6'/><category term='ftp'/><category term='problem'/><category term='backupios'/><title type='text'>AIX UNIX system administration</title><subtitle type='html'>IBM AIX/UNIX system storage administration
ksh/perl scripting</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default?start-index=101&amp;max-results=100'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>107</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-15827798.post-3839332727518318240</id><published>2010-03-20T19:13:00.001-07:00</published><updated>2010-03-20T19:14:42.176-07:00</updated><title type='text'>My blog has moved to aixmind.com, please visit my new site!</title><content type='html'>&lt;div style="color: red; font-family: Verdana,sans-serif;"&gt;&lt;span style="font-size: x-large;"&gt;&lt;b&gt;&lt;a href="http://aixmind.com/"&gt;aixmind.com&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-3839332727518318240?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/3839332727518318240/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=3839332727518318240' title='36 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/3839332727518318240'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/3839332727518318240'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2010/03/my-blog-has-moved-to-aixmindcom-please.html' title='My blog has moved to aixmind.com, please visit my new site!'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>36</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-3781049426322124743</id><published>2010-03-16T13:02:00.003-07:00</published><updated>2010-03-16T20:58:48.015-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='respawn'/><category scheme='http://www.blogger.com/atom/ns#' term='wtmp'/><title type='text'>Command Respawning Too Rapidly From init, wtmp Filling Up</title><content type='html'>&lt;table border="0" cellpadding="0" cellspacing="0" style="width: 600px;"&gt;&lt;tbody&gt;&lt;tr&gt; &lt;td width="600"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr valign="top"&gt;&lt;td width="595"&gt;&lt;table border="0" cellpadding="0" cellspacing="0" style="width: 600px;"&gt;&lt;tbody&gt;&lt;tr&gt; &lt;td class="v14-header-1efix" height="19" valign="top" width="600"&gt;&lt;b&gt;&amp;nbsp;Technote (FAQ)&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td height="20" valign="bottom" width="600"&gt;&lt;b&gt;Question&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td width="600"&gt;How can I find out what command is respawning too rapidly and filling up my wtmp file?  &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td width="595"&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td height="20" valign="bottom" width="600"&gt;&lt;b&gt;Answer&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td width="600"&gt;A common situation is that the init process is repeatedly attempting to start a failing process.  The init man page describes what happens when init finds an entry is being respawned:&lt;br /&gt;&lt;br /&gt;If the init command finds that it is continuously running an entry in&lt;br /&gt;&lt;br /&gt;the /etc/inittab file (more than five times in 225 seconds), it assumes&lt;br /&gt;&lt;br /&gt;that an error in the entry command string exists. It then prints an&lt;br /&gt;&lt;br /&gt;error message to the console and logs an error in the system error log.&lt;br /&gt;&lt;br /&gt;After the message is sent, the entry does not run for 60 seconds. If&lt;br /&gt;&lt;br /&gt;the error continues to occur, the command will respawn the entry only&lt;br /&gt;&lt;br /&gt;five times every 240 seconds. The init command continues to assume an&lt;br /&gt;&lt;br /&gt;error occurred until the command does not respond five times in the&lt;br /&gt;&lt;br /&gt;interval, or until it receives a signal from a user. The init command&lt;br /&gt;&lt;br /&gt;logs an error for only the first occurrence of the error.&lt;br /&gt;To find out what is being respawned use the steps below.&lt;br /&gt;&lt;br /&gt;1. Check the console or console logs&lt;br /&gt;&lt;br /&gt;Check on the console to see if init is writing an error message similar to the one below:&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;0 Thu Jan 22 10:16:27 EST 2009 &lt;br /&gt;&lt;br /&gt;INIT: Command is respawning too rapidly. Check for possible errors.&lt;br /&gt;&lt;br /&gt;id: &amp;nbsp;xvfb "/usr/bin/X11/X -force -vfb -x abx -x dbe -x GLX :1 &amp;amp;"&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;Or search through the console log using the alog command: &lt;br /&gt;# alog -t console -o | more &lt;br /&gt;2. Check errpt &lt;br /&gt;Next there may be an entry in the errpt output with the label "INIT_RAPID" like below:&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;LABEL:    INIT_RAPID&lt;br /&gt;&lt;br /&gt;IDENTIFIER:   3A30359F&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Date/Time: &amp;nbsp; &amp;nbsp; &amp;nbsp; Wed Jan 28 10:14:17 2009&lt;br /&gt;&lt;br /&gt;Sequence Number: 1789&lt;br /&gt;&lt;br /&gt;Machine Id: &amp;nbsp; &amp;nbsp; &amp;nbsp;00CC2F914C00&lt;br /&gt;&lt;br /&gt;Node Id: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libgng&lt;br /&gt;&lt;br /&gt;Class: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; S&lt;br /&gt;&lt;br /&gt;Type: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TEMP&lt;br /&gt;&lt;br /&gt;Resource Name: &amp;nbsp; init&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Description&lt;br /&gt;&lt;br /&gt;SOFTWARE PROGRAM ERROR&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Probable Causes&lt;br /&gt;&lt;br /&gt;SOFTWARE PROGRAM&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;User Causes&lt;br /&gt;&lt;br /&gt;PERFORMANCE DEGRADED&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Recommended Actions&lt;br /&gt;&lt;br /&gt;REVIEW DETAILED DATA&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Detail Data&lt;br /&gt;&lt;br /&gt;SOFTWARE ERROR CODE&lt;br /&gt;&lt;br /&gt;Command is respawning too rapidly. Check for possible errors.&lt;br /&gt;&lt;br /&gt;COMMAND&lt;br /&gt;&lt;br /&gt;id: &amp;nbsp;xvfb "/usr/bin/X11/X -force -vfb -x abx -x dbe -x GLX :1 &amp;amp;"&lt;br /&gt;&lt;br /&gt;&lt;/tt&gt;Both messages clearly identify the failing command that is being run out of the /etc/inittab file. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3. Check the wtmp file &lt;br /&gt;If the warning messages are not noticed on the system console or in errpt, the next indication of he problem may be that the /var file system is filling up. This is a result of init creating an entry in /var/adm/wtmp file during each attempt to start the problem process.  See below for a procedure to format the wtmp file in readable characters for diagnosis.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This technique makes use of the fwtmp utility which is part of the &lt;tt&gt;bos.acct&lt;/tt&gt; fileset.&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;# lslpp -w /usr/sbin/acct/fwtmp&lt;br /&gt;&lt;br /&gt;File &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fileset &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Type&lt;br /&gt;&lt;br /&gt;------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;/usr/sbin/acct/fwtmp &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bos.acct &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;File&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;What's In The wtmp File&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The actual content of the wtmp is not viewable, as the wtmp entries are written as binary structures (see /usr/include/utmp.h for the format). The fwtmp utility can be used to extract the contents into a human readable format.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For example we redirect the the contents of the /var/adm/wtmp file:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# /usr/sbin/acct/fwtmp  &amp;lt; /var/adm/wtmp--&amp;gt; /tmp/wtmp_readable&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;At quick cat of the /tmp/wtmp_readable file and we find that the&lt;br /&gt;&lt;br /&gt;file mainly consists of the following entries:&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;xvfb &amp;nbsp; xvfb &amp;nbsp; 5 319596 0000 0000 1078170250 &amp;nbsp; &amp;nbsp;Mon Mar &amp;nbsp;1 11:44:10 2004&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; xvfb &amp;nbsp; 8 319596 0000 0001 1078170250 &amp;nbsp; &amp;nbsp;Mon Mar &amp;nbsp;1 11:44:10 2004&lt;br /&gt;&lt;br /&gt;xvfb &amp;nbsp; xvfb &amp;nbsp; 5 319598 0000 0000 1078170250 &amp;nbsp; &amp;nbsp;Mon Mar &amp;nbsp;1 11:44:10 2004&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; xvfb &amp;nbsp; 8 319598 0000 0001 1078170250 &amp;nbsp; &amp;nbsp;Mon Mar &amp;nbsp;1 11:44:10 2004&lt;br /&gt;&lt;br /&gt;&lt;/tt&gt;The first numeric column shows us the &lt;tt&gt;ut_type&lt;/tt&gt; of entry, as defined in the &lt;tt&gt;utmp.h&lt;/tt&gt; header file.  The interesting types in our case are:&lt;tt&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#define INIT_PROCESS &amp;nbsp; &amp;nbsp;5 &amp;nbsp; &amp;nbsp;/* Process spawned by "init" */&lt;br /&gt;&lt;br /&gt;#define LOGIN_PROCESS &amp;nbsp; 6 &amp;nbsp; &amp;nbsp;/* A "getty" process waiting for login */&lt;br /&gt;&lt;br /&gt;#define USER_PROCESS &amp;nbsp; &amp;nbsp;7 &amp;nbsp; &amp;nbsp;/* A user process */&lt;br /&gt;&lt;br /&gt;#define DEAD_PROCESS &amp;nbsp; &amp;nbsp;8&lt;br /&gt;&lt;br /&gt;&lt;/tt&gt;In this example the "xvfb" entry is being started by init (signified by the "5" in column 3) and in the next line it's dying (ut_type = 8)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A quick check of the inittab file we find our problem:&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;# grep xvfb /etc/inittab&lt;br /&gt;&lt;br /&gt;xvfb:2:respawn:/usr/bin/X11/X -force -vfb -x abx -x dbe -x GLX :1 &amp;amp;&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In this case, the xvfb entry was starting an X terminal server daemon.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SOLUTION&lt;br /&gt;&lt;br /&gt;The solution would then to resolve the command problem or change the entry in inittab from respawn to off using the chitab utility:&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;# chitab xvfb:2:off:'/usr/bin/X11/X -force -vfb -x abx -x dbe -x GLX :1 &amp;amp;'&lt;/tt&gt; &lt;br /&gt;In this specific case the trailing "&amp;amp;" sign was removed from the X Server command and it started up normally. &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td width="595"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td width="595"&gt;&lt;table border="0" cellpadding="0" cellspacing="0" style="width: 600px;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td width="595"&gt;&lt;table border="0" cellpadding="0" cellspacing="0" style="width: 600px;"&gt;&lt;tbody&gt;&lt;tr&gt; &lt;td height="20" valign="bottom" width="600"&gt;&lt;b&gt;Historical Number&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td width="600"&gt;aix/tty/8  &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;td&gt;&lt;/td&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-3781049426322124743?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/3781049426322124743/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=3781049426322124743' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/3781049426322124743'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/3781049426322124743'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2010/03/command-respawning-too-rapidly-from.html' title='Command Respawning Too Rapidly From init, wtmp Filling Up'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-8265979101649146039</id><published>2010-03-16T13:02:00.001-07:00</published><updated>2010-03-16T21:01:15.669-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='permission'/><category scheme='http://www.blogger.com/atom/ns#' term='ACL'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><title type='text'>How to Apply ACL to New Files Automatically</title><content type='html'>&lt;table border="0" cellpadding="0" cellspacing="0" style="width: 700px;"&gt;&lt;tbody&gt;&lt;tr&gt; &lt;td width="700"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr valign="top"&gt;&lt;td width="695"&gt;&lt;table border="0" cellpadding="0" cellspacing="0" style="width: 700px;"&gt;&lt;tbody&gt;&lt;tr&gt; &lt;td class="v14-header-1efix" height="19" valign="top" width="700"&gt;&lt;b&gt;&amp;nbsp;Technote (FAQ)&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td height="20" valign="bottom" width="700"&gt;&lt;b&gt;Question&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td width="700"&gt;How can I set up a directory that will automatically apply ACLs (Access Control Lists)?&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td width="695"&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td height="20" valign="bottom" width="700"&gt;&lt;b&gt;Answer&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td width="700"&gt;Using an ACL is a way to set restrictions on the use of a file beyond the standard AIX or Unix discretionary access control.  These can be set on an individual or group basis, and rights can be given or taken away as needed.&lt;br /&gt;The concept of having a directory with ACLs on it, and then automatically applying those ACLs to any files created in that directory is called inheritance.  AIX ACLs do not support inheritance, but NFSV4 ACLs do.  NFSV4 ACL is platform-independent, so it can be supported on many clients or servers.&lt;br /&gt;&lt;br /&gt;Most filesystem types in AIX do not support NFSV4 ACLs.  CFS, UDF, JFS, and JFS2 with extended attribute version 1 (EAv1) do not support these.  However JFS2 filesystems using EAv2 do, so they can be used for this purpose.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. Use a JFS2 filesystem&lt;br /&gt;&lt;br /&gt;If you have an existing JFS2 filesystem that can be used, or create one if you do not have one already&lt;br /&gt;&lt;br /&gt;# crfs -v jfs2 -g datavg -m /myfs -A yes -a size=2G&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2. Change the filesystem to use Extended Attributes Version 2&lt;br /&gt;&lt;br /&gt;# chfs -a ea=v2 /myfs&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3. Create a directory, or identify an existing directory&lt;br /&gt;&lt;br /&gt;# cd /myfs &lt;br /&gt;# mkdir newdir&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4. Convert the directory to use NFS4 ACLs:&lt;br /&gt;&lt;br /&gt;# aclconvert -t NFS4 newdir&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;5. Edit the ACL&lt;br /&gt;&lt;br /&gt;# export EDITOR=/usr/bin/vi&lt;br /&gt;# acledit newdir&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You should see this in the file:&lt;br /&gt;&lt;br /&gt;*&lt;br /&gt;* ACL_type   NFS4&lt;br /&gt;*&lt;br /&gt;*&lt;br /&gt;* Owner: root&lt;br /&gt;* Group: system&lt;br /&gt;*&lt;br /&gt;s:(OWNER@):     a       rwpRWxDaAdcCs&lt;br /&gt;s:(OWNER@):     d       o&lt;br /&gt;s:(GROUP@):     a       rRxadcs&lt;br /&gt;s:(GROUP@):     d       wpWDACo&lt;br /&gt;s:(EVERYONE@):  a       rRxadcs&lt;br /&gt;s:(EVERYONE@):  d       wpWDACo&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To allow inheritance for all files and directories underneath this dir, add the strings "fi" (for files) and "di" (for directories) to any ACLs you create.  Those ACLs will be propagated to each file created from now on.&lt;br /&gt;&lt;br /&gt;*&lt;br /&gt;* ACL_type   NFS4&lt;br /&gt;*&lt;br /&gt;*&lt;br /&gt;* Owner: root&lt;br /&gt;* Group: system&lt;br /&gt;*&lt;br /&gt;&lt;b&gt;s:(OWNER@):     a       rwpRWxDaAdcCs   fidi&lt;/b&gt;&lt;br /&gt;s:(OWNER@):     d       o&lt;br /&gt;s:(GROUP@):     a       rRxadcs&lt;br /&gt;s:(GROUP@):     d       wpWDACo&lt;br /&gt;s:(EVERYONE@):  a       rRxadcs&lt;br /&gt;s:(EVERYONE@):  d       wpWDACo&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Create a file in your directory and check the ACL list on it:&lt;br /&gt;&lt;br /&gt;# cd newdir&lt;br /&gt;# touch newfile&lt;br /&gt;# aclget newfile&lt;br /&gt;&lt;br /&gt;*&lt;br /&gt;* ACL_type   NFS4&lt;br /&gt;*&lt;br /&gt;*&lt;br /&gt;* Owner: root&lt;br /&gt;* Group: system&lt;br /&gt;*&lt;br /&gt;s:(OWNER@):     a       rwpRWxDaAdcCs   fidi &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td width="695"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td width="695"&gt;&lt;table border="0" cellpadding="0" cellspacing="0" style="width: 700px;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;td&gt;&lt;/td&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-8265979101649146039?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/8265979101649146039/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=8265979101649146039' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/8265979101649146039'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/8265979101649146039'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2010/03/how-to-apply-acl-to-new-files.html' title='How to Apply ACL to New Files Automatically'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-8449867132251383188</id><published>2010-03-16T12:56:00.001-07:00</published><updated>2010-03-16T12:56:55.346-07:00</updated><title type='text'>How to use netgroups with NFS without NIS</title><content type='html'>&lt;!--BEGIN MAIN BODY CONTENT--&gt; &lt;!--BEGIN CONTENT--&gt; &lt;h2&gt;Technote (FAQ)&lt;/h2&gt;&lt;div class="ibm-container-body" &gt;&lt;br /&gt; &lt;h2&gt;Question&lt;/h2&gt;&lt;p&gt;How to use netgroups with NFS without NIS? &lt;/p&gt;&lt;h2&gt;Answer&lt;/h2&gt;&lt;div class="ibm-domino-rtf" &gt;&lt;p&gt;1. Create /etc/netgroup file on NFS server &lt;br /&gt; &lt;br /&gt;Here's an example of a netgroup file that contains a group called &amp;quot;group1&amp;quot;, which consists of three hosts: &lt;br /&gt; &lt;br /&gt;# cat /etc/netgroup &lt;br /&gt; &lt;br /&gt;group1  (tcplabbso,,) (bonesbso,,) (srcmstrbso,,) &lt;br /&gt; &lt;br /&gt;For more specific information about the syntax of a netgroup file, please see the man page below: &lt;u&gt;&lt;br /&gt; &lt;/u&gt;&lt;a href="http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.nisplus/doc/nisplus/aptbls_netgroup.htm" &gt;&lt;u&gt;http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.nisplus/doc/nisplus/aptbls_netgroup.htm&lt;/u&gt;&lt;/a&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;2. Modify /etc/exports file (or use smitty) to specify access for netgroup, i.e.:&lt;br /&gt; &lt;br /&gt;# cat /etc/exports &lt;br /&gt; &lt;br /&gt;/tmp -sec=sys:krb5p:krb5i:krb5:dh,access=group1 &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;3. Unexport and re-export &lt;br /&gt; &lt;br /&gt;# exportfs -ua &lt;br /&gt; &lt;br /&gt;# exportfs -av &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;4. Test &lt;/p&gt;&lt;/div&gt;&lt;div class="ibm-domino-rtf" &gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ibm-container-body" &gt;&lt;/div&gt;&lt;!--END CONTENT--&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-8449867132251383188?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/8449867132251383188/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=8449867132251383188' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/8449867132251383188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/8449867132251383188'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2010/03/how-to-use-netgroups-with-nfs-without.html' title='How to use netgroups with NFS without NIS'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-4106161270687187482</id><published>2010-03-15T09:42:00.000-07:00</published><updated>2010-03-15T09:44:52.396-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mkvdev'/><category scheme='http://www.blogger.com/atom/ns#' term='error'/><category scheme='http://www.blogger.com/atom/ns#' term='SEA'/><title type='text'>mkvdev creating SEA adapter generates: 0514-040 Error initializing a device into the Kernel.</title><content type='html'>&lt;table border="0" cellpadding="0" cellspacing="0" style="width: 443px;"&gt;&lt;tbody&gt;&lt;tr&gt; &lt;td width="443"&gt;&lt;table border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr valign="top"&gt;&lt;td width="438"&gt;&lt;table border="0" cellpadding="0" cellspacing="0" style="width: 443px;"&gt;&lt;tbody&gt;&lt;tr&gt; &lt;td class="v14-header-1efix" height="19" valign="top" width="443"&gt;&lt;b&gt;&amp;nbsp;Technote (FAQ)&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td height="20" valign="bottom" width="443"&gt;&lt;b&gt;Question&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td width="443"&gt;Why am I getting this error when I am running my mkvdev command to create an SEA:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Method error (/usr/lib/methods/cfgsea):&lt;br /&gt;&lt;br /&gt;0514-040 Error initializing a device into the kernel.  &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td width="438"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td height="20" valign="bottom" width="443"&gt;&lt;b&gt;Answer&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td width="443"&gt;There are many things that can cause this error when creating a Shared Ethernet Adapter.    The main idea when troubleshooting the problem is to find out if something is locking down the underlying adapters that is keeping them from being able to be used in the SEA.  Here are some common things to check:&lt;br /&gt;1) #netstat -in  --&amp;gt; do you see any en or et network interfaces for any of the underlying adapters?  If so you will need to detach them from the system, and it is recommended to remove them so that they do not come back on a reboot.  Sample commands:  where X is the number of  the adapter&lt;br /&gt;&lt;br /&gt;#ifconfig enX down detach&lt;br /&gt;&lt;br /&gt;#rmdev -dl enX&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2)You will want to make sure all the ent adapters that are involved in the command are showing up as "available".  You can run this command to view the adapters and their state:&lt;br /&gt;&lt;br /&gt;#lsdev -Cc adapter |grep ent    &lt;br /&gt;&lt;br /&gt;3)  Make sure that the virtual adapter that is being used as the "trunk" adapter, i.e. the adapter that follows the -vadapter attribute, has the "access external networks" section checked in the radio box.  See below screen shot for example:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_8CqaOj8Gyds/S55javZ_DWI/AAAAAAAAAT8/0bwpclFlsRM/s1600-h/mkvdev.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="491" src="http://2.bp.blogspot.com/_8CqaOj8Gyds/S55javZ_DWI/AAAAAAAAAT8/0bwpclFlsRM/s640/mkvdev.gif" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;4)  Verify that the ent adapter is not being used by another device such as a etherchannel or another SEA adapter.  The only way to verify this is to check out the attributes of all the other SEA, and etherchannel adapters.  You can do this by running the following command in the oem_setup_env:  (where X is the number of the SEA or etherchannel you want to view)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#lsattr -El entX (where X = the number of the adapter)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;5)  Another way to cause this error is if the physical adapter and the virtual adapter "check_sum_offload" setting are not the same.  They must either both be yes or both be no.  The command to check this attribute is:&lt;br /&gt;&lt;br /&gt;#lsattr -El entX    (where X = the number of the adapter.  Run this on both the physical and virtual adapter to be used in the SEA)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;6)  If you are using an HEA adapter you will want to verify that your vio server is the promiscuous lpar for that physical port.  See DCF document: "&lt;b&gt;HEA / IVE Host Ethernet Adapter / Integrated Virtual Ethernet, Setting the Promiscuous Lpar&lt;/b&gt; ".&lt;br /&gt;&lt;br /&gt;&lt;a href="http://igets3.fishkill.ibm.com/DCF/isg/isgintra.nsf/all/T1010788?OpenDocument&amp;amp;Highlight=0,promiscuous"&gt;http://igets3.fishkill.ibm.com/DCF/isg/isgintra.nsf/all/T1010788?OpenDocument&amp;amp;Highlight=0,promiscuous&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;7)  Another way to get this error with an HEA is if the VIO server partition does not have enough physical memory.  The only way to determine if you need more physical memory to get past this error is to allocate some more memory to the lpar and re-activate.  Once this is done, re-try your mkvdev command.  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;8)  This is not a total comprehensive listing as there may not be any such thing.  This error message is very generic and new problems arise that can cause this message to be generated.  The most important thing to keep in mind when getting this error is that for some reason the adapters involved in creating the SEA are unable to be used for one reason or another.  Troubleshooting should be narrowed down to examine each adapter to find out what the problem may be.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;NOTE:  All commands in this document are to be run from the root prompt in "oem_setup_env" with the exception of the mkvdev command itself.  The mkvdev command needs to be run in the CLI environment.&lt;/b&gt; &lt;br /&gt;&lt;ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td width="438"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td width="438"&gt;&lt;table border="0" cellpadding="0" cellspacing="0" style="width: 443px;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-4106161270687187482?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/4106161270687187482/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=4106161270687187482' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/4106161270687187482'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/4106161270687187482'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2010/03/mkvdev-creating-sea-adapter-generates.html' title='mkvdev creating SEA adapter generates: 0514-040 Error initializing a device into the Kernel.'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_8CqaOj8Gyds/S55javZ_DWI/AAAAAAAAAT8/0bwpclFlsRM/s72-c/mkvdev.gif' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-964280958612719930</id><published>2010-03-15T09:21:00.000-07:00</published><updated>2010-03-15T09:27:15.519-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VIOS'/><category scheme='http://www.blogger.com/atom/ns#' term='backup'/><category scheme='http://www.blogger.com/atom/ns#' term='NIM'/><category scheme='http://www.blogger.com/atom/ns#' term='Installation'/><title type='text'>NIM installation and backup of the VIO server</title><content type='html'>&lt;table border="0" cellpadding="0" cellspacing="0" style="width: 443px;"&gt;&lt;tbody&gt;&lt;tr&gt; &lt;td width="443"&gt;&lt;table border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr valign="top"&gt;&lt;td width="438"&gt;&lt;table border="0" cellpadding="0" cellspacing="0" style="width: 443px;"&gt;&lt;tbody&gt;&lt;tr&gt; &lt;td class="v14-header-1efix" height="19" valign="top" width="443"&gt;&lt;b&gt;&amp;nbsp;Technote (FAQ)&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td height="20" valign="bottom" width="443"&gt;&lt;b&gt;Question&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td width="443"&gt;How do I backup and install VIOS using NIM?  &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td width="438"&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td height="20" valign="bottom" width="443"&gt;&lt;b&gt;Answer&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td width="443"&gt;&lt;code&gt;&lt;/code&gt; &lt;a href=""&gt;&lt;/a&gt;&lt;br /&gt;&lt;h2&gt;&lt;a href=""&gt;&lt;b&gt;&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;&lt;div align="”center”"&gt;&lt;a href=""&gt;&lt;b&gt;NIM installation and backup of the VIO server.&lt;/b&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href=""&gt;&lt;b&gt;&lt;/b&gt;&lt;/a&gt;&lt;/h2&gt;&lt;br /&gt;Introduction&lt;br /&gt;&lt;br /&gt;This guide is intended for those who are new to installing the VIO server using NIM.&lt;br /&gt;&lt;br /&gt;For a more advanced, “official,” or higher level NIM specific guide you can check out the recently released redbooks : &lt;br /&gt;NIM From A-Z in AIX 5L &lt;br /&gt;Just go to &lt;a href="http://www.redbooks.ibm.com/"&gt;http://www.redbooks.ibm.com/&lt;/a&gt; and type in SG24-7296-00 in the search field on the upper right hand side of the page.&lt;br /&gt;You can type SG24-7940-03 in the search field for the VIOS redbook &lt;br /&gt;&lt;br /&gt;I will try to keep this as reader friendly as possible. Feel free to make suggestions on how to improve this document, and if there are any procedures you would like to see added in the future, let me know and I’ll do my best to add these procedures. &lt;br /&gt;&lt;br /&gt;Finally, there always will be someone to tell you how you should appropriately type out “commands to be executed.” Some people prefer that commands are put in single quotes, others prefer that they’re in italics.....whenever there is an actual command to execute, the example of that command will look just like your command line interface on your AIX system.&lt;br /&gt;&lt;br /&gt;For example if I want you to do a listing of files in a directory I would have the example of :&lt;br /&gt;&lt;br /&gt;# ls -al&lt;br /&gt;&lt;br /&gt;I prefer to do it this way because this is exactly what you’ll see when you type it on your system....(and ok, it’s also easier to cut and paste the commands from my test system into this document once I’ve verified they work correctly). &lt;br /&gt;____________________________________________________________________________&lt;br /&gt;&lt;code&gt;&lt;/code&gt; &lt;a href=""&gt;&lt;/a&gt;&lt;br /&gt;&lt;h2&gt;&lt;a href=""&gt;&lt;b&gt;What this guide does and does not cover :&lt;/b&gt;&lt;/a&gt;&lt;/h2&gt;&lt;br /&gt;&lt;br /&gt;Does :&lt;br /&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=15827798&amp;amp;postID=964280958612719930#1"&gt;- Key words and definitions&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=15827798&amp;amp;postID=964280958612719930#2"&gt;- Setup of the client definition on the NIM master&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=15827798&amp;amp;postID=964280958612719930#3"&gt;- Setup of NIM resources&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href="http://www.blogger.com/post-edit.g?blogID=15827798&amp;amp;postID=964280958612719930#4"&gt;Copy the VIOS mksysb image from the CD to your NIM master&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href="http://www.blogger.com/post-edit.g?blogID=15827798&amp;amp;postID=964280958612719930#5"&gt;mksysb&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href="http://www.blogger.com/post-edit.g?blogID=15827798&amp;amp;postID=964280958612719930#6"&gt;SPOT&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href="http://www.blogger.com/post-edit.g?blogID=15827798&amp;amp;postID=964280958612719930#7"&gt;'bosinst_data' resource&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=15827798&amp;amp;postID=964280958612719930#8"&gt;- Installation of VIOS to NIM clients&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=15827798&amp;amp;postID=964280958612719930#9"&gt;- Backup of the VIO server using the "nim_resrouces.tar" package&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=15827798&amp;amp;postID=964280958612719930#10"&gt;- Frequently Asked Questions&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;--SMIT and Command line processes for most of the operations I cover&lt;br /&gt;&lt;br /&gt;Does not:&lt;br /&gt;- Any websm interface procedures on how to use NIM. Websm is not used enough to spend any time going into separate sections on how to use it.&lt;br /&gt;- NIM communication information (including nimsh and firewall issues)&lt;br /&gt;____________________________________________________________________________&lt;br /&gt;&lt;code&gt;&lt;/code&gt; &lt;br /&gt;&lt;h2&gt;&lt;b&gt;&lt;a href="" name="1"&gt;Key words and definitions :&lt;/a&gt;&lt;/b&gt;&lt;/h2&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you are unfamiliar with NIM I highly recommend reading through this section and also use it as a reference while reading through this guide. If you’re figuring, “eh he’ll explain all this later so I’ll just skip this part,” you will be flipping back to this.&lt;br /&gt;&lt;br /&gt;So this is sort of like a “reverse-glossary”. I’ll give the best and easiest to understand description of these terms so that you’ll hopefully have a much easier time understanding any new concepts you’re unfamiliar with. In all cases - actually using the files/keywords are handled in greater detail in their corresponding “How To...” sections.&lt;br /&gt;&lt;br /&gt;Important Files and Directories:&lt;br /&gt;&lt;br /&gt;- /etc/bootptab :&lt;br /&gt;This file will exist on the NIM master. In a quiet NIM environment with no operations that require a client to boot, this file will be empty (except for the pre-existing commented section). This file gets updated automatically by the NIM master when a NIM operation is executed that requires the client machine (from here on out referred to as the "VIO server") to boot from a NIM SPOT. If this file contains incorrect information about either the master or the VIO server, the boot operation will fail. While this file “can” be edited manually to fix a bootp issue - it should not be, as you are only applying a “band-aid” fix to an existing issue in your NIM environment....but, sometimes it’s 5pm on a Friday and you’re ready to go home, right ?&lt;br /&gt;(Also note related entry ‘bootp’)&lt;br /&gt;&lt;br /&gt;- /etc/exports :&lt;br /&gt;This is not a “NIM specific” file, it is a NIM critical file. Any sort of installation, boot, mksysb, savevg....etc operation requires the use of NFS. This file will be updated with which locations are NFS exported from the master to the VIO server and the permissions associated with those exports. If these entries are incorrect or incomplete you will run into boot failures, permission problems, and other errors commonly associated with NFS. This is a text file and also “can” be edited manually to sometimes “band-aid” a problem, but should only be done so with care in knowing exactly what you’re doing. The good thing is, if we mess up this file we can remove it and recycle NFS. The file can be recreated. &lt;br /&gt;&lt;br /&gt;- /etc/hosts : &lt;br /&gt;While not a “NIM specific” file, it is also a NIM critical file. This file is sort of like a phone book. It gives a relationship between a system’s hostname and an IP address. Much like a telephone, if you dial the wrong number you get the wrong person. In NIM, if your ip address does not match up to the correct hostname, your install fails. This is a text file and can be edited manually. There should also only be 1 entry per ip/hostname. I personally prefer to make sure my NIM master has all entries in the /etc/hosts file and are of the following format : &lt;br /&gt;&amp;lt;ipadress&amp;gt; &amp;lt;shortname&amp;gt; &amp;lt;longname&amp;gt;&lt;br /&gt;&lt;br /&gt;- /etc/niminfo: &lt;br /&gt;This file should always exist on the NIM master.  This file is built when you first initialize the NIM environment. This is simply a text file so feel free to ‘cat’ or ‘more’ the file and look at the entries included in there. You do not want to manually edit this file if there is a mistake in the definition of the master. In this case you will want to redefine the master, or use the feature in NIM to change the master’s attributes (hostname, gateway....etc). &lt;br /&gt;&lt;br /&gt;- /tftpboot : &lt;br /&gt;This directory holds the boot images, along with informational files about the VIO server that is being installed by the NIM master.  The file names that are generated generally look like this:&lt;br /&gt;VIO_SPOT.chrp.mp.ent   à  This is the boot image that will be used to boot the VIO server. &lt;br /&gt;The format for the file is:&lt;br /&gt;&amp;lt;spotname&amp;gt;.&amp;lt;system_architecture&amp;gt;.&amp;lt;processor_type&amp;gt;.&amp;lt;adapter_type&amp;gt;&lt;br /&gt;A &amp;lt;VIOserver_hostname&amp;gt; file is created and linked to the boot image on the NIM master&lt;br /&gt;Example: fork.austin.ibm.com (This is linked to the boot image. Example: VIO_SPOT.chrp.mp.ent)&lt;br /&gt;A VIO server info file will also be created and is named: &amp;lt;VIOserver_hostname&amp;gt;.info&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Important Keywords :&lt;br /&gt;&lt;br /&gt;Allocate/Allocation : &lt;br /&gt;This process is what allows your VIO server to access resources in NIM. The master uses NFS to perform the allocation process. You can see which resource types are allocated to your VIO server by using the following command :&lt;br /&gt;# lsnim -a spot&lt;br /&gt;VIOS-A:&lt;br /&gt;spot = VIOS-A_spot&lt;br /&gt;VIOS-B:&lt;br /&gt;spot = VIOS-B_spot&lt;br /&gt;VIOS-C:&lt;br /&gt;spot = VIOS-C_spot&lt;br /&gt;&lt;br /&gt;In this example environment we have 3 VIO servers defined as NIM clients. Since the SPOT resources are created from the mksysb image of a VIO server, giving the SPOT resource a descriptive name that relates back to the hostname of your VIO server is helpful. &lt;br /&gt;&lt;br /&gt;So we can see that ‘VIOS-A’ has a SPOT called “VIOS-A_spot”, ‘VIOS-B’ has a SPOT called “VIOS-B_spot, and ‘VIOS-C’ has a SPOT called “VIOS-C_spot”.  &lt;br /&gt;&lt;br /&gt;Base Operating System Installation : &lt;br /&gt;Also commonly called (and referred to from here on out) as a bos_inst operation. This simply refers to the fact that you are initiating a boot and installation to a VIO server. &lt;br /&gt;&lt;br /&gt;Bootp : &lt;br /&gt;This is the initial communication made between the NIM master and the VIO server during a boot or bosinst operation. In order for this to be successful several factors must be met : &lt;br /&gt;1. - bootpd must be running on the NIM master &lt;br /&gt;2. -You must have the correct IP information for the NIM master and target VIO server&lt;br /&gt;3. - the /etc/bootptab must be populated correctly &lt;br /&gt;4. - If the master and VIO server are on separate networks, the router must be set to forward bootp packets.&lt;br /&gt;There are other causes of failure, but checking/verifying those 4 will solve most bootp issues.&lt;br /&gt;&lt;br /&gt;Tftp (Trivial File Transfer Protocol):&lt;br /&gt;When the VIO server has been rebooted for a bos_inst operation you don’t have access to normal TCP communication. Once bootp connection has successfully been achieved, the NIM master uses tftp to transfer over the &amp;lt;clientname&amp;gt;.info file and the boot image to the VIO server.&lt;br /&gt;&lt;br /&gt;if1= : Or interface 1&lt;br /&gt;This is known as the ‘nim network’. Every machine, even the master, is placed on a defined NIM network. A machine who has multiple adapters defined to NIM will have “if2=” and “if3=”....etc attributes. When your NIM master is initialized, you will create a network name for the master and VIO server on the same subnet as the master. If you name this network “master_net” for example, then all VIO server NIM clients on the same subnet as the master will have their “if1=” line set to “master_net”. If you add additional VIO server NIM clients that are on separate subnets, then you will need to create new network names. You can see the “if1=” information from an :&lt;br /&gt;# lsnim -l master |more &lt;br /&gt;-or-&lt;br /&gt;# lsnim -l &amp;lt;client&amp;gt;&lt;br /&gt;&lt;br /&gt;You can get further information about the network name by running an ‘lsnim -l &amp;lt;network_name&amp;gt;’. &lt;br /&gt;Having incorrect networking information is probably the leading cause of NIM installation failures. This attribute and the information used when creating networks is extremely important to make sure you have correct.&lt;br /&gt;&lt;br /&gt;Client (NIM client) : &lt;br /&gt;A standalone VIO server, or lpar in a NIM environment, other than the NIM master.  Clients (VIO servers) use the resources that reside on the NIM master to be installed.&lt;br /&gt;&lt;br /&gt;Master (NIM master) : &lt;br /&gt;The only system in a NIM environment that has permission to run NIM commands remotely on other NIM clients (VIO servers).  A NIM client (VIO server) can only have one NIM master.  The NIM master must be at a level equal to or higher than the AIX level that is being installed (and accompanying VIOS software) to the VIO server.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The NIM master will also hold all of the NIM resources.  Due to this fact, you will want to make sure that the NIM master has plenty of space available for storing these resources.  It is ideal to have a separate volume group (example: nimvg) so that the rootvg does not get out of control in size.&lt;br /&gt;&lt;br /&gt;Resource (NIM resources) SPOT:&lt;br /&gt;The SPOT resource (stands for Shared Product Object Tree in case you were wondering) is responsible for the following : &lt;br /&gt;- Creating a boot image to send to the VIO server over the network.&lt;br /&gt;- Running the commands needed to install the VIO server.&lt;br /&gt;&lt;br /&gt;You will need to create a SPOT from your NIM VIOS mksysb resource. The VIOS mksysb contains all of the filesets and commands needed to create the SPOT.  A SPOT created from an AIX lpp_source is not a valid SPOT to use when installing a VIO server.  Essentially the SPOT is a /usr filesystem just like the one on your NIM master. You can think of it as having multiple “mini-systems” on your NIM master, because each SPOT is its own /usr filesystem.  Just like your NIM master’s /usr filesystem, going in there manually and messing around with files can easily corrupt it. The good thing about a SPOT however, is that it is easily rebuilt. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_8CqaOj8Gyds/S55fzoOvqUI/AAAAAAAAAT0/CxjHHJHqFjQ/s1600-h/vios_backup.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://2.bp.blogspot.com/_8CqaOj8Gyds/S55fzoOvqUI/AAAAAAAAAT0/CxjHHJHqFjQ/s400/vios_backup.jpg" width="335" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Resource (nim resources) mksysb :&lt;br /&gt;This is simply a a mksysb image of the VIO server.  The mksysb image resides on the NIM master, and the resource can be defined in one of two ways:&lt;br /&gt;-From an existing mksysb image residing on the NIM master already (extracted from a nim_resources.tar package).&lt;br /&gt;-From the mksysb image copied from the VIOS installation media on to hard disk (this is described in more detail later in this document).&lt;br /&gt;&lt;br /&gt;You can also back up an already existing VIO Server and a nim_resources.tar package is created.  The contents of this nim_resources.tar package can be stored on the NIM master for installations to new VIO servers, and also for the recovery of VIO servers using NIM.  The nim_resources.tar file contains all the necessary resources to restore the Virtual I/O server.  This includes the mksysb image, the bosinst.data file, the network boot image, and SPOT resource.  When the VIO server is backed up, the nim_resources.tar package will be stored on an NFS mounted file system.  More detailed steps for creating the nim_resources.tar file with the ‘backupios’ command will be given later in this document.&lt;br /&gt;Resource (nim resources) bosinst_data:&lt;br /&gt;When booting from an installation image to install a system, the system boots to what are known as the “BOS Menus” or Base Operating System Installation Menus.  Here is where you select your console, the language to use during the installation, and what disks to install to amongst other things.  When using NIM, a “bosinst_data” resource can be created, and it will answer all of the questions that are asked by the “BOS Menus” automatically.  This resource is used when installing to a NIM client that may be in another building, down the road or half way across the country.  This way, once you kick off the installation from the NIM master, there is no further interaction that is required.  The system should (ideally) install and reboot itself afterwards.&lt;br /&gt;&lt;br /&gt;Backupios (VIO server backup): &lt;br /&gt;The ‘backupios’ command will back up the Virtual I/O Server and user-defined virtual devices to tape, DVD, or a remote file system.You can back up the Virtual I/O Server and user-defined virtual devices using the backupios command.  &lt;br /&gt;A mksysb (as discussed above) has a “built in” bosinst.data file. If the option in that file &lt;br /&gt;(PROMPT =) is set to yes, this file really does nothing as the choices you make in the BOS menus will override the options in the file. However, if the mksysb was created to have that option set to no, then we can create a new bosinst_data resource which will trump the one that is part of the mksysb.&lt;br /&gt;____________________________________________________________________________&lt;br /&gt;&lt;code&gt;&lt;/code&gt; &lt;br /&gt;&lt;h2&gt;&lt;b&gt;&lt;a href="" name="2"&gt;Define the VIOS partition as a NIM client:&lt;/a&gt;&lt;/b&gt;&lt;/h2&gt;&lt;br /&gt;From command line :&lt;br /&gt;&lt;br /&gt;# nim -o define -t standalone -a platform=chrp -a if1="find_net lucidbso 0" -a netboot_kernel=mp -a connect=shell &amp;lt;clientname&amp;gt;&lt;br /&gt;&lt;br /&gt;Breaking down the command&lt;br /&gt;# nim -o define -t standalone : This is the NIM operation of defining an object of type=standalone.&lt;br /&gt;&lt;br /&gt;... -a platform=chrp : The platform type of the target system. &lt;br /&gt;&lt;br /&gt;...-a if1=”find_net lucidbso 0’ : Used when a client is part of an existing NIM network. In this case my NIM client belongs to my master’s NIM network (i.e. They’re on the same subnet) so I don’t need to give it further information. If this client needed to be on a new network then we would not use the “find_net” but rather the “net_definition=&amp;lt;value&amp;gt;.......” options where you’d need to specify “networktype” “subnetmask” “clientgateway” “networkname” attributes. &lt;br /&gt;&lt;br /&gt;... -a netboot_kernel=mp :This should always be set to mp for a multiprocessor and in the future they will probably have an mp64 option.&lt;br /&gt;&lt;br /&gt;... -a connect=shell : This will be the connection type used. You can either choose shell (rsh) or nimsh.&lt;br /&gt;&lt;br /&gt;... &amp;lt;clientname&amp;gt; : The clients resolvable hostname. &lt;br /&gt;&lt;br /&gt;From SMIT : &lt;br /&gt;&lt;br /&gt;# smitty nim_mkmac&lt;br /&gt;-or-&lt;br /&gt;# smitty nim &lt;br /&gt;==&amp;gt; Administration Tasks ==&amp;gt; Manage Machines ==&amp;gt; Define a Machine&lt;br /&gt;&lt;br /&gt;From here you are asked what the hostname of the NIM client (VIO server) is. If the master can resolve the client’s hostname and he already has a NIM network associated with the client’s network then it will “pre-generate” a final acceptance screen for you (see example 1). If the master does not already have a NIM network defined for this client, then you will be prompted for more information and be asked to create a new network for this new client (see example 2).&lt;br /&gt;&lt;br /&gt;1. &lt;br /&gt;* NIM Machine Name [clientname]&lt;br /&gt;* Machine Type [standalone]&lt;br /&gt;* Hardware Platform Type [chrp]    Make sure this is set to ‘chrp’&lt;br /&gt;Kernel to use for Network Boot [mp]&lt;br /&gt;Communication Protocol used by client []&lt;br /&gt;Primary Network Install Interface&lt;br /&gt;* Cable Type bnc&lt;br /&gt;Network Speed Setting []&lt;br /&gt;Network Duplex Setting []&lt;br /&gt;* NIM Network master_net&lt;br /&gt;* Host Name client_hostname&lt;br /&gt;Network Adapter Hardware Address [0]&lt;br /&gt;Network Adapter Logical Device Name []&lt;br /&gt;IPL ROM Emulation Device []&lt;br /&gt;CPU Id []&lt;br /&gt;Machine Group []&lt;br /&gt;Comments []&lt;br /&gt;&lt;br /&gt;Notice that you actually don’t have to fill in anything else as a required field. The master can resolve the VIO server's hostname, and he has put it on the same network (master_net) because in this case, the client and master are on the same network. &lt;br /&gt;I recommend leaving the optional fields blank as they currently &lt;br /&gt;Pressing &amp;lt;enter&amp;gt; from here will define the client.&lt;br /&gt;&lt;br /&gt;-or- &lt;br /&gt;1. &lt;br /&gt;* NIM Machine Name [clientname]&lt;br /&gt;* Machine Type [standalone]&lt;br /&gt;* Hardware Platform Type [chrp]&lt;br /&gt;Kernel to use for Network Boot [mp]&lt;br /&gt;Communication Protocol used by client []&lt;br /&gt;Primary Network Install Interface&lt;br /&gt;* Cable Type bnc&lt;br /&gt;Network Speed Setting []&lt;br /&gt;Network Duplex Setting []&lt;br /&gt;* NIM Network [10_14_20_Net]&lt;br /&gt;* Network Type ent&lt;br /&gt;* Ethernet Type Standard&lt;br /&gt;* Subnetmask [255.255.254.0]&lt;br /&gt;* Default Gateway Used by Machine [10.14.20.1]&lt;br /&gt;* Default Gateway Used by Master [9.3.58.1]&lt;br /&gt;* Host Name clientname&lt;br /&gt;Network Adapter Hardware Address [0]&lt;br /&gt;Network Adapter Logical Device Name []&lt;br /&gt;IPL ROM Emulation Device []&lt;br /&gt;CPU Id []&lt;br /&gt;Machine Group []&lt;br /&gt;Comments []&lt;br /&gt;&lt;br /&gt;Notice that there is much more to fill out here, because we’re defining a new network within NIM. We’ll say my VIO server's ip = 10.14.20.34. I’m naming my NIM network 10_14_20_Net so that it is descriptive just by looking at the name. Also, any other VIO server on this same network will now be auto-defined on this new network and the SMIT screens will look like example 1 above. We’ll also need to enter my subnetmask and the gateway used by this client. The master’s gateway is filled in for you. Once this successfully completes I‘ll now have 2 NIM networks.......master_net and 10_14_20_Net. &lt;br /&gt;____________________________________________________________________________&lt;br /&gt;&lt;code&gt;&lt;/code&gt; &lt;br /&gt;&lt;h2&gt;&lt;b&gt;&lt;a href="" name="3"&gt;Setup of NIM resources:&lt;/a&gt;&lt;/b&gt;&lt;/h2&gt;&lt;br /&gt;Now that the client machine has been defined, you are ready to set up the resources needed for the VIOS install using NIM.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt; &lt;br /&gt;&lt;h2&gt;&lt;b&gt;&lt;a href="" name="4"&gt;Copy the VIOS mksysb image from the CD to your NIM master:&lt;/a&gt;&lt;/b&gt;&lt;/h2&gt;&lt;br /&gt;Mount the VIOS base CD and copy the VIOS mksysb image from the CD (in /usr/sys/inst.images) to your NIM master:&lt;br /&gt;# mount -o ro -v cdrfs /dev/cd0 /mnt&lt;br /&gt;# cd /mnt/usr/sys/inst.images&lt;br /&gt;# cp mksysb_image /export/mksysb/mksysb_image&lt;br /&gt;If using VIOS 1.5 or higher media, the mksysb file may be split into two parts.  To combine these two parts and copy them to hdisk, run the following:&lt;br /&gt;# cat /mnt/usr/sys/inst.images/mksysb_image /mnt/usr/sys/inst.images/mksysb_image2 &amp;gt; /dir/filename&lt;br /&gt;&lt;br /&gt;***you can substitute any path you would like to save the combined mksysb image, for ‘/export/mksysb_image&lt;br /&gt;&lt;code&gt;&lt;/code&gt; &lt;br /&gt;&lt;h2&gt;&lt;b&gt;&lt;a href="" name="5"&gt;Define the mksysb resource on the NIM master:&lt;/a&gt;&lt;/b&gt;&lt;/h2&gt;&lt;br /&gt;# nim -o define -t mksysb -a server=master -a location=/export/mksysb/mksysb_image&lt;br /&gt;VIOS_1_5&lt;br /&gt;-or-&lt;br /&gt;# smitty nim_mkres =&amp;gt; mksysb =&amp;gt;&lt;br /&gt;Define a Resource&lt;br /&gt;&lt;br /&gt;* Resource Name                                      [VIOS_1_5]      Give the resource a name    &lt;br /&gt;* Resource Type                                       mksysb&lt;br /&gt;* Server of Resource                                 [master]        +  Chose your NIM master  &lt;br /&gt;* Location of Resource   [/export/mksysb/mksysb_image] /    The full  path of the mksysb file copied to hdisk&lt;br /&gt;&lt;br /&gt;àLeave all other entries set to their default values&lt;br /&gt;&lt;code&gt;&lt;/code&gt; &lt;br /&gt;&lt;h2&gt;&lt;b&gt;&lt;a href="" name="6"&gt;Define a SPOT from the mksysb resource:&lt;/a&gt;&lt;/b&gt;&lt;/h2&gt;&lt;br /&gt;# nim -o define -t spot -a server=master -a location=/export/spot –a source= VIOS_1_5 VIOS_1_5_SPOT&lt;br /&gt;&lt;br /&gt;-or-&lt;br /&gt;&lt;br /&gt;# smitty nim_mkres =&amp;gt; spot =&amp;gt;&lt;br /&gt;Define a Resource&lt;br /&gt;* Resource Name                           [VIOS_1_5_spot]            give the spot a name&lt;br /&gt;* Resource Type                                       spot&lt;br /&gt;* Server of Resource                             [master]                +  chose your NIM master&lt;br /&gt;* Source of Install Images           [VIOS_1_5]                   +  select the mksysb resource&lt;br /&gt;* Location of Resource                     [/export/spot]             /  location to store the SPOT&lt;br /&gt;&lt;br /&gt;àLeave all other entries set to their default values&lt;br /&gt;&lt;code&gt;&lt;/code&gt; &lt;br /&gt;&lt;h2&gt;&lt;b&gt;&lt;a href="" name="7"&gt;Define the 'bosinst_data' resource on the NIM master:&lt;/a&gt;&lt;/b&gt;&lt;/h2&gt;&lt;br /&gt;You'll also want to copy the bosinst.data file from the CD media to the NIM master and define that as a resource:&lt;br /&gt;(If the CD has been mounted as described earlier, run the following command.  If the CD was mounted in a different way, then simply change directories to the mount point and copy the file)&lt;br /&gt;# cd /tmp&lt;br /&gt;# mkdir VIOS_bosinst&lt;br /&gt;# cp /mnt/bosinst.data /tmp/VIOS_bosinst&lt;br /&gt;# nim -o define -t bosinst_data -a server=master –a location=/tmp/VIOS_bosinst VIOS_1_5_bosinst_data&lt;br /&gt;&lt;br /&gt;-or-&lt;br /&gt;&lt;br /&gt;# smitty nim_mkres =&amp;gt; bosinst_data =&amp;gt;&lt;br /&gt;Define a Resource&lt;br /&gt;* Resource Name                        [VIOS_1_5_bosinst]     Give the resource a name&lt;br /&gt;* Resource Type                                       bosinst_data&lt;br /&gt;* Server of Resource                             [master]         +   chose the NIM master&lt;br /&gt;* Location of Resource      [/tmp/VIOS_bosinst/bosinst.data]  /  location of the file copied from CD&lt;br /&gt;&lt;br /&gt;àLeave all other entries set to their default values&lt;br /&gt;____________________________________________________________________________&lt;br /&gt;&lt;code&gt;&lt;/code&gt; &lt;br /&gt;&lt;h2&gt;&lt;b&gt;&lt;a href="" name="8"&gt;Perform the bos_inst operation to set up the NIM resources:&lt;/a&gt;&lt;/b&gt;&lt;/h2&gt;&lt;br /&gt;for the installation:&lt;br /&gt;# nim –o bos_inst –a source=mksysb –a spot=&amp;lt;spotname&amp;gt; -a accept_licenses=yes –a mksysb=&amp;lt;mksysbname&amp;gt;&lt;br /&gt;&lt;br /&gt;# smitty nim_bosinst =&amp;gt; select the nim client (VIOS lpar) from the list =&amp;gt; select ‘mksysb’ as the installation type =&amp;gt; select the VIOS mksysb from the list of mksysbs =&amp;gt; select the spot created from the VIOS mksysb =&amp;gt; &lt;br /&gt;Install the Base Operating System on Standalone Clients&lt;br /&gt;&lt;br /&gt;* Installation Target                                 VIOS-A&lt;br /&gt;* Installation TYPE                                   mksysb&lt;br /&gt;* SPOT                                                VIOS_1_5_spot&lt;br /&gt;LPP_SOURCE                                         []                      +&lt;br /&gt;MKSYSB                                              VIOS_1_5&lt;br /&gt;&lt;br /&gt;BOSINST_DATA to use during installation     [VIOS_1_5_bosinst]   +  Select the bosinst_data resource created from the VIOS mksysb&lt;br /&gt;&lt;br /&gt;ACCEPT new license agreements?                   [yes]                     +   Set to ‘no’ by    default so you must change to ‘yes’&lt;br /&gt;&lt;br /&gt;Initiate reboot and installation now?              [yes]                   +    Set to ‘no’ for the pull installation&lt;br /&gt;&lt;br /&gt;àLeave all other entries set to their default values&lt;br /&gt;&lt;br /&gt;7.  The master is set up....now what ?&lt;b&gt; &lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The NIM master is now ready and waiting for a bootp request from the VIO server. In order to do this we need to boot the VIO server into SMS (System Management Services). Depending on your machine type there are a few different ways to boot to SMS. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. Using a graphical terminal, during system boot you’ll see icons going across the bottom of the screen. Anytime after the “keyboard” icon and before the “speaker” icon you can press the F1 key to indicate that you wish to boot to SMS.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2. Using an ASCII terminal, during system boot you’ll see words come across the bottom of the screen. Anytime after the word “keyboard” and before the word “speaker” you can press the 1 key to indicate you wish to boot to SMS. This will be the 1 key on the number line, not on the number pad.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3. If you have an HMC managed environment, you can simply boot your VIOS server using the SMS profile. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you are one of those whose terminal seems to not come up in time to be able to see the icons or words come across the screen, the LED display during the time you have to press the appropriate button is E1F1. Also, sometimes you’ll notice on graphical systems it specifically asks for 1 instead of F1....it should display on the screen the correct button to press.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Your firmware level can depend on what sort of options you see in SMS. I don’t have access to all variations of the menu options, so I’ll just use the one my NIM master has. You should be able to navigate closely enough, as the wording should be similar.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;SMS - SYSTEM MANAGEMENT SERVICES -&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;1. Select Language&lt;br /&gt;&lt;br /&gt;2. Change Password Options&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3. View Error Log&lt;br /&gt;&lt;br /&gt;4. Setup Remote IPL (RIPL (Remote Initial Program Load))&lt;br /&gt;&lt;br /&gt;5. Change SCSI Settings&lt;br /&gt;&lt;br /&gt;6. Select Console&lt;br /&gt;&lt;br /&gt;7. Select Boot Options&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;First of all we need to provide the IP addresses necessary to tell the VIO server who he is, and where to boot from. &lt;br /&gt;&lt;b&gt;4. Setup Remote IPL (RIPL (Remote Initial Program Load))&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Next you’ll have a selection of adapters to use. Select your adapter that corresponds to the adapter/host you defined in NIM. You will not see “ent0/ent1...etc” options. You will however see the hardware addresses and slots.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;We then are brought to 3 options : &lt;br /&gt;&lt;br /&gt;1. IP Parameters&lt;br /&gt;&lt;br /&gt;2. Adapter Configuration&lt;br /&gt;&lt;br /&gt;3. Ping Test&lt;br /&gt;&lt;br /&gt;Chose the option to set the IP Parameters&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now we need to set our IP Parameters.&lt;br /&gt;&lt;br /&gt;1. Client IP Address [###.###.###.###]&lt;br /&gt;&lt;br /&gt;2. Server IP Address [###.###.###.###]&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3. Gateway IP Address [###.###.###.###]&lt;br /&gt;&lt;br /&gt;4. Subnet Mask [###.###.###.###]&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Enter the correct addresses for each field. &lt;br /&gt;&lt;br /&gt;**VERY IMPORTANT**&lt;br /&gt;&lt;br /&gt;If your NIM master and client are on the SAME subnet, then you will set the &lt;b&gt;Gateway IP Address &lt;/b&gt;to be the NIM master’s ip address. There were a few firmware levels that made you use 0.0.0.0 if the master and client were on the same network, but running into that is very rare. Use the NIM master’s IP.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you are unsure or need to verify if your master and client are on the same network you can always go back to your NIM master and check to see what NIM thinks. Of course, NIM is only correct if the information provided to it was correct originally.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;On the NIM master you’ll want to compare the “if1=” lines on the master and client : &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# lsnim -l master |grep if1&lt;br /&gt;&lt;br /&gt;if1 = master_net shadoebso&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#lsnim -l VIOS-A |grep if1 &lt;br /&gt;&lt;br /&gt;if1 = master_net dipperbso&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So we know the master and VIO server are defined on the same subnet. If the VIO server is defined on a different NIM network than the master, then use the VIO server’s gateway as the Gateway IP Address entry.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;After setting the IP Addresses use ‘M’ to return to the main menu. You typically do not want to go into the “Adapter Parameters” (option 2 on the previous screen) to change the adapter parameters or disable spanning tree. Spanning Tree goes out and wakes up parts of the network that might have been disabled since they’re not in use. This can increase performance but also block bootp if it is not expecting to receive a request through that portion of the network. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Also, with the Ping Test....the ping test is not a reliable way to determine if bootp is going to work. In fact, we use it the other way around. If bootp is failing for some reason we may come back and check the ping test to see if that is having a problem as well. Do not presume bootp will fail if the ping test fails. It may, but it is not a reliable indication.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;With our IP Parameters set we should now be back at the main menu.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;SMS - SYSTEM MANAGEMENT SERVICES -&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;1. Select Language&lt;br /&gt;&lt;br /&gt;2. Change Password Options&lt;br /&gt;&lt;br /&gt;3. View Error Log&lt;br /&gt;&lt;br /&gt;4. Setup Remote IPL (RIPL (Remote Initial Program Load))&lt;br /&gt;&lt;br /&gt;5. Change SCSI Settings&lt;br /&gt;&lt;br /&gt;6. Select Console&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;7. Select Boot Options&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now we’re ready to select our boot device. &lt;br /&gt;&lt;b&gt;7. Select Boot Options&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The next menu should come up :&lt;br /&gt;&lt;br /&gt;1. Select Install or Boot Device&lt;br /&gt;&lt;br /&gt;2. Configure Boot Device Order&lt;br /&gt;&lt;br /&gt;3. Multiboot Startup&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You can take either option 1 which will make this a 1 time boot device selection, or option 2 which will permanently change the boot device order until either you or the system changes it back to your boot drive after the install is complete.&lt;br /&gt;&lt;b&gt;1. Select Install or Boot Device&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Select Device Type :&lt;br /&gt;&lt;br /&gt;1. Diskette&lt;br /&gt;&lt;br /&gt;2. Tape&lt;br /&gt;&lt;br /&gt;3. CD/DVD&lt;br /&gt;&lt;br /&gt;4. IDE&lt;br /&gt;&lt;br /&gt;5. Hard Drive&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;6. Network&lt;br /&gt;&lt;br /&gt;7. List all Devices&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Trust me, make your life easier and select :&lt;br /&gt;&lt;b&gt;7. List all Devices&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The system will go out for you and scan itself to determine which devices are available to boot from. All of your available boot devices will be displayed here. The menu can be a little tricky here. If you have a device pre-selected it will have a 1 next to it under the “Current Position” column. Use the “Select Device Number” listing to choose the device you want to boot from. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The next screen will offer you three choices : &lt;br /&gt;&lt;br /&gt;1. Information&lt;br /&gt;&lt;br /&gt;2. Normal Mode Boot&lt;br /&gt;&lt;br /&gt;3. Service Mode Boot&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Select :&lt;br /&gt;&lt;b&gt;2. Normal Mode Boot&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;It shouldn’t really matter if you select normal or service mode, I always select normal mode.&lt;br /&gt;&lt;br /&gt;Finally it asks if you’re sure you want to exit from SMS. Select ‘yes’ and let the boot go.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;What you SHOULD see : &lt;br /&gt;&lt;br /&gt;You’ll likely see a brief splash screen then the bootp request attempt. &lt;br /&gt;&lt;br /&gt;Ideally you’ll see something like : &lt;br /&gt;&lt;br /&gt;BOOTP : S=1 R=1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Which indicates it sent and received a request successfully.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Next the master will tftp the boot image over so you should see a number rapidly increasing to roughly 24000-ish. Once that is complete the VIO server will go through all of the necessary LED codes to establish proper communication and NFS mounts. After that you will be presented with the BOS menu screens.&lt;br /&gt;____________________________________________________________________________&lt;br /&gt;&lt;code&gt;&lt;/code&gt; &lt;br /&gt;&lt;h2&gt;&lt;b&gt;&lt;a href="" name="9"&gt;Backing up the VIO server:&lt;/a&gt;&lt;/b&gt;&lt;/h2&gt;&lt;br /&gt;&lt;br /&gt;Creating a "nim_resources.tar" file using 'backupios'&lt;br /&gt;&lt;br /&gt;To backup the VIO server to a remote file system:&lt;br /&gt;1. Create a mount directory where the backup image, nim_resources.tar package, will be written to.&lt;br /&gt;Example:  # mkdir /VIOS-A/backup&lt;br /&gt;2. Mount an exported directory from the NIM master on the mount directory&lt;br /&gt;Example:  # mount server1:/export/VIOS_backup /VIOS-A/backup&lt;br /&gt;3. Run the backupios command with the –file option. Make sure to specify the path to the mounted directory&lt;br /&gt;Example:  # backupios –file /VIOS-A/backup&lt;br /&gt;This will create the nim_resources.tar package&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt; &lt;br /&gt;&lt;h2&gt;&lt;b&gt;&lt;a href="" name="10"&gt;FAQs:&lt;/a&gt;&lt;/b&gt;&lt;/h2&gt;&lt;br /&gt;&lt;br /&gt;1.  Can an lpp_source and SPOT created from AIX media be used to install the VIO server?&lt;br /&gt;No.  The AIX media and the VIOS media are not interchangeable.  All of the device drivers and the other software needed to install the VIO server are located on the VIOS media.  The AIX media does not contain all of the same device drivers or software necessary to install the VIO server, so AIX resources cannot be used to install a VIO server.&lt;br /&gt;&lt;br /&gt;2.  Do I need to use an lpp_source to install the VIO server using NIM?&lt;br /&gt;No.  All of the device drivers and software packages needed to install the VIO server are in the VIO server mksysb.&lt;br /&gt;&lt;br /&gt;3.  At what level does the VIO server media start containing two mksysb images that must be combined to create the NIM mksysb resource?&lt;br /&gt;If using VIO server media version 1.5.1 or higher, there will be two mksysb images that must be combined to create the NIM mksysb resource. &lt;br /&gt;&lt;ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td width="438"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td width="438"&gt;&lt;table border="0" cellpadding="0" cellspacing="0" style="width: 443px;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&amp;nbsp;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-964280958612719930?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/964280958612719930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=964280958612719930' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/964280958612719930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/964280958612719930'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2010/03/nim-installation-and-backup-of-vio.html' title='NIM installation and backup of the VIO server'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_8CqaOj8Gyds/S55fzoOvqUI/AAAAAAAAAT0/CxjHHJHqFjQ/s72-c/vios_backup.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-8663109256681058160</id><published>2010-03-10T14:23:00.000-08:00</published><updated>2010-03-10T14:23:12.797-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='backupios'/><category scheme='http://www.blogger.com/atom/ns#' term='savevg'/><category scheme='http://www.blogger.com/atom/ns#' term='VIOS'/><category scheme='http://www.blogger.com/atom/ns#' term='backup'/><category scheme='http://www.blogger.com/atom/ns#' term='mkvgdata'/><title type='text'>Backupios Fails with 0512-008 savevg</title><content type='html'>&lt;table border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr valign="top"&gt;&lt;td width="438"&gt;&lt;table border="0" cellpadding="0" cellspacing="0" style="width: 443px;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td height="20" valign="bottom" width="443"&gt;&lt;b&gt;Problem(Abstract)&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td width="443"&gt; Backupios command fails with 0512-008 savevg: The mkvgdata command failed.  Backup canceled.  &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td height="20" valign="bottom" width="443"&gt;&lt;b&gt;Symptom&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td width="443"&gt; $ backupios -file /home/padmin/mksysb/ibm74vioa_mksysb -mksysb            &lt;br /&gt;/home/padmin/mksysb/ibm74vioa_mksysb  doesn't exist.                    &lt;br /&gt;&lt;br /&gt;Creating /home/padmin/mksysb/ibm74vioa_mksysb                           &lt;br /&gt;Backup in progress.  This command can take a considerable amount of time&lt;br /&gt;to complete, please be patient...                                       &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Creating information file (/image.data) for rootvg.                     &lt;br /&gt;0512-008 savevg: The mkvgdata command failed.  Backup canceled.         &lt;br /&gt;&lt;br /&gt;/usr/bin/mkvgdata[1068]: -: more tokens expected            &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td width="438"&gt;&lt;img alt="" border="0" height="1" src="http://www-01.ibm.com/support/docview.wss?uid=isg3T1011324&amp;amp;aid=1" width="1" /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td width="438"&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td height="20" valign="bottom" width="443"&gt;&lt;b&gt;Cause&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td width="443"&gt; This error is caused by having a user created filesystem mounted within rootvg. &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td width="438"&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td height="20" valign="bottom" width="443"&gt;&lt;b&gt;Resolving the problem&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td width="443"&gt; Unmount all user-created filesystems in rootvg and re-run backupios command.&lt;br /&gt;&lt;b&gt;Note&lt;/b&gt;: crfs command is NOT part of the padmin restricted user, and therefore it is NOT supported to create user filesystems in the Virtual I/O Server. &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr valign="top"&gt;&lt;td width="438"&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;table border="0" cellpadding="0" cellspacing="0" style="width: 443px;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-8663109256681058160?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/8663109256681058160/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=8663109256681058160' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/8663109256681058160'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/8663109256681058160'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2010/03/backupios-fails-with-0512-008-savevg.html' title='Backupios Fails with 0512-008 savevg'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-1359191626978950464</id><published>2010-03-10T14:17:00.000-08:00</published><updated>2010-03-10T14:20:13.161-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='trace'/><category scheme='http://www.blogger.com/atom/ns#' term='Atape'/><title type='text'>Atape trace log files are filling my /var filesystem, how do I disable Atape rmt tracing?</title><content type='html'>&lt;h2&gt;Question&lt;/h2&gt;Atape trace log files are filling my /var filesystem, how do I disable Atape rmt tracing?&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;&lt;br /&gt;Cause&lt;/h2&gt;&lt;div&gt;Atape trace_logging attribute is "off" by default, but may have been left "on" from prior troubleshooting.&lt;/div&gt;http://www.blogger.com/post-edit.g?blogID=15827798&amp;amp;postID=1359191626978950464&lt;br /&gt;&lt;h2&gt;&lt;br /&gt;Answer&lt;/h2&gt;&lt;div&gt;The Atape rmt device attributes include a "trace_logging" attribute that will continuously write "Atape.rmt&amp;lt;#&amp;gt;.trace&amp;lt;#&amp;gt;" files to the /var/adm/ras directory if enabled. &lt;br /&gt;You can disable Atape trace logging by changing the trace_logging attribute to "no" with chdev.  For example: &lt;br /&gt;&lt;br /&gt;chdev -l rmt0 -a trace_logging=no&lt;/div&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-1359191626978950464?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/1359191626978950464/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=1359191626978950464' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/1359191626978950464'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/1359191626978950464'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2010/03/atape-trace-log-files-are-filling-my.html' title='Atape trace log files are filling my /var filesystem, how do I disable Atape rmt tracing?'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-2601550935204152465</id><published>2010-03-10T14:12:00.001-08:00</published><updated>2010-03-10T14:15:43.695-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Power6'/><category scheme='http://www.blogger.com/atom/ns#' term='VIOS'/><category scheme='http://www.blogger.com/atom/ns#' term='HEA'/><category scheme='http://www.blogger.com/atom/ns#' term='IVM.CLI'/><title type='text'>IVM CLI Examples to set HEA Attributes on Power Systems (p6)</title><content type='html'>&lt;table border="0" cellpadding="0" cellspacing="0" style="width: 443px;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td height="20" valign="bottom" width="680"&gt;&lt;b&gt;Question&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td width="443"&gt;What does the command line interface (CLI) syntax look like for setting host Ethernet adapter (HEA) attributes?  &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Cause&lt;/b&gt;&lt;br /&gt;VIO Server 1.5 and 2.x can run on entry level p6 Power System servers which can be managed using the Integrated Virtualization Manager (IVM) graphical and command line interfaces. Most of the graphical functions are intuitive, but it helps to have examples of some commonly requested syntax for configuring the HEA adapter using IVM CLI. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Answer&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Following are some examples of setting the most command HEA attributes using IVM CLI interface.&lt;br /&gt;&lt;br /&gt;- Setting promiscuous LPAR option on a HEA port.    &lt;br /&gt;Example sets the promisc  attribute on port 1 of group 1 to LPAR ID 1 (the VIO server).            &lt;br /&gt;&lt;br /&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;b&gt;chhwres -r hea -o s -l 23000000 -g 1 -a promisc_lpar_id=1 --physport 1      &lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;- Setting the MES value on an HEA adapter (requires system to be power cycled)                                            &lt;br /&gt;Example sets the MES value for port group 1 to value of 1 (default value is 4).           &lt;br /&gt;&lt;br /&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;b&gt;chhwres -r hea -l 23000000 -g 1 -o s -a pend_port_group_mcs_value=1         &lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;The 23000000 number in above commands is the adapter ID. The adapter ID for Power System models can differ. Use the lshwres command to view the adapter ID as well as other attributes of the HEA device. &lt;br /&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;b&gt;lshwres -r hea --rsubtype phys --level port                                 &lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;b&gt;lshwres -r hea --rsubtype phys --level port_group                           &lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;You can run lshwres or chhwres on the IVM command line to get usage syntax. You should also be able to view the man pages or view the command descriptions documented in following reference.&lt;br /&gt;&lt;br /&gt;Virtual I/O Server and Integrated Virtualization Manager command descriptions&lt;br /&gt;&lt;a href="http://publib.boulder.ibm.com/infocenter/systems/scope/hw/topic/iphcg/iphcg.pdf"&gt;http://publib.boulder.ibm.com/infocenter/systems/scope/hw/topic/iphcg/iphcg.pdf&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-2601550935204152465?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/2601550935204152465/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=2601550935204152465' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/2601550935204152465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/2601550935204152465'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2010/03/ivm-cli-examples-to-set-hea-attributes.html' title='IVM CLI Examples to set HEA Attributes on Power Systems (p6)'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-7384934029725275949</id><published>2010-03-10T14:09:00.000-08:00</published><updated>2010-03-10T14:09:31.202-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ftp'/><category scheme='http://www.blogger.com/atom/ns#' term='HMC'/><title type='text'>Why does the FTP option fail in my updates for HMC 7.3.4</title><content type='html'>&lt;span class="second-head-gray"&gt;&lt;span style="font-family: Verdana; font-size: x-small;"&gt;Question&lt;/span&gt;&lt;/span&gt; &lt;br /&gt;&lt;span style="font-family: Verdana;"&gt;Why does the FTP option fail in my updates for HMC 7.3.4&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="second-head-gray"&gt;&lt;span style="font-family: Verdana; font-size: x-small;"&gt;Answer&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana;"&gt; &lt;/span&gt;&lt;span style="font-family: Verdana;"&gt;HMC update modifies feature of the HMC update using the remote server.&lt;/span&gt;&amp;nbsp;&lt;br /&gt;&lt;span style="font-family: Verdana;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-7384934029725275949?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/7384934029725275949/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=7384934029725275949' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/7384934029725275949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/7384934029725275949'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2010/03/why-does-ftp-option-fail-in-my-updates.html' title='Why does the FTP option fail in my updates for HMC 7.3.4'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-5968465203079248250</id><published>2010-03-08T11:23:00.000-08:00</published><updated>2010-03-08T11:23:53.698-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VIOS'/><category scheme='http://www.blogger.com/atom/ns#' term='Power VM'/><category scheme='http://www.blogger.com/atom/ns#' term='NPIV'/><title type='text'>NPIV FAQs for Vritual I/O Server Environment</title><content type='html'>&lt;table border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;span class="second-head-gray"&gt;&lt;span style="font-family: Verdana; font-size: x-small;"&gt;Question&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top"&gt;&lt;br /&gt;&lt;span style="font-family: Verdana;"&gt;This document covers the most frequently asked questions for &lt;span style="color: green;"&gt;&lt;b&gt;NPIV&lt;/b&gt;&lt;/span&gt; in a Virtual I/O Server (VIOS) environment.&lt;br /&gt;This applies to VIOS version 2.1 and above.&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;span class="second-head-gray"&gt;&lt;span style="font-family: Verdana; font-size: x-small;"&gt;Answer&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana;"&gt;&lt;br /&gt;&lt;code&gt; &lt;/code&gt;&lt;/span&gt;&lt;span style="font-family: Verdana;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-family: Verdana;"&gt;&lt;b&gt;&lt;a href="http://www.blogger.com/post-create.g?blogID=15827798" name="1"&gt;1. What is NPIV?&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-family: Verdana;"&gt;&lt;br /&gt;N_Port ID Virtualization(&lt;span style="color: green;"&gt;&lt;b&gt;NPIV&lt;/b&gt;&lt;/span&gt;) is a standardized method for virtualizing a physical fibre channel port. An &lt;span style="color: green;"&gt;&lt;b&gt;NPIV&lt;/b&gt;&lt;/span&gt;-capable fibre channel HBA can have multiple N_Ports, each with a unique identity. &lt;span style="color: green;"&gt;&lt;b&gt;NPIV&lt;/b&gt;&lt;/span&gt; coupled with the Virtual I/O Server (VIOS) adapter sharing capabilities allow a physical fibre channel HBA to be shared across multiple guest operating systems. The PowerVM implementation of &lt;span style="color: green;"&gt;&lt;b&gt;NPIV&lt;/b&gt;&lt;/span&gt; enables POWER logical partitions (LPARs) to have virtual fibre channel HBAs, each with a dedicated world wide port name (WWPN). Each virtual fibre channel HBA has a unique SAN identity similar to that of a dedicated physical HBA.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;b&gt;&lt;a href="http://www.blogger.com/post-create.g?blogID=15827798" name="2"&gt;2. What are the minimum requirements for NPIV?&lt;/a&gt;&lt;/b&gt;&lt;/code&gt;&lt;br /&gt;&lt;u&gt;Hardware&lt;/u&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Verdana;"&gt;&lt;br /&gt;&lt;li&gt;A POWER6-based System p server OR &lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Minimum system firmware levels&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;span style="font-family: Verdana;"&gt;&lt;li&gt;EL340_039 for IBM Power 520 and 550&lt;/li&gt;&lt;li&gt;EM340_036 for IBM Power 560 and 570&lt;/li&gt;&lt;/span&gt;&lt;/ul&gt;&lt;span style="font-family: Verdana;"&gt;&lt;br /&gt;&lt;li&gt;One of the following JS blade types. Note:  NPIV is only supported on the BladeCenter H&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;span style="font-family: Verdana;"&gt;&lt;li&gt;JS12 (7998-60X)&lt;/li&gt;&lt;li&gt;JS22 (7998-61X)&lt;/li&gt;&lt;li&gt;JS23 (7778-23X)&lt;/li&gt;&lt;li&gt;JS43 (7778-23X + FC8446)&lt;/li&gt;&lt;li&gt;BladeCenter H (7989-BCH)&lt;/li&gt;&lt;/span&gt;&lt;/ul&gt;&lt;span style="font-family: Verdana;"&gt;&lt;br /&gt;&lt;li&gt;Minimum one supported Fibre Channel adapter (see FAQ 3 &amp;amp; 4)&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;NPIV-enabled SAN switch.  &lt;br /&gt;Only the SAN switch which is attached to the Fibre Channel adapter in the VIOS needs to be NPIV-capable. Other switches in your SAN do not need to be NPIV-capable.&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Switch levels&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;span style="font-family: Verdana;"&gt;&lt;li&gt;Brocade v6.1.0 or later&lt;/li&gt;&lt;li&gt;McData v9.7 or later&lt;/li&gt;&lt;li&gt;Cisco v3.2 (3) or later&lt;/li&gt;&lt;/span&gt;&lt;/ul&gt;&lt;span style="font-family: Verdana;"&gt;&lt;br /&gt;&lt;u&gt;Software&lt;/u&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;span style="font-family: Verdana;"&gt;&lt;li&gt;HMC 7.3.4 or later&lt;/li&gt;&lt;li&gt;Virtual I/O Server 2.1.0.10 (Fixpack 20.1) or later&lt;/li&gt;&lt;li&gt;AIX 5.3 TL 9 or later&lt;/li&gt;&lt;li&gt;AIX 6.1 TL 2 or later&lt;/li&gt;&lt;li&gt;IBM i 6.1 with 6.1.1 LIC or later&lt;/li&gt;&lt;/span&gt;&lt;/ul&gt;&lt;span style="font-family: Verdana;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;b&gt;&lt;a href="http://www.blogger.com/post-create.g?blogID=15827798" name="3"&gt;3. What are the supported Fibre Channel adapters for NPIV in a POWER6 System p server?&lt;/a&gt;&lt;/b&gt;&lt;/code&gt;&lt;br /&gt;The 8 Gigabit Dual Port Fibre Channel adapter, feature code 5735, is the only supported adapter.&lt;br /&gt;The minimum firmware requirement to enable &lt;span style="color: green;"&gt;&lt;b&gt;NPIV&lt;/b&gt;&lt;/span&gt; for AIX on this adapter is 110305 (# lsmcode -d fcs#).&lt;br /&gt;You can obtain this image from the &lt;code&gt;&lt;a href="http://www-933.ibm.com/support/fixcentral/"&gt;Microcode downloads&lt;/a&gt;&lt;/code&gt; site--select &lt;code&gt;&lt;b&gt;Power&lt;/b&gt;&lt;/code&gt; from Product Group, then &lt;code&gt;&lt;b&gt;Firmware and HMC&lt;/b&gt;&lt;/code&gt; Product.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;b&gt;&lt;a href="http://www.blogger.com/post-create.g?blogID=15827798" name="4"&gt;4. What are the supported Fibre Channel adapters for the IBM BladeCenter H?&lt;/a&gt;&lt;/b&gt;&lt;/code&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;code&gt;&lt;font="courier"&gt;&lt;/font="courier"&gt;&lt;/code&gt;&lt;/span&gt; Fibre Channal Module    Feature Code&lt;br /&gt;---------------------------------------------- ----------------&lt;br /&gt;Emulex 8Gb Fibre Channel Expansion Card (CIOv) 8240&lt;br /&gt;QLogic 8Gb Fibre Channel Expansion Card (CIOv) 8242 (DUAL port)&lt;br /&gt;QLogic 8Gb Fibre Channel Expansion Card (CFFh) 8271&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Note: &lt;span style="color: green;"&gt;&lt;b&gt;NPIV&lt;/b&gt;&lt;/span&gt; is only supported on the BladeCenter H and the firmware level of the Fibre Channel adapter must support &lt;span style="color: green;"&gt;&lt;b&gt;NPIV&lt;/b&gt;&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;b&gt;&lt;a href="http://www.blogger.com/post-create.g?blogID=15827798" name="5"&gt;5. Can I have dual NPIV capable Fibre Channel adapters on the same VIOS in different zones/fabrics?&lt;/a&gt;&lt;/b&gt;&lt;/code&gt;&lt;br /&gt;Yes.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;b&gt;&lt;a href="http://www.blogger.com/post-create.g?blogID=15827798" name="6"&gt;6. Is it possible to SAN boot the VIOS using the same Fibre Channel adapter being used to service NPIV traffic?&lt;/a&gt;&lt;/b&gt;&lt;/code&gt;&lt;br /&gt;With &lt;i&gt;proper zoning&lt;/i&gt;, it is possible to SAN boot the VIOS with the same host bus adapter that is servicing the &lt;span style="color: green;"&gt;&lt;b&gt;NPIV&lt;/b&gt;&lt;/span&gt; traffic. The VIOS would need to be running before the &lt;span style="color: green;"&gt;&lt;b&gt;NPIV&lt;/b&gt;&lt;/span&gt;-based traffic can serve the clients.&lt;br /&gt;&lt;span style="color: red;"&gt;Use care with this configuration&lt;/span&gt; because even a simple error in zoning could disable a VIOS and result in loss of the services it provides.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-5968465203079248250?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/5968465203079248250/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=5968465203079248250' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/5968465203079248250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/5968465203079248250'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2010/03/npiv-faqs-for-vritual-io-server.html' title='NPIV FAQs for Vritual I/O Server Environment'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-5163633940831594333</id><published>2010-02-25T07:35:00.000-08:00</published><updated>2010-02-25T07:36:43.220-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='support'/><category scheme='http://www.blogger.com/atom/ns#' term='AIX 6.1'/><category scheme='http://www.blogger.com/atom/ns#' term='lifecycle'/><title type='text'>Support lifecycle notice for AIX 6.1 Technology Levels 1 and 2</title><content type='html'>IBM announces the following schedules to help you plan for  future upgrades to your AIX operating system. These plans are subject to  change without notice.  &lt;p&gt;AIX Technology Levels are supported for how to, usage, and problem  identification for the entire life of the release. However, all Technology  Levels have a limited support window for corrective service. If a fix is  needed, you may be required to upgrade to a more current Technology Level to  receive generally available fixes or interim fixes. IBM recommends you take a  moment to verify your current service level. Simply run the  &lt;kbd&gt;'oslevel -r'&lt;/kbd&gt; command.  &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;h3&gt;&lt;u&gt;AIX 6.1 Technology Level 1 (6100-01)&lt;/u&gt;&lt;/h3&gt;After May 2010, IBM will no  longer provide generally available fixes or interim fixes for systems at AIX  6100-01. This applies to all Service Packs within TL1. Please plan to upgrade  to a newer Technology Level at your earliest convenience.  &lt;p&gt; &lt;/p&gt;&lt;h3&gt;&lt;u&gt;AIX 6.1 Technology Level 2 (6100-02)&lt;/u&gt;&lt;/h3&gt;Sometime after October 1,  2010, IBM will no longer provide generally available fixes or interim fixes for  systems at AIX 6100-02. This applies to all Service Packs within TL2. The exact  date for this change will be made available later in 2010. Please plan to  upgrade to a newer Technology Level at your earliest convenience.  &lt;p&gt; &lt;/p&gt;&lt;h3&gt;&lt;u&gt;AIX 6.1 Technology Level 0 (6100-00)&lt;/u&gt;&lt;/h3&gt; As a reminder, IBM is no longer providing generally available fixes or interim fixes for systems at AIX 6100-00. &lt;p&gt; &lt;/p&gt;&lt;h3&gt;&lt;u&gt;Best Practices&lt;/u&gt;&lt;/h3&gt;Having a good service strategy for maintaining  your AIX operating system is one way to keep your system fully operational. IBM  provides strategy planning advice at the Power support site at &lt;a href="http://www.ibm.com/systems/support/power"&gt;http://www.ibm.com/systems/support/power&lt;/a&gt;.  Look for the Best Practices link to find valuable guidance information  including such documents as the IBM AIX Operating System Service Strategy  Details and Best Practices. &lt;!--BEGIN_DOCNUMBER--&gt; &lt;!--NAVCODELINE::4927=AIX61/201001/TL02/20100123/datafile153144--&gt; &lt;table width="600"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td align="left"&gt;&lt;i&gt;Doc number: 4927&lt;/i&gt;&lt;/td&gt; &lt;td align="right"&gt;&lt;i&gt;Published date: 20100123&lt;/i&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;!--END_DOCNUMBER--&gt;      &lt;!-- ibm-content --&gt;  &lt;div id="ibm-navigation"&gt; &lt;h2 class="ibm-access"&gt;&lt;a href="http://www14.software.ibm.com/webapp/set2/subscriptions/ijhifoe?mode=7&amp;amp;heading=AIX61&amp;amp;path=/201001/TL02/20100123/datafile153144&amp;amp;label=Support%20lifecycle%20notice%20for%20AIX%206.1%20Technology%20Levels%201%20and%202"&gt;IBM Link&lt;/a&gt;&lt;/h2&gt;&lt;br /&gt;&lt;/div&gt;   &lt;!-- ibm-pcon --&gt; &lt;!-- footer.html --&gt;  &lt;script type="text/javascript" language="JavaScript1.2" src="http://www.ibm.com/survey/trigger.js"&gt; &lt;/script&gt; &lt;script type="text/javascript" language="JavaScript1.2"&gt; ibmSurvey.launch({page: "//www.ibm.com/survey/oid/wsb.dll/s/ag244?wsb2=power", rate: .5}); &lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-5163633940831594333?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/5163633940831594333/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=5163633940831594333' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/5163633940831594333'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/5163633940831594333'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2010/02/support-lifecycle-notice-for-aix-61.html' title='Support lifecycle notice for AIX 6.1 Technology Levels 1 and 2'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-8405585773958137349</id><published>2010-02-25T07:32:00.000-08:00</published><updated>2010-02-25T07:35:10.267-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='support'/><category scheme='http://www.blogger.com/atom/ns#' term='lifecycle'/><category scheme='http://www.blogger.com/atom/ns#' term='AIX 5.3'/><title type='text'>Support lifecycle notice for AIX 5.3 Technology Levels 8 and 9</title><content type='html'>IBM announces the following schedules to help you plan for future upgrades to your AIX operating system. These plans are subject to change without notice.&lt;br /&gt;&lt;br /&gt;AIX Technology Levels are supported for how to, usage, and problem identification for the entire life of the release. However, all Technology Levels have a limited support window for corrective service. If a fix is needed, you may be required to upgrade to a more current Technology Level to receive generally available fixes or interim fixes. IBM recommends you take a moment to verify your current service level. Simply run the 'oslevel -r' command.&lt;br /&gt;&lt;br /&gt;AIX 5.3 Technology Level 8 (5300-08)&lt;br /&gt;After April 2010, IBM will no longer provide generally available fixes or interim fixes for systems at AIX 5300-08. This applies to all Service Packs within TL8. Please plan to upgrade to a newer Technology Level at your earliest convenience.&lt;br /&gt;&lt;br /&gt;AIX 5.3 Technology Level 9 (5300-09)&lt;br /&gt;Sometime after October 1, 2010, IBM will no longer provide generally available fixes or interim fixes for systems at AIX 5300-09. This applies to all Service Packs within TL9. The exact date for this change will be made available later in 2010. Please plan to upgrade to a newer Technology Level at your earliest convenience.&lt;br /&gt;&lt;br /&gt;AIX 5.3 Technology Level 6 (5300-06) and AIX 5.3 Technology Level 7 (5300-07)&lt;br /&gt;As a reminder, IBM is no longer providing generally available fixes or interim fixes for systems at AIX 5300-06 or AIX 5300-07.&lt;br /&gt;Best Practices&lt;br /&gt;Having a good service strategy for maintaining your AIX operating system is one way to keep your system fully operational. IBM provides strategy planning advice at the Power support site at http://www.ibm.com/systems/support/power. Look for the Best Practices link to find valuable guidance information including such documents as the IBM AIX Operating System Service Strategy Details and Best Practices.&lt;br /&gt;Doc number: 4923  Published date: 20100123&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www14.software.ibm.com/webapp/set2/subscriptions/ijhifoe?mode=7&amp;amp;heading=AIX53&amp;amp;path=/201001/TL09/20100123/datafile152949&amp;amp;label=Support%20lifecycle%20notice%20for%20AIX%205.3%20Technology%20Levels%208%20and%209"&gt;IBM LINK&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-8405585773958137349?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/8405585773958137349/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=8405585773958137349' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/8405585773958137349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/8405585773958137349'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2010/02/support-lifecycle-notice-for-aix-53.html' title='Support lifecycle notice for AIX 5.3 Technology Levels 8 and 9'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-6677988927741854985</id><published>2010-02-11T13:19:00.000-08:00</published><updated>2010-02-11T13:23:42.507-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='time zone'/><title type='text'>How to create custome Time Zone in AIX</title><content type='html'>&lt;span style="font-weight:bold;"&gt;For example:&lt;/span&gt;&lt;br /&gt;I want to create a custom me zone, which will use the same days as the standard EU switch to and from Summertime only the time has been altered. Summertime begins at 07:30 on the last Sunday of March and ends at 08:30 on the last Sunday of October. And making two states like MCST (My Company Standard Time) and MCDT (My Company Daylight Time). &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Solution:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;set the occurrence of the Sunday as last occurrence in that month (As you needed), a value of 5 indicates the last day (0=sunday) in month and which may occur either in 4th or 5th week (sometimes 5 Sundays in a month), edit your /etc/environment and set the TZ as below,&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;TZ=Your time zone,M3.5.0/7:30:00,M10.5.0/8:30:00&lt;/span&gt;&lt;br /&gt;Ensure that the time zone value ends with DT for the DST to be enabled.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-6677988927741854985?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/6677988927741854985/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=6677988927741854985' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/6677988927741854985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/6677988927741854985'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2010/02/how-to-create-custome-time-zone-in-aix.html' title='How to create custome Time Zone in AIX'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-7495246672736720488</id><published>2009-09-11T13:41:00.001-07:00</published><updated>2009-09-11T13:41:49.901-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='hostname'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><category scheme='http://www.blogger.com/atom/ns#' term='dhcp'/><title type='text'>Unknown hostname for Solaris 10 DHCP client</title><content type='html'>&lt;h2&gt;Unknown hostname for Solaris 10 DHCP client&lt;/h2&gt;  &lt;div class="contenttext"&gt; &lt;p&gt;&lt;!--113692029695251818--&gt;When I installed Solaris 10 x86, my computer thought its hostname was unknown. Aside from being annoying, this seemed to be causing a few issues, so I set about trying to set it to a name of my choice.&lt;/p&gt; &lt;p&gt;Using the &lt;code&gt;uname -S &lt;em&gt;hostname&lt;/em&gt;&lt;/code&gt; command set the hostname for me but this information didn’t persist on reboot. A bit of googling turned up various references to editing /etc/init.d/network so that it read /etc/nodename and set the hostname accordingly (as well as &lt;a href="http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/set_hostname"&gt;a script to set the hostname&lt;/a&gt;), but my system didn’t have an /etc/nodename file.&lt;/p&gt; &lt;p&gt;I understood that /etc/nodename should contain my computer’s name, but didn’t know if any other settings were required (I later found &lt;a href="http://www.idevelopment.info/data/Networking/Networking_Basics/SOLARIS_CONFIGTCPIP_TCPIP_Configuration_Files_Quick_Config_Guide.shtml"&gt;Jeff Hunter’s TCP/IP quick configuration guide&lt;/a&gt;, which confirmed that the file just contains the computer’s name - in my case laptop3).&lt;/p&gt; &lt;p&gt;It turns out that these hacks are for Solaris 8/9 - &lt;a href="http://forum.sun.com/thread.jspa?threadID=21628&amp;amp;messageID=63220"&gt;Solaris 10 is quite happy to set the hostname based on the contents of /etc/nodename&lt;/a&gt;.  Once I had created /etc/nodename and rebooted, /etc/hosts read:&lt;/p&gt; &lt;p&gt;&lt;code&gt;#&lt;br /&gt;# Internet host table&lt;br /&gt;#&lt;br /&gt;127.0.0.1       localhost&lt;br /&gt;192.168.7.106   laptop3 # Added by DHCP&lt;/code&gt;&lt;/p&gt; &lt;p&gt;and the computer was no longer anonymous!&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Method 2:&lt;/p&gt;&lt;p&gt;http://docs.sun.com/app/docs/doc/816-4554/dhcp-admin-1058sm?a=view&lt;br /&gt;&lt;/p&gt;&lt;h2 class="sol"&gt;How to Enable a Solaris DHCPv4 Client to Request a Specific Host Name&lt;/h2&gt;  &lt;a name="indexterm-1558"&gt;&lt;/a&gt;&lt;a name="indexterm-1559"&gt;&lt;/a&gt; &lt;ol type="1"&gt;&lt;a name="dhcp-admin-step-523"&gt;&lt;/a&gt;&lt;li&gt; &lt;p&gt;On the client system, edit the &lt;tt&gt;/etc/default/dhcpagent&lt;/tt&gt; file as superuser.&lt;/p&gt;  &lt;/li&gt;&lt;a name="dhcp-admin-step-524"&gt;&lt;/a&gt;&lt;li&gt; &lt;p&gt;Find the &lt;tt&gt;REQUEST_HOSTNAME&lt;/tt&gt; keyword in the &lt;tt&gt;/etc/default/dhcpagent&lt;/tt&gt; file and modify the keyword as follows:&lt;/p&gt;  &lt;table border="1" cellpadding="1" width="100%"&gt; &lt;tbody&gt;&lt;tr&gt; &lt;td nowrap="1"&gt;&lt;br /&gt;&lt;pre&gt;REQUEST_HOSTNAME=yes&lt;/pre&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;If a comment sign (#) is in front of &lt;tt&gt;REQUEST_HOSTNAME&lt;/tt&gt;, remove the #. If the &lt;tt&gt;REQUEST_HOSTNAME&lt;/tt&gt; keyword is not present, insert the keyword.&lt;/p&gt;  &lt;/li&gt;&lt;a name="dhcp-admin-step-525"&gt;&lt;/a&gt;&lt;li&gt; &lt;p&gt;Edit the &lt;tt&gt;/etc/hostname&lt;/tt&gt;.&lt;var&gt;interface&lt;/var&gt; file on the client system to add the following line:&lt;/p&gt;  &lt;pre&gt;&lt;tt&gt;inet&lt;/tt&gt; &lt;var&gt;hostname&lt;/var&gt;&lt;br /&gt;&lt;/pre&gt; &lt;p&gt; &lt;var&gt;hostname&lt;/var&gt; is the name that you want the client to use.&lt;/p&gt;  &lt;/li&gt;&lt;a name="dhcp-admin-step-526"&gt;&lt;/a&gt;&lt;li&gt; &lt;p&gt;Type the following commands to have the client perform a full DHCP negotiation upon rebooting:&lt;/p&gt;  &lt;table border="1" cellpadding="1" width="100%"&gt; &lt;tbody&gt;&lt;tr&gt; &lt;td nowrap="1"&gt;&lt;br /&gt;&lt;pre&gt;# &lt;b&gt;&lt;kbd&gt;ifconfig interface dhcp release&lt;/kbd&gt;&lt;/b&gt;&lt;br /&gt;# &lt;b&gt;&lt;kbd&gt;reboot&lt;/kbd&gt;&lt;/b&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;The DHCP data that is cached on the client is removed. The client restarts the protocol to request new configuration information, including a new host name. The DHCP server first makes sure that the host name is not in use by another system on the network. The server then assigns the host name to the client. If configured to do so, the DHCP server can update name services with the client's host name.&lt;/p&gt;  &lt;p&gt;If you want to change the host name later, repeat &lt;a href="http://docs.sun.com/app/docs/doc/816-4554/6maoq02cq?a=view#dhcp-admin-step-525"&gt;Step 3&lt;/a&gt; and &lt;a href="http://docs.sun.com/app/docs/doc/816-4554/6maoq02cq?a=view#dhcp-admin-step-526"&gt;Step 4&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-7495246672736720488?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/7495246672736720488/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=7495246672736720488' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/7495246672736720488'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/7495246672736720488'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/09/unknown-hostname-for-solaris-10-dhcp.html' title='Unknown hostname for Solaris 10 DHCP client'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-8898011911182992866</id><published>2009-09-11T13:26:00.000-07:00</published><updated>2009-09-11T13:28:22.362-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mount'/><category scheme='http://www.blogger.com/atom/ns#' term='cdrom'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Automatically mount a CDROM using volume manager on Solaris 10</title><content type='html'>1) Insert a CD-ROM into the CD-ROM player&lt;br /&gt;&lt;br /&gt;2) Type the mount command without options to verify that the device was mounted. Note the mount point that was used&lt;br /&gt;&lt;br /&gt;3) Eject the CD-ROM as follows :&lt;br /&gt;&lt;br /&gt;# eject cdrom&lt;br /&gt;&lt;br /&gt;4) Use the pgrep command to look for the volume manager process. The volume manager process is vold.&lt;br /&gt;&lt;br /&gt;# pgrep -l vold&lt;br /&gt;&lt;br /&gt;5) Turn off the volume manager by typing the following command :&lt;br /&gt;&lt;br /&gt;# /etc/init.d/volmgt stop&lt;br /&gt;&lt;br /&gt;6) Look for volume management process using pgrep command as follows :&lt;br /&gt;&lt;br /&gt;# pgrep -l vold&lt;br /&gt;&lt;br /&gt;7) Insert the CD into the CD-ROM player.&lt;br /&gt;&lt;br /&gt;8) Restart the volume manager daemon by issuing the following command :&lt;br /&gt;&lt;br /&gt;# /etc/init.d/volmgt start&lt;br /&gt;&lt;br /&gt;9) To get the list of mounted file systems issue the mount command without any options&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-8898011911182992866?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/8898011911182992866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=8898011911182992866' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/8898011911182992866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/8898011911182992866'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/09/automatically-mount-cdrom-using-volume.html' title='Automatically mount a CDROM using volume manager on Solaris 10'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-1298676199891009479</id><published>2009-08-11T12:21:00.000-07:00</published><updated>2009-08-11T12:29:55.056-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='topas'/><category scheme='http://www.blogger.com/atom/ns#' term='problem'/><title type='text'>Command topas core dump,</title><content type='html'>Environment:&lt;br /&gt;TSM server on AIX 5300-09-02-0849&lt;br /&gt;There are couple of tape libraries with many tape drives attached to this AIX server.&lt;br /&gt;&lt;br /&gt;# lsdev -Cctape&lt;br /&gt;rmt0   Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt1   Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt2   Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt3   Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt4   Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt5   Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt6   Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt7   Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt8   Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt9   Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt10  Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt11  Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt12  Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt13  Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt14  Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt15  Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt16  Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt17  Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt18  Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt19  Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt20  Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt21  Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt22  Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt23  Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt24  Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt25  Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt26  Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt27  Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt28  Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt29  Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt30  Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt31  Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt32  Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt33  Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt34  Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt35  Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt36  Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt37  Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt38  Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt39  Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt40  Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt41  Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt42  Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt43  Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt44  Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt45  Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt46  Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt47  Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt48  Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt49  Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt50  Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt51  Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt52  Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt53  Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt54  Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt55  Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt56  Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt57  Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt58  Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt59  Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt60  Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt61  Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt62  Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt63  Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt64  Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt65  Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt66  Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt67  Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt68  Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt69  Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt70  Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt71  Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt72  Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt73  Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt74  Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt75  Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt76  Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt77  Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt78  Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt79  Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt80  Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt81  Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt82  Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt83  Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt84  Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt85  Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt86  Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt87  Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt88  Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt89  Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt90  Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt91  Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt92  Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt93  Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt94  Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt95  Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt96  Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt97  Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt98  Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt99  Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt100 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt101 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt102 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt103 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt104 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt105 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt106 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt107 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt108 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt109 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt110 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt111 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt112 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt113 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt114 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt115 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt116 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt117 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt118 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt119 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt120 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt121 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt122 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt123 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt124 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt125 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt126 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt127 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt128 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt129 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt130 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt131 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt132 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt133 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt134 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt135 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt136 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt137 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt138 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt139 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt140 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt141 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt142 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt143 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt144 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt145 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt146 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt147 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt148 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt149 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt150 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt151 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt152 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt153 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt154 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt155 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt156 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt157 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt158 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt159 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt160 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt161 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt162 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt163 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt164 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt165 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt166 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt167 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt168 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt169 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt170 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt171 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt172 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt173 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt174 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt175 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt176 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt177 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt178 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt179 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt180 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt181 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt182 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt183 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt184 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt185 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt186 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt187 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt188 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt189 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt190 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt191 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt192 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt193 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt194 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt195 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt196 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt197 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt198 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;rmt199 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)&lt;br /&gt;smc0   Available 0H-08-02 IBM 3584 Library Medium Changer (FCP)&lt;br /&gt;smc1   Available 0H-08-02 IBM 3584 Library Medium Changer (FCP)&lt;br /&gt;smc2   Available 0H-09-02 IBM 3584 Library Medium Changer (FCP)&lt;br /&gt;smc3   Available 0H-09-02 IBM 3584 Library Medium Changer (FCP)&lt;br /&gt;smc4   Available 0A-08-02 IBM 3584 Library Medium Changer (FCP)&lt;br /&gt;smc5   Available 0A-08-02 IBM 3584 Library Medium Changer (FCP)&lt;br /&gt;smc6   Available 0C-08-02 IBM 3584 Library Medium Changer (FCP)&lt;br /&gt;smc7   Available 0C-08-02 IBM 3584 Library Medium Changer (FCP)&lt;br /&gt;smc8   Available 0D-08-02 IBM 3584 Library Medium Changer (FCP)&lt;br /&gt;smc9   Available 0D-08-02 IBM 3584 Library Medium Changer (FCP)&lt;br /&gt;smc10  Available 0I-08-02 IBM 3584 Library Medium Changer (FCP)&lt;br /&gt;smc11  Available 0I-08-02 IBM 3584 Library Medium Changer (FCP)&lt;br /&gt;smc12  Available 0I-09-02 IBM 3584 Library Medium Changer (FCP)&lt;br /&gt;smc13  Available 0I-09-02 IBM 3584 Library Medium Changer (FCP)&lt;br /&gt;smc14  Available 0F-08-02 IBM 3584 Library Medium Changer (FCP)&lt;br /&gt;smc15  Available 0F-08-02 IBM 3584 Library Medium Changer (FCP)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;When topas command is called, it failed with error "Segmentation fault(coredump)" and then exit to command prompt.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Solution:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This issue is occuring when there are more number of tape drives. You can install this fix on all 53TL09SP3 machines.&lt;br /&gt;APAR IZ52203 has been opened for this issue. Tentative availabilty date of this APAR would be November 2009.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-1298676199891009479?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/1298676199891009479/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=1298676199891009479' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/1298676199891009479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/1298676199891009479'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/08/command-topas-core-dump.html' title='Command topas core dump,'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-7497497228248208126</id><published>2009-06-03T18:11:00.000-07:00</published><updated>2009-06-03T18:20:41.292-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='installp'/><category scheme='http://www.blogger.com/atom/ns#' term='update'/><title type='text'>AIX 5.3 Commit Applied Software Updates failed</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Problem:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Tried to commit applied Software Updates, failed with the following messages.&lt;br /&gt;&lt;br /&gt;MISSING REQUISITES:  The following filesets are requisites of one or more&lt;br /&gt;of the selected filesets listed above.  They are not currently installed&lt;br /&gt;on the system.  You should install these requisites to ensure that the&lt;br /&gt;selected filesets function correctly.  You MUST install these requisites&lt;br /&gt;before committing the selected filesets.&lt;br /&gt;&lt;br /&gt;  bos.rte 6.1.0.0                           # Base Level Fileset&lt;br /&gt;  devices.common.IBM.mpio.rte 5.2.0.50      # MPIO Disk Path Control Module&lt;br /&gt;  xlC.aix61.rte 9.0.0.1                     # Fileset Update&lt;br /&gt;&lt;br /&gt;&lt;&lt;&gt;&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:180%;"&gt;&lt;span style="font-weight: bold;"&gt;Solution:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold;"&gt;Force install fileset devices.common.IBM.mpio.rte. (-F option below)&lt;br /&gt;&lt;br /&gt;# installp -a -d . -F devices.common.IBM.mpio.rte&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:78%;"&gt;&lt;span style="font-family:courier new;"&gt;+-----------------------------------------------------------------------------+&lt;br /&gt;                   Pre-installation Verification...&lt;br /&gt;+-----------------------------------------------------------------------------+&lt;br /&gt;Verifying selections...done&lt;br /&gt;Verifying requisites...done&lt;br /&gt;Results...&lt;br /&gt;&lt;br /&gt;SUCCESSES&lt;br /&gt;---------&lt;br /&gt; Filesets listed in this section passed pre-installation verification&lt;br /&gt; and will be installed.&lt;br /&gt;&lt;br /&gt; Selected Filesets&lt;br /&gt; -----------------&lt;br /&gt; devices.common.IBM.mpio.rte 5.3.9.1         # MPIO Disk Path Control Module&lt;br /&gt;&lt;br /&gt; &lt;&lt;&gt;&gt;&lt;br /&gt;&lt;br /&gt;+-----------------------------------------------------------------------------+&lt;br /&gt;                  BUILDDATE Verification ...&lt;br /&gt;+-----------------------------------------------------------------------------+&lt;br /&gt;Verifying build dates...done&lt;br /&gt;FILESET STATISTICS&lt;br /&gt;------------------&lt;br /&gt;   1  Selected to be installed, of which:&lt;br /&gt;       1  Passed pre-installation verification&lt;br /&gt; ----&lt;br /&gt;   1  Total to be installed&lt;br /&gt;&lt;br /&gt;0503-409 installp:  bosboot verification starting...&lt;br /&gt;installp:  bosboot verification completed.&lt;br /&gt;+-----------------------------------------------------------------------------+&lt;br /&gt;                        Installing Software...&lt;br /&gt;+-----------------------------------------------------------------------------+&lt;br /&gt;&lt;br /&gt;installp:  APPLYING software for:&lt;br /&gt;       devices.common.IBM.mpio.rte 5.3.9.1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;. . . . . &lt;&lt;&gt;&gt; . . . . . . .&lt;br /&gt;Licensed Materials - Property of IBM&lt;br /&gt;&lt;br /&gt;5765G0300&lt;br /&gt;  Copyright International Business Machines Corp. 1995, 2008.&lt;br /&gt;&lt;br /&gt;All rights reserved.&lt;br /&gt;US Government Users Restricted Rights - Use, duplication or disclosure&lt;br /&gt;restricted by GSA ADP Schedule Contract with IBM Corp.&lt;br /&gt;. . . . . &lt;&lt;&gt;&gt;. . . .&lt;br /&gt;&lt;br /&gt;Finished processing all filesets.  (Total time:  20 secs).&lt;br /&gt;&lt;br /&gt;0503-409 installp:  bosboot verification starting...&lt;br /&gt;installp:  bosboot verification completed.&lt;br /&gt;0503-408 installp:  bosboot process starting...&lt;br /&gt;&lt;br /&gt;bosboot: Boot image is 38319 512 byte blocks.&lt;br /&gt;0503-292 This update will not fully take effect until after a&lt;br /&gt;       system reboot.&lt;br /&gt;&lt;br /&gt;   * * *  A T T E N T I O N  * * *&lt;br /&gt;   System boot image has been updated. You should reboot the&lt;br /&gt;   system as soon as possible to properly integrate the changes&lt;br /&gt;   and to avoid disruption of current functionality.&lt;br /&gt;&lt;br /&gt;installp:  bosboot process completed.&lt;br /&gt;+-----------------------------------------------------------------------------+&lt;br /&gt;                               Summaries:&lt;br /&gt;+-----------------------------------------------------------------------------+&lt;br /&gt;&lt;br /&gt;Installation Summary&lt;br /&gt;--------------------&lt;br /&gt;Name                        Level           Part        Event       Result&lt;br /&gt;-------------------------------------------------------------------------------&lt;br /&gt;devices.common.IBM.mpio.rte 5.3.9.1         USR         APPLY       SUCCESS&lt;br /&gt;devices.common.IBM.mpio.rte 5.3.9.1         ROOT        APPLY       SUCCESS&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now smit commit works file.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-7497497228248208126?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/7497497228248208126/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=7497497228248208126' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/7497497228248208126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/7497497228248208126'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/06/aix-53-commit-applied-software-updates.html' title='AIX 5.3 Commit Applied Software Updates failed'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-1860703842281529216</id><published>2009-05-25T13:57:00.001-07:00</published><updated>2009-05-25T14:11:43.494-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='process'/><category scheme='http://www.blogger.com/atom/ns#' term='Performance'/><title type='text'>Which Process Is Using Up Most The CPU Resources</title><content type='html'>&lt;span style="font-family:Verdana;"&gt; &lt;/span&gt;&lt;table border="0" cellpadding="0" cellspacing="0" width="100%"&gt;         &lt;tbody&gt;&lt;tr&gt;&lt;td bgcolor="#999999" width="100%"&gt;&lt;img src="http://dbluedst.pok.ibm.com/icons/ecblank.gif" border="0" height="1" width="2" /&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;  &lt;tr&gt;&lt;td&gt;&lt;span class="second-head-gray"&gt;&lt;span style=";font-family:Verdana;font-size:85%;"  &gt;Question&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td valign="top"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;How can you determine which process is using up the most CPU time?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0" width="100%"&gt;         &lt;tbody&gt;&lt;tr&gt;                 &lt;td bgcolor="#999999" width="100%"&gt;&lt;img src="http://dbluedst.pok.ibm.com/icons/ecblank.gif" border="0" height="1" width="2" /&gt;&lt;/td&gt;        &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;span class="second-head-gray"&gt;Cause&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0" width="100%"&gt;         &lt;tbody&gt;&lt;tr&gt;                 &lt;td bgcolor="#999999" width="100%"&gt;&lt;img src="http://dbluedst.pok.ibm.com/icons/ecblank.gif" border="0" height="1" width="2" /&gt;&lt;/td&gt;        &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;span class="second-head-gray"&gt;&lt;span style=";font-family:Verdana;font-size:85%;"  &gt;Answer&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt; &lt;/span&gt;&lt;p&gt;&lt;span style="font-family:Verdana;"&gt;The following commands and tools can be used to find which process is using the most cpu resources. &lt;/span&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Verdana;"&gt;1. topas -P&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_8CqaOj8Gyds/ShsHxUnVvtI/AAAAAAAAALo/QeUa2j8x1T4/s1600-h/1.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 532px; height: 250px;" src="http://4.bp.blogspot.com/_8CqaOj8Gyds/ShsHxUnVvtI/AAAAAAAAALo/QeUa2j8x1T4/s400/1.gif" alt="" id="BLOGGER_PHOTO_ID_5339870327106551506" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;In the topas -P output above the process called "cpu-eater" is the top consumer of cpu resources.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Verdana;"&gt;2. tprof -x sleep 10; vi sleep.prof &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Verdana;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_8CqaOj8Gyds/ShsIMOK51NI/AAAAAAAAALw/cLkAdWdY_rA/s1600-h/2.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 484px; height: 157px;" src="http://3.bp.blogspot.com/_8CqaOj8Gyds/ShsIMOK51NI/AAAAAAAAALw/cLkAdWdY_rA/s400/2.gif" alt="" id="BLOGGER_PHOTO_ID_5339870789233136850" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-1860703842281529216?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/1860703842281529216/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=1860703842281529216' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/1860703842281529216'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/1860703842281529216'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/05/which-process-is-using-up-most-cpu.html' title='Which Process Is Using Up Most The CPU Resources'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_8CqaOj8Gyds/ShsHxUnVvtI/AAAAAAAAALo/QeUa2j8x1T4/s72-c/1.gif' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-848235433430268241</id><published>2009-05-25T13:51:00.000-07:00</published><updated>2009-05-25T13:52:26.096-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bosboot'/><title type='text'>bosboot fails with malloc error 0301-106</title><content type='html'>&lt;table border="0" cellpadding="0" cellspacing="0" width="100%"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;span class="second-head-gray"&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Problem(Abstract)&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td valign="top"&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;During or after an OS upgrade, bosboot fails with the following error:&lt;br /&gt;&lt;br /&gt;0301-106 /usr/lib/boot/bin/mkboot_chrp the malloc call failed for size &lt;size&gt;&lt;br /&gt;&lt;br /&gt;0301-158 bosboot: mkboot failed to create bootimage.&lt;br /&gt;&lt;br /&gt;0301-165 bosboot: WARNING! bosboot failed - do not attempt to boot device.&lt;br /&gt;&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0" width="100%"&gt;         &lt;tbody&gt;&lt;tr&gt;                 &lt;td bgcolor="#999999" width="100%"&gt;&lt;img src="http://dbluedst.pok.ibm.com/icons/ecblank.gif" border="0" height="1" width="2" /&gt;&lt;/td&gt;        &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;span class="second-head-gray"&gt;Symptom&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Tahoma;"&gt;During or after an OS upgrade, bosboot fails with the following error:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Tahoma;"&gt;0301-106 /usr/lib/boot/bin/mkboot_chrp the malloc call failed for size &lt;size&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Tahoma;"&gt;0301-158 bosboot: mkboot failed to create bootimage.&lt;br /&gt;&lt;br /&gt;0301-165 bosboot: WARNING! bosboot failed - do not attempt to boot device.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0" width="100%"&gt;         &lt;tbody&gt;&lt;tr&gt;                 &lt;td bgcolor="#999999" width="100%"&gt;&lt;img src="http://dbluedst.pok.ibm.com/icons/ecblank.gif" border="0" height="1" width="2" /&gt;&lt;/td&gt;        &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;span class="second-head-gray"&gt;Cause&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0" width="100%"&gt;         &lt;tbody&gt;&lt;tr&gt;                 &lt;td bgcolor="#999999" width="100%"&gt;&lt;img src="http://dbluedst.pok.ibm.com/icons/ecblank.gif" border="0" height="1" width="2" /&gt;&lt;/td&gt;        &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;span class="second-head-gray"&gt;Environment&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Recently upgraded AIX OS&lt;br /&gt;&lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0" width="100%"&gt;         &lt;tbody&gt;&lt;tr&gt;                 &lt;td bgcolor="#999999" width="100%"&gt;&lt;img src="http://dbluedst.pok.ibm.com/icons/ecblank.gif" border="0" height="1" width="2" /&gt;&lt;/td&gt;        &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;span class="second-head-gray"&gt;Diagnosing the problem&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Check size of PdDv.vc ODM class file...&lt;br /&gt;&lt;br /&gt;eg...&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Tahoma;"&gt;# ls -al /usr/lib/objrepos/PdDv*&lt;br /&gt;-rw-r--r-- 1 root system 110592 Apr 14 11:42 PdDv&lt;br /&gt;-rw-r--r-- 1 root system &lt;/span&gt;&lt;b&gt;&lt;span style="font-family:Tahoma;"&gt;200937472&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family:Tahoma;"&gt; Apr 14 11:42 PdDv.vc &lt;/span&gt;&lt;span style="font-family:Tahoma;font-size:85%;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0" width="100%"&gt;         &lt;tbody&gt;&lt;tr&gt;                 &lt;td bgcolor="#999999" width="100%"&gt;&lt;img src="http://dbluedst.pok.ibm.com/icons/ecblank.gif" border="0" height="1" width="2" /&gt;&lt;/td&gt;        &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;span class="second-head-gray"&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Resolving the problem&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt; &lt;/span&gt;&lt;span style="font-family:Verdana;"&gt;&lt;br /&gt;bosboot uses the PdDv ODM class files to build device information into the boot image and pre-allocate memory for these devices. If the file is too large, malloc cannot satisfy the request, causing bosboot to fail.&lt;br /&gt;&lt;br /&gt; &lt;table border="0" cellpadding="0" cellspacing="0"&gt; &lt;tbody&gt;&lt;tr valign="top"&gt;&lt;td width="548"&gt;&lt;span style="font-family:Tahoma;"&gt;The following instructions can be used to reduce the size of the PdDv.vc file:&lt;br /&gt;&lt;br /&gt;# mkdir /tmp/objrepos&lt;br /&gt;# cd /tmp/objrepos&lt;br /&gt;# export ODMDIR=/usr/lib/objrepos&lt;br /&gt;# odmget PdDv &gt; PdDv.out&lt;br /&gt;# cp /usr/lib/objrepos/PdDv /usr/lib/objrepos/PdDv.bak&lt;br /&gt;# cp /usr/lib/objrepos/PdDv.vc /usr/lib/objrepos/PdDv.vc.bak&lt;br /&gt;# export ODMDIR=/tmp/objrepos&lt;br /&gt;# echo $ODMDIR&lt;br /&gt;# odmcreate -c /usr/lib/cfgodm.ipl&lt;br /&gt;# ls -l PdDv*&lt;br /&gt;# odmadd /tmp/objrepos/PdDv.out&lt;br /&gt;# ls -l PdDv*&lt;br /&gt;# cp /tmp/objrepos/PdDv /usr/lib/objrepos/PdDv&lt;br /&gt;# cp /tmp/objrepos/PdDv.vc /usr/lib/objrepos/PdDv.vc&lt;br /&gt;# export ODMDIR=/etc/objrepos&lt;br /&gt;# rm -rf /tmp/objrepos&lt;br /&gt; &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-848235433430268241?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/848235433430268241/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=848235433430268241' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/848235433430268241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/848235433430268241'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/05/bosboot-fails-with-malloc-error-0301.html' title='bosboot fails with malloc error 0301-106'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-3169609833106125378</id><published>2009-05-25T13:38:00.000-07:00</published><updated>2009-05-25T13:39:03.293-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='process'/><category scheme='http://www.blogger.com/atom/ns#' term='dump'/><title type='text'>Using DBX and KDB to build stack traces</title><content type='html'>&lt;table border="0" cellpadding="0" cellspacing="0" width="100%"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;span class="second-head-gray"&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Question&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td valign="top"&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;I have a hung process, how can I get a stack trace of it?&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0" width="100%"&gt;         &lt;tbody&gt;&lt;tr&gt;                 &lt;td bgcolor="#999999" width="100%"&gt;&lt;img src="http://dbluedst.pok.ibm.com/icons/ecblank.gif" border="0" height="1" width="2" /&gt;&lt;/td&gt;        &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;span class="second-head-gray"&gt;Cause&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0" width="100%"&gt;         &lt;tbody&gt;&lt;tr&gt;                 &lt;td bgcolor="#999999" width="100%"&gt;&lt;img src="http://dbluedst.pok.ibm.com/icons/ecblank.gif" border="0" height="1" width="2" /&gt;&lt;/td&gt;        &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;span class="second-head-gray"&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Answer&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;&lt;br /&gt;&lt;i&gt;&lt;span style="font-family:Times New Roman;font-size:130%;"&gt;NOTE&lt;/span&gt;&lt;/i&gt;&lt;span style="font-family:Times New Roman;font-size:130%;"&gt;: Not all processes that show up in ps -ef will be able to have stack traces built on them. Old processes tend to be eventually paged out of memory and neither dbx or kdb will then be able to be used to look at the stack trace for that process.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-family:Times New Roman;font-size:130%;"&gt;DBX Stack Trace Instructions for building a stack trace on a hung process:&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family:Times New Roman;font-size:130%;"&gt;&lt;br /&gt;In order to use dbx, the customer must first have the fileset &lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:130%;"&gt;bos.adt.debug&lt;/span&gt;&lt;span style="font-family:Times New Roman;font-size:130%;"&gt; installed.&lt;br /&gt;&lt;br /&gt;Attach to hung process&lt;br /&gt;1.    Capture console output, enter:&lt;br /&gt;         script&lt;br /&gt;&lt;br /&gt;2.    Enter:&lt;br /&gt;         ps -ef | grep &lt;hung&gt;&lt;br /&gt;&lt;br /&gt;3.    Enter:&lt;br /&gt;         dbx -a &lt;process&gt;&lt;br /&gt;&lt;br /&gt;4.    Format trace, enter:&lt;br /&gt;         where&lt;br /&gt;&lt;br /&gt;5.    Leave dbx, enter:&lt;br /&gt;         detach (Typing quit will kill the process)&lt;br /&gt;&lt;br /&gt;6.    To leave script, type exit.&lt;br /&gt;The script will be named typescript and will be located in the current&lt;br /&gt;working directory. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="font-family:Times New Roman;font-size:130%;"&gt;Steps to obtain thread stack trace using kdb&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style="font-family:Times New Roman;"&gt;Using the alog process as an example.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;br /&gt;   1) Start script session to capture data:&lt;br /&gt; # script /tmp/kdb.out&lt;br /&gt;&lt;br /&gt;   2) Find the process id and convert it into hexadecimal:&lt;br /&gt;&lt;br /&gt;         # ps -ef | grep alog&lt;br /&gt;       UID     PID    PPID   C    STIME    TTY  TIME CMD&lt;br /&gt;       root    1231     1    1   Jun 30      -  1:12 alog&lt;br /&gt;&lt;br /&gt;         Convert 1231 to Hexadecimal number&lt;br /&gt;         1231 converts to 4CF&lt;br /&gt;&lt;br /&gt;    3) Start kdb&lt;br /&gt;&lt;br /&gt;           # kdb&lt;br /&gt;&lt;br /&gt;    4) Locate the process while in kdb&lt;br /&gt;&lt;br /&gt;           (0) p * | grep 4CF&lt;br /&gt;&lt;br /&gt;       Ex.&lt;br /&gt;       pvproc+013800   78 alog       ACTIVE 004E036 004A01E&lt;br /&gt;0000000002525400   0 0001&lt;br /&gt;&lt;br /&gt;    5) find initial thread&lt;br /&gt;           (0) p (PSLOT) | grep pvthread [The pslot is the second&lt;br /&gt;column.  In the above example, it is 78]&lt;br /&gt;&lt;br /&gt;    6) locate initial thread in 'p' output&lt;br /&gt;        example:&lt;br /&gt;&lt;br /&gt;    ...&lt;br /&gt;    THREAD..... threadlist :EA005E00 &lt;pvthread+005e00&gt;&lt;br /&gt;    ...&lt;br /&gt;&lt;br /&gt;    7) list function stack for initial thread&lt;br /&gt;            (0) f pvthread+005E00&lt;br /&gt;&lt;br /&gt;     8) Exit out of the script session&lt;br /&gt; # exit&lt;br /&gt; Data will be saved in /tmp/kdb.out.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="font-family:Times New Roman;font-size:130%;"&gt;The procstack command can also be used to print the stack of a process.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Times New Roman;"&gt;# ps -ef | grep alog&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Times New Roman;"&gt;    root 491752 450572   0 15:45:52  pts/4  0:00 alog&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Times New Roman;"&gt;# procstack 491752&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Times New Roman;"&gt;491752: alog&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Times New Roman;"&gt;0xd0375da4  read(??, ??, ??) + 0x1a8&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Times New Roman;"&gt;0x10001500  main(??, ??) + 0x11b0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Times New Roman;"&gt;0x10000198  __start() + 0x98&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-3169609833106125378?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/3169609833106125378/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=3169609833106125378' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/3169609833106125378'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/3169609833106125378'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/05/using-dbx-and-kdb-to-build-stack-traces.html' title='Using DBX and KDB to build stack traces'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-2111187023670734134</id><published>2009-05-25T13:37:00.000-07:00</published><updated>2009-05-25T13:42:53.339-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Filesystem'/><category scheme='http://www.blogger.com/atom/ns#' term='backup'/><category scheme='http://www.blogger.com/atom/ns#' term='jfs2'/><title type='text'>JFS2 Snapshot Quick Reference</title><content type='html'>&lt;table style="width: 688px; height: 1102px;" border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr valign="top"&gt;&lt;td width="438"&gt;&lt;table border="0" cellpadding="0" cellspacing="0" width="443"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td height="20" valign="bottom" width="443"&gt;&lt;b&gt;Question&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="443"&gt; This document is a quick guide to using snapshots of JFS2 filesystems  &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt;&lt;td width="438"&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td height="20" valign="bottom" width="443"&gt;&lt;b&gt;Answer&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="443"&gt; The JFS2 snapshot command will create an image of a filesystem at a point in time, allowing the user to back up data from the snapshot rather than from the original filesystem. This allows backing up data without having to stop using it first.&lt;br /&gt;The concept used in the snapped filesystem is "copy on write". During creation of the snapshot filesystem the source filesystem is quiesced while the copy is made, to insure a proper copy. Then only the filesystem structure is created. When any modification is done to the source system, such as a write of data or delete, the original data is copied into the snapped filesystem.&lt;br /&gt;&lt;br /&gt;Usually a snapshot filesystem will only need to be 2-6% of the size of the original filesystem, due to this copy-on-write feature.&lt;br /&gt;&lt;br /&gt;* Creating a snapshot:&lt;br /&gt;Find out the size of the filesystem:&lt;br /&gt;&lt;br /&gt;# lsfs -q /origfs&lt;br /&gt;Name            Nodename   Mount Pt               VFS   Size    Options    Auto&lt;br /&gt;Accounting&lt;br /&gt;/dev/fslv02     --         /origfs                           jfs2  4194304 rw,cio     no&lt;br /&gt;no&lt;br /&gt;(lv size: 4194304, fs size: 4194304, block size: 4096, sparse files: yes, inline log: no, inline log size: 0, reserved: 0, reserved: 0, DMAPI: no, VIX: yes)&lt;br /&gt;&lt;br /&gt;In the lsfs -q output the size is reported in 512-byte blocks. So in the above example the filesystem and logical volume are 2Gb in size. We'll make the snapshot filesystem 204Mb (10% of the original).&lt;br /&gt;&lt;br /&gt;# snapshot -o snapfrom=/origfs -o size=419430&lt;br /&gt;Snapshot for file system /origfs created on /dev/fslv05&lt;br /&gt;&lt;br /&gt;* Mounting a snapshot:&lt;br /&gt;# mount -v jfs2 -o snapshot /dev/fslv05 /mysnap&lt;br /&gt;&lt;br /&gt;* Finding out if a fs has a snapshot already:&lt;br /&gt;# snapshot -q /origfs&lt;br /&gt;&lt;br /&gt;Snapshots for /origfs&lt;br /&gt;Current  Location        512-blocks  Free        Time&lt;br /&gt;*        /dev/fslv05     419430     418662     Fri Apr 21 08:30:36 PDT 2006&lt;br /&gt;&lt;br /&gt;* Deleting a snapshot:&lt;br /&gt;&lt;br /&gt;# snapshot -d /dev/fslv05&lt;br /&gt;rmlv: Logical volume fslv05 is removed&lt;br /&gt;&lt;br /&gt;For further information see the man page for the snapshot command. &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-2111187023670734134?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/2111187023670734134/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=2111187023670734134' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/2111187023670734134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/2111187023670734134'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/05/jfs2-snapshot-quick-reference.html' title='JFS2 Snapshot Quick Reference'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-8761669058462992693</id><published>2009-05-22T13:56:00.001-07:00</published><updated>2009-05-22T13:56:33.846-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RAID5'/><category scheme='http://www.blogger.com/atom/ns#' term='disk'/><category scheme='http://www.blogger.com/atom/ns#' term='SSA'/><title type='text'>Replacing a disk in an SSA RAID5 Array</title><content type='html'>&lt;span style="font-family:Verdana;"&gt;&lt;h2&gt; Replacing a disk in an SSA RAID5 Array&lt;/h2&gt; &lt;hr /&gt; &lt;h3&gt; Environment&lt;/h3&gt; OS level: 4.3.x - 5.x &lt;br /&gt;SSA Raid 5 Array &lt;h3&gt; Problem&lt;/h3&gt; How do I replace a disk in an SSA RAID5 array? &lt;h3&gt; Solution&lt;/h3&gt; If the disk has not been rejected from the array:&lt;br /&gt;Enter &lt;tt&gt;smitty ssaraid&lt;/tt&gt; and select the following:&lt;br /&gt;--&gt; Change Member Disks in an SSA RAID Array&lt;br /&gt;--&gt; Remove a disk from an SSA RAID Array&lt;br /&gt;--&gt; Select the array in question and remove pdisk#... &lt;p&gt;The following steps apply to both rejected and non-rejected disks:&lt;br /&gt;2) Have the CE physically replace the disk (he should set it in service mode).&lt;br /&gt;3) rmdev -dl pdisk# ; cfgmgr -vl ssar&lt;br /&gt;4)Enter &lt;tt&gt;smitty ssaraid&lt;/tt&gt; and select the following:&lt;br /&gt;--&gt; Change/Show use of an ssa physical disk&lt;br /&gt;--&gt; Change the new pdisk's "current use" to Array Candidate.&lt;br /&gt;5) smitty ssaraid&lt;br /&gt;--&gt; Change Member Disks in an SSA RAID Array&lt;br /&gt;--&gt; Add a disk to an SSA RAID Array&lt;br /&gt;--&gt; Add the new pdisk definition to the array &lt;/p&gt;&lt;p&gt;This definition should now be in a "degraded" state. After adding the new disk the array will go into a "Rebuilding" state, and ultimately a "Good" state after the rebuild operation is complete.  This progress can be monitored via: &lt;/p&gt; &lt;tt&gt;smitty ssaraid&lt;/tt&gt;&lt;br /&gt;--&gt; List Status of all Defined SSA RAID Arrays&lt;br /&gt;--&gt; These numbers will get smaller as the array rebuilds and once they all go to zero, the array should be in a "Good" State" &lt;p&gt; This menu does not update dynamically, you will have to exit out, then go back in to see the progress.&lt;/p&gt; &lt;!--End content --&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-8761669058462992693?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/8761669058462992693/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=8761669058462992693' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/8761669058462992693'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/8761669058462992693'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/05/replacing-disk-in-ssa-raid5-array.html' title='Replacing a disk in an SSA RAID5 Array'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-4460266153185288814</id><published>2009-05-06T14:42:00.000-07:00</published><updated>2009-05-13T06:28:49.404-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='kdb'/><category scheme='http://www.blogger.com/atom/ns#' term='process'/><category scheme='http://www.blogger.com/atom/ns#' term='network'/><category scheme='http://www.blogger.com/atom/ns#' term='port'/><category scheme='http://www.blogger.com/atom/ns#' term='lsof'/><category scheme='http://www.blogger.com/atom/ns#' term='netstat'/><title type='text'>Determine which process is using a specific network port on AIX with or without lsof</title><content type='html'>&lt;span style="font-size:180%;"&gt;&lt;span style="font-weight: bold;"&gt;Method 1. Using lsof.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It will be easy if you have lsof installed.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;# &lt;span style="font-weight: bold;"&gt;lsof -i:32876&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;COMMAND    PID    USER   FD   TYPE     DEVICE SIZE/OFF NODE NAME&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;oracle  135744 oracle7   13u  IPv4 0x70bbe200     0t11  UDP loopback:32876&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;# &lt;span style="font-weight: bold;"&gt;ps -ef|grep 135744&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; oracle7 135744      1   0   Apr 21      -  2:45 ora_pmon_ftc_p01&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:180%;"&gt;&lt;span style="font-weight: bold;"&gt;Method 2.  Using netstat and rmsock&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;# &lt;span style="font-weight: bold;"&gt;netstat -Aan|grep 9991&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;f100020000626b98 tcp4       0      0  *.9991             *.*                LISTEN&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;# &lt;span style="font-weight: bold;"&gt;rmsock f100020000626b98 tcpcb&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;The socket 0x626808 is being held by proccess 200928 (sysscand).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;#&lt;span style="font-weight: bold;"&gt;ps -ef|grep 200928&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    root  200928       1   0   Apr 21      -  0:01 /opt/sysscan/bin/sysscand&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:180%;"&gt;&lt;span style="font-weight: bold;"&gt;Method 3: Using netstat and kdb.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;# &lt;span style="font-weight: bold;"&gt;netstat -Aan|grep 9991&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; f100020000626b98 tcp4       0      0  *.9991             *.*                LISTEN&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;# &lt;span style="font-weight: bold;"&gt;kdb&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;The specified kernel file is a 64-bit kernel&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Preserving 1418431 bytes of symbol table&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;First symbol __mulh&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;           START              END &lt;name&gt;&lt;/name&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;0000000000001000 0000000003E0D050 start+000FD8&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;F00000002FF47600 F00000002FFDC940 __ublock+000000&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;000000002FF22FF4 000000002FF22FF8 environ+000000&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;000000002FF22FF8 000000002FF22FFC errno+000000&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;F100070F00000000 F100070F10000000 pvproc+000000&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;F100070F10000000 F100070F18000000 pvthread+000000&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;PFT:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;PVT:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;id....................0002&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;raddr.....0000000000724000 eaddr.....F200800030000000&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;size..............00040000 align.............00001000&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;valid..1 ros....0 fixlmb.1 seg....0 wimg...2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        ERROR: Unable to acess nfs_syms&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;(0)&gt; &lt;span style="font-weight: bold;"&gt;sockinfo f100020000626b98 tcpcb&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;.................&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;..............&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;on last a few lines.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;proc/fd:  49/0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;proc/fd: fd: 0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;              SLOT NAME     STATE      PID    PPID          ADSPACE  CL #THS&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;pvproc+00C400   49*sysscand ACTIVE 00310E0 0000001 00000000285C7400   0 0001&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;(0)&gt;  &lt;span style="font-weight: bold;"&gt;hcal 00310E0&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Value hexa: 000310E0          Value decimal: 200928&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;(0)&gt; &lt;span style="font-weight: bold;"&gt;quit&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;# ps -ef|grep 200928&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    root  200928       1   0   Apr 21      -  0:01 /opt/sysscan/bin/sysscand&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-4460266153185288814?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/4460266153185288814/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=4460266153185288814' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/4460266153185288814'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/4460266153185288814'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/05/determine-which-process-is-using.html' title='Determine which process is using a specific network port on AIX with or without lsof'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-3759799412838631831</id><published>2009-04-29T13:55:00.000-07:00</published><updated>2009-04-29T13:56:15.210-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='problem'/><category scheme='http://www.blogger.com/atom/ns#' term='backup'/><title type='text'>Backupios Fails with 0512-008 savevg</title><content type='html'>&lt;table border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr valign="top"&gt;&lt;td width="438"&gt;&lt;table border="0" cellpadding="0" cellspacing="0" width="443"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td height="20" valign="bottom" width="443"&gt;&lt;b&gt;Problem(Abstract)&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="443"&gt; Backupios command fails with 0512-008 savevg: The mkvgdata command failed.  Backup canceled.  &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td height="20" valign="bottom" width="443"&gt;&lt;b&gt;Symptom&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="443"&gt; $ backupios -file /home/padmin/mksysb/ibm74vioa_mksysb -mksysb           &lt;p&gt;&lt;br /&gt;/home/padmin/mksysb/ibm74vioa_mksysb  doesn't exist.                   &lt;br /&gt;&lt;br /&gt;Creating /home/padmin/mksysb/ibm74vioa_mksysb                          &lt;br /&gt;Backup in progress.  This command can take a considerable amount of time&lt;br /&gt;to complete, please be patient...                                      &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Creating information file (/image.data) for rootvg.                    &lt;br /&gt;0512-008 savevg: The mkvgdata command failed.  Backup canceled.        &lt;br /&gt;&lt;br /&gt;/usr/bin/mkvgdata[1068]: -: more tokens expected                          &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt;&lt;td width="438"&gt;&lt;img src="http://www-01.ibm.com/support/docview.wss?uid=isg3T1011324&amp;amp;aid=1" alt="" border="0" height="1" width="1" /&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt;&lt;td width="438"&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td height="20" valign="bottom" width="443"&gt;&lt;b&gt;Cause&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="443"&gt; This error is caused by having a user created filesystem mounted within rootvg. &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;/tr&gt;  &lt;tr valign="top"&gt;&lt;td width="438"&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td height="20" valign="bottom" width="443"&gt;&lt;b&gt;Resolving the problem&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="443"&gt; Unmount all user-created filesystems in rootvg and re-run backupios command. &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-3759799412838631831?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/3759799412838631831/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=3759799412838631831' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/3759799412838631831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/3759799412838631831'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/04/backupios-fails-with-0512-008-savevg.html' title='Backupios Fails with 0512-008 savevg'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-848054672633197665</id><published>2009-04-27T14:48:00.000-07:00</published><updated>2009-04-27T14:53:07.396-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sendmail'/><title type='text'>Mail stucked in /var/spool/mqueue</title><content type='html'>&lt;span style="font-size:180%;"&gt;&lt;span style="font-weight: bold;"&gt;Problem:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Thousands of mails are stucked in /var/spool/mqueue&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:180%;"&gt;&lt;span style="font-weight: bold;"&gt;Solution:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Manually test sendmail:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new; font-weight: bold;"&gt;sendmail -v -q&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;font-size:78%;" &gt;Warning: .cf file is out of date: sendmail AIX5.3/8.13.4 supports version 10, .cf file is version 9&lt;br /&gt;&lt;br /&gt;Running /var/spool/mqueue/n3RLGNaZ195422 (sequence 1 of 30)&lt;br /&gt;dtuser... Connecting to local...&lt;br /&gt;dtuser... Deferred: local mailer (/bin/bellmail) exited with EX_TEMPFAIL&lt;br /&gt;&lt;br /&gt;Running /var/spool/mqueue/n3RLHQDC198652 (sequence 2 of 30)&lt;br /&gt;dtuser... Connecting to local...&lt;br /&gt;dtuser... Deferred: local mailer (/bin/bellmail) exited with EX_TEMPFAIL&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Check permission of /var/spool/mail and /var/spool/mqueue&lt;br /&gt;&lt;br /&gt;ls -ld /var/spool/mail&lt;br /&gt;drwxr-xr-x    2 bin      mail            512 Jul 30 2007  /var/spool/mail&lt;br /&gt;ls -ld /var/spool/mqueue&lt;br /&gt;drwxrwx---    2 root     system      6376448 Apr 27 14:47 /var/spool/mqueue&lt;br /&gt;&lt;br /&gt;Permission of /var/spool/mail should be 775.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;chmod 775 /var/spool/mail&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now problem is solved.&lt;br /&gt;&lt;br /&gt;sendmail -v -q&lt;br /&gt;Warning: .cf file is out of date: sendmail AIX5.3/8.13.4 supports version 10, .cf file is version 9&lt;br /&gt;&lt;br /&gt;Running /var/spool/mqueue/n3RLYND7164390 (sequence 1 of 32)&lt;br /&gt;dtuser... Connecting to local...&lt;br /&gt;dtuser... Sent&lt;br /&gt;&lt;br /&gt;Running /var/spool/mqueue/n3RLZQLo185340 (sequence 2 of 32)&lt;br /&gt;dtuser... Connecting to local...&lt;br /&gt;dtuser... Sent&lt;br /&gt;&lt;br /&gt;Running /var/spool/mqueue/n3RLaUAI198578 (sequence 3 of 32)&lt;br /&gt;dtuser... Connecting to local...&lt;br /&gt;dtuser... Sent&lt;br /&gt;&lt;br /&gt;Running /var/spool/mqueue/n3RLbWZV198618 (sequence 4 of 32)&lt;br /&gt;dtuser... Connecting to local...&lt;br /&gt;dtuser... Sent&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-848054672633197665?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/848054672633197665/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=848054672633197665' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/848054672633197665'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/848054672633197665'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/04/mail-stucked-in-varspoolmqueue.html' title='Mail stucked in /var/spool/mqueue'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-80156302244439985</id><published>2009-04-24T20:34:00.001-07:00</published><updated>2009-04-24T20:36:39.955-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='problem'/><category scheme='http://www.blogger.com/atom/ns#' term='console'/><title type='text'>Reconfigure the console on AIX</title><content type='html'>&lt;span style="font-weight: bold;font-size:180%;" &gt;Problem:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;When use vtmenu or mkvterm on the HMC to establish a console session, the console is blank.&lt;br /&gt;&lt;span style="font-size:180%;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Solution:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To completely remove vsa0 and vty0 from ODM and have system come up on&lt;br /&gt;reboot and prompt you to set this terminal as your console.&lt;br /&gt;&lt;br /&gt;If you have network access you can do this from a telnet or ssh session&lt;br /&gt;If you have no network access you will need to boot into Maintenance&lt;br /&gt;Mode.&lt;br /&gt;&lt;br /&gt;- List all vty's and tty's on system&lt;br /&gt;# lsdev -Cc tty&lt;br /&gt;&lt;br /&gt;- Delete all vty's and tty's from ODM&lt;br /&gt;&lt;br /&gt;# odmdelete -q name=tty0 -o CuDv              &lt;---- run this command for&lt;br /&gt;all vty's and tty's&lt;br /&gt;0518-307 odmdelete: 1 objects deleted.&lt;br /&gt;&lt;br /&gt;- List all vsa's on system&lt;br /&gt;# lsdev -Cc adapter | grep vsa&lt;br /&gt;&lt;br /&gt;- Delete all vsa's from ODM&lt;br /&gt;&lt;br /&gt;# odmdelete -q name=vsa0 -o CuDv               &lt;---- run this command&lt;br /&gt;for all vsa's and sa's&lt;br /&gt;0518-307 odmdelete: 1 objects deleted.&lt;br /&gt;&lt;br /&gt;# odmdelete -q attribute=syscons -o CuAt&lt;br /&gt;0518-307 odmdelete: 1 objects deleted.&lt;br /&gt;&lt;br /&gt;# bosboot -ad /dev/ipldevice&lt;br /&gt;bosboot: Boot image is 23794 512 byte blocks.&lt;br /&gt;&lt;br /&gt;# sync&lt;br /&gt;&lt;br /&gt;# savebase&lt;br /&gt;&lt;br /&gt;# shutdown -Fr      &lt;br /&gt;&lt;br /&gt;Define your console.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;******* Please define the System Console. *******&lt;br /&gt;&lt;br /&gt;Type a 2 and press Enter to use this terminal as the&lt;br /&gt; system console.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-80156302244439985?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/80156302244439985/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=80156302244439985' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/80156302244439985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/80156302244439985'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/04/reconfigure-console-on-aix.html' title='Reconfigure the console on AIX'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-599446212274786461</id><published>2009-04-22T06:15:00.000-07:00</published><updated>2009-04-22T06:22:15.332-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='users'/><title type='text'>Why nobody user has -2 as uid on AIX</title><content type='html'>nobody:!:-2:-2:System Id :/:/bin/false&lt;br /&gt;&lt;br /&gt;In the early days of unix, when they started creating common users, like root and admin and sys, the defaulted their ids as certain number so they would be common over all unix systems. They all had to create other accounts like nobody and created the id as -2, meaning that it is not a real id. (If you look at the /etc/security/passwd you will see they don't actually have a password.)&lt;br /&gt;&lt;br /&gt;They had created this -2 in a 32 bit world. -2 is actually the twos compliment of 4294967294 in a 32 bit world. They are actually the same number. However, some programs thought that ids would only be positive and thus would reject the -2. Later versions of UNIX would allow both -2 and 4294967294 to mean the same thing. Some programs will only accept 4294967294. Which is why they have recently started to default the number to 4294967294, which by the way, is also double the maximum&lt;br /&gt;number you are allow to put into that field.&lt;br /&gt;&lt;br /&gt;In short, -2 and 4294967294 are the same number and can be swapped back and forth at will. Why they are different on different machines is propably due to the different levels of AIX that they are and when those files were made. It is also possible that some programs will change those numbers themselves. For instance, mkuser will allow you to add a user to the nobody group and even if the nobody group is 4294967294, it will change it to -2.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-599446212274786461?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/599446212274786461/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=599446212274786461' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/599446212274786461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/599446212274786461'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/04/why-nobody-user-has-2-as-uid-on-aix.html' title='Why nobody user has -2 as uid on AIX'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-7477050076052610921</id><published>2009-04-18T10:56:00.000-07:00</published><updated>2009-04-18T11:01:10.074-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='uninstall'/><category scheme='http://www.blogger.com/atom/ns#' term='installp'/><title type='text'>Unable to uninstall bos.dlc.qllc</title><content type='html'>&lt;pre&gt;&lt;span class="OFHighlightTerm3"&gt;  installp -pgu bos.dlc.qllc&lt;br /&gt;*******************************************************************************&lt;br /&gt;installp PREVIEW:  deinstall operation will not actually occur.&lt;br /&gt;*******************************************************************************&lt;br /&gt;&lt;br /&gt;+-----------------------------------------------------------------------------+&lt;br /&gt;                   Pre-deinstall Verification...&lt;br /&gt;+-----------------------------------------------------------------------------+&lt;br /&gt;Verifying selections...done&lt;br /&gt;Verifying requisites...done&lt;br /&gt;Results...&lt;br /&gt;&lt;br /&gt;FAILURES&lt;br /&gt;--------&lt;br /&gt; Filesets listed in this section failed pre-deinstall verification&lt;br /&gt; and will not be removed.&lt;br /&gt;&lt;br /&gt; Non-Deinstallable Filesets&lt;br /&gt; --------------------------&lt;br /&gt; The following filesets were selected for deinstallation.  Deinstallability&lt;br /&gt; checks indicate that they should not be removed from the system.&lt;br /&gt;&lt;br /&gt;   bos.dlc.qllc&lt;br /&gt;&lt;br /&gt; &lt;&lt;&gt;&gt;&lt;br /&gt;&lt;br /&gt;FILESET STATISTICS&lt;br /&gt;------------------&lt;br /&gt;   1  Selected to be deinstalled, of which:&lt;br /&gt;       1  FAILED pre-deinstall verification&lt;br /&gt; ----&lt;br /&gt;   0  Total to be deinstalled&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;******************************************************************************&lt;br /&gt;End of installp PREVIEW.  No deinstall operation has actually occurred.&lt;br /&gt;******************************************************************************&lt;br /&gt;sacrs40:/etc#  installp -gu bos.dlc.qllc&lt;br /&gt;+-----------------------------------------------------------------------------+&lt;br /&gt;                   Pre-deinstall Verification...&lt;br /&gt;+-----------------------------------------------------------------------------+&lt;br /&gt;Verifying selections...done&lt;br /&gt;Verifying requisites...done&lt;br /&gt;Results...&lt;br /&gt;&lt;br /&gt;FAILURES&lt;br /&gt;--------&lt;br /&gt; Filesets listed in this section failed pre-deinstall verification&lt;br /&gt; and will not be removed.&lt;br /&gt;&lt;br /&gt; Non-Deinstallable Filesets&lt;br /&gt; --------------------------&lt;br /&gt; The following filesets were selected for deinstallation.  Deinstallability&lt;br /&gt; checks indicate that they should not be removed from the system.&lt;br /&gt;&lt;br /&gt;   bos.dlc.qllc&lt;br /&gt;&lt;br /&gt; &lt;&lt;&gt;&gt;&lt;br /&gt;&lt;br /&gt;FILESET STATISTICS&lt;br /&gt;------------------&lt;br /&gt;   1  Selected to be deinstalled, of which:&lt;br /&gt;       1  FAILED pre-deinstall verification&lt;br /&gt; ----&lt;br /&gt;   0  Total to be deinstalled&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Pre-installation Failure/Warning Summary&lt;br /&gt;----------------------------------------&lt;br /&gt;Name                      Level           Pre-installation Failure/Warning&lt;br /&gt;-------------------------------------------------------------------------------&lt;br /&gt;bos.dlc.qllc                              Failed pre-deinstallation check&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Solution:&lt;br /&gt;&lt;br /&gt;You need to remove the device first then uninstall the fileset&lt;br /&gt;&lt;br /&gt;&lt;span class="OFHighlightTerm3"&gt;# lsdev -C|grep dlcq&lt;br /&gt;dlcqllc      Available               X.25 QLLC Data Link Control&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;installp -gu bos.dlc.qllc&lt;br /&gt;+-----------------------------------------------------------------------------+&lt;br /&gt;                   Pre-deinstall Verification...&lt;br /&gt;+-----------------------------------------------------------------------------+&lt;br /&gt;Verifying selections...done&lt;br /&gt;Verifying requisites...done&lt;br /&gt;Results...&lt;br /&gt;&lt;br /&gt;SUCCESSES&lt;br /&gt;---------&lt;br /&gt; Filesets listed in this section passed pre-deinstall verification&lt;br /&gt; and will be removed.&lt;br /&gt;&lt;br /&gt; Selected Filesets&lt;br /&gt; -----------------&lt;br /&gt; bos.dlc.qllc 5.3.7.0                        # X.25 QLLC Data Link Control&lt;br /&gt;&lt;br /&gt; &lt;&lt;&gt;&gt;&lt;br /&gt;&lt;br /&gt;FILESET STATISTICS&lt;br /&gt;------------------&lt;br /&gt;   1  Selected to be deinstalled, of which:&lt;br /&gt;       1  Passed pre-deinstall verification&lt;br /&gt; ----&lt;br /&gt;   1  Total to be deinstalled&lt;br /&gt;&lt;br /&gt;+-----------------------------------------------------------------------------+&lt;br /&gt;                          Deinstalling Software...&lt;br /&gt;+-----------------------------------------------------------------------------+&lt;br /&gt;&lt;br /&gt;installp:  DEINSTALLING software for:&lt;br /&gt;       bos.dlc.qllc 5.3.7.0&lt;br /&gt;&lt;br /&gt;Finished processing all filesets.  (Total time:  1 secs).&lt;br /&gt;&lt;br /&gt;+-----------------------------------------------------------------------------+&lt;br /&gt;                               Summaries:&lt;br /&gt;+-----------------------------------------------------------------------------+&lt;br /&gt;&lt;br /&gt;Installation Summary&lt;br /&gt;--------------------&lt;br /&gt;Name                        Level           Part        Event       Result&lt;br /&gt;-------------------------------------------------------------------------------&lt;br /&gt;bos.dlc.qllc                5.3.7.0         ROOT        DEINSTALL   SUCCESS&lt;br /&gt;bos.dlc.qllc                5.3.7.0         USR         DEINSTALL   SUCCESS&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-7477050076052610921?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/7477050076052610921/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=7477050076052610921' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/7477050076052610921'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/7477050076052610921'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/04/unable-to-uninstall-bosdlcqllc.html' title='Unable to uninstall bos.dlc.qllc'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-5274438686850960910</id><published>2009-04-17T18:55:00.000-07:00</published><updated>2009-04-18T08:18:39.963-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='problem'/><category scheme='http://www.blogger.com/atom/ns#' term='SSH'/><title type='text'>ssh_exchange_identification: Connection closed by remote host</title><content type='html'>&lt;span style="font-size:180%;"&gt;&lt;span style="font-weight: bold;"&gt;Problem:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After upgrading openssh to version 5 on AIX server. Got the following error when trying to ssh into it.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;$ ssh -l userid server&lt;br /&gt;ssh_exchange_identification: Connection closed by remote host&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:180%;"&gt;&lt;span style="font-weight: bold;"&gt;Cause:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Somebody installed TCP wrapper which create a /etc/hosts.allow file with sample setting in it.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;# cat /etc/hosts.allow&lt;br /&gt;ALL: LOCAL @some_netgroup&lt;br /&gt;ALL: .foobar.edu EXCEPT terminalserver.foobar.edu&lt;br /&gt;telnetd: toto@foo.foobar.edu, [3ffe:302:100::]&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span style="font-size:180%;"&gt;&lt;span style="font-weight: bold;"&gt;Solution:&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Modify the /etc/hosts.allow to allow ALL&lt;br /&gt;&lt;pre&gt;# cat /etc/hosts.allow&lt;br /&gt;ALL:ALL&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Restart sshd,&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;stopsrc -s sshd ; startsrc -s sshd&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;problem fixed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-5274438686850960910?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/5274438686850960910/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=5274438686850960910' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/5274438686850960910'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/5274438686850960910'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/04/sshexchangeidentification-connection.html' title='ssh_exchange_identification: Connection closed by remote host'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-92503091829111133</id><published>2009-04-13T16:28:00.000-07:00</published><updated>2009-04-13T16:29:38.051-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='patching'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>FAQ: Patching for the Solaris OS</title><content type='html'>From Sun site:&lt;br /&gt;&lt;a href="http://www.sun.com/bigadmin/sundocs/articles/patch-faq.jsp?cid=e8406"&gt;http://www.sun.com/bigadmin/sundocs/articles/patch-faq.jsp?cid=e8406&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-92503091829111133?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/92503091829111133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=92503091829111133' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/92503091829111133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/92503091829111133'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/04/faq-patching-for-solaris-os.html' title='FAQ: Patching for the Solaris OS'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-826527109711272677</id><published>2009-04-13T16:25:00.000-07:00</published><updated>2009-04-13T16:26:58.607-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='upgrade'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Now possible to upgrade directly from Solaris 8 SPARC to latest Solaris 10 release</title><content type='html'>See &lt;a href="http://sunsolve.sun.com/search/document.do?assetkey=1-9-250526-1"&gt;http://sunsolve.sun.com/search/document.do?assetkey=1-9-250526-1&lt;/a&gt; and &lt;a href="http://sunsolve.sun.com/search/document.do?assetkey=1-61-72099-1"&gt;http://sunsolve.sun.com/search/document.do?assetkey=1-61-72099-1&lt;/a&gt; for details.   &lt;p&gt;Previously, due to the lack of p7zip on Solaris 8, customers needed to perform an interim upgrade to Solaris 9 or an earlier Solaris 10 release before upgrading to the latest Solaris 10 release.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-826527109711272677?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/826527109711272677/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=826527109711272677' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/826527109711272677'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/826527109711272677'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/04/now-possible-to-upgrade-directly-from.html' title='Now possible to upgrade directly from Solaris 8 SPARC to latest Solaris 10 release'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-2490027122165640524</id><published>2009-04-13T14:36:00.000-07:00</published><updated>2009-04-13T14:37:54.428-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='device'/><category scheme='http://www.blogger.com/atom/ns#' term='problem'/><title type='text'>Cfgmgr does not find a device</title><content type='html'>&lt;table style="width: 685px; height: 600px;" border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr valign="top"&gt;&lt;td width="438"&gt;&lt;table border="0" cellpadding="0" cellspacing="0" width="443"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td height="20" valign="bottom" width="443"&gt;&lt;b&gt;Question&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="443"&gt; Devices discovery troubleshooting with alog -t cfg  &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt;&lt;td width="438"&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td height="20" valign="bottom" width="443"&gt;&lt;b&gt;Cause&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="443"&gt; Device discovery for devices can be difficult when minimal information is available. &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;  &lt;tr valign="top"&gt;&lt;td width="438"&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td height="20" valign="bottom" width="443"&gt;&lt;b&gt;Answer&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="443"&gt; Device discovery on AIX.&lt;br /&gt;Starting with AIX 5.2 ML05 and AIX 5.3 ML01 there is an ability to log information via the alog utility for the cfg methods. Depending on the OS version and maintenance level the amount of detail that can be logged vary.&lt;br /&gt;&lt;br /&gt;One key thing is the verbosity level. If the level is high enough the SCSI id and LUN are reported as a discovered device. If an open is done on the device the SCIOSTART is used.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;echo "Create cfglog `date`"|alog -t cfg&lt;br /&gt;&lt;br /&gt;export CFGLOG="cmd,meth,lib,verbosity:9"&lt;br /&gt;&lt;br /&gt;cfgmgr -l &lt;adapter&gt;&lt;br /&gt;&lt;br /&gt;alog -o -t cfg &gt; /tmp/cfgmethod.log&lt;br /&gt;&lt;br /&gt;Send /tmp/cfgmethod.log to IBM support.&lt;br /&gt;&lt;br /&gt;To turn logging off:&lt;br /&gt;&lt;br /&gt;unset CFGLOG&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;exit &lt;/adapter&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-2490027122165640524?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/2490027122165640524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=2490027122165640524' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/2490027122165640524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/2490027122165640524'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/04/cfgmgr-does-not-find-device.html' title='Cfgmgr does not find a device'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-4150456703247962682</id><published>2009-04-13T13:57:00.000-07:00</published><updated>2009-04-13T14:05:00.239-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='problem'/><category scheme='http://www.blogger.com/atom/ns#' term='update boot'/><title type='text'>bosboot  warning message</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Problem:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;On AIX 5.2 server, got warning message which means scary when building boot image on hdisk0.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family: courier new;"&gt;aixserver:/root# bosboot -ad /dev/hdisk0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;bosboot: Boot image is 24922 512 byte blocks.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;***** ATTENTION *****&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;The boot image you just created might fail to boot because&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;the size exceeds the system limit.  For information about&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;fixes or workarounds, see /usr/lpp/bos.sysmgt/README.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;***** ATTENTION *****&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;aixserver:/root# oslevel -s&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;5200-10-06-0835&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;Since the boot image is over the 12Mb line, you will see this warning.&lt;br /&gt;Older systems cannot handle a large boot image like this, but with the&lt;br /&gt;latest system firmware and at your 5.2 ML 8 this server will boot up&lt;br /&gt;fine, as you have the necessary APARs installed to boot from the larger&lt;br /&gt;image.&lt;br /&gt;&lt;br /&gt;You will still see this warning however when you run bosboot or if&lt;br /&gt;mksysb runs bosboot, but you may ignore it.  You may also see this on&lt;br /&gt;other systems once the boot image has grown past 12Mb, such as with&lt;br /&gt;adding new disks or adapters to the system.&lt;br /&gt;&lt;/pre&gt;Check the system firmware level, this server is at &lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;SF240_284, &lt;/span&gt;&lt;/span&gt;which &lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt; &lt;/span&gt;&lt;/span&gt;support boot image greater than 12MB. So we can ignore this warning message.&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;# lsmcode&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;┌──────────────────────────────────────────────────────┐&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;│                                                      │&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;│ Building Resource Database.                          │&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;│ Please stand by.                                     │&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;                                      └──────────────────────────────────────────────────────┘&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;DISPLAY MICROCODE LEVEL                                                                                                                802811&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;Determining Microcode levels.......&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;Please stand by.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;DISPLAY MICROCODE LEVEL                                                                                                                802811&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;IBM,9117-570&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;The current permanent system firmware image is SF240_284&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;The current temporary system firmware image is SF240_284&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;The system is currently booted from the temporary firmware image.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-4150456703247962682?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/4150456703247962682/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=4150456703247962682' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/4150456703247962682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/4150456703247962682'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/04/bosboot-warning-message.html' title='bosboot  warning message'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-6508486031532113596</id><published>2009-03-28T12:03:00.000-07:00</published><updated>2009-03-28T12:04:21.555-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='login'/><category scheme='http://www.blogger.com/atom/ns#' term='getty'/><title type='text'>Getty and Login relationship in AIX</title><content type='html'>&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;" class="second-head-gray"&gt;&lt;span style="font-family:Verdana;"&gt;Question&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;Explanation of the relationship between the getty and login programs in AIX.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;" class="second-head-gray"&gt;&lt;span style="font-family:Verdana;"&gt;Answer&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt; &lt;/span&gt;&lt;p&gt;&lt;span style="font-family:Verdana;"&gt;In AIX the programs for getty and login are really the same binary: they are&lt;br /&gt;hard or symbolic links to a program called "Terminal State Manager", or tsm.&lt;p&gt; &lt;/p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Verdana;"&gt;The fileset that contains the tsm binary and creates some of these links&lt;br /&gt;is bos.rte.security.&lt;p&gt;&lt;br /&gt;&lt;br /&gt;The tsm binary checks to see what name it was called by (arg 0) and behaves differently depending on this.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;&lt;br /&gt; $ ls -li /etc/getty /usr/sbin/getty /usr/bin/login /bin/login \&lt;br /&gt; /usr/sbin/login /usr/sbin/tsm&lt;br /&gt;&lt;br /&gt;  4406 lrwxrwxrwx   1 root     security      13 Sep 06 09:09 /bin/login -&gt; /usr/sbin/tsm&lt;br /&gt;  1096 lrwxrwxrwx   1 root     security      13 Oct 04 10:35 /etc/getty -&gt; /usr/sbin/tsm&lt;br /&gt;  4406 lrwxrwxrwx   1 root     security      13 Sep 06 09:09 /usr/bin/login -&gt; /usr/sbin/tsm&lt;br /&gt;   204 -r-sr-xr-x   3 root     security   59422 May 18 15:09 /usr/sbin/getty&lt;br /&gt;   204 -r-sr-xr-x   3 root     security   59422 May 18 15:09 /usr/sbin/login&lt;br /&gt;   204 -r-sr-xr-x   3 root     security   59422 May 18 15:09 /usr/sbin/tsm&lt;br /&gt;&lt;pre&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;If the symbolic or hard links are broken, logins may not work correctly.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;h2&gt;WHERE IS /ETC/GETTY?&lt;/h2&gt;&lt;br /&gt;&lt;br /&gt;By default most system installs will not include /etc/getty.  This file is&lt;br /&gt;part of the fileset bos.compat.links.  This fileset simply provides symbolic&lt;br /&gt;links.  For example:&lt;br /&gt;&lt;pre&gt; &lt;/pre&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family:Verdana;"&gt;  root# lslpp -l bos.compat.links&lt;br /&gt; bos.compat.links          5.3.0.30  COMMITTED  AIX 3.2 to 4 Compatibility&lt;br /&gt;&lt;br /&gt; root# lslpp -f bos.compat.links&lt;br /&gt;   Fileset               File&lt;br /&gt;  -----------------------------------------------------------------&lt;br /&gt; Path: /usr/lib/objrepos&lt;br /&gt;   bos.compat.links 5.3.0.30&lt;br /&gt;&lt;br /&gt;                         /usr/ucb/fmt -&gt; /usr/bin/fmt&lt;br /&gt;                         /usr/bin/lsnamsv -&gt; /usr/sbin/lsnamsv&lt;br /&gt;                         /usr/bin/chroot -&gt; /usr/sbin/chroot&lt;br /&gt;                         /usr/ucb/fold -&gt; /usr/bin/fold&lt;br /&gt;                         ... excess deleted ....&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-6508486031532113596?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/6508486031532113596/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=6508486031532113596' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/6508486031532113596'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/6508486031532113596'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/03/getty-and-login-relationship-in-aix.html' title='Getty and Login relationship in AIX'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-9157861805529769851</id><published>2009-03-28T11:58:00.000-07:00</published><updated>2009-03-28T11:59:54.913-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='LPAR'/><category scheme='http://www.blogger.com/atom/ns#' term='Dynamic'/><title type='text'>How can I move my DVD-ROM or CD-ROM drive from one LPAR to another?</title><content type='html'>&lt;table style="width: 692px; height: 52px;" border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr style="font-weight: bold;"&gt;&lt;td&gt;&lt;span style="font-size:130%;"&gt;&lt;span class="second-head-gray"&gt;&lt;span style="font-family:Verdana;"&gt;Question&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td valign="top"&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;How can I move my DVD-ROM or CD-ROM drive from one LPAR to another?&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;  &lt;table width="100%" border="0" cellpadding="0" cellspacing="0"&gt;         &lt;tbody&gt;&lt;tr&gt;                 &lt;td width="100%" bgcolor="#999999"&gt;&lt;img src="http://dbluedst.pok.ibm.com/icons/ecblank.gif" width="2" border="0" height="1" /&gt;&lt;/td&gt;        &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;span class="second-head-gray"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;table width="100%" border="0" cellpadding="0" cellspacing="0"&gt;         &lt;tbody&gt;&lt;tr&gt;                 &lt;td width="100%" bgcolor="#999999"&gt;&lt;img src="http://dbluedst.pok.ibm.com/icons/ecblank.gif" width="2" border="0" height="1" /&gt;&lt;/td&gt;        &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;" class="second-head-gray"&gt;&lt;span style="font-family:Verdana;"&gt;Answer&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt; &lt;/span&gt;&lt;p&gt;&lt;span style="font-family:Verdana;"&gt;If you don't know which LPAR owns the CD-ROM drive, use the HMC manager or WEBSM tool.&lt;br /&gt;Select the managed system and open "Properties".&lt;br /&gt;Select the "I/O" tab. Look for the I/O device with the description "Other Mass Storage Controller" and read the "Owner" field. This will show the LPAR currently owning that device. &lt;/span&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Verdana;"&gt;ON THE SOURCE SYSTEM: &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Verdana;"&gt;1. Find the parent adapter of the DVD or CD device: &lt;/span&gt;&lt;/p&gt;&lt;span style="font-family:Verdana;"&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;$ lsdev -Cl cd0 -F parent&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;ide0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;2. Find the slot containing the IDE bus:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;$ lsslot -c slot&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;# Slot                    Description       Device(s)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;U787B.001.DNWG2AB-P1-T16  Logical I/O Slot  pci1 ide0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;U9133.55A.105C2EH-V7-C0   Virtual I/O Slot  vsa0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;U9133.55A.105C2EH-V7-C2   Virtual I/O Slot  ent0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;U9133.55A.105C2EH-V7-C3   Virtual I/O Slot  vscsi0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;so PCI1 is the slot containing the IDE adapter and CD drive.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;3. Remove the slot from this host:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;# rmdev -dl pci1 -R&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;cd0 deleted&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;ide0 deleted&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;pci1 deleted&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;ON THE HMC:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Select the LPAR currently owning the CD-ROM, and in the Actions menu select:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Dynamic Logical Partitioning -&gt; Physical Adapters -&gt; Move or Remove&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Select the adapter for "Other Mass Storage Controller" and move to the desired target LPAR.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;This will perform a DLPAR operation on both the source and target LPAR.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;ON THE TARGET SYSTEM:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Log in as root and run &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;# cfgmgr&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;The CD-ROM device should show up now&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;# lsdev -C | grep cd&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;cd0        Available 1G-19-00      IDE DVD-ROM Drive&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-9157861805529769851?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/9157861805529769851/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=9157861805529769851' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/9157861805529769851'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/9157861805529769851'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/03/how-can-i-move-my-dvd-rom-or-cd-rom.html' title='How can I move my DVD-ROM or CD-ROM drive from one LPAR to another?'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-2222679919635611490</id><published>2009-03-28T11:56:00.000-07:00</published><updated>2009-03-28T11:57:36.486-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='problem'/><category scheme='http://www.blogger.com/atom/ns#' term='update boot'/><title type='text'>Hard-Luck Editing the /etc/inittab File in Maintenance Mode</title><content type='html'>&lt;h1&gt;Hard-Luck Editing the /etc/inittab File in Maintenance Mode&lt;/h1&gt;  &lt;img alt="" class="display-img" src="http://www.ibm.com/i/c.gif" width="1" height="6" /&gt;                                      &lt;!--BEGIN MAIN BODY CONTENT--&gt;    &lt;!--BEGIN CONTENT--&gt; &lt;!-- ******** PASTE MAIN BODY CONTENT HERE ******** --&gt;  &lt;table border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr valign="top"&gt;&lt;td width="438"&gt; &lt;table style="width: 695px; height: 111px;" border="0" cellpadding="0" cellspacing="0"&gt; &lt;tbody&gt;&lt;tr&gt; &lt;td class="v14-header-1efix" valign="top" width="443" height="19"&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="bottom" width="443" height="20"&gt;&lt;b&gt;Problem(Abstract)&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="443"&gt; This technote describes a technique for creating a minimal /etc/inittab file if no other tools are available.  &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt;&lt;td width="438"&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td valign="bottom" width="443" height="20"&gt;&lt;b&gt;Cause&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="443"&gt; A bad entry in the /etc/inittab is keeping the system from booting properly. &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;  &lt;tr valign="top"&gt;&lt;td width="438"&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="bottom" width="443" height="20"&gt;&lt;b&gt;Resolving the problem&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="443"&gt; Ordinarily if there is a problem with one or more entries in the /etc/inittab the preferred method of editing it is: &lt;p&gt;1. Boot into Maintenance Mode off AIX install CDs, mksysb, or NIM &lt;/p&gt;&lt;p&gt;2. Access the rootvg and start a shell with the filesystems mounted. &lt;/p&gt;&lt;p&gt;3. Edit /etc/inittab down to a minimum 3 lines: &lt;/p&gt;&lt;p&gt;&lt;br /&gt;init:2:initdefault:&lt;br /&gt;brc::sysinit:/sbin/rc.boot 3 &gt;/dev/console 2&gt;&amp;amp;1 # Phase 3 of system boot&lt;br /&gt;cons:0123456789:respawn:/usr/sbin/getty /dev/console&lt;br /&gt;&lt;/p&gt;&lt;p&gt;In cases where the rootvg filesystems cannot be mounted automatically (for example the CD media is a different Technology Level than what exists on hard disk; or the filesystems for some reason won't automatically mount), commands such as the "vi" editor won't be available to edit the inittab. &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;In this case a hard-luck method can be used to create a minimal inittab. &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;1. Boot into Maintenance Mode and choose Option 2 "Access rootvg and start a shell before mounting filesystems". &lt;/p&gt;&lt;p&gt;2. Once in Maintenance Mode, fsck all rootvg filesystems necessary: &lt;/p&gt;&lt;p&gt; # fsck /dev/hd1&lt;br /&gt;# fsck /dev/hd2&lt;br /&gt;# fsck /dev/hd3&lt;br /&gt;# fsck /dev/hd4&lt;br /&gt;# fsck /dev/hd9var&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3. Mount root on a temporary mount point: &lt;/p&gt;&lt;p&gt; # mount /dev/hd4 /mnt &lt;/p&gt;&lt;p&gt;4. Copy the bad inittab to a backup: &lt;/p&gt;&lt;p&gt; # cd /mnt/etc&lt;br /&gt;# mv inittab inittab.bad &lt;/p&gt;&lt;p&gt;5. Use grep to create a minimal new inittab: &lt;/p&gt;&lt;p&gt; # grep "init:" inittab.bad &gt; inittab              (adds both the init: and brc: entries)&lt;br /&gt;# grep "^cons:" inittab.bad &gt;&gt; inittab     (adds the cons: entry) &lt;/p&gt;&lt;p&gt;6. Reboot using the new inittab:&lt;br /&gt;# sync; sync; sync&lt;br /&gt;# cd /&lt;br /&gt;# umount /mnt&lt;br /&gt;power cycle the system from the front panel or HMC &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-2222679919635611490?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/2222679919635611490/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=2222679919635611490' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/2222679919635611490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/2222679919635611490'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/03/hard-luck-editing-etcinittab-file-in.html' title='Hard-Luck Editing the /etc/inittab File in Maintenance Mode'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-3549485190615007994</id><published>2009-03-28T11:53:00.000-07:00</published><updated>2009-03-28T11:54:32.853-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Filesystem'/><category scheme='http://www.blogger.com/atom/ns#' term='lvm'/><title type='text'>Querying filesystem information used in mouting a filesystem</title><content type='html'>&lt;table width="100%" border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr style="font-weight: bold;"&gt;&lt;td&gt;&lt;span class="second-head-gray"&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Question&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td valign="top"&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;This technote lists some methods to check information used in mounting a filesystem.&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;  &lt;span class="second-head-gray"&gt;&lt;/span&gt; &lt;table width="100%" border="0" cellpadding="0" cellspacing="0"&gt;         &lt;tbody&gt;&lt;tr&gt;                 &lt;td width="100%" bgcolor="#999999"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/td&gt;        &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;span style="font-weight: bold;" class="second-head-gray"&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;Answer&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt; &lt;/span&gt;&lt;p&gt;&lt;span style="font-family:Verdana;"&gt;If you are encountering problems with the mount command and filesystems, make sure to check multiple sources of information about the filesystem and compare them. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Verdana;"&gt;For example, if encountering the mount error: &lt;/span&gt;&lt;/p&gt;&lt;span style="font-family:Verdana;"&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;mount: 0506-324 Cannot mount /dev/lv06 on /filesystem06:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;A system call received a parameter that is not valid.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This may be due to an inconsistency between the information in /etc/filesystems, the Logical Volume Control Block (LVCB), and the superblock of the filesystem.&lt;br /&gt;&lt;br /&gt;To check the LVCB directly, use:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;# /usr/sbin/getlvcb -AT &lt;lvname&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt; example:&lt;br /&gt;&lt;code&gt; &lt;br /&gt;# getlvcb -AT fslv00&lt;br /&gt;     AIX LVCB&lt;br /&gt;     intrapolicy = m&lt;br /&gt;     copies = 2&lt;br /&gt;     interpolicy = m&lt;br /&gt;     lvid = 0007b53c00004c00000001122a1ec0fd.2&lt;br /&gt;     lvname = fslv00&lt;br /&gt;     label = /myfilesystem&lt;br /&gt;     machine id = 7B53C4C00&lt;br /&gt;     number lps = 4&lt;br /&gt;     relocatable = y&lt;br /&gt;     strict = y&lt;br /&gt;     stripe width = 0&lt;br /&gt;     stripe size in exponent = 0&lt;br /&gt;     type = jfs2&lt;br /&gt;     upperbound = 32&lt;br /&gt;     fs = vfs=jfs2:log=/dev/loglv00:options=rw:account=false&lt;br /&gt;     time created  = Fri May  4 08:46:00 2007&lt;br /&gt;     time modified = Mon May 21 15:04:24 2007&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;To check the superblock, use&lt;br /&gt;&lt;br /&gt;&lt;code&gt;# /usr/sbin/lsfs -q /dev/&lt;lvname&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt; example:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;  # lsfs -q /myfilesystem&lt;br /&gt;Name            Nodename   Mount Pt               VFS   Size    Options    Auto Accounting&lt;br /&gt;/dev/fslv00     --         /myfilesystem          jfs2  524288  rw         no   no&lt;br /&gt;  (lv size: 524288, fs size: 524288, block size: 4096, sparse files: yes, inline log: no, inline log size: 0,&lt;br /&gt;&lt;br /&gt;reserved: 0, reserved: 0, DMAPI: no, VIX: no)&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;If the filesystem is a JFS2 filesystem, the same information can be printed in a less-readable format by using:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;# /usr/sbin/lsjfs2  /&lt;filesystem&gt;&lt;br /&gt;&lt;br /&gt; example:&lt;br /&gt;  # lsjfs2 /myfilesystem&lt;br /&gt;#MountPoint:Device:Vfs:Nodename:Type:Size:Options:AutoMount:Acct:OtherOptions:LvSize:FsSize:&lt;br /&gt;&lt;br /&gt;BlockSize:Sparse:InlineLog:InlineLogSz:Reserved:Reserved:DMAPI:VIX:&lt;br /&gt;/myfilesystem:/dev/fslv00:jfs2:::524288:rw:no:no::524288:524288:4096:yes:no:0:0:0:no:no:&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Also, check the stanza within /etc/filesystems to confirm the information matches the superblock data:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;# grep -p &lt;filesystem&gt; /etc/filesystems&lt;br /&gt;&lt;/code&gt;&lt;br /&gt; example:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;  # grep -p /myfilesystem /etc/filesystems&lt;br /&gt;  /myfilesystem:&lt;br /&gt;          dev             = /dev/fslv00&lt;br /&gt;           vfs             = jfs2&lt;br /&gt;          log             = /dev/loglv00&lt;br /&gt;          mount           = false&lt;br /&gt;          options         = rw&lt;br /&gt;          account         = false&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;PLEASE NOTE: /usr/sbin/getlvcb and /usr/sbin/lsjfs2 are undocumented, low-level commands.&lt;/b&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-3549485190615007994?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/3549485190615007994/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=3549485190615007994' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/3549485190615007994'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/3549485190615007994'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/03/querying-filesystem-information-used-in.html' title='Querying filesystem information used in mouting a filesystem'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-8825648408344313859</id><published>2009-03-28T11:32:00.000-07:00</published><updated>2009-03-28T11:33:50.134-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VG'/><category scheme='http://www.blogger.com/atom/ns#' term='problem'/><category scheme='http://www.blogger.com/atom/ns#' term='lvm'/><title type='text'>0516-008 varyonvg: LVM system call returned an unknown  error code (3).</title><content type='html'>&lt;pre&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Problem:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The &lt;span class="OFHighlightTerm5"&gt;system&lt;/span&gt; was rebooted itself &lt;span class="OFHighlightTerm5"&gt;an&lt;/span&gt;d they can't varyon&lt;br /&gt;             a volume group:&lt;br /&gt;              varyonvg vgss01page&lt;br /&gt;              &lt;span class="OFHighlightTerm1"&gt;0516&lt;/span&gt;-&lt;span class="OFHighlightTerm2"&gt;008&lt;/span&gt; &lt;span class="OFHighlightTerm3"&gt;varyonvg:&lt;/span&gt; &lt;span class="OFHighlightTerm4"&gt;LVM&lt;/span&gt; &lt;span class="OFHighlightTerm5"&gt;system&lt;/span&gt; &lt;span class="OFHighlightTerm5"&gt;call&lt;/span&gt; &lt;span class="OFHighlightTerm5"&gt;returned&lt;/span&gt; &lt;span class="OFHighlightTerm5"&gt;an&lt;/span&gt; &lt;span class="OFHighlightTerm5"&gt;unknown&lt;/span&gt;&lt;br /&gt;              &lt;span class="OFHighlightTerm5"&gt;error&lt;/span&gt; &lt;span class="OFHighlightTerm5"&gt;code&lt;/span&gt; (&lt;span class="OFHighlightTerm5"&gt;3&lt;/span&gt;).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Solution:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;lsvg -o  -&gt; not variedon&lt;br /&gt;lspv:&lt;br /&gt;&lt;br /&gt;hdisk2          000df0af41b969ae                    vgss01page&lt;br /&gt;hdisk3          000df0af3ca7e15f                    vgss01page&lt;br /&gt;&lt;br /&gt;lquerypv -h /dev/hdisk2 80 10&lt;br /&gt;00000080   000DF0AF 41B969AE 00000000 00000000  |....A.i.........|&lt;br /&gt;&lt;br /&gt;lquerypv -h /dev/hdisk3 80 10&lt;br /&gt;00000080   000DF0AF &lt;span class="OFHighlightTerm5"&gt;3&lt;/span&gt;CA7E15F 00000000 00000000  |....&lt;.._........|&lt;br /&gt;&lt;br /&gt;lqueryvg -Atp hdisk2 &lt;span class="OFHighlightTerm5"&gt;an&lt;/span&gt;d hdisk3 gives the proper information  except for&lt;br /&gt;Physical:       000df0afc5256113   1   0  which is not part of the vg&lt;br /&gt;&lt;br /&gt;chpv -va hdisk2 -&gt; &lt;span class="OFHighlightTerm1"&gt;0516&lt;/span&gt;-010 lqueryvg: Volume group must be varied on;&lt;br /&gt;use varyonvg command.&lt;br /&gt;&lt;span class="OFHighlightTerm1"&gt;0516&lt;/span&gt;-722 chpv: Unable to change physical volume hdisk2.&lt;br /&gt;&lt;br /&gt;chpv -va hdisk3 -&gt; &lt;span class="OFHighlightTerm1"&gt;0516&lt;/span&gt;-010 lqueryvg: Volume group must be varied on;&lt;br /&gt;use varyonvg command.&lt;br /&gt;&lt;span class="OFHighlightTerm1"&gt;0516&lt;/span&gt;-722 chpv: Unable to change physical volume hdisk3.&lt;br /&gt;&lt;br /&gt;exportvg vgss01page -&gt; ok&lt;br /&gt;rmdev -dl hdis2 -&gt; ok&lt;br /&gt;rmdev -dl hdisk3 -&gt; ok&lt;br /&gt;&lt;br /&gt;cfgmgr -&gt; hanging for a while but completed&lt;br /&gt;importvg -y vgss01page hdisk2 -&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="OFHighlightTerm1"&gt;0516&lt;/span&gt;-&lt;span class="OFHighlightTerm5"&gt;3&lt;/span&gt;04 getlvodm: Unable to find device id 000df0afc5256113 in the&lt;br /&gt;Device&lt;br /&gt;       Configuration Database.&lt;br /&gt;PV Status:      hdisk2  000df0af41b969ae        PVACTIVE&lt;br /&gt;               hdisk3  000df0af3ca7e15f        PVACTIVE&lt;br /&gt;                       000df0afc5256113        NONAME&lt;br /&gt;&lt;span class="OFHighlightTerm3"&gt;varyonvg:&lt;/span&gt; Volume group vgss01page is varied on.&lt;br /&gt;&lt;span class="OFHighlightTerm1"&gt;0516&lt;/span&gt;-510 synclvodm: Physical volume not found for physical volume&lt;br /&gt;       identifier 000df0afc52561130000000000000000.&lt;br /&gt;&lt;span class="OFHighlightTerm1"&gt;0516&lt;/span&gt;-548 synclvodm: Partially successful with updating volume&lt;br /&gt;       group vgss01page.&lt;br /&gt;vgss01page&lt;br /&gt;PV Status:      hdisk2  000df0af41b969ae        PVACTIVE&lt;br /&gt;               hdisk3  000df0af3ca7e15f        PVACTIVE&lt;br /&gt;                       000df0afc5256113        NONAME&lt;br /&gt;&lt;span class="OFHighlightTerm3"&gt;varyonvg:&lt;/span&gt; Volume group vgss01page is varied on.&lt;br /&gt;lsvg -l vgss01page&lt;br /&gt;vgss01page:&lt;br /&gt;LV NAME             TYPE       LPs   PPs   PVs  LV STATE      MOUNT&lt;br /&gt;POINT&lt;br /&gt;paging01            paging     271   271   1    closed/syncd  N/A&lt;br /&gt;&lt;br /&gt;13:&lt;span class="OFHighlightTerm5"&gt;3&lt;/span&gt;9(usehss01:/export/home/root) # uptime&lt;br /&gt; 01:41PM   up   5:51,  5 users,  load average: 0.03, 0.04, 0.05&lt;br /&gt;13:41(usehss01:/export/home/root) #&lt;br /&gt;&lt;br /&gt;sysdumpdev -L&lt;br /&gt;0453-039&lt;br /&gt;&lt;br /&gt;Device name:         /dev/sysdumpnull&lt;br /&gt;Major device number: 7&lt;br /&gt;Minor device number: 2&lt;br /&gt;Size:                0 bytes&lt;br /&gt;Date/Time:           Wed Dec &lt;span class="OFHighlightTerm5"&gt;3&lt;/span&gt;1 19:00:00 EST 1969&lt;br /&gt;Dump status:         -1&lt;br /&gt;no dump device defined&lt;br /&gt;&lt;br /&gt;# sysdumpdev -l&lt;br /&gt;primary              /dev/sysdumpnull&lt;br /&gt;secondary            /dev/sysdumpnull&lt;br /&gt;copy directory       /var/adm/ras&lt;br /&gt;forced copy flag     TRUE&lt;br /&gt;always allow dump    TRUE&lt;br /&gt;dump compression     OFF&lt;br /&gt;&lt;br /&gt;sent customr a technote procedure to create a valid dump device&lt;br /&gt;&lt;br /&gt;reducevg -d vgss01page 000df0afc5256113&lt;br /&gt;&lt;br /&gt;reducevg -d vgss01page 000df0afc5256113&lt;br /&gt;&lt;span class="OFHighlightTerm1"&gt;0516&lt;/span&gt;-&lt;span class="OFHighlightTerm5"&gt;3&lt;/span&gt;04 putlvodm: Unable to find device id&lt;br /&gt;000df0afc52561130000000000000000 in the Device&lt;br /&gt;       Configuration Database.&lt;br /&gt;&lt;span class="OFHighlightTerm1"&gt;0516&lt;/span&gt;-896 reducevg: Warning, cannot remove physical volume&lt;br /&gt;000df0afc5256113 from Device Configuration Database.&lt;br /&gt;&lt;br /&gt;lsvg -p vgss01page&lt;br /&gt;vgss01page:&lt;br /&gt;PV_NAME           PV STATE          TOTAL PPs   FREE PPs    FREE&lt;br /&gt;DISTRIBUTION&lt;br /&gt;hdisk2            active            271         0&lt;br /&gt;00..00..00..00..00&lt;br /&gt;hdisk3            active            542         542&lt;br /&gt;109..108..108..108..109&lt;br /&gt;&lt;br /&gt;swapon -a to actvate the paging space&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-8825648408344313859?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/8825648408344313859/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=8825648408344313859' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/8825648408344313859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/8825648408344313859'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/03/0516-008-varyonvg-lvm-system-call.html' title='0516-008 varyonvg: LVM system call returned an unknown  error code (3).'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-6437317586745480440</id><published>2009-03-27T09:23:00.000-07:00</published><updated>2009-03-27T09:24:42.210-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NIC'/><category scheme='http://www.blogger.com/atom/ns#' term='network'/><title type='text'>Remove IP Configuration for enX Device</title><content type='html'>The procedure is to remove IP configuration from en1 device on AIX.&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Use the &lt;b&gt;ifconfig&lt;/b&gt; command to disable and remove the interface from  the network. Enter: &lt;pre&gt;ifconfig en1 down detach&lt;br /&gt;&lt;/pre&gt; &lt;/li&gt;&lt;li&gt;Remove device from the system with &lt;b&gt;rmdev&lt;/b&gt; command. Enter: &lt;pre&gt;rmdev -dl en1&lt;/pre&gt; &lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-6437317586745480440?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/6437317586745480440/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=6437317586745480440' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/6437317586745480440'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/6437317586745480440'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/03/remove-ip-configuration-for-enx-device.html' title='Remove IP Configuration for enX Device'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-8991369844639543877</id><published>2009-03-26T11:13:00.001-07:00</published><updated>2009-03-26T11:22:03.863-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NIC'/><title type='text'>Procedure to change NIC speed</title><content type='html'>&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;The example is to change NIC ent0 speed from 100Mb/s to 1Gb/s.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Work with network to have Ethernet switch port ready and lay network cable.&lt;br /&gt;&lt;br /&gt;2. Bring down application and DB if need.&lt;br /&gt;&lt;br /&gt;3. Swap cables&lt;br /&gt;&lt;br /&gt;4. &lt;code&gt;&lt;br /&gt;&lt;span style="font-family: courier new; font-weight: bold;"&gt;chdev -l en0 -a state=detach&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new; font-weight: bold;"&gt;chdev -l ent0 -a media_speed=1000_Full_Duplex&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new; font-weight: bold;"&gt;chdev -l en0 -a state=up&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new; font-weight: bold;"&gt;mkdev -l inet0&lt;/span&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;5. Ping test.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-8991369844639543877?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/8991369844639543877/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=8991369844639543877' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/8991369844639543877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/8991369844639543877'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/03/procedure-to-change-nic-speed.html' title='Procedure to change NIC speed'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-5614869235661952239</id><published>2009-03-25T14:46:00.000-07:00</published><updated>2009-03-25T14:47:18.138-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='device'/><category scheme='http://www.blogger.com/atom/ns#' term='cfgmgr'/><title type='text'>Cfgmgr does not find a device</title><content type='html'>&lt;table border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr valign="top"&gt;&lt;td width="438"&gt;&lt;table width="443" border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td valign="bottom" width="443" height="20"&gt;&lt;b&gt;Question&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="443"&gt; Devices discovery troubleshooting with alog -t cfg  &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt;&lt;td width="438"&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td valign="bottom" width="443" height="20"&gt;&lt;b&gt;Cause&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="443"&gt; Device discovery for devices can be difficult when minimal information is available. &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;/tr&gt;  &lt;tr valign="top"&gt;&lt;td width="438"&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="bottom" width="443" height="20"&gt;&lt;b&gt;Answer&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="443"&gt; Device discovery on AIX.&lt;br /&gt;Starting with AIX 5.2 ML05 and AIX 5.3 ML01 there is an ability to log information via the alog utility for the cfg methods. Depending on the OS version and maintenance level the amount of detail that can be logged vary.&lt;br /&gt;&lt;br /&gt;One key thing is the verbosity level. If the level is high enough the SCSI id and LUN are reported as a discovered device. If an open is done on the device the SCIOSTART is used.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;echo "Create cfglog `date`"|alog -t cfg&lt;br /&gt;&lt;br /&gt;export CFGLOG="cmd,meth,lib,verbosity:9"&lt;br /&gt;&lt;br /&gt;cfgmgr -l &lt;adapter&gt;&lt;br /&gt;&lt;br /&gt;alog -o -t cfg &gt; /tmp/cfgmethod.log&lt;br /&gt;&lt;br /&gt;Send /tmp/cfgmethod.log to IBM support.&lt;br /&gt;&lt;br /&gt;To turn logging off:&lt;br /&gt;&lt;br /&gt;unset CFGLOG&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;exit &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-5614869235661952239?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/5614869235661952239/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=5614869235661952239' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/5614869235661952239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/5614869235661952239'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/03/cfgmgr-does-not-find-device.html' title='Cfgmgr does not find a device'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-132972647117483438</id><published>2009-03-24T13:21:00.000-07:00</published><updated>2009-03-24T14:12:12.433-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='problem'/><category scheme='http://www.blogger.com/atom/ns#' term='ODM'/><title type='text'>lsdev: 0514-521 Cannot find information in the predefined device         configuration database for the customized device iocp0.</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Got an error when typing lsdev -C and lscfg command.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new; font-weight: bold;"&gt;# lsdev -C | grep Defined&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;lsdev: 0514-521 Cannot find information in the predefined device&lt;br /&gt;        configuration database for the cu&lt;/span&gt;stomized device iocp0.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new; font-weight: bold;"&gt;# lscfg -vl hdisk&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;0519-004 libodm: The specified search criteria is incorrectly formed.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;        Make sure the criteria contains only valid descriptor names and&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;        the search values are correct.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  hdisk0           P2/Z1-A8  16 Bit LVD SCSI Disk Drive (18200 MB)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;        Manufacturer................IBM&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;        Machine Type and Model......DDYS-T18350M&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;        FRU Number..................00P1520&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;        ROS Level and ID............53423041&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;        Serial Number...............9EGQ4829&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;        EC Level....................F79924&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;        Part Number.................07N3842&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;        Device Specific.(Z0)........000003029F00013A&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;        Device Specific.(Z1)........07N4924&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;        Device Specific.(Z2)........0933&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;        Device Specific.(Z3)........01242&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;        Device Specific.(Z4)........0001&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;        Device Specific.(Z5)........22&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;        Device Specific.(Z6)........F79924&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;Solution:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1. Backup ODM.&lt;/span&gt;&lt;br /&gt; tar -cvf /tmp/ODM.tar /etc/objrepos/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2. Delete the iocp0 device from CuDv &lt;/span&gt;&lt;br /&gt; odmdelete -q "name=iocp0" -o CuDv&lt;br /&gt;&lt;br /&gt;0518-307 odmdelete: 1 objects deleted.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3. Now it is clean&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-132972647117483438?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/132972647117483438/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=132972647117483438' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/132972647117483438'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/132972647117483438'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/03/lsdev-0514-521-cannot-find-information.html' title='lsdev: 0514-521 Cannot find information in the predefined device         configuration database for the customized device iocp0.'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-137836931563679146</id><published>2009-03-20T13:28:00.001-07:00</published><updated>2009-03-20T17:02:26.746-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='problem'/><category scheme='http://www.blogger.com/atom/ns#' term='NFS'/><category scheme='http://www.blogger.com/atom/ns#' term='IP alias'/><title type='text'>Use IP alias trick to solve hung NFS mount problem</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Problem:&lt;/span&gt;&lt;br /&gt;A NFS mount is hanging and it can not be umount even using -f option&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Solution:&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Try to use umount -f and fuser, it does not work&lt;/li&gt;&lt;/ul&gt;#unmount -f &lt;mnt_pt&gt;&lt;br /&gt;&lt;pre&gt;it does not work then,&lt;br /&gt;#fuser -cuxk &lt;mnt_pt&gt;&lt;br /&gt;This does not work then use the third party application "lsof"&lt;br /&gt;#lsof  -N&lt;br /&gt;Kill the &lt;span class="OFHighlightTerm2"&gt;nfs&lt;/span&gt; pid&lt;br /&gt;&lt;br /&gt;If this does not work either then you have a stale mount and will need&lt;br /&gt;to reboot&lt;br /&gt;&lt;br /&gt;&lt;/mnt_pt&gt;&lt;/pre&gt;&lt;ul style="font-weight: bold;"&gt;&lt;li&gt;IP alias trick&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;pre&gt;On the &lt;span class="OFHighlightTerm2"&gt;nfs&lt;/span&gt; client:&lt;br /&gt;&lt;br /&gt;In this example:&lt;br /&gt;The &lt;span class="OFHighlightTerm2"&gt;nfs&lt;/span&gt; server &lt;span class="OFHighlightTerm5"&gt;ip&lt;/span&gt; address is 199.159.207.34&lt;br /&gt;The &lt;span class="OFHighlightTerm2"&gt;nfs&lt;/span&gt; client &lt;span class="OFHighlightTerm5"&gt;ip&lt;/span&gt; address is 199.159.247.137&lt;br /&gt;&lt;br /&gt;# mount | grep &lt;span class="OFHighlightTerm2"&gt;nfs&lt;/span&gt;&lt;br /&gt;The &lt;span class="OFHighlightTerm2"&gt;nfs&lt;/span&gt; export is mounted over mount point /mnt.&lt;br /&gt;199.159.207.34 cdrom /mnt &lt;span class="OFHighlightTerm2"&gt;nfs&lt;/span&gt;3&lt;br /&gt;&lt;br /&gt;# ping 199.159.207.34&lt;br /&gt;Ping hangs...the &lt;span class="OFHighlightTerm2"&gt;nfs&lt;/span&gt; server is no longer available.&lt;br /&gt;&lt;br /&gt;# ps -ef&lt;br /&gt;If possible kill any processes that maybe accessing the mount point.&lt;br /&gt;Such as df,find or a mksysb process.&lt;br /&gt;&lt;span class="OFHighlightTerm5"&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;Alias&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt; the &lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:arial;font-size:130%;" class="OFHighlightTerm2"  &gt;nfs&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt; server back to the loopback interface (&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:arial;font-size:130%;" class="OFHighlightTerm5"  &gt;lo0&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;) on the &lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:arial;font-size:130%;" class="OFHighlightTerm2"  &gt;nfs&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt; client.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;# &lt;span class="OFHighlightTerm4"&gt;ifconfig&lt;/span&gt; &lt;span class="OFHighlightTerm5"&gt;lo0&lt;/span&gt; &lt;span class="OFHighlightTerm5"&gt;alias&lt;/span&gt; 199.159.207.34 &lt;span class="OFHighlightTerm5"&gt;netmask&lt;/span&gt; 255.255.255.255 up&lt;br /&gt;&lt;br /&gt;# netstat -in&lt;br /&gt;Should have an additional &lt;span class="OFHighlightTerm5"&gt;lo0&lt;/span&gt; listed with a 199.159.207.34 &lt;span class="OFHighlightTerm5"&gt;ip&lt;/span&gt; address.&lt;br /&gt;&lt;br /&gt;# netstat -rn&lt;br /&gt;199.159.207.34 199.159.207.34 UH &lt;span class="OFHighlightTerm5"&gt;lo0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Need to remove the route that was added by the &lt;span class="OFHighlightTerm4"&gt;ifconfig&lt;/span&gt; command from the&lt;br /&gt;routing table.&lt;br /&gt;&lt;br /&gt;# route delete -host 199.159.207.34 199.159.207.34&lt;br /&gt;&lt;br /&gt;# showmount -e 199.159.207.34&lt;br /&gt;hangs...should be able to show the export list of the &lt;span class="OFHighlightTerm2"&gt;nfs&lt;/span&gt; client if&lt;br /&gt;there's one available.&lt;br /&gt;&lt;br /&gt;The showmount command should hang. Need to add a route using the &lt;span class="OFHighlightTerm2"&gt;nfs&lt;/span&gt;&lt;br /&gt;server &lt;span class="OFHighlightTerm5"&gt;ip&lt;/span&gt; and point it back to the &lt;span class="OFHighlightTerm5"&gt;lo0&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;# route add -host 199.159.207.34 127.0.0.1&lt;br /&gt;&lt;br /&gt;# showmount -e&lt;br /&gt;Returns the export list of the client, if the client is exporting&lt;br /&gt;anything, in this case it was also an &lt;span class="OFHighlightTerm2"&gt;nfs&lt;/span&gt; server so it had an export&lt;br /&gt;list.&lt;br /&gt;&lt;br /&gt;# &lt;span class="OFHighlightTerm3"&gt;umount&lt;/span&gt; /mnt&lt;br /&gt;Successful...able to unmount the &lt;span class="OFHighlightTerm1"&gt;hung&lt;/span&gt; mount.&lt;br /&gt;&lt;br /&gt;# df -k&lt;br /&gt;No longer hangs...&lt;br /&gt;&lt;br /&gt;# mount&lt;br /&gt;No &lt;span class="OFHighlightTerm2"&gt;nfs&lt;/span&gt; mount listed.&lt;br /&gt;&lt;br /&gt;Clean up...&lt;br /&gt;&lt;br /&gt;# route delete -host 199.159.207.34 127.0.0.1&lt;br /&gt;# &lt;span class="OFHighlightTerm4"&gt;ifconfig&lt;/span&gt; &lt;span class="OFHighlightTerm5"&gt;lo0&lt;/span&gt; -&lt;span class="OFHighlightTerm5"&gt;alias&lt;/span&gt; 199.159.207.34 &lt;span class="OFHighlightTerm5"&gt;netmask&lt;/span&gt; 255.255.255.255&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/mnt_pt&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-137836931563679146?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/137836931563679146/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=137836931563679146' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/137836931563679146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/137836931563679146'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/03/use-ip-alias-trick-to-solve-hung-nfs.html' title='Use IP alias trick to solve hung NFS mount problem'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-6831984565985894749</id><published>2009-03-20T12:17:00.000-07:00</published><updated>2009-03-20T12:21:32.262-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='LED'/><category scheme='http://www.blogger.com/atom/ns#' term='HMC'/><title type='text'>HMC CLI to Turn Off Attention LED on System p Servers</title><content type='html'>&lt;table border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr valign="top"&gt;&lt;td width="438"&gt;&lt;table width="443" border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td valign="bottom" width="443" height="20"&gt;&lt;b&gt;Question&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="443"&gt; What is the HMC v5, v6 and v7 command line to disable attention LED on system p servers  &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt;&lt;td width="438"&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td valign="bottom" width="443" height="20"&gt;&lt;b&gt;Cause&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="443"&gt; Hardware errors that occur on a server requiring attention will cause the system attention LED to come on. Manual intervention is required to turn off the attention LED. &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;  &lt;tr valign="top"&gt;&lt;td width="438"&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="bottom" width="443" height="20"&gt;&lt;b&gt;Answer&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="443"&gt;&lt;br /&gt;The system attention LED can be disabled using the graphic user interface (GUI) service utility application, but it can be more quickly done using the chled command. The managed system name is needed to run the chled command and the lssyscfg command can be used to retrieve all the managed systems names if you don't already know them.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;lssyscfg -r sys -F name &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Once you know the managed system name to use in the command line interface (CLI), check to see if the attention LED is active&lt;br /&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;&lt;br /&gt;lsled -r sa -t phys -m &lt;managed_system style="font-weight: bold; font-style: italic;"&gt;&lt;/managed_system&gt;&lt;/span&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;&amp;lt;managed_system&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Should see output similar to, "state=on."&lt;br /&gt;&lt;br /&gt;Use the chled command to turn off the system attention LED&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold;"&gt;chled -r sa -t phys -m &lt;managed_system&gt; &lt;/managed_system&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;&lt;managed_system&gt;&lt;/managed_system&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;&lt;managed_system style="font-weight: bold; font-style: italic;"&gt;&lt;/managed_system&gt;&lt;/span&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;&amp;lt;managed_system&amp;gt;&lt;/span&gt; &lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;managed_system&gt;-o off&lt;/managed_system&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To check the status of system attention LED you can use the lsled&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; lsled -r sa -t phys -m &lt;managed_system&gt;&lt;/managed_system&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;&lt;managed_system&gt;&lt;/managed_system&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;&lt;managed_system style="font-weight: bold; font-style: italic;"&gt;&lt;/managed_system&gt;&lt;/span&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;&amp;lt;managed_system&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Should see output, "state=off." &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-6831984565985894749?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/6831984565985894749/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=6831984565985894749' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/6831984565985894749'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/6831984565985894749'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/03/hmc-cli-to-turn-off-attention-led-on.html' title='HMC CLI to Turn Off Attention LED on System p Servers'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-3054800787453050490</id><published>2009-03-20T12:11:00.000-07:00</published><updated>2009-03-20T12:12:01.047-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='I/O'/><category scheme='http://www.blogger.com/atom/ns#' term='Filesystem'/><category scheme='http://www.blogger.com/atom/ns#' term='VMM'/><title type='text'>Raw vs. JFS Logical Volumes I/O</title><content type='html'>&lt;table border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr valign="top"&gt;&lt;td width="438"&gt;&lt;table width="443" border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td valign="bottom" width="443" height="20"&gt;&lt;b&gt;Question&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="443"&gt; Raw vs. JFS Logical Volumes I/O  &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt;&lt;td width="438"&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="bottom" width="443" height="20"&gt;&lt;b&gt;Answer&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="443"&gt; &lt;hr /&gt; &lt;p&gt;&lt;b&gt;NOTE:&lt;/b&gt;  This document applies to AIX 5.3 and prior levels.&lt;/p&gt; &lt;h2&gt;Question&lt;/h2&gt; Does Virtual Memory Manager (VMM) work with raw logical updates, and if so, how? If raw logical volumes do not use block I/O buffer cache,  does &lt;b&gt;sync&lt;/b&gt; update raw logical volumes or does VMM?  &lt;h2&gt;Answer&lt;/h2&gt;  When an application directly accesses a raw logical volume, the VMM is not involved. The VMM is involved when accessing  the Journaled File System (JFS). &lt;b&gt;sync&lt;/b&gt; only updates JFS, so  neither &lt;b&gt;sync&lt;/b&gt; nor VMM updates  raw logical volumes. All writes to raw logical volumes are  synchronous, which means that the writes do not return until  the data has made it to disk and therefore does not require  a &lt;b&gt;sync&lt;/b&gt;.  &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-3054800787453050490?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/3054800787453050490/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=3054800787453050490' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/3054800787453050490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/3054800787453050490'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/03/raw-vs-jfs-logical-volumes-io.html' title='Raw vs. JFS Logical Volumes I/O'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-2089453222460598907</id><published>2009-03-20T12:02:00.000-07:00</published><updated>2009-03-20T12:08:09.053-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='telnet'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><title type='text'>How can I suppress the telnet login message (hostname) information when a user telnets to an AIX server?</title><content type='html'>&lt;span style="font-family:Verdana;"&gt;To modify the default telnet banner...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1) Display the message catalog and redirect to a file...&lt;br /&gt;&lt;br /&gt;&lt;table style="color: rgb(0, 0, 0); width: 625px; height: 154px;" border="1" cellpadding="5" cellspacing="0"&gt;&lt;br /&gt;&lt;br /&gt;&lt;col width="256"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td valign="top" width="100%"&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:Courier New,monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;# dspcat -g /usr/lib/nls/msg/en_US/telnetd.cat &gt; /tmp/telnetd.msg&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2) Modify any message(s) you wish changed in /tmp/telnetd.msg&lt;br /&gt;&lt;br /&gt;Remove the (%s) after the first telnet you see in this file...&lt;br /&gt;&lt;br /&gt;Change this...&lt;br /&gt;  telnet (%s)\r\n"&lt;br /&gt;&lt;br /&gt;To this...&lt;br /&gt;  telnet \r\n"&lt;br /&gt;&lt;br /&gt;Save the file....&lt;br /&gt;&lt;br /&gt;3) Generate a new message catalog /tmp/telnetd.cat using the modified file as imput...&lt;br /&gt;&lt;br /&gt;# gencat /tmp/telnetd.cat /tmp/telnetd.msg&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4) Backup the original message catalog file /usr/lib/nls/msg/en_US/telnetd.cat, and&lt;br /&gt;replace it with  /tmp/telnetd.cat&lt;br /&gt;&lt;table style="color: rgb(0, 0, 0);" width="100%" border="1" cellpadding="5" cellspacing="0"&gt;&lt;br /&gt;&lt;br /&gt;&lt;col width="256"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td valign="top" width="100%"&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:Courier New,monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;# cp /usr/lib/nls/msg/en_US/telnetd.cat/usr/lib/nls/msg/en_US/telnetd.cat.save&lt;br /&gt;# cp /tmp/telnetd.cat  /usr/lib/nls/msg/en_US/telnetd.cat&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Telnet should now only display the word telnet and exclude the hostname.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-2089453222460598907?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/2089453222460598907/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=2089453222460598907' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/2089453222460598907'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/2089453222460598907'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/03/how-can-i-suppress-telnet-login-message.html' title='How can I suppress the telnet login message (hostname) information when a user telnets to an AIX server?'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-6776623478597510611</id><published>2009-03-20T11:58:00.000-07:00</published><updated>2009-03-20T11:59:56.035-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='routing'/><category scheme='http://www.blogger.com/atom/ns#' term='TCPIP'/><title type='text'>Using netstat and rmsock to Identify Processes Using the Default Gateway</title><content type='html'>&lt;h3&gt; Question &lt;/h3&gt; &lt;p&gt; Is there a way to use &lt;b&gt;netstat&lt;/b&gt; to find processes that are heavily using  the default gateway? &lt;/p&gt; &lt;h3&gt;Answer&lt;/h3&gt; &lt;p&gt; You can use &lt;b&gt;netstat&lt;/b&gt; and &lt;b&gt;rmsock&lt;/b&gt; in combination to help find  processes that are actively using the default gateway.  &lt;/p&gt; &lt;p&gt; If path MTU discover is not enabled then temporarily enable it so you can  get more information when using &lt;b&gt;netstat&lt;/b&gt;. These are commands to enable  the  path MTU discover:  &lt;/p&gt;&lt;pre&gt;no -o tcp_pmtu_discover=1&lt;br /&gt;no -o udp_pmtu_discover=1&lt;br /&gt;&lt;/pre&gt; &lt;p&gt; The next step involves running &lt;b&gt;netstat -rn&lt;/b&gt; and looking for the highest  use count on the cloned route entries (those with a &lt;b&gt;W&lt;/b&gt; flag - reference  example 1). &lt;/p&gt; &lt;p&gt;&lt;b&gt;Example 1&lt;/b&gt; &lt;/p&gt;&lt;pre&gt;$ netstat -rn | grep -E "Use|UGHW"&lt;br /&gt;Destination Gateway Flags Refs Use If PMTU Exp&lt;br /&gt;Groups&lt;br /&gt;9.0.7.1 9.41.166.1 UGHW 1 7 en2 - -&lt;br /&gt;9.12.136.110 9.41.166.1 UGHW 2 123 en2 - -&lt;br /&gt;9.17.183.166 9.41.166.1 UGHW 1 5 en2 1500 -&lt;br /&gt;9.41.167.106 9.41.166.1 UGHW 1 3 en2 - -&lt;br /&gt;9.41.167.182 9.41.166.1 UGHW 1 3373 en2 1500 -&lt;br /&gt;&lt;/pre&gt;  &lt;p&gt; In example 1 above, the destination address &lt;tt&gt;9.41.167.182&lt;/tt&gt; has the  highest use count (3373).  &lt;/p&gt; &lt;p&gt; Next, check for any active sockets related to IP address &lt;tt&gt;9.41.167.182&lt;/tt&gt;  using the &lt;b&gt;netstat -Aan&lt;/b&gt; command (see example 2): &lt;/p&gt; &lt;p&gt;&lt;b&gt;Example 2&lt;/b&gt; &lt;/p&gt;&lt;pre&gt;$ netstat -Aan | grep 9.41.167.182&lt;br /&gt;705b21e4 tcp4 0 0 9.41.166.74.139 9.41.167.182.1039 ESTABLISHED&lt;br /&gt;&lt;/pre&gt;  &lt;p&gt; Use the process control block address (705b21e4) from the &lt;b&gt;netstat -Aan&lt;/b&gt;  output in example 2 with the &lt;b&gt;rmsock&lt;/b&gt; command to find a process ID  associated with the socket.  &lt;/p&gt; &lt;p&gt;&lt;b&gt;Example 3&lt;/b&gt; &lt;/p&gt;&lt;pre&gt;# rmsock 705b21e4 tcpcb&lt;br /&gt;The socket 0x705b2000 is being held by proccess 9394 (smbd).&lt;br /&gt;&lt;/pre&gt;  &lt;p&gt; With the help of &lt;b&gt;netstat&lt;/b&gt; and &lt;b&gt;rmsock&lt;/b&gt; in the preceding three  examples,  you were able to find a specific &lt;b&gt;smbd&lt;/b&gt; process that had the most activity  relative to sending data over the default gateway. &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-6776623478597510611?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/6776623478597510611/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=6776623478597510611' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/6776623478597510611'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/6776623478597510611'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/03/using-netstat-and-rmsock-to-identify.html' title='Using netstat and rmsock to Identify Processes Using the Default Gateway'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-5687973726257787619</id><published>2009-03-19T12:01:00.000-07:00</published><updated>2009-03-19T12:15:29.279-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl Module'/><title type='text'>How to install Perl module on AIX</title><content type='html'>&lt;ul style="font-weight: bold;"&gt;&lt;li&gt;Download Perl Module source from cpan.org or ftp.cpan.org&lt;/li&gt;&lt;/ul&gt;&lt;ul style="font-weight: bold;"&gt;&lt;li&gt;In this example, we will download and install Net::Rexec &lt;/li&gt;&lt;/ul&gt;  &lt;pre&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:courier new;"&gt;root@AIXSERVER:/mnt/software/PerlModules# &lt;span style="font-weight: bold; color: rgb(51, 102, 255);"&gt;ls -l Net-Rexec-0.12.tar.gz&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-rw-r-----    1 root     staff          2085 Mar 19 14:36 Net-Rexec-0.12.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:courier new;"&gt;root@AIXSERVER:/mnt/software/PerlModules# &lt;span style="font-weight: bold; color: rgb(51, 102, 255);"&gt;gzip -dc Net-Rexec-0.12.tar.gz |tar xvf -&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;x Net-Rexec-0.12&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;x Net-Rexec-0.12/Makefile.PL, 398 bytes, 1 media blocks.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;x Net-Rexec-0.12/Changes, 183 bytes, 1 media blocks.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;x Net-Rexec-0.12/test.pl, 663 bytes, 2 media blocks.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;x Net-Rexec-0.12/Rexec.pm, 2032 bytes, 4 media blocks.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;x Net-Rexec-0.12/MANIFEST.SKIP, 48 bytes, 1 media blocks.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;x Net-Rexec-0.12/README, 207 bytes, 1 media blocks.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;x Net-Rexec-0.12/MANIFEST, 67 bytes, 1 media blocks.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:courier new;"&gt;root@AIXSERVER:/mnt/software/PerlModules#&lt;span style="font-weight: bold;"&gt; cd Net-Rexec-0.12&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;root@AIXSERVER:/mnt/software/PerlModules/Net-Rexec-0.12# &lt;span style="font-weight: bold;"&gt;ls -l&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;total 16&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-rw-r--r--    1 1000     1000            183 Sep 15 1998  Changes&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-rw-r--r--    1 1000     1000             67 Sep 15 1998  MANIFEST&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-rw-r--r--    1 1000     1000             48 Sep 15 1998  MANIFEST.SKIP&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-rw-r--r--    1 1000     1000            398 Sep 15 1998  Makefile.PL&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-rw-r--r--    1 1000     1000            207 Sep 15 1998  README&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-rw-r--r--    1 1000     1000           2032 Sep 28 1998  Rexec.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-rw-r--r--    1 1000     1000            663 Sep 15 1998  test.pl&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:courier new;"&gt;root@AIXSERVER:/mnt/software/PerlModules/Net-Rexec-0.12# &lt;span style="font-weight: bold; color: rgb(51, 102, 255);"&gt;perl Makefile.PL&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Checking if your kit is complete...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Looks good&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Writing Makefile for Net::Rexec&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:courier new;"&gt;root@AIXSERVER:/mnt/software/PerlModules/Net-Rexec-0.12# &lt;span style="font-weight: bold; color: rgb(51, 102, 255);"&gt;make&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;cp Rexec.pm blib/lib/Net/Rexec.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Manifying blib/man3/Net::Rexec.3&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:courier new;"&gt;root@AIXSERVER:/mnt/software/PerlModules/Net-Rexec-0.12#&lt;span style="color: rgb(51, 102, 255);"&gt; make test&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;       PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;1..1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ok 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Target "test" is up to date.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:courier new;"&gt;root@AIXSERVER:/mnt/software/PerlModules/Net-Rexec-0.12# &lt;span style="color: rgb(51, 102, 255); font-weight: bold;"&gt;make install&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Installing /usr/opt/perl5/lib/site_perl/5.8.2/Net/Rexec.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Installing /usr/share/man/man3/Net::Rexec.3&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Writing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/auto/Net/Rexec/.packlist&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Appending installation info to /usr/opt/perl5/lib/5.8.2/aix-thread-multi/perllocal.pod&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Target "install" is up to date.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-5687973726257787619?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/5687973726257787619/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=5687973726257787619' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/5687973726257787619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/5687973726257787619'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/03/how-to-install-perl-module-on-aix.html' title='How to install Perl module on AIX'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-6630328833954138435</id><published>2009-03-19T11:58:00.000-07:00</published><updated>2009-03-19T12:00:34.414-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Perl'/><category scheme='http://www.blogger.com/atom/ns#' term='Perl Module'/><title type='text'>List installed Perl modules</title><content type='html'>&lt;code&gt;perl -MFile::Find=find -MFile::Spec::Functions -lw -e 'find { wanted =&gt; sub { print canonpath $_ if /\.pm\z/ }, no_chdir =&gt; 1 }, @INC'&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Output:&lt;br /&gt;&lt;pre&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;/usr/opt/perl5/lib/5.8.2/aix-thread-multi/Cwd.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/opt/perl5/lib/5.8.2/aix-thread-multi/Config.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/opt/perl5/lib/5.8.2/aix-thread-multi/lib.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/opt/perl5/lib/5.8.2/aix-thread-multi/re.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/opt/perl5/lib/5.8.2/aix-thread-multi/XSLoader.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/opt/perl5/lib/5.8.2/aix-thread-multi/DynaLoader.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/opt/perl5/lib/5.8.2/aix-thread-multi/B.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/opt/perl5/lib/5.8.2/aix-thread-multi/O.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/opt/perl5/lib/5.8.2/aix-thread-multi/ByteLoader.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/opt/perl5/lib/5.8.2/aix-thread-multi/Encode.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/opt/perl5/lib/5.8.2/aix-thread-multi/encoding.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/opt/perl5/lib/5.8.2/aix-thread-multi/Fcntl.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/opt/perl5/lib/5.8.2/aix-thread-multi/IO.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/opt/perl5/lib/5.8.2/aix-thread-multi/NDBM_File.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/opt/perl5/lib/5.8.2/aix-thread-multi/ODBM_File.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/opt/perl5/lib/5.8.2/aix-thread-multi/Safe.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/opt/perl5/lib/5.8.2/aix-thread-multi/Opcode.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/opt/perl5/lib/5.8.2/aix-thread-multi/ops.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/opt/perl5/lib/5.8.2/aix-thread-multi/POSIX.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/opt/perl5/lib/5.8.2/aix-thread-multi/SDBM_File.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/opt/perl5/lib/5.8.2/aix-thread-multi/Socket.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/opt/perl5/lib/5.8.2/aix-thread-multi/Storable.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/opt/perl5/lib/5.8.2/aix-thread-multi/attrs.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/opt/perl5/lib/5.8.2/aix-thread-multi/threads.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/opt/perl5/lib/5.8.2/aix-thread-multi/Errno.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/opt/perl5/lib/5.8.2/aix-thread-multi/Devel/DProf.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/opt/perl5/lib/5.8.2/aix-thread-multi/Devel/PPPort.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/opt/perl5/lib/5.8.2/aix-thread-multi/Devel/Peek.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/opt/perl5/lib/5.8.2/aix-thread-multi/File/Glob.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/opt/perl5/lib/5.8.2/aix-thread-multi/IPC/Msg.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/opt/perl5/lib/5.8.2/aix-thread-multi/IPC/Semaphore.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/opt/perl5/lib/5.8.2/aix-thread-multi/IPC/SysV.pm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt; ........&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-6630328833954138435?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/6630328833954138435/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=6630328833954138435' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/6630328833954138435'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/6630328833954138435'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/03/list-installed-perl-modules.html' title='List installed Perl modules'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-6781944711946298465</id><published>2009-03-18T13:55:00.000-07:00</published><updated>2009-03-18T13:56:51.498-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firmware'/><category scheme='http://www.blogger.com/atom/ns#' term='Power5'/><title type='text'>p5 System Firmware Upgrade</title><content type='html'>&lt;table style="margin: 0px 5px; padding: 0px; width: 100%;" border="0" cellpadding="1" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="font-weight: bold; text-align: right;" colspan="2" width="85%" height="22"&gt;&lt;span style="font-size:180%;"&gt;&lt;span class="pagetitle" style="margin: 0px; padding: 0px; text-decoration: none;"&gt;p5 System Firmware Upgrade                             &lt;/span&gt;&lt;/span&gt;                      &lt;/td&gt;                      &lt;td valign="middle" width="1%" align="right" nowrap="nowrap"&gt;                                              &lt;br /&gt;&lt;/td&gt;                    &lt;/tr&gt;                 &lt;/tbody&gt;&lt;/table&gt;                                             &lt;!--     Root decorator: all decisions about how a page is to be decorated via the                     inline decoration begins here. --&gt;    &lt;!--     Switch based upon the context. However, for now, just delegate to a decorator     identified directly by the context. --&gt;                                            &lt;script language="JavaScript"&gt;     function showBreadcrumbsEllipsis()     {         document.getElementById('breadcrumbsEllipsis').style.display = 'none';         document.getElementById('breadcrumbsExpansion').style.display = 'inline';     } &lt;/script&gt; &lt;table width="100%" border="0" cellpadding="0" cellspacing="0"&gt;      &lt;tbody&gt;&lt;tr&gt;         &lt;td&gt;&lt;br /&gt;&lt;/td&gt;     &lt;/tr&gt;     &lt;tr&gt;         &lt;td class="pagebody" valign="top"&gt;                          &lt;table style="clear: both;" width="100%" border="0" cellpadding="0" cellspacing="0"&gt;                 &lt;tbody&gt;&lt;tr&gt;                     &lt;td class="pagecontent" valign="top" width="100%"&gt;                                                                                                                                                 &lt;table style="margin-bottom: 5px;" width="100%" cellspacing="0"&gt;                                 &lt;tbody&gt;&lt;tr&gt;                                     &lt;td valign="top" align="left"&gt;&lt;br /&gt;&lt;/td&gt;                                     &lt;td valign="top" align="right"&gt; &lt;!-- watchlink --&gt;                                                                            &lt;br /&gt;&lt;/td&gt;                                 &lt;/tr&gt;                             &lt;/tbody&gt;&lt;/table&gt;                                                           &lt;div class="wiki-content"&gt;                                &lt;!-- wiki content --&gt;             &lt;h1&gt;&lt;a name="p5SystemFirmwareUpgrade-Updatingp5SystemFirmware"&gt;&lt;/a&gt;Updating p5 System Firmware &lt;/h1&gt;  &lt;p&gt;May  2006&lt;/p&gt;    &lt;p&gt;1     Overview&lt;br /&gt;1.1       p5 server hardware&lt;br /&gt;1.2       System firmware fixes and upgrades&lt;br /&gt;1.3       Decoding firmware names&lt;br /&gt;1.3.4     Why are there multiple firmware streams?&lt;br /&gt;1.4       Decoding the operator control panel&lt;br /&gt;1.5       Temporary versus Permanent Firmware sides&lt;br /&gt;1.6       Be Advised&lt;br /&gt;2     Requirements&lt;br /&gt;2.1       Software requirements&lt;br /&gt;3     Upgrade firmware with HMC&lt;br /&gt;3.1       Connectivity&lt;br /&gt;3.2       HMC requirements&lt;br /&gt;3.3       Viewing system firmware information using LIC wizard&lt;br /&gt;3.4       Upgrade system firmware to a new release using HMC&lt;br /&gt;3.5       Update system firmware within a release using HMC&lt;br /&gt;3.6       Change License Internal Code Wizard&lt;br /&gt;3.7       Reject the installed firmware using a HMC&lt;br /&gt;4     Upgrade firmware without a HMC&lt;br /&gt;4.1       Access ASMI via serial console&lt;br /&gt;4.2       Checking the current firmware level&lt;br /&gt;4.3       Power on using ASMI&lt;br /&gt;4.4       Upgrade system firmware via running operating system&lt;br /&gt;4.4.1     Upgrade firmware image using AIX&lt;br /&gt;4.4.2     Upgrade firmware image using Linux&lt;br /&gt;4.5       Upgrade firmware using diagnostics CD&lt;br /&gt;5     Reject installed firmware without an HMC&lt;br /&gt;5.1       Boot to the permanent side&lt;br /&gt;5.2       Reject the installed firmware using an OS command&lt;br /&gt;5.3       Reject the installed firmware using a diagnostic CD&lt;br /&gt;6     Appendix  common problems&lt;br /&gt;7     References&lt;/p&gt;     &lt;h2&gt;&lt;a name="p5SystemFirmwareUpgrade-1Overview"&gt;&lt;/a&gt;1         Overview&lt;/h2&gt;  &lt;p&gt;The goal of this paper is to provide easy-to-read instructions to quickly update system firmware on p5 servers. It is assumed the reader has basic p5 skills. There are extensive references that should help with items not covered in this paper.&lt;/p&gt;  &lt;p&gt;Three firmware update methods will be covered:&lt;/p&gt;  &lt;p&gt;1. Update on an HMC managed system&lt;br /&gt;2. Update on a standalone server via  OS, without a HMC&lt;br /&gt;3. Update on a standalone server using the Diagnostic CD, without a HMC &lt;/p&gt;  &lt;p&gt;Please first read through the prerequisites before getting started on any of these upgrade sections. Then refer to any one section or all sections when choosing the preferred method for updating system firmware.&lt;/p&gt;   &lt;h3&gt;&lt;a name="p5SystemFirmwareUpgrade-1.1p5serverhardware"&gt;&lt;/a&gt;1.1      p5 server hardware&lt;/h3&gt; &lt;p&gt;The hardware used in developing this paper was a p5 550Q (type-model 9133-55A). HMC (version 5.2.0 including fix MH00586) was also used when needed.&lt;/p&gt;  &lt;h3&gt;&lt;a name="p5SystemFirmwareUpgrade-1.2Systemfirmwarefixesandupgrades"&gt;&lt;/a&gt;1.2      System firmware fixes and upgrades&lt;/h3&gt; &lt;p&gt;Firmware, also known as microcode, is Licensed Internal Code that fixes problems and enables new system features as they are introduced. New features introduced are supported by new firmware release levels. In between new hardware introductions, there are fixes or updates to the supported features. These fixes are often bundled into service packs. A service pack is referred to as an update level. A new release is referred to as an upgrade level. Both levels are represented by the file name in the form of PPMMXXX_YYY_ZZZ. PP and MM are package and machine type identifiers. PP can be 01 for managed system or it can be 02 for power subsystem. The MM identifier is a SF for p5 systems and a BP for Bulk Power Controller. The firmware version file applicable to p5 machines is in the form of 01SFXXX_YYY_ZZZ. &lt;/p&gt;   &lt;h3&gt;&lt;a name="p5SystemFirmwareUpgrade-1.3Decodingfirmwarenames"&gt;&lt;/a&gt;1.3      Decoding firmware names&lt;/h3&gt; &lt;p&gt;The file naming convention for system firmware is: &lt;/p&gt;  &lt;p&gt; 01SFXXX_YYY_ZZZ, where&lt;br /&gt;   XXX is the stream release level&lt;br /&gt;   YYY is the service pack level&lt;br /&gt;   ZZZ is the last disruptive service pack level&lt;/p&gt;  &lt;p&gt;Using the above example, the system firmware 01SF235_185 would be described as release level 235, service pack 185. &lt;/p&gt;  &lt;p&gt;Each stream release level supports new machine types and/or new features.  &lt;/p&gt;  &lt;p&gt;Firmware updates can be disruptive or concurrent. A disruptive upgrade is defined as one that requires the target system to be shutdown and powered off prior to activating the new firmware level. A new release level upgrade will always be disruptive. All other upgrades are defined as concurrent, meaning that they can be applied while the system is running. Concurrent updates require an HMC but are not guaranteed to be non-disruptive.&lt;/p&gt;  &lt;p&gt;In general, a firmware upgrade is disruptive if&lt;/p&gt;  &lt;p&gt;1.  The release levels (XXX) are different.&lt;br /&gt;    Example:  Currently installed release is SF230, new release is SF235 &lt;/p&gt;  &lt;p&gt;2.  The service pack level (YYY) and the last disruptive service pack level (ZZZ) are equal.&lt;br /&gt;    Example:  SF235_180_180 is disruptive, no matter what level of SF235 is currently installed on the system &lt;/p&gt;  &lt;p&gt;3. The service pack level (YYY) currently installed on the system is lower than the last disruptive service pack level (ZZZ) of the new service pack to be installed.&lt;br /&gt;    Example:  Currently installed service pack is SF235_180_180 and the new service pack is SF235_190_185 &lt;/p&gt;  &lt;p&gt;An installation is concurrent if: &lt;/p&gt;  &lt;p&gt;1.  The service pack level (YYY) is higher than the service pack level currently installed on your system.&lt;br /&gt;              Example: Currently installed service pack is SF235_180_160, new service pack is SF235_185_160.&lt;/p&gt;  &lt;h3&gt;&lt;a name="p5SystemFirmwareUpgrade-1.3.4Whyaretheremultiplefirmwarestreams?"&gt;&lt;/a&gt;1.3.4      Why are there multiple firmware streams?&lt;/h3&gt;  &lt;p&gt;Multiple firmware streams (eg, SF230, SF235, SF240, etc) are available for a given type-model (eg, 9117-570).  IBM maintains multiple parallel firmware streams so customers can install firmware fixes while avoiding a scheduled p5 server outage.  As described on the &lt;span class="nobr"&gt;&lt;a href="http://www14.software.ibm.com/webapp/set2/firmware/gjsn?mode=10&amp;amp;page=faq.html" rel="nofollow"&gt;&lt;em&gt;Managing and installing system firmware FAQ&lt;/em&gt; web page&lt;sup&gt;&lt;img class="rendericon" src="http://www.ibm.com/developerworks/wikis/images/icons/linkext7.gif" alt="" width="7" align="absmiddle" border="0" height="7" /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;, IBM releases parallel firmware streams (release levels) which are very analogous to the AIX V5.2 and V5.3 release levels.  Like AIX V5.2 and V5.3, the firmware streams perform similar functions on the same machine type-models, but SF240 (for example) may have some functions which SF235 (for example) does not.  There is usually little or no reason to upgrade from one release to another (eg, SF235 to SF240), but if the upgrade is performed, it requires an outage of the entire p5 server (every LPAR at once).  In contrast, for systems managed by an HMC, updating from one service pack level to another (within the same stream release level) is often not disruptive.&lt;/p&gt;  &lt;h3&gt;&lt;a name="p5SystemFirmwareUpgrade-1.4Decodingtheoperatorcontrolpanel"&gt;&lt;/a&gt;1.4      Decoding the operator control panel&lt;/h3&gt; &lt;p&gt;When the system is powered on, note the operator control panel.  It should appear similar to the image below.  &lt;/p&gt;   &lt;div class="preformatted"&gt;&lt;div class="preformattedContent"&gt; &lt;pre&gt;01    N     V=F&lt;br /&gt;HMC=1       T&lt;/pre&gt; &lt;/div&gt;&lt;/div&gt;    &lt;p&gt;In this example the system is currently booted from the temporary side of the firmware image as denoted in the control panel by the letter T. This indicates the firmware is running from the temporary side. N indicates the system is booted in normal mode. V=F indicates the boot speed is set to Fast. HMC=1 indicates that the server is managed by and connected to one HMC.&lt;/p&gt;  &lt;p&gt;If it has been recently managed by an HMC and no HMC is connected then it will display HMC=0. If no HMC is available and it is desired to set the server to unmanaged it might be required to reset the service processor to factory default using ASMI. &lt;/p&gt;   &lt;h3&gt;&lt;a name="p5SystemFirmwareUpgrade-1.5TemporaryversusPermanentFirmwaresides"&gt;&lt;/a&gt;1.5      Temporary versus Permanent Firmware sides&lt;/h3&gt; &lt;p&gt;The Service Processor maintains two copies of firmware, the temporary and permanent side, to help manage and reduce the frequency of downtime for maintenance. The permanent side is also known as the "P" side. The temporary side is also known as the "T" side. Server firmware fixes are installed on the temporary side. Copying the temporary firmware level to the permanent side is known as committing or accepting the fix. Conversely, rejecting, or removing the current firmware level consists of copying the permanent firmware image to the temporary side.&lt;/p&gt;  &lt;p&gt;Note: It is recommended to use a new firmware fix for a period of time before committing (or accepting) it.&lt;/p&gt;  &lt;p&gt;If firmware fixes are applied consecutively, the first fix will, by default, be copied from the temporary to the permanent side, or accepted. Using an HMC, it is possible to simply replace the temporary image by doing an Install and Activate of the new firmware and indicating that the firmware should not be accepted.&lt;/p&gt;   &lt;h3&gt;&lt;a name="p5SystemFirmwareUpgrade-1.6BeAdvised"&gt;&lt;/a&gt;1.6      Be Advised&lt;/h3&gt; &lt;p&gt;During a firmware update, the flashing of the NVRAM might take anywhere from ten minutes to one hour. In general, updating to a new release level will take longer. Ensure the system is not interrupted before the flash process is completed. Interrupting this process could result in a service call.&lt;/p&gt;  &lt;p&gt;For systems that are not managed by a HMC, the installation of system firmware is always disruptive. During the update_flash process, the console output will be displayed. Again, do not interrupt this process.&lt;/p&gt;  &lt;div class="preformatted"&gt;&lt;div class="preformattedContent"&gt; &lt;pre&gt;Restarting system.&lt;br /&gt;FLASH: preparing saved firmware image for flash&lt;br /&gt;FLASH: flash image is 35191632 bytes&lt;br /&gt;FLASH: performing flash and reboot&lt;br /&gt;FLASH: this will take several minutes.  Do not power off!&lt;/pre&gt; &lt;/div&gt;&lt;/div&gt;   &lt;h2&gt;&lt;a name="p5SystemFirmwareUpgrade-2Requirements"&gt;&lt;/a&gt;2         Requirements&lt;/h2&gt; &lt;h3&gt;&lt;a name="p5SystemFirmwareUpgrade-2.1Softwarerequirements"&gt;&lt;/a&gt;2.1      Software requirements&lt;/h3&gt; &lt;p&gt;The table below is a summary of the minimum components required for each method covered in this paper:&lt;/p&gt;   &lt;table class="confluenceTable"&gt;&lt;tbody&gt; &lt;tr&gt; &lt;th class="confluenceTh"&gt;Method&lt;/th&gt; &lt;th class="confluenceTh"&gt;Minimum Requirements&lt;/th&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="confluenceTd"&gt;Update via HMC &lt;/td&gt; &lt;td class="confluenceTd"&gt; 1. A compatible version of HMC. &lt;br /&gt;2. An Ethernet connection from the HMC to the p5 server (HMC1 port). &lt;br /&gt;3. Desired firmware image on CD. The rpm and XML files are required. &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="confluenceTd"&gt;Update via running AIX or Linux operating system &lt;/td&gt; &lt;td class="confluenceTd"&gt; 1. A running AIX or supported Linux operating system on a single LPAR environment, ie, no attached HMC.&lt;br /&gt;2. Firmware image on a CD or file system. The rpm file only.&lt;br /&gt;3. update_flash executable. For AIX, it is part of the diagnostic aids tool in the /usr/lpp/diagnostics/bin directory. For Linux, it is part of the Service and Productivity Tools.&lt;br /&gt;4. Serial console and connection &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="confluenceTd"&gt;Update via Standalone Diagnostic CD &lt;/td&gt; &lt;td class="confluenceTd"&gt; 1. Diagnostic CD&lt;br /&gt;2. Firmware image (.img) file on a CD.  Remember, the rpm file is not directly compatible.&lt;br /&gt;3. Serial console and connection &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;    &lt;p&gt;There are two very helpful sites that will assist in gathering the components necessary to update firmware. Visiting the Microcode downloads site ( 1) is recommended before performing any updates.&lt;/p&gt;  &lt;p&gt;&lt;span class="nobr"&gt;&lt;a href="http://www14.software.ibm.com/webapp/set2/firmware/gjsn" rel="nofollow"&gt;http://www14.software.ibm.com/webapp/set2/firmware/gjsn&lt;sup&gt;&lt;img class="rendericon" src="http://www.ibm.com/developerworks/wikis/images/icons/linkext7.gif" alt="" width="7" align="absmiddle" border="0" height="7" /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;img src="http://www.ibm.com/developerworks/wikis/download/attachments/53871828/image002.jpg" align="absmiddle" border="0" /&gt;&lt;br /&gt;Figure 1&lt;/p&gt;   &lt;p&gt;To download the rpm and XML files, input the server machine type and model number and select the latest firmware components based on the below requirements table (option 1 in Fig 3). &lt;/p&gt;  &lt;p&gt;If planning to using the Diagnostic CD method, use option 4 to download the firmware image ISO image. The rpm files are not directly compatible with the Diagnostics CD. For the smallest ISO image take the following path using option 4&lt;/p&gt;  &lt;div class="preformatted"&gt;&lt;div class="preformattedContent"&gt; &lt;pre&gt;Obtain ISO Image -&gt; Download P5 Microcode -&gt; Select one -&gt; GO&lt;/pre&gt; &lt;/div&gt;&lt;/div&gt;  &lt;p&gt;Next, go to the Power5 Code matrix site (Figure 2) to ensure the existing code levels support the downloaded firmware release. For the purposes of this paper, this applies mostly to HMC version level. If an HMC is not being used, this is for information only.&lt;/p&gt;  &lt;p&gt;&lt;span class="nobr"&gt;&lt;a href="https://www14.software.ibm.com/webapp/set2/sas/f/power5cm/home.html" rel="nofollow"&gt;https://www14.software.ibm.com/webapp/set2/sas/f/power5cm/home.html&lt;sup&gt;&lt;img class="rendericon" src="http://www.ibm.com/developerworks/wikis/images/icons/linkext7.gif" alt="" width="7" align="absmiddle" border="0" height="7" /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;img src="http://www.ibm.com/developerworks/wikis/download/attachments/53871828/image003.jpg" align="absmiddle" border="0" /&gt;&lt;br /&gt;Figure 2&lt;/p&gt;   &lt;h2&gt;&lt;a name="p5SystemFirmwareUpgrade-3UpgradefirmwarewithHMC"&gt;&lt;/a&gt;3         Upgrade firmware with HMC &lt;/h2&gt; &lt;h3&gt;&lt;a name="p5SystemFirmwareUpgrade-3.1Connectivity"&gt;&lt;/a&gt;3.1      Connectivity&lt;/h3&gt; &lt;p&gt;The HMC is connected to a p5 system with a standard TCP/IP Ethernet connection.  Figure 1 shows a very simple connection. &lt;/p&gt;   &lt;p&gt;&lt;img src="http://www.ibm.com/developerworks/wikis/download/attachments/53871828/image004.jpg" align="absmiddle" border="0" /&gt;&lt;br /&gt;Figure 3.&lt;br /&gt;p550Q server with a direct connection to a HMC.&lt;/p&gt;  &lt;h3&gt;&lt;a name="p5SystemFirmwareUpgrade-3.2HMCrequirements"&gt;&lt;/a&gt;3.2      HMC requirements&lt;/h3&gt; &lt;p&gt;Before applying the latest level of firmware on the system using a HMC it might be required to update the build version. Please see the recommended HMC level for the target firmware level in the Power5 Code Matrix. It is always a good idea to have a suitable backup of the HMC data before updating HMC code.&lt;/p&gt;  &lt;p&gt;In this example, per the Power5 Code Matrix for system firmware SF240_202, the recommended code level for our HMC is Version 5.2 plus service pack MH00586. This is also the most current level at the writing of this paper. &lt;/p&gt;  &lt;p&gt;Check the HMC version build level by clicking on the HMC Code Update in the HMC navigation area (Figure 4):&lt;/p&gt;  &lt;p&gt;&lt;img src="http://www.ibm.com/developerworks/wikis/download/attachments/53871828/image005.gif" align="absmiddle" border="0" /&gt;&lt;br /&gt;Figure 4&lt;/p&gt;    &lt;p&gt;The HMC version can also be checked as hscroot from the shell prompt as follows:&lt;/p&gt;  &lt;div class="preformatted"&gt;&lt;div class="preformattedContent"&gt; &lt;pre&gt;hscroot@c76v3hmc01:~&gt; lshmc -V&lt;br /&gt;"version= Version: 5&lt;br /&gt;Release: 2.0&lt;br /&gt;HMC Build level 20060210.1&lt;br /&gt;MH00586: Required fixes for HMC V5R2.0 (02-14-2006)","base_version=V5.2.0"&lt;/pre&gt; &lt;/div&gt;&lt;/div&gt;       &lt;h3&gt;&lt;a name="p5SystemFirmwareUpgrade-3.3ViewingsystemfirmwareinformationusingLICwizard"&gt;&lt;/a&gt;3.3      Viewing system firmware information using LIC wizard&lt;/h3&gt;  &lt;p&gt;From the navigation area, select License Internal Code Updates. In the content area, click on Change Licensed Internal Code to the current release. In the Target Object Selection window, click the target system, and click OK. &lt;/p&gt;  &lt;p&gt;&lt;img src="http://www.ibm.com/developerworks/wikis/download/attachments/53871828/image007.gif" align="absmiddle" border="0" /&gt;&lt;br /&gt;Figure 5&lt;/p&gt;   &lt;p&gt;In the Change Internal Code window, select View system information and click OK. From the main Change Internal Code task panel, select View system information and click OK. To view the installed, activated, and accepted LIC levels on the target, select "None" on the Specify LIC Repository panel and click OK.&lt;/p&gt;     &lt;p&gt;&lt;img src="http://www.ibm.com/developerworks/wikis/download/attachments/53871828/image008.gif" align="absmiddle" border="0" /&gt;&lt;br /&gt;Figure 6&lt;/p&gt;  &lt;h3&gt;&lt;a name="p5SystemFirmwareUpgrade-3.4UpgradesystemfirmwaretoanewreleaseusingHMC"&gt;&lt;/a&gt;3.4      Upgrade system firmware to a new release using HMC &lt;/h3&gt;  &lt;p&gt;Remember, upgrading to a new release is a disruptive upgrade.  &lt;/p&gt;  &lt;p&gt;Start by opening the Server and Partition folder in the HMC. Then, click on Server Management in that folder. If the state of the machine is Power off, Ready, or Standby, then proceed. Setting the state to Power off is recommended when performing a firmware upgrade, although it is not required. Note: only HMC managed systems can perform firmware upgrades with target system set to Power off state.&lt;/p&gt;     &lt;p&gt;&lt;img src="http://www.ibm.com/developerworks/wikis/download/attachments/53871828/image009.jpg" align="absmiddle" border="0" /&gt;&lt;br /&gt;Figure 7&lt;/p&gt;   &lt;p&gt;Next, open the Licensed Internal Code Maintenance folder on the Hardware Management Console. Then, click on Licensed Internal Code Updates in that folder. In this example, the update will be from our current firmware level 01SF235_185 to 01SF240_202, so the normal " Change Licensed Internal Code for the current release" feature will not work. Select Upgrade Licensed Internal Code to a new release.&lt;/p&gt;   &lt;p&gt;&lt;img src="http://www.ibm.com/developerworks/wikis/download/attachments/53871828/image010.gif" align="absmiddle" border="0" /&gt;&lt;br /&gt;Figure 8&lt;/p&gt;   &lt;p&gt;Select the desired target managed system and click OK.&lt;/p&gt;     &lt;p&gt;&lt;img src="http://www.ibm.com/developerworks/wikis/download/attachments/53871828/image011.jpg" align="absmiddle" border="0" /&gt;&lt;br /&gt;Figure 9&lt;/p&gt;    &lt;p&gt;Insert the CD with the rpm and XML files into the drive.  On the Specify LIC Repository panel, select DVD drive and click OK.&lt;/p&gt;   &lt;p&gt;Next, a Select LIC level panel is shown.  Click OK.  &lt;/p&gt;      &lt;p&gt;&lt;img src="http://www.ibm.com/developerworks/wikis/download/attachments/53871828/image012.gif" align="absmiddle" border="0" /&gt;&lt;br /&gt;Figure 11&lt;/p&gt;  &lt;p&gt;The next prompt will be to accept the LIC license agreement for machine code. Read the license and click OK to accept. After accepting the license agreement, confirm the disruptive upgrade action. Click OK to proceed. When the firmware is flashed, the FSP will restart and activate the new firmware level.&lt;/p&gt;          &lt;p&gt;&lt;img src="http://www.ibm.com/developerworks/wikis/download/attachments/53871828/image013.gif" align="absmiddle" border="0" /&gt; &lt;img src="http://www.ibm.com/developerworks/wikis/download/attachments/53871828/image014.gif" align="absmiddle" border="0" /&gt;&lt;br /&gt;Figure 12&lt;/p&gt;  &lt;p&gt;A dialog box will appear to showing the elapsed time and status of the firmware upgrade.  &lt;/p&gt;  &lt;p&gt;WARNING - During a disruptive update, the flashing of NVRAM might take from ten minutes to two hours. Do not interrupt the process before the flash process is complete. &lt;/p&gt;  &lt;p&gt;&lt;img src="http://www.ibm.com/developerworks/wikis/download/attachments/53871828/image015.jpg" align="absmiddle" border="0" /&gt;&lt;br /&gt;Figure 13&lt;/p&gt;  &lt;p&gt;Once the firmware upgrade has completed, view the system firmware information to see how the upgrade has changed what is available.&lt;/p&gt;   &lt;h3&gt;&lt;a name="p5SystemFirmwareUpgrade-3.5UpdatesystemfirmwarewithinareleaseusingHMC"&gt;&lt;/a&gt;3.5      Update system firmware within a release using HMC &lt;/h3&gt; &lt;p&gt;Firmware updates within a release are common when maintaining and managing a p5 server.  &lt;/p&gt;  &lt;p&gt;Use the Change Licensed Internal Code for the current release feature to install LIC updates on p5 servers. Updates can be applied to managed systems, bulk power controllers, and I/O adapters. This example shows updating a managed systems LIC from an installed firmware level of 01SF235_180_160 to 01SF235_185_160. Note that the release level will remain the same, but the service pack level will be updated from 180_160 to 185_160. The update is concurrent, or non-disruptive, as indicated in the service pack (185) and the last disruptive (160) levels.&lt;/p&gt;  &lt;h3&gt;&lt;a name="p5SystemFirmwareUpgrade-3.6ChangeLicenseInternalCodeWizard"&gt;&lt;/a&gt;3.6      Change License Internal Code Wizard&lt;/h3&gt; &lt;p&gt;Start by opening the Server and Partition folder in the HMC. Then, click on Server Management. Verify that the target system exists in the content area.&lt;/p&gt;      &lt;p&gt;&lt;img src="http://www.ibm.com/developerworks/wikis/download/attachments/53871828/image016.jpg" align="absmiddle" border="0" /&gt;&lt;br /&gt;Figure 14&lt;/p&gt;  &lt;p&gt;From the HMC left navigation area, open the Licensed Internal Code Maintenance folder. Click on Licensed Internal Code Updates. Select the Change Licensed Internal Code for the current release feature.&lt;/p&gt;   &lt;p&gt;Highlight the target managed system and click OK (Figure 15).&lt;/p&gt;  &lt;p&gt;&lt;img src="http://www.ibm.com/developerworks/wikis/download/attachments/53871828/image017.jpg" align="absmiddle" border="0" /&gt;&lt;br /&gt;Figure 15&lt;/p&gt;   &lt;p&gt;Click the OK button to start the Change Licensed Internal Code wizard.  &lt;/p&gt;      &lt;p&gt;&lt;img src="http://www.ibm.com/developerworks/wikis/download/attachments/53871828/image018.gif" align="absmiddle" border="0" /&gt;&lt;br /&gt;Figure 16&lt;/p&gt;  &lt;p&gt;Insert the CD into the drive and on the Specify LIC Repository panel, select DVD drive and click OK.&lt;/p&gt;  &lt;p&gt;The following panel is displayed providing summary information about the update. Note the Advanced Options button gives the option to view and change the installation type for this update action. The current install type selection is Concurrent install and activate. Other installation types involve either a deferred or an immediate system restart to activate the new firmware level. Those installation types are grayed out since this is a concurrent update only. (See Managed System and Power Licensed Internal Code (LIC) Concurrency panel below.)&lt;/p&gt;  &lt;p&gt;Click Next to continue with Concurrent install and activate.   Please read the license agreement and click OK to accept.  &lt;/p&gt;      &lt;p&gt;&lt;img src="http://www.ibm.com/developerworks/wikis/download/attachments/53871828/image019.gif" align="absmiddle" border="0" /&gt;&lt;br /&gt;Figure 16&lt;/p&gt;  &lt;p&gt;The Advanced Option button displays the Managed System and Power Licensed Internal Code (LIC) Concurrency panel:&lt;/p&gt;   &lt;p&gt;&lt;img src="http://www.ibm.com/developerworks/wikis/download/attachments/53871828/image020.gif" align="absmiddle" border="0" /&gt;&lt;br /&gt;Figure 17&lt;/p&gt;  &lt;p&gt;After accepting the license agreement, confirm the concurrent update action prompt.  Click Finish and Close to proceed.&lt;/p&gt;      &lt;p&gt;&lt;img src="http://www.ibm.com/developerworks/wikis/download/attachments/53871828/image021.gif" align="absmiddle" border="0" /&gt;&lt;br /&gt;Figure 18&lt;/p&gt;  &lt;p&gt;A progress window will appear to show the elapsed time and status of the firmware update. When the firmware is flashed, the FSP will restart and activate the new firmware level.&lt;/p&gt;   &lt;p&gt;&lt;img src="http://www.ibm.com/developerworks/wikis/download/attachments/53871828/image022.gif" align="absmiddle" border="0" /&gt;&lt;br /&gt;Figure 19&lt;/p&gt;  &lt;p&gt;Once the firmware upgrade has completed, view the system firmware information to see how the upgrade has changed what is available.&lt;/p&gt;   &lt;h3&gt;&lt;a name="p5SystemFirmwareUpgrade-3.7RejecttheinstalledfirmwareusingaHMC"&gt;&lt;/a&gt;3.7      Reject the installed firmware using a HMC&lt;/h3&gt; &lt;p&gt;From the HMC left navigation area, select License Internal Code Updates.  &lt;/p&gt;  &lt;p&gt;In the content area, click Change Licensed Internal Code to the current release. In the Target Object Selection window, click the target system, and click OK. &lt;/p&gt;  &lt;p&gt;The main panel then displays with three options start the Change Internal Code wizard, view system information, and select advanced features.&lt;/p&gt;       &lt;p&gt;&lt;img src="http://www.ibm.com/developerworks/wikis/download/attachments/53871828/image023.gif" align="absmiddle" border="0" /&gt;&lt;br /&gt;Figure 20&lt;/p&gt;    &lt;p&gt;The Remove and activate feature is a one step process to remove the current active T-side firmware and roll back (or copy) firmware from the P-side. Essentially, undo the last firmware update and restore the T-side with the P-side firmware version.&lt;/p&gt;  &lt;p&gt;&lt;img src="http://www.ibm.com/developerworks/wikis/download/attachments/53871828/image024.gif" align="absmiddle" border="0" /&gt;&lt;br /&gt;Figure 21&lt;/p&gt;   &lt;h2&gt;&lt;a name="p5SystemFirmwareUpgrade-4UpgradefirmwarewithoutaHMC"&gt;&lt;/a&gt;4         Upgrade firmware without a HMC&lt;/h2&gt; &lt;h3&gt;&lt;a name="p5SystemFirmwareUpgrade-4.1AccessASMIviaserialconsole"&gt;&lt;/a&gt;4.1      Access ASMI via serial console&lt;/h3&gt; &lt;p&gt;A system with no HMC is also known as an unmanaged system. ASMI is used to power on the system and perform other useful functions. Using a serial cable and a program like HyperTerminal on Windows, ASMI and the active console can be accessed. Other communication programs should work. &lt;/p&gt;   &lt;p&gt;&lt;img src="http://www.ibm.com/developerworks/wikis/download/attachments/53871828/image025.jpg" align="absmiddle" border="0" /&gt;&lt;br /&gt;Figure 22.&lt;br /&gt;Back view of p550Q server with ports for (left to right)&lt;br /&gt;serial, SPCN, HMC, USB and Ethernet.&lt;/p&gt;    &lt;p&gt;Once the serial connection to the system is established, press the &lt;enter&gt; key, to be presented with the following ASMI login screen.&lt;/p&gt;  &lt;div class="preformatted"&gt;&lt;div class="preformattedContent"&gt; &lt;pre&gt;Welcome&lt;br /&gt;Machine type-model: 9133-55A&lt;br /&gt;Serial number: 10B7D4G&lt;br /&gt;Date: 2006-4-21&lt;br /&gt;Time: 20:12:48&lt;br /&gt;Service Processor: Primary&lt;br /&gt;User ID: admin&lt;br /&gt;Password: *****&lt;br /&gt;User ID to change: admin&lt;br /&gt;Current password for user ID admin: *****&lt;br /&gt;New password for user: ******&lt;br /&gt;New password again: ******&lt;br /&gt;Operation completed successfully.&lt;br /&gt;&lt;br /&gt;PRESS ENTER TO CONTINUE:&lt;br /&gt;Number of columns [80-255, Currently: 80]:&lt;br /&gt;Number of lines [24-255, Currently: 24]:&lt;/pre&gt; &lt;/div&gt;&lt;/div&gt;  &lt;p&gt;Type the User ID and password to log in to ASMI. If this is the first time logging into ASMI, it might be required to change the default password. The default password is admin&lt;/p&gt;   &lt;h3&gt;&lt;a name="p5SystemFirmwareUpgrade-4.2Checkingthecurrentfirmwarelevel"&gt;&lt;/a&gt;4.2      Checking the current firmware level&lt;/h3&gt; &lt;p&gt;Upon logging into ASMI, the firmware level will be clearly displayed as shown below.  &lt;/p&gt;  &lt;div class="preformatted"&gt;&lt;div class="preformattedContent"&gt; &lt;pre&gt;System name: Server-9133-55A-SN10B7D4G&lt;br /&gt;Version: SF235_185&lt;br /&gt;User: admin&lt;br /&gt;Copyright © 2002-2005 IBM Corporation. All rights reserved.&lt;br /&gt;&lt;br /&gt;1. Power/Restart Control&lt;br /&gt;2. System Service Aids&lt;br /&gt;3. System Information&lt;br /&gt;4. System Configuration&lt;br /&gt;5. Network Services&lt;br /&gt;6. Performance Setup&lt;br /&gt;7. On Demand Utilities&lt;br /&gt;8. Concurrent Maintenance&lt;br /&gt;9. Login Profile&lt;br /&gt;99. Log out&lt;/pre&gt; &lt;/div&gt;&lt;/div&gt;  &lt;p&gt;The current activated firmware level is also shown in the ASMI web interface after logging in. To see the firmware level, look in the upper-right corner. Basically, to access the ASMI web interface, connect an Ethernet cable directly to the HMC1 port. For details on accessing the ASMI web interface, see reference 6.&lt;/p&gt;       &lt;p&gt;&lt;img src="http://www.ibm.com/developerworks/wikis/download/attachments/53871828/image026.gif" align="absmiddle" border="0" /&gt;&lt;br /&gt;Figure 23&lt;br /&gt;The current active firmware level can also seen from the output of the Display Microcode Level selection on the Diagnostics CD. Details of how to get to the following screen are provided in 4.7 &lt;/p&gt;    &lt;p&gt;&lt;img src="http://www.ibm.com/developerworks/wikis/download/attachments/53871828/image027.gif" align="absmiddle" border="0" /&gt;&lt;br /&gt;Figure 24&lt;/p&gt;   &lt;p&gt;The current active firmware level as seen from the SMS screen:&lt;/p&gt;    &lt;p&gt;&lt;img src="http://www.ibm.com/developerworks/wikis/download/attachments/53871828/image028.gif" align="absmiddle" border="0" /&gt;&lt;br /&gt;Figure 25&lt;/p&gt;   &lt;p&gt;Finally, if the server has a running AIX or Linux operating system with the Service and Productivity tool lsvpd installed, the lsmcode command can be used as shown below. More details are provided in section 4.4.2&lt;/p&gt;  &lt;div class="preformatted"&gt;&lt;div class="preformattedContent"&gt; &lt;pre&gt;linux:~ #/tmp/fwupdate # lsmcode&lt;br /&gt;Version of System Firmware is SF235_185 (t) SF235_185 (p) SF235_185 (b)&lt;br /&gt;Version of PFW is 17112005111681CF0681&lt;/pre&gt; &lt;/div&gt;&lt;/div&gt;       &lt;h3&gt;&lt;a name="p5SystemFirmwareUpgrade-4.3PoweronusingASMI"&gt;&lt;/a&gt;4.3      Power on using ASMI&lt;/h3&gt; &lt;p&gt;From the ASMI main menu select 1. Power/Restart Control  to get to this screen:&lt;/p&gt;  &lt;div class="preformatted"&gt;&lt;div class="preformattedContent"&gt; &lt;pre&gt;Power/Restart Control&lt;br /&gt;&lt;br /&gt;1. Power On/Off System&lt;br /&gt;2. Auto Power Restart&lt;br /&gt;3. Immediate Power Off&lt;br /&gt;4. System Reboot&lt;br /&gt;5. Wake On LAN&lt;br /&gt;98. Return to previous menu&lt;br /&gt;99. Log out&lt;br /&gt;S1&gt; 1 &lt;/pre&gt; &lt;/div&gt;&lt;/div&gt;  &lt;p&gt;Select 1. Power On/Off System.  &lt;/p&gt;  &lt;p&gt;On the next screen select 8. Power on. Wait for a few seconds to be logged out as the system powers on. Watch boot progress codes as the system comes up.&lt;/p&gt;  &lt;div class="preformatted"&gt;&lt;div class="preformattedContent"&gt; &lt;pre&gt;Power On/Off System&lt;br /&gt;Current system power state: Off&lt;br /&gt;Current firmware boot side: Permanent&lt;br /&gt;Current system server firmware state: Not running&lt;br /&gt;&lt;br /&gt;1. System boot speed&lt;br /&gt;       Currently: Fast&lt;br /&gt;2. Firmware boot side for the next boot&lt;br /&gt;       Currently: Permanent&lt;br /&gt;3. System operating mode&lt;br /&gt;       Currently: Normal&lt;br /&gt;4. AIX/Linux partition mode boot&lt;br /&gt;       Currently: Continue to operating system&lt;br /&gt;5. Boot to system server firmware&lt;br /&gt;       Currently: Standby&lt;br /&gt;6. System power off policy&lt;br /&gt;       Currently: Stay on&lt;br /&gt;7. i5/OS partition mode boot&lt;br /&gt;       Currently: A&lt;br /&gt;8. Power on&lt;br /&gt;98. Return to previous menu&lt;br /&gt;99. Log out&lt;br /&gt;S1&gt;8 &lt;/pre&gt; &lt;/div&gt;&lt;/div&gt;  &lt;p&gt;When the system completes the boot process, note the operator control panel. Note that there should be no indication of HMC=. This indicates that the service processor does not expect to be managed by an HMC (see below). &lt;/p&gt;  &lt;div class="preformatted"&gt;&lt;div class="preformattedContent"&gt; &lt;pre&gt;01    N     V=F&lt;br /&gt;           T   &lt;/pre&gt; &lt;/div&gt;&lt;/div&gt;      &lt;h3&gt;&lt;a name="p5SystemFirmwareUpgrade-4.4Upgradesystemfirmwareviarunningoperatingsystem"&gt;&lt;/a&gt;4.4      Upgrade system firmware via running operating system&lt;/h3&gt; &lt;p&gt;The rpm file for the firmware fix file stored either in the file system or on a mounted CD. For this example, the rpm file is in the /tmp directory. &lt;/p&gt;  &lt;p&gt;Run the command below to extract the flash image file in the rpm file:&lt;/p&gt;  &lt;p&gt;rpm -Uvh --ignoreos /tmp/01SF240_202_201.rpm&lt;/p&gt;  &lt;p&gt;The flash image file is put into a newly created directory /tmp/fwupdate&lt;/p&gt;  &lt;p&gt;To install the server firmware through a running OS, use the update_flash. To run this command, root authority is required. Since installing server firmware fixes through the operating system is a disruptive process, shut down any running applications and logout any non-root users.&lt;/p&gt;  &lt;p&gt;On AIX, the update_flash command is located in the /usr/lpp/diagnostics/bin directory. If this directory does not exist, install the AIX diagnostics to run this command.&lt;/p&gt;  &lt;p&gt;On Linux, the update_flash command is located in the /usr/sbin directory. A separate installation of Service and Productivity Tools may be required. &lt;/p&gt;  &lt;p&gt;The command syntax is as follows (for both AIX and Linux):&lt;/p&gt;  &lt;div class="preformatted"&gt;&lt;div class="preformattedContent"&gt; &lt;pre&gt;update_flash [-f file_name]| [-c] | [-r]&lt;br /&gt;Attention: The update_flash command reboots the entire system. Do not use this command if more than one user is logged in to the system.&lt;br /&gt;&lt;br /&gt;Flag&lt;br /&gt;Description&lt;br /&gt;-f &lt;file_name&gt;&lt;br /&gt;Flash update image file source. The file_name variable specifies the fully qualified path of the flash update image file.&lt;br /&gt;-c&lt;br /&gt;Commit temporary image to permanent side.&lt;br /&gt;-r&lt;br /&gt;Reject temporary image. &lt;/pre&gt; &lt;/div&gt;&lt;/div&gt;   &lt;h4&gt;&lt;a name="p5SystemFirmwareUpgrade-4.4.1UpgradefirmwareimageusingAIX"&gt;&lt;/a&gt;4.4.1      Upgrade firmware image using AIX &lt;/h4&gt;  &lt;p&gt;Before installing check the existing firmware level. From AIX, use the command lsmcode. This command resides in the diagnostic directory. An example of the output of the lsmcode command is as follows:&lt;/p&gt;  &lt;div class="preformatted"&gt;&lt;div class="preformattedContent"&gt; &lt;pre&gt;DISPLAY MICROCODE LEVEL                         802811&lt;br /&gt;IBM,9133-55A&lt;br /&gt;The current permanent system firmware image is SF235_185&lt;br /&gt;The current temporary system firmware image is SF235_185&lt;br /&gt;The system is currently booted from the temporary firmware image.&lt;br /&gt;&lt;br /&gt;Enter to continue.&lt;/pre&gt; &lt;/div&gt;&lt;/div&gt;   &lt;p&gt;Next, run the update_flash command to upgrade firmware:&lt;/p&gt;  &lt;div class="preformatted"&gt;&lt;div class="preformattedContent"&gt; &lt;pre&gt;[c73m5lr01][/]&gt; ls /tmp/fwupdate&lt;br /&gt;01SF240_202_201&lt;br /&gt;[c73m5lr01][/]&gt; /usr/lpp/diagnostics/bin/update_flash -f&lt;br /&gt;/tmp/fwupdate/01SF240_202_201&lt;br /&gt;The image is valid and would update the temporary image to&lt;br /&gt;SF240_202.&lt;br /&gt;&lt;br /&gt;The new firmware level for the permanent image would be SF235_185.&lt;br /&gt;The current permanent system firmware image is SF235_185.&lt;br /&gt;The current temporary system firmware image is SF235_185.&lt;br /&gt;&lt;br /&gt;***** WARNING: Continuing will reboot the system! *****&lt;br /&gt;Do you wish to continue?&lt;br /&gt;Enter 1=Yes or 2=No&lt;/pre&gt; &lt;/div&gt;&lt;/div&gt;     &lt;h4&gt;&lt;a name="p5SystemFirmwareUpgrade-4.4.2UpgradefirmwareimageusingLinux"&gt;&lt;/a&gt;4.4.2      Upgrade firmware image using Linux&lt;/h4&gt;  &lt;p&gt;To use lsmcode and update_flash commands in Linux, the following minimum Service and Productivity tools have to be installed, and in this order:&lt;br /&gt;  librtas&lt;br /&gt;  ppc64-utils&lt;br /&gt;  lsvpd&lt;/p&gt;  &lt;p&gt;Note: If the Service and Productivity tools are not installed, they can be downloaded from the following location. Choose the appropriate Linux distribution and release.&lt;/p&gt;  &lt;p&gt;         &lt;span class="nobr"&gt;&lt;a href="https://www14.software.ibm.com/webapp/set2/sas/f/lopdiags/home.html" rel="nofollow"&gt;https://www14.software.ibm.com/webapp/set2/sas/f/lopdiags/home.html&lt;sup&gt;&lt;img class="rendericon" src="http://www.ibm.com/developerworks/wikis/images/icons/linkext7.gif" alt="" width="7" align="absmiddle" border="0" height="7" /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;After downloading the Linux tools into the /tmp directory, install the three packages - Platform Enablement Library (librtas), Service Aids (ppc64-utils), and Hardware Inventory (lsvpd) as follows&lt;/p&gt;  &lt;div class="preformatted"&gt;&lt;div class="preformattedContent"&gt; &lt;pre&gt;linux:~ # rpm Uvh librtas-1.1-17.ppc64.rpm&lt;br /&gt;linux:~ # rpm Uvh ppc64-utils-2.1-0.ppc64.rpm&lt;br /&gt;linux:~ # rpm Uvh lsvpd-0.12.7-1.ppc.rpm &lt;/pre&gt; &lt;/div&gt;&lt;/div&gt;   &lt;p&gt;The Hardware Inventory package contains the lsmcode command that allows us to view the current system firmware information. To populate the VPD database and enable this command, type&lt;/p&gt;  &lt;div class="preformatted"&gt;&lt;div class="preformattedContent"&gt; &lt;pre&gt;linux:~ # chkconfig lsvpd on&lt;br /&gt;linux:~ # /sbin/update-lsvpd-db&lt;br /&gt;linux:~ #/tmp/fwupdate # lsmcode&lt;br /&gt;Version of System Firmware is SF235_185 (t) SF235_185 (p) SF235_185 (b)&lt;br /&gt;Version of PFW is 17112005111681CF0681 &lt;/pre&gt; &lt;/div&gt;&lt;/div&gt;  &lt;p&gt;Run the update_flash command to upgrade firmware:&lt;/p&gt;  &lt;div class="preformatted"&gt;&lt;div class="preformattedContent"&gt; &lt;pre&gt;linux:/tmp/fwupdate # /usr/sbin/update_flash -f /tmp/fwupdate/01SF240_202_201&lt;br /&gt;info: Current Temporary side will be committed to&lt;br /&gt;Permanent side before being replaced with the new image&lt;br /&gt;&lt;br /&gt;Projected Flash Update Results:&lt;br /&gt;Current T Image: SF235_185&lt;br /&gt;Current P Image: SF235_185&lt;br /&gt;New T Image:     SF240_202&lt;br /&gt;New P Image:     SF235_185&lt;br /&gt;Flash image ready...rebooting the system...&lt;/pre&gt; &lt;/div&gt;&lt;/div&gt;  &lt;p&gt;The flash process will reboot the system as part of a disruptive install of the firmware. Do Not Power off or interrupt the flash process. When the new firmware is completely installed, log back into Linux and verify the current firmware configuration.&lt;/p&gt;  &lt;div class="preformatted"&gt;&lt;div class="preformattedContent"&gt; &lt;pre&gt;linux:~ # lsmcode&lt;br /&gt;Version of System Firmware is SF240_202 (t) SF235_185 (p) SF240_202 (b)&lt;br /&gt;Version of PFW is 13552006011081CF0681&lt;/pre&gt; &lt;/div&gt;&lt;/div&gt;  &lt;h2&gt;&lt;a name="p5SystemFirmwareUpgrade-4.5UpgradefirmwareusingdiagnosticsCD"&gt;&lt;/a&gt;4.5      Upgrade firmware using diagnostics CD&lt;/h2&gt;  &lt;p&gt;This method is intended for systems that are not managed by a HMC.  &lt;/p&gt;  &lt;p&gt;Insert the diagnostics CD into the CD-ROM drive and connect to ASMI to power on or restart the system as described in 4.3.  &lt;/p&gt;  &lt;p&gt;Press 1 after keyboard POST to in order to get the SMS menu screen. Watch closely as this passes quickly.&lt;/p&gt;  &lt;p&gt;Select the following SMS options and choose to boot from the CD device. &lt;/p&gt;  &lt;div class="preformatted"&gt;&lt;div class="preformattedContent"&gt; &lt;pre&gt;5. Select Boot Options -&gt; 1. Select Install/Boot Device -&gt; 7. List all devices&lt;/pre&gt; &lt;/div&gt;&lt;/div&gt;  &lt;p&gt;This will look like a normal AIX boot with Welcome to AIX scrolling across the console.  &lt;/p&gt;  &lt;p&gt;Once the Diagnostics disk has booted, on the function selection screen, select Tasks and Service Aids. &lt;/p&gt;  &lt;p&gt;&lt;img src="http://www.ibm.com/developerworks/wikis/download/attachments/53871828/image030.jpg" align="absmiddle" border="0" /&gt;&lt;br /&gt;Figure 27&lt;/p&gt;   &lt;p&gt;On the task selection screen, scroll to the bottom of the list of options, and select Update and Manage Flash.  &lt;/p&gt;  &lt;p&gt;&lt;img src="http://www.ibm.com/developerworks/wikis/download/attachments/53871828/image031.jpg" align="absmiddle" border="0" /&gt;&lt;br /&gt;Figure 28&lt;/p&gt;     &lt;p&gt;Insert the CD containing the downloaded firmware img file into the media device, select Validate and Update System Firmware and Update System Firmware menu items.&lt;/p&gt;   &lt;p&gt;&lt;img src="http://www.ibm.com/developerworks/wikis/download/attachments/53871828/image032.jpg" align="absmiddle" border="0" /&gt;&lt;br /&gt;Figure 29&lt;/p&gt;  &lt;p&gt;Press F4 to select a firmware fix image file from a list of image files. Our CD contains only one version of the target firmware update file, and 01SF204_202_201.img is displayed. &lt;/p&gt;  &lt;p&gt;&lt;img src="http://www.ibm.com/developerworks/wikis/download/attachments/53871828/image033.jpg" align="absmiddle" border="0" /&gt;&lt;br /&gt;Figure 30&lt;/p&gt;  &lt;p&gt;Press F7 (commit). The server firmware level selected will be installed on the temporary side. &lt;/p&gt;    &lt;h2&gt;&lt;a name="p5SystemFirmwareUpgrade-5RejectinstalledfirmwarewithoutanHMC"&gt;&lt;/a&gt;5         Reject installed firmware without an HMC &lt;/h2&gt;  &lt;p&gt;There are times when it may be necessary to reject a firmware update. The reject function is accomplished by basically copying the P-side firmware to the T-side and activating. The rejected T-side firmware is removed completely. Without an HMC, it is possible to reject the firmware in the T-side and roll back to the firmware in the P-side using the OS update_flash command or a Diagnostics CD. &lt;/p&gt;  &lt;p&gt;Note: If rejecting firmware without an HMC, the server must be booted from the P-side copy of the firmware prior to performing this action. &lt;/p&gt;  &lt;h3&gt;&lt;a name="p5SystemFirmwareUpgrade-5.1Boottothepermanentside"&gt;&lt;/a&gt;5.1      Boot to the permanent side&lt;/h3&gt; &lt;p&gt;Connect to ASMI as described in section 4.1.  Log in to ASMI and select 1. Power/Restart Control &lt;/p&gt;  &lt;div class="preformatted"&gt;&lt;div class="preformattedContent"&gt; &lt;pre&gt;System name: Server-9133-55A-SN10B7D2G&lt;br /&gt;Version: SF235_185&lt;br /&gt;User: admin&lt;br /&gt;Copyright © 2002-2006 IBM Corporation. All rights reserved.&lt;br /&gt;&lt;br /&gt;1. Power/Restart Control&lt;br /&gt;2. System Service Aids&lt;br /&gt;3. System Information&lt;br /&gt;4. System Configuration&lt;br /&gt;5. Network Services&lt;br /&gt;6. Performance Setup&lt;br /&gt;7. On Demand Utilities&lt;br /&gt;8. Concurrent Maintenance&lt;br /&gt;9. Login Profile&lt;br /&gt;99. Log out&lt;br /&gt;S1&gt; 1&lt;/pre&gt; &lt;/div&gt;&lt;/div&gt;  &lt;p&gt;Select 1. Power On/Off System&lt;/p&gt;  &lt;div class="preformatted"&gt;&lt;div class="preformattedContent"&gt; &lt;pre&gt;Power/Restart Control&lt;br /&gt;&lt;br /&gt;1. Power On/Off System&lt;br /&gt;2. Auto Power Restart&lt;br /&gt;3. Immediate Power Off&lt;br /&gt;4. System Reboot&lt;br /&gt;5. Wake On LAN&lt;br /&gt;98. Return to previous menu&lt;br /&gt;99. Log out&lt;br /&gt;S1&gt; 1&lt;/pre&gt; &lt;/div&gt;&lt;/div&gt;   &lt;p&gt;Select 2. boot side for the next boot&lt;/p&gt;  &lt;div class="preformatted"&gt;&lt;div class="preformattedContent"&gt; &lt;pre&gt;Power On/Off System&lt;br /&gt;Current system power state: Off&lt;br /&gt;Current firmware boot side: Temporary&lt;br /&gt;Current system server firmware state: Not running&lt;br /&gt;&lt;br /&gt;1. System boot speed&lt;br /&gt;       Currently: Fast&lt;br /&gt;2. Firmware boot side for the next boot&lt;br /&gt;       Currently: Temporary&lt;br /&gt;3. System operating mode&lt;br /&gt;       Currently: Normal&lt;br /&gt;4. AIX/Linux partition mode boot&lt;br /&gt;       Currently: Continue to operating system&lt;br /&gt;5. Boot to system server firmware&lt;br /&gt;       Currently: Running&lt;br /&gt;6. System power off policy&lt;br /&gt;       Currently: Automatic&lt;br /&gt;7. i5/OS partition mode boot&lt;br /&gt;       Currently: A&lt;br /&gt;8. Power on&lt;br /&gt;98. Return to previous menu&lt;br /&gt;99. Log out&lt;br /&gt;S1&gt; 2&lt;/pre&gt; &lt;/div&gt;&lt;/div&gt;   &lt;p&gt;Select 1. Permanent&lt;/p&gt;  &lt;div class="preformatted"&gt;&lt;div class="preformattedContent"&gt; &lt;pre&gt;Firmware boot side for the next boot&lt;br /&gt;Currently: Temporary&lt;br /&gt;&lt;br /&gt;1. Permanent&lt;br /&gt;2. Temporary&lt;br /&gt;98. Return to previous menu without saving changes&lt;br /&gt;99. Log out&lt;br /&gt;S1&gt; 1&lt;/pre&gt; &lt;/div&gt;&lt;/div&gt;   &lt;p&gt;Note that the firmware boot side is now set to Permanent which is our backup copy of the firmware flash.&lt;/p&gt;  &lt;p&gt;Select 8. Power on.  Hit the &lt;enter&gt; key.  Wait for a few seconds to be logged out as the system powers on.&lt;/p&gt;  &lt;div class="preformatted"&gt;&lt;div class="preformattedContent"&gt; &lt;pre&gt;Power On/Off System&lt;br /&gt;Current system power state: Off&lt;br /&gt;Current firmware boot side: Temporary&lt;br /&gt;Current system server firmware state: Not running&lt;br /&gt;&lt;br /&gt;1. System boot speed&lt;br /&gt;       Currently: Fast&lt;br /&gt;2. Firmware boot side for the next boot&lt;br /&gt;       Currently: Permanent&lt;br /&gt;3. System operating mode&lt;br /&gt;       Currently: Normal&lt;br /&gt;4. AIX/Linux partition mode boot&lt;br /&gt;       Currently: Continue to operating system&lt;br /&gt;5. Boot to system server firmware&lt;br /&gt;       Currently: Running&lt;br /&gt;6. System power off policy&lt;br /&gt;       Currently: Automatic&lt;br /&gt;7. i5/OS partition mode boot&lt;br /&gt;       Currently: A&lt;br /&gt;8. Power on&lt;br /&gt;98. Return to previous menu&lt;br /&gt;99. Log out&lt;br /&gt;S1&gt; 8&lt;br /&gt;&lt;br /&gt;The system is powering on.&lt;br /&gt;PRESS ENTER TO CONTINUE:&lt;/pre&gt; &lt;/div&gt;&lt;/div&gt;   &lt;h3&gt;&lt;a name="p5SystemFirmwareUpgrade-5.2RejecttheinstalledfirmwareusinganOScommand"&gt;&lt;/a&gt;5.2      Reject the installed firmware using an OS command&lt;/h3&gt; &lt;p&gt;To reject firmware using AIX or Linux, use the update_flash command with the r option. The system is running on the P-side firmware as noted in the lsmcode output SF235_185 (b). (b) denotes booted. &lt;/p&gt;  &lt;div class="preformatted"&gt;&lt;div class="preformattedContent"&gt; &lt;pre&gt;linux:~ # lsmcode&lt;br /&gt;Version of System Firmware is SF240_202 (t) SF235_185 (p) SF235_185 (b)&lt;br /&gt;Version of PFW is 17112005111681CF0681&lt;/pre&gt; &lt;/div&gt;&lt;/div&gt;  &lt;p&gt;This option will reject the installed T-side firmware, SF240_202 (t), and copy SF235_185 (p) to the T-side copy of the firmware. The system will reboot.&lt;/p&gt;  &lt;div class="preformatted"&gt;&lt;div class="preformattedContent"&gt; &lt;pre&gt;linux:~ # update_flash -r&lt;br /&gt;success: Rejected temporary firmware image&lt;/pre&gt; &lt;/div&gt;&lt;/div&gt;  &lt;h3&gt;&lt;a name="p5SystemFirmwareUpgrade-5.3RejecttheinstalledfirmwareusingadiagnosticCD"&gt;&lt;/a&gt;5.3      Reject the installed firmware using a diagnostic CD&lt;/h3&gt; &lt;p&gt;Powered on from the P-side (see 5.1), boot the Diagnostics CD as described in section 4.5. Then select Update and Manage Flash selection from the diagnostics CDs Task Selection List. Note: the system is currently booted from the permanent firmware side.&lt;/p&gt;   &lt;div class="preformatted"&gt;&lt;div class="preformattedContent"&gt; &lt;pre&gt;UPDATE AND MANAGE FLASH                                                  &lt;br /&gt;&lt;br /&gt;The current permanent system firmware image is SF235_185&lt;br /&gt;The current temporary system firmware image is SF240_202&lt;br /&gt;The system is currently booted from the permanent firmware image.&lt;br /&gt;&lt;br /&gt;Move cursor to selection, then press 'Enter'.&lt;br /&gt;&lt;br /&gt; Validate and Update System Firmware&lt;br /&gt; Validate System Firmware&lt;br /&gt; Reject the Temporary Image  &lt;/pre&gt; &lt;/div&gt;&lt;/div&gt;   &lt;p&gt;Move the highlighted cursor to Reject the Temporary Image and hit &lt;enter&gt; key to proceed with rejecting the installed firmware on the T-side. &lt;/p&gt;  &lt;div class="preformatted"&gt;&lt;div class="preformattedContent"&gt; &lt;pre&gt;UPDATE AND MANAGE FLASH                                                  &lt;br /&gt;&lt;br /&gt;The reject operation was successful.  &lt;/pre&gt; &lt;/div&gt;&lt;/div&gt;     &lt;h2&gt;&lt;a name="p5SystemFirmwareUpgrade-6Appendixcommonproblems"&gt;&lt;/a&gt;6         Appendix  common problems&lt;/h2&gt;  &lt;p&gt;1. Using HMC LIC wizard, result is error code HSCP0155  The task is unavailable.  Please try again later.&lt;br /&gt;Please refer to 2.3 HMC requirements and ensure the HMC build level is up-to-date. &lt;span class="error"&gt;[7]&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;2.  A message stating: "This partition does not have the authority to perform the requested function. is received.&lt;br /&gt;Before doing firmware update other than using HMC LIC feature, check the Firmware Update Policy in the ASMI. For the HMC LIC method, the policy should be set to HMC. For other methods, the policy should be set to Operating System.&lt;/p&gt;  &lt;p&gt;3. Where do I get the DIAG CD and other required components&lt;br /&gt;See &lt;span class="error"&gt;[14]&lt;/span&gt; in 7 References for download sites. &lt;/p&gt;  &lt;p&gt;4. Why is the firmware in rpm and xml formatted files? Is rpm command in the AIX toolbox as a separate installation? Isnt rpm an alien format in AIX?&lt;br /&gt;The rpm in AIX toolbox has been available on AIX and has been shipped with AIX since v5.2. AIX geninstall command uses the rpm command for installing rpm filesets.&lt;/p&gt;  &lt;p&gt;5. Received error: Failed dependencies: messages during installation of Linux Service and Productivity Tools&lt;br /&gt;Use the rpm option requires to look for the missing prerequisite rpm package. For instance, the dependency file, librtas rpm, is required by the ppc64-utils package&lt;/p&gt; &lt;div class="preformatted"&gt;&lt;div class="preformattedContent"&gt; &lt;pre&gt;rpm -qp --requires ppc64-utils-2.1-0.ppc64.rpm&lt;br /&gt;/bin/bash&lt;br /&gt;/bin/sh&lt;br /&gt;/bin/sed&lt;br /&gt;/usr/bin/perl&lt;br /&gt;librtas &gt;= 1.1-12&lt;br /&gt;/bin/sh&lt;br /&gt;ld.so.1&lt;br /&gt;libc.so.6&lt;br /&gt;librtas.so.1&lt;br /&gt;libc.so.6(GLIBC_2.0)&lt;br /&gt;libc.so.6(GLIBC_2.1)&lt;/pre&gt; &lt;/div&gt;&lt;/div&gt;      &lt;h2&gt;&lt;a name="p5SystemFirmwareUpgrade-7References"&gt;&lt;/a&gt;7         References&lt;/h2&gt;  &lt;p&gt;&lt;span class="error"&gt;[1]&lt;/span&gt; Firmware update maintenance documentation&lt;br /&gt;&lt;span class="nobr"&gt;&lt;a href="http://publib.boulder.ibm.com/infocenter/eserver/v1r3s/topic/ipha5/fixes.htm" rel="nofollow"&gt;http://publib.boulder.ibm.com/infocenter/eserver/v1r3s/topic/ipha5/fixes.htm&lt;sup&gt;&lt;img class="rendericon" src="http://www.ibm.com/developerworks/wikis/images/icons/linkext7.gif" alt="" width="7" align="absmiddle" border="0" height="7" /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span class="error"&gt;[2]&lt;/span&gt; InfoCenter documentation&lt;br /&gt;&lt;span class="nobr"&gt;&lt;a href="http://publib.boulder.ibm.com/eserver/" rel="nofollow"&gt;http://publib.boulder.ibm.com/eserver/&lt;sup&gt;&lt;img class="rendericon" src="http://www.ibm.com/developerworks/wikis/images/icons/linkext7.gif" alt="" width="7" align="absmiddle" border="0" height="7" /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span class="error"&gt;[3]&lt;/span&gt; Hardware Management Console for p5 Operations Guide - how to use an IBM Hardware Management Console for p5 (HMC) to manage a system.&lt;br /&gt;&lt;span class="nobr"&gt;&lt;a href="http://publib16.boulder.ibm.com/pseries/en_US/infocenter/base/hardware_docs/pdf/380590.pdf" rel="nofollow"&gt;http://publib16.boulder.ibm.com/pseries/en_US/infocenter/base/hardware_docs/pdf/380590.pdf&lt;sup&gt;&lt;img class="rendericon" src="http://www.ibm.com/developerworks/wikis/images/icons/linkext7.gif" alt="" width="7" align="absmiddle" border="0" height="7" /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span class="error"&gt;[4]&lt;/span&gt; Hardware Management Console corrective service support&lt;br /&gt;&lt;span class="nobr"&gt;&lt;a href="https://www14.software.ibm.com/webapp/set2/sas/f/hmc/home.html" rel="nofollow"&gt;https://www14.software.ibm.com/webapp/set2/sas/f/hmc/home.html&lt;sup&gt;&lt;img class="rendericon" src="http://www.ibm.com/developerworks/wikis/images/icons/linkext7.gif" alt="" width="7" align="absmiddle" border="0" height="7" /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span class="error"&gt;[5]&lt;/span&gt; IBM p5 hardware documentation&lt;br /&gt;&lt;span class="nobr"&gt;&lt;a href="http://publib16.boulder.ibm.com/pseries/en_US/infocenter/base/hardware.htm" rel="nofollow"&gt;http://publib16.boulder.ibm.com/pseries/en_US/infocenter/base/hardware.htm&lt;sup&gt;&lt;img class="rendericon" src="http://www.ibm.com/developerworks/wikis/images/icons/linkext7.gif" alt="" width="7" align="absmiddle" border="0" height="7" /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span class="error"&gt;[6]&lt;/span&gt; Accessing the ASMI Interface&lt;br /&gt;&lt;span class="nobr"&gt;&lt;a href="http://publib.boulder.ibm.com/infocenter/eserver/v1r3s/topic/iphby/iphby.pdf" rel="nofollow"&gt;http://publib.boulder.ibm.com/infocenter/eserver/v1r3s/topic/iphby/iphby.pdf&lt;sup&gt;&lt;img class="rendericon" src="http://www.ibm.com/developerworks/wikis/images/icons/linkext7.gif" alt="" width="7" align="absmiddle" border="0" height="7" /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span class="error"&gt;[7]&lt;/span&gt; Recommended p5 firmware levels&lt;br /&gt;&lt;span class="nobr"&gt;&lt;a href="https://www14.software.ibm.com/webapp/set2/sas/f/power5cm/home.html" rel="nofollow"&gt;https://www14.software.ibm.com/webapp/set2/sas/f/power5cm/home.html&lt;sup&gt;&lt;img class="rendericon" src="http://www.ibm.com/developerworks/wikis/images/icons/linkext7.gif" alt="" width="7" align="absmiddle" border="0" height="7" /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span class="error"&gt;[8]&lt;/span&gt; Firmware downloads&lt;br /&gt;&lt;span class="nobr"&gt;&lt;a href="http://www14.software.ibm.com/webapp/set2/firmware/" rel="nofollow"&gt;http://www14.software.ibm.com/webapp/set2/firmware/&lt;sup&gt;&lt;img class="rendericon" src="http://www.ibm.com/developerworks/wikis/images/icons/linkext7.gif" alt="" width="7" align="absmiddle" border="0" height="7" /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span class="error"&gt;[9]&lt;/span&gt; Firmware for 9133-55A&lt;br /&gt;&lt;span class="nobr"&gt;&lt;a href="http://www14.software.ibm.com/webapp/set2/firmware/gjsn?mode=1&amp;amp;mtm=9133-55A" rel="nofollow"&gt;http://www14.software.ibm.com/webapp/set2/firmware/gjsn?mode=1&amp;amp;mtm=9133-55A&lt;sup&gt;&lt;img class="rendericon" src="http://www.ibm.com/developerworks/wikis/images/icons/linkext7.gif" alt="" width="7" align="absmiddle" border="0" height="7" /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span class="error"&gt;[10]&lt;/span&gt; System Firmware SF235_185&lt;br /&gt;&lt;span class="nobr"&gt;&lt;a href="http://www14.software.ibm.com/webapp/set2/firmware/gjsn?mode=30&amp;amp;page=01SF235_185_160.html" rel="nofollow"&gt;http://www14.software.ibm.com/webapp/set2/firmware/gjsn?mode=30&amp;amp;page=01SF235_185_160.html&lt;sup&gt;&lt;img class="rendericon" src="http://www.ibm.com/developerworks/wikis/images/icons/linkext7.gif" alt="" width="7" align="absmiddle" border="0" height="7" /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span class="error"&gt;[11]&lt;/span&gt; System Firmware SF240_202&lt;br /&gt;&lt;span class="nobr"&gt;&lt;a href="http://techsupport.services.ibm.com/server/mdownload2/01SF240_202_201.html" rel="nofollow"&gt;http://techsupport.services.ibm.com/server/mdownload2/01SF240_202_201.html&lt;sup&gt;&lt;img class="rendericon" src="http://www.ibm.com/developerworks/wikis/images/icons/linkext7.gif" alt="" width="7" align="absmiddle" border="0" height="7" /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span class="error"&gt;[12]&lt;/span&gt; Update firmware via HMC&lt;br /&gt;&lt;span class="nobr"&gt;&lt;a href="http://publib.boulder.ibm.com/infocenter/eserver/v1r3s/topic/ipha5/getspecificfix.htm" rel="nofollow"&gt;http://publib.boulder.ibm.com/infocenter/eserver/v1r3s/topic/ipha5/getspecificfix.htm&lt;sup&gt;&lt;img class="rendericon" src="http://www.ibm.com/developerworks/wikis/images/icons/linkext7.gif" alt="" width="7" align="absmiddle" border="0" height="7" /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span class="error"&gt;[13]&lt;/span&gt; Instructions for installing firmware updates and upgrades can be found at&lt;br /&gt;&lt;span class="nobr"&gt;&lt;a href="http://publib.boulder.ibm.com/infocenter/eserver/v1r3s/index.jsp?topic=/ipha5/fix_serv_firm_kick.htm" rel="nofollow"&gt;http://publib.boulder.ibm.com/infocenter/eserver/v1r3s/index.jsp?topic=/ipha5/fix_serv_firm_kick.htm&lt;sup&gt;&lt;img class="rendericon" src="http://www.ibm.com/developerworks/wikis/images/icons/linkext7.gif" alt="" width="7" align="absmiddle" border="0" height="7" /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span class="error"&gt;[14]&lt;/span&gt; Download standalone Diagnostics CD-ROM&lt;br /&gt;&lt;span class="nobr"&gt;&lt;a href="https://www14.software.ibm.com/webapp/set2/sas/f/diags/home.html" rel="nofollow"&gt;https://www14.software.ibm.com/webapp/set2/sas/f/diags/home.html&lt;sup&gt;&lt;img class="rendericon" src="http://www.ibm.com/developerworks/wikis/images/icons/linkext7.gif" alt="" width="7" align="absmiddle" border="0" height="7" /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span class="error"&gt;[15]&lt;/span&gt; Booting Diagnostics CD&lt;br /&gt;&lt;span class="nobr"&gt;&lt;a href="http://publib.boulder.ibm.com/infocenter/eserver/v1r3s/topic/ipha5/standalone_procedure_nohmc.htm" rel="nofollow"&gt;http://publib.boulder.ibm.com/infocenter/eserver/v1r3s/topic/ipha5/standalone_procedure_nohmc.htm&lt;sup&gt;&lt;img class="rendericon" src="http://www.ibm.com/developerworks/wikis/images/icons/linkext7.gif" alt="" width="7" align="absmiddle" border="0" height="7" /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span class="error"&gt;[16]&lt;/span&gt; Service Aids for Linux (Service toolkit)&lt;br /&gt;&lt;span class="nobr"&gt;&lt;a href="https://www14.software.ibm.com/webapp/set2/sas/f/lopdiags/home.html" rel="nofollow"&gt;https://www14.software.ibm.com/webapp/set2/sas/f/lopdiags/home.html&lt;sup&gt;&lt;img class="rendericon" src="http://www.ibm.com/developerworks/wikis/images/icons/linkext7.gif" alt="" width="7" align="absmiddle" border="0" height="7" /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span class="error"&gt;[17]&lt;/span&gt; Service and productivity tools for Linux&lt;br /&gt;&lt;span class="nobr"&gt;&lt;a href="http://publib.boulder.ibm.com/infocenter/eserver/v1r3s/index.jsp?topic=/ipha5/obtain_service_tools.htm" rel="nofollow"&gt;http://publib.boulder.ibm.com/infocenter/eserver/v1r3s/index.jsp?topic=/ipha5/obtain_service_tools.htm&lt;sup&gt;&lt;img class="rendericon" src="http://www.ibm.com/developerworks/wikis/images/icons/linkext7.gif" alt="" width="7" align="absmiddle" border="0" height="7" /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span class="error"&gt;[18]&lt;/span&gt; p5 Reference Codes&lt;br /&gt;&lt;span class="nobr"&gt;&lt;a href="http://publib.boulder.ibm.com/infocenter/eserver/v1r3s/topic/ipha6/ipha6.pdf" rel="nofollow"&gt;http://publib.boulder.ibm.com/infocenter/eserver/v1r3s/topic/ipha6/ipha6.pdf&lt;sup&gt;&lt;img class="rendericon" src="http://www.ibm.com/developerworks/wikis/images/icons/linkext7.gif" alt="" width="7" align="absmiddle" border="0" height="7" /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span class="error"&gt;[19]&lt;/span&gt; AIX Tasks and Service Aids&lt;br /&gt;&lt;span class="nobr"&gt;&lt;a href="http://publib.boulder.ibm.com/infocenter/eserver/v1r3s/index.jsp?topic=/iphau/aixserviceaids.htm" rel="nofollow"&gt;http://publib.boulder.ibm.com/infocenter/eserver/v1r3s/index.jsp?topic=/iphau/aixserviceaids.htm&lt;sup&gt;&lt;img class="rendericon" src="http://www.ibm.com/developerworks/wikis/images/icons/linkext7.gif" alt="" width="7" align="absmiddle" border="0" height="7" /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span class="error"&gt;[20]&lt;/span&gt; Resetting the server to a nonpartitioned configuration&lt;br /&gt;&lt;span class="nobr"&gt;&lt;a href="http://publib.boulder.ibm.com/infocenter/eserver/v1r2s/en_US/index.htm?info/iphbl/iphblresetserver.htm" rel="nofollow"&gt;http://publib.boulder.ibm.com/infocenter/eserver/v1r2s/en_US/index.htm?info/iphbl/iphblresetserver.htm&lt;sup&gt;&lt;img class="rendericon" src="http://www.ibm.com/developerworks/wikis/images/icons/linkext7.gif" alt="" width="7" align="absmiddle" border="0" height="7" /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span class="error"&gt;[21]&lt;/span&gt; Quick links for AIX fixes&lt;br /&gt;&lt;span class="nobr"&gt;&lt;a href="http://www.ibm.com/servers/eserver/support/unixservers/aixfixes.html" rel="nofollow"&gt;http://www.ibm.com/servers/eserver/support/unixservers/aixfixes.html&lt;sup&gt;&lt;img class="rendericon" src="http://www.ibm.com/developerworks/wikis/images/icons/linkext7.gif" alt="" width="7" align="absmiddle" border="0" height="7" /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span class="error"&gt;[22]&lt;/span&gt; Support for AIX 5L and Linux servers&lt;br /&gt;&lt;span class="nobr"&gt;&lt;a href="http://www.ibm.com/servers/eserver/support/unixservers/index.html" rel="nofollow"&gt;http://www.ibm.com/servers/eserver/support/unixservers/index.html&lt;sup&gt;&lt;img class="rendericon" src="http://www.ibm.com/developerworks/wikis/images/icons/linkext7.gif" alt="" width="7" align="absmiddle" border="0" height="7" /&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;                             &lt;/div&gt;                              &lt;!-- &lt;rdf:rdf rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" dc="http://purl.org/dc/elements/1.1/" trackback="http://madskills.com/public/xml/rss/module/trackback/"&gt; &lt;rdf:description about="http://www.ibm.com/developerworks/wikis/display/WikiPtype/p5+System+Firmware+Upgrade" identifier="http://www.ibm.com/developerworks/wikis/display/WikiPtype/p5+System+Firmware+Upgrade" title="p5 System Firmware Upgrade" ping="http://www.ibm.com/developerworks/wikis/rpc/trackback/53871828"&gt; &lt;/rdf:RDF&gt; --&gt;                                                                                    &lt;!--     Root decorator: all decisions about how a page is to be decorated via the                     inline decoration begins here. --&gt;    &lt;!--     Switch based upon the context. However, for now, just delegate to a decorator     identified directly by the context. --&gt;              &lt;div class="wiki-content" style="margin-right: 10px;"&gt;     &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-6781944711946298465?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/6781944711946298465/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=6781944711946298465' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/6781944711946298465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/6781944711946298465'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/03/p5-system-firmware-upgrade.html' title='p5 System Firmware Upgrade'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-1110182994146880432</id><published>2009-03-18T10:55:00.000-07:00</published><updated>2009-03-18T11:03:53.809-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='problem'/><category scheme='http://www.blogger.com/atom/ns#' term='errpt'/><title type='text'>Problem: 0315-132 The supplied error log is not valid: /var/adm/ras/errlog</title><content type='html'>When I tried to check errpt on an AIX 5.2 server,  I got the following error.&lt;br /&gt;&lt;pre&gt;# errpt&lt;br /&gt;0315-132 The supplied error log is not valid: /var/adm/ras/errlog.&lt;br /&gt;0315-180 logread: UNEXPECTED EOF&lt;br /&gt;0315-171 Unable to process the error log file /var/adm/ras/errlog.&lt;br /&gt;&lt;br /&gt;# ls -l  /var/adm/ras/errlog&lt;br /&gt;-rw-rw-r--   1 root     system            0 Mar 09 13:40 /var/adm/ras/errlog&lt;br /&gt;&lt;/pre&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Solution:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1. Stop errdaemon&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;# /usr/lib/errstop&lt;/pre&gt;&lt;span style="font-weight: bold;"&gt;2. Remove /var/adm/ras/errlog&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;#  ls -l  /var/adm/ras/errlog&lt;br /&gt;-rw-rw-r--   1 root     system            0 Mar 09 13:40 /var/adm/ras/errlog&lt;br /&gt;# rm /var/adm/ras/errlog&lt;/pre&gt;&lt;span style="font-weight: bold;"&gt;3. Restart errdaemon&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;# /usr/lib/errdemon&lt;/pre&gt;&lt;span style="font-weight: bold;"&gt;4. Now errpt is normal.&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;# errpt&lt;br /&gt;IDENTIFIER TIMESTAMP  T C RESOURCE_NAME  DESCRIPTION&lt;br /&gt;9DBCFDEE   0318135809 T O errdemon       ERROR LOGGING TURNED ON&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-1110182994146880432?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/1110182994146880432/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=1110182994146880432' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/1110182994146880432'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/1110182994146880432'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/03/problem-0315-132-supplied-error-log-is.html' title='Problem: 0315-132 The supplied error log is not valid: /var/adm/ras/errlog'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-2263704193896247318</id><published>2009-03-18T09:03:00.000-07:00</published><updated>2009-03-18T09:04:44.192-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Total Storage'/><category scheme='http://www.blogger.com/atom/ns#' term='storage'/><title type='text'>Total Storage Network setup using the serial port</title><content type='html'>&lt;div style="text-align: right;"&gt;  &lt;span style="font-weight: bold;"&gt;Total Storage Network setup using the serial port&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;To set up the controllers through the serial port:&lt;br /&gt;&lt;br /&gt;1. Connect to the  Storage Server with a null modem cable to the serial port of your&lt;br /&gt;system. For the serial connection, choose the correct port and the following settings:&lt;br /&gt;– 19200 Baud&lt;br /&gt;– 8 Data Bits&lt;br /&gt;– 1 Stop Bit&lt;br /&gt;– No Parity&lt;br /&gt;– Xon/Xoff Flow Control&lt;br /&gt;&lt;br /&gt;2. Send a break signal to the controller. This varies depending on the terminal emulation. For most terminal emulations, such as HyperTerm, which is included in Microsoft Windows products, press Ctrl+Break.&lt;br /&gt;&lt;br /&gt;3. If you only receive unreadable characters, press Ctrl+Break again, until the following&lt;br /&gt;message appears:&lt;br /&gt;Press &lt;space&gt; for baud rate within 5 seconds.&lt;br /&gt;&lt;br /&gt;4. Press the Space bar to ensure the correct baud rate setting. If the baud rate was set, a&lt;br /&gt;confirmation appears.&lt;br /&gt;&lt;br /&gt;5. Press Ctrl+Break to log on to the controller. The following message appears:&lt;br /&gt;Press within 5 seconds: &lt;esc&gt; for SHELL, &lt;break&gt; for baud rate.&lt;br /&gt;&lt;br /&gt;6. Press the Esc key to access the controller shell. The password you are prompted for is&lt;br /&gt;infiniti.&lt;br /&gt;&lt;br /&gt;7. Run the&lt;span style="font-weight: bold;"&gt; netCfgShow &lt;/span&gt;command to see the current network configuration.&lt;br /&gt;&lt;br /&gt;8. To change these values, enter the &lt;span style="font-weight: bold;"&gt;netCfgSet&lt;/span&gt; command. For each entry, you are asked to keep, clear, or change the value. After you assign a fixed IP address to Controller A,&lt;br /&gt;disconnect from Controller A and repeat the procedure for Controller B. Remember to&lt;br /&gt;assign a different IP address.&lt;br /&gt;&lt;br /&gt;9. Because the configuration changed, the network driver is reset and uses the new network configuration.&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------------------------------&lt;br /&gt;&lt;/break&gt;&lt;/esc&gt;&lt;/space&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-2263704193896247318?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/2263704193896247318/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=2263704193896247318' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/2263704193896247318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/2263704193896247318'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/03/total-storage-network-setup-using.html' title='Total Storage Network setup using the serial port'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-1869003770253022400</id><published>2009-03-18T08:50:00.000-07:00</published><updated>2009-03-18T09:00:44.388-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='storage'/><category scheme='http://www.blogger.com/atom/ns#' term='ESS'/><title type='text'>Procedure to remove and rediscover ESS disk's</title><content type='html'>1)    Bring down applications.&lt;br /&gt;&lt;br /&gt;2)    Bring down databases.&lt;br /&gt;&lt;br /&gt;3)    Unmount all filesystems.&lt;br /&gt;&lt;br /&gt;4)    Convert all vpath VGs to hdisk VGs&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;    a) lsvg -o | grep -v rootvg | xargs -n1 varyoffvg&lt;br /&gt;    b) rm /tmp/vp2hd.out&lt;br /&gt;    c) lsvg | grep -v rootvg | while read vg&lt;br /&gt;        do&lt;br /&gt;            vp2hd $vg &gt;&gt; /tmp/vp2hd.out&lt;br /&gt;            echo $vg&lt;br /&gt;        done&lt;br /&gt;    d) Check contents of /tmp/vp2hd.out.  Ensure all VGs converted successfully.&lt;br /&gt;    e) lsvg -o | grep -v rootvg | xargs -n1 varyoffvg #&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;5)    Remove all vpath devices and take dpo down to "Defined" state&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;    a) lspv | grep vpath | awk '{print $1}' | xargs -n1 rmdev -dl&lt;br /&gt;    b) rmdev -l dpo&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;6)    Remove all FC hdisk devices and fscsi drivers; take FC adapters to "Defined" state&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;    a) lsdev -Cc driver | grep ^fscsi | awk '{print $1}' | xargs -n1 rmdev -dRl&lt;br /&gt;    b) lsdev -Cc adapter | grep ^fcs | awk '{print $1}' | xargs -n1 rmdev -l&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;7)    Make your SAN change&lt;br /&gt;&lt;br /&gt;8)    Rediscover all hdisk devices&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;    a) lsdev -Cc adapter | grep ^fcs | awk '{print $1}' | xargs -n1 cfgmgr -vl&lt;/pre&gt;&lt;br /&gt;    # Or run this by hand one adapter at a time if you prefer&lt;br /&gt;&lt;br /&gt;9)    Verify all hdisk devices are present&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;    a) lspv&lt;br /&gt;    b) lsdev -Cc disk&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;10)    Fix queue_depth for all FC hdisks&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;    a) lsdev -Cc disk | grep 2105 | awk '{print $1}' | \&lt;br /&gt;        xargs -n1 chdev -a queue_depth=20 -l&lt;/pre&gt;&lt;br /&gt;    # NOTE: This will take a long time.  We've seen ~45 minutes for about 600 disks&lt;br /&gt;&lt;br /&gt;11)    Recreate vpath devices&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;    a) cfgmgr -vl dpo&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;12)    Verify all vpath devices are correct&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;    a) lsvpcfg&lt;br /&gt;    b) datapath query device&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;13)    Convert all hdisk VGs to vpath VGs&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;    a) rm /tmp/hd2vp.out&lt;br /&gt;    b) lsvg | grep -v rootvg | while read vg&lt;br /&gt;        do&lt;br /&gt;            hd2vp $vg &gt;&gt; /tmp/hd2vp.out&lt;br /&gt;            echo $vg&lt;br /&gt;        done&lt;br /&gt;    c) Check /tmp/hd2vp.out to ensure all VGs were converted successfully&lt;/pre&gt;&lt;br /&gt;    # Volume groups have been left online by hd2vp&lt;br /&gt;&lt;br /&gt;14)    Mount all filesystems&lt;br /&gt;&lt;br /&gt;15)    Bring up databases.&lt;br /&gt;&lt;br /&gt;16)    Bring up applications&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-1869003770253022400?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/1869003770253022400/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=1869003770253022400' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/1869003770253022400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/1869003770253022400'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/03/procedure-to-remove-and-rediscover-ess.html' title='Procedure to remove and rediscover ESS disk&apos;s'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-2960919349059143648</id><published>2009-03-18T08:39:00.000-07:00</published><updated>2009-03-18T08:42:15.879-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='telnet'/><category scheme='http://www.blogger.com/atom/ns#' term='TCPIP'/><title type='text'>Adding New telnet Service to Different Port</title><content type='html'>&lt;table id="content-table" width="610" border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr valign="top"&gt; &lt;td width="10"&gt;&lt;br /&gt;&lt;/td&gt;&lt;!-- OneX body.doc --&gt; &lt;td id="content" width="443"&gt; &lt;table width="443" border="0" cellpadding="0" cellspacing="0"&gt; &lt;tbody&gt; &lt;tr valign="top"&gt; &lt;td height="80"&gt;&lt;img class="display-img" alt="" src="//www.ibm.com/i/c.gif" width="1" height="6" /&gt;  &lt;h1&gt;Adding New telnet Service to Different Port&lt;/h1&gt;&lt;img class="display-img" alt="" src="//www.ibm.com/i/c.gif" width="1" height="6" /&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;table width="443" border="0" cellpadding="0" cellspacing="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td class="docfnt"&gt;&lt;!--BEGIN MAIN BODY CONTENT--&gt; &lt;table width="443" border="0" cellpadding="0" cellspacing="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td width="443"&gt;&lt;!--BEGIN CONTENT--&gt;&lt;!-- ******** PASTE MAIN BODY CONTENT HERE ******** --&gt; &lt;table border="0" cellpadding="0" cellspacing="0"&gt; &lt;tbody&gt; &lt;tr valign="top"&gt; &lt;td width="438"&gt; &lt;table width="443" border="0" cellpadding="0" cellspacing="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td class="v14-header-1efix" valign="top" width="443" height="19"&gt;&lt;b&gt; Technote  (FAQ)&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="bottom" width="443" height="20"&gt;&lt;b&gt;Problem&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="443"&gt;&lt;br /&gt;Client would like to add new telnetd with different  port.&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="bottom" width="443" height="20"&gt;&lt;b&gt;Solution&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="443"&gt; &lt;hr /&gt;  &lt;h3&gt;Environment&lt;/h3&gt;AIX Version 5.x &lt;!--&lt;h3&gt;Problem&lt;/h3&gt; Client would like to add new &lt;b&gt;telnetd&lt;/b&gt; with different port. &lt;h3&gt;Solution&lt;/h3&gt;--&gt; &lt;ol&gt;&lt;li&gt;Using your preferred editor, edit the file &lt;b&gt;/etc/inetd.conf&lt;/b&gt; by adding  the following: &lt;pre&gt;telnet80  stream  tcp6    nowait  root    /usr/sbin/telnetd      telnetd&lt;br /&gt;&lt;/pre&gt;&lt;b&gt;Note:&lt;/b&gt; Port number 80 is being used in this example.  &lt;/li&gt;&lt;li&gt;Using your preferred editor, edit the file &lt;b&gt;/etc/services&lt;/b&gt; by adding  the following: &lt;pre&gt;telnet80        80/tcp&lt;br /&gt;&lt;/pre&gt; &lt;/li&gt;&lt;li&gt;Now run the following command: &lt;pre&gt;     refresh -s inetd&lt;br /&gt;&lt;/pre&gt;&lt;!-- &lt;li&gt;Use the &lt;b&gt;stopsrc&lt;/b&gt; command to stop the &lt;b&gt;inetd&lt;/b&gt; services. Enter: &lt;pre&gt; stopsrc -s inetd &lt;/pre&gt; &lt;/li&gt; &lt;li&gt;Use the &lt;b&gt;startsrc&lt;/b&gt; command to restart the &lt;b&gt;inetd&lt;/b&gt; services. Enter: &lt;pre&gt; startsrc -s inetd &lt;/pre&gt; &lt;/li&gt; --&gt;&lt;/li&gt;&lt;/ol&gt;&lt;!--End content --&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="438"&gt; &lt;table width="443" border="0" cellpadding="0" cellspacing="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr valign="top"&gt; &lt;td width="438"&gt; &lt;table width="443" border="0" cellpadding="0" cellspacing="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign="bottom" width="443" height="20"&gt;&lt;b&gt;Historical Number&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td width="443"&gt;isg1pTechnote1404 &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-2960919349059143648?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/2960919349059143648/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=2960919349059143648' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/2960919349059143648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/2960919349059143648'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/03/adding-new-telnet-service-to-different.html' title='Adding New telnet Service to Different Port'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-8323887566037393650</id><published>2009-03-16T12:44:00.000-07:00</published><updated>2009-03-16T13:23:48.639-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='routing'/><category scheme='http://www.blogger.com/atom/ns#' term='TCPIP'/><title type='text'>AIX using chdev to add/change/remove routing</title><content type='html'>&lt;span style="font-weight: bold;font-family:courier new;" &gt;# route delete default &lt;span style="font-style: italic;"&gt;&amp;lt;IP&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;# lsattr -El inet0 -a route&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;# chdev -l inet0 -a delroute="net,,0,&lt;span style="font-style: italic;"&gt;&amp;lt;IP that is listed above&amp;gt;&lt;/span&gt;"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;# chdev -l inet0 -a route="net,,0,&lt;span style="font-style: italic;"&gt;&amp;lt;IP that it should be&amp;gt;&lt;/span&gt;"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;# lsattr -El inet0 -a route&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;# netstat -nr&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;After updating the routing, you need to use mkdev to refresh it.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;# mkdev -l inet0&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-8323887566037393650?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/8323887566037393650/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=8323887566037393650' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/8323887566037393650'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/8323887566037393650'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/03/aix-using-chdev-to-addchangeremove.html' title='AIX using chdev to add/change/remove routing'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-8799168491532785245</id><published>2009-03-16T12:08:00.000-07:00</published><updated>2009-03-16T12:10:54.820-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='subnet'/><category scheme='http://www.blogger.com/atom/ns#' term='routing'/><category scheme='http://www.blogger.com/atom/ns#' term='TCPIP'/><title type='text'>Why you should NOT put two interfaces in same subnet</title><content type='html'>There are couple of reasons as an AIX system administrator you should NOT configure IP addresses that are in the same subnet in different interfaces.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1.Having two interfaces on the same network is a violation of TCP/IP&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; architecture.&lt;/span&gt;&lt;br /&gt;.&lt;br /&gt;     In TCP/IP architecture, a host machine with two network adapters is&lt;br /&gt; defined as an IP router. Differentnetwork adapters must be attached&lt;br /&gt; to different physical networks. In the case of token-ring, TCP/IP&lt;br /&gt; addresses multiple rings bridged together as a single logical ring&lt;br /&gt; (as if it were a single physical ring).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2.Having two interfaces on the same network can cause broadcast storms.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Whenever an IP host sees traffic for a network whose IP address is diffe&lt;br /&gt;rent from its own network, it generates an Internet Control Message&lt;br /&gt;Protocol (ICMP) packet announcing this conflict. Since every host&lt;br /&gt;on the network sees the traffic that is misaddressed, every host&lt;br /&gt;generates  ICMP Packets. If the amount of misaddressed traffic is signif&lt;br /&gt;the ICMP traffic can grow to the point that network performance degrades&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3 &lt;span style="font-weight: bold;"&gt;Having two interfaces on the same network can cause routing confusion.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;If system has two interfaces on same subnet, inbound traffic will&lt;br /&gt;from either interface, but for outbound traffic you need to set up&lt;br /&gt;specific routes to use both otherwiese system will use one of them.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-8799168491532785245?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/8799168491532785245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=8799168491532785245' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/8799168491532785245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/8799168491532785245'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/03/why-you-should-not-put-two-interfaces.html' title='Why you should NOT put two interfaces in same subnet'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-8643195313408138180</id><published>2009-03-16T12:04:00.000-07:00</published><updated>2009-03-16T12:06:11.725-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='migration'/><category scheme='http://www.blogger.com/atom/ns#' term='printer'/><title type='text'>Migrate print queues from one AIX server to the other</title><content type='html'>INTRODUCTION&lt;br /&gt;------------&lt;br /&gt;This technote describes an ** UNSUPPORTED ** method of migrating virtual&lt;br /&gt;printer queues from one AIX system to another.&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;SCOPE&lt;br /&gt;-----&lt;br /&gt;Original document (author unknown) was written for migrating virtual&lt;br /&gt;printer queues between AIX v3.2.5 and AIX v4.2.x and greater. It has&lt;br /&gt;been used since for migrating virtual queues between like oslevels as&lt;br /&gt;well as from AIX v4.x to AIX v5.1. Most recently, it was confirmed to&lt;br /&gt;work for migrating virtual printer queues from AIX v4.3.3 to AIX v5.2.&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;VIRTUAL PRINT QUEUE MIGRATION&lt;br /&gt;-----------------------------&lt;br /&gt;Following, is the original document as taken from various closed PMRs.&lt;br /&gt;(cleaned up a bit for readability)&lt;br /&gt;.&lt;br /&gt;========================================================================&lt;br /&gt;.&lt;br /&gt;                              SPECIAL NOTICES&lt;br /&gt;.&lt;br /&gt;Information in this document is correct to the best of our knowledge at&lt;br /&gt;the time of this writing.&lt;br /&gt;.&lt;br /&gt;Please use this information with care. IBM will not be responsible for&lt;br /&gt;damages of any kind resulting from its use.&lt;br /&gt;The use of this information is the sole responsibility of the customer&lt;br /&gt;and depends on the customer's ability to evaluate and integrate this&lt;br /&gt;information into the customer's operational environment.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Migrating print queues from one system to another/os level independent.&lt;br /&gt;(this only addresses the queue names and virtual printers). print&lt;br /&gt;devices (lp's) must still be made independent of these actions and this&lt;br /&gt;will not work for any queues with non-AIX backends or most network queue&lt;br /&gt;connections (host names and routes being the primary issue). Also&lt;br /&gt;depending on what kind of connection the queue has, the file and or&lt;br /&gt;backend directory path in /etc/qconfig stanzas will be different between&lt;br /&gt;os level 3.2.5 and 4.x.x&lt;br /&gt;.&lt;br /&gt;The reason there is no cut and dry answer to this issue is that&lt;br /&gt;customer's systems vary so much in adapter/network connectivity,&lt;br /&gt;filesystem structure, host naming conventions, etc., that years of&lt;br /&gt;experience have taught us most people are much better off just making&lt;br /&gt;the&lt;br /&gt;queues via smit. A few hours work and it's done rather then 20 hours&lt;br /&gt;later and still trying to figure out one more piece of the puzzle which&lt;br /&gt;is stopping the cloned system from working.&lt;br /&gt;.&lt;br /&gt;SUGGESTION:&lt;br /&gt;.&lt;br /&gt;NOTE: Save all files which will be over-written by this process&lt;br /&gt;before attempting the migration.&lt;br /&gt;.&lt;br /&gt;1. copy the /etc/qconfig to the target system.&lt;br /&gt;.&lt;br /&gt;2. cycle the printer subsystem on target machine.&lt;br /&gt;        stopsrc -cg spooler&lt;br /&gt;        startsrc -g spooler&lt;br /&gt;.&lt;br /&gt;3a.copy all the /var/spool/lpd/pio/ local/custom files to target&lt;br /&gt;   system  (/var/spool/lpd/pio/custom for AIX 3.2.x)&lt;br /&gt;.&lt;br /&gt;3b.copy all the /var/spool/lpd/pio/ local/dev directory files&lt;br /&gt;   (this is the queue device place holder)&lt;br /&gt;.&lt;br /&gt;4. change the permission on the copied files in&lt;br /&gt;   /var/spool/lpd/pio/ local/custom to 664 and make ownership&lt;br /&gt;   of root owner and printq group.&lt;br /&gt;.&lt;br /&gt;5. digest the colonfiles:&lt;br /&gt;.&lt;br /&gt;   Run the sm_file script below&lt;br /&gt;.&lt;br /&gt;   OR&lt;br /&gt;.&lt;br /&gt;    chvirprt -q(queue name) -d(device name) for each file in&lt;br /&gt;   /var/spool/lpd/pio/ local/custom&lt;br /&gt;.&lt;br /&gt;The sm_file Script:&lt;br /&gt;.&lt;br /&gt;#!/bin/ksh&lt;br /&gt;echo " n n n n n n n n n n n n n n n n n n n n n n n n n n n n n"&lt;br /&gt;echo "This operation will refresh the printing system smit screens"&lt;br /&gt;echo "and relink the system queues to the new screens.  To complete"&lt;br /&gt;echo "the operation I will stop qdaemon and restart it after I am&lt;br /&gt;done. n"&lt;br /&gt;echo "Any job currently printing will start over from the begining. n"&lt;br /&gt;echo "If you want me to continue with this operation type YES in&lt;br /&gt;capital"&lt;br /&gt;echo "letters, and hit &lt;enter&gt;.  If not type NO and hit &lt;enter&gt;. n"&lt;br /&gt;echo "Shall I continue?"&lt;br /&gt;    while read QSTOP&lt;br /&gt;      do&lt;br /&gt;&lt;br /&gt;         if    -z $QSTOP     tests for a null (just hit enter)&lt;br /&gt;         then&lt;br /&gt;         echo " n"&lt;br /&gt;         elif test $QSTOP = "NO"&lt;br /&gt;         then&lt;br /&gt;         echo "stopping with no change to smit queue screens"&lt;br /&gt;         exit  exits this shell script&lt;br /&gt;         elif test $QSTOP = "YES"&lt;br /&gt;         then&lt;br /&gt;         break   exits the while loop after the&lt;br /&gt;         fi&lt;br /&gt;&lt;br /&gt;        echo "Please enter NO or YES"&lt;br /&gt;      done&lt;br /&gt;echo " n"&lt;br /&gt;echo "Stopping qdaemon."&lt;br /&gt;echo " n"&lt;br /&gt;stopsrc -cs qdaemon&lt;br /&gt;echo "I will now copy backup smit screen files to the directory of:"&lt;br /&gt;echo "/var/spool/lpd/pio/ local/smit."&lt;br /&gt;echo "one moment please... n"&lt;br /&gt;sleep 5&lt;br /&gt;cp /usr/lpp/printers.rte/inst_root/var/spool/lpd/pio/ local/smit/*&lt;br /&gt;/var/spool/lpd/pio/ local/smit&lt;br /&gt;echo "Done with smit screen refresh. n"&lt;br /&gt;sleep 2&lt;br /&gt;cd /var/spool/lpd/pio/ local/custom&lt;br /&gt;echo "I will now link the currently existing queues on the system, with&lt;br /&gt;the"&lt;br /&gt;echo "refreshed smit screens. n"&lt;br /&gt;sleep 3&lt;br /&gt;for file in  ls&lt;br /&gt;do&lt;br /&gt;        echo "Now linking queue and device $file"&lt;br /&gt;        /usr/lib/lpd/pio/etc/piodigest $file&lt;br /&gt;done&lt;br /&gt;echo " n"&lt;br /&gt;echo "Starting qdaemon"&lt;br /&gt;startsrc -s qdaemon&lt;br /&gt;echo " n"&lt;br /&gt;echo "The print queue refresh/relink operation is complete.  If you&lt;br /&gt;have"&lt;br /&gt;echo "any questions or problems please call:  1-800-225-5249 (AIX&lt;br /&gt;SUPPORT)."&lt;br /&gt;echo "Thank you for using AIX SUPPORT."&lt;br /&gt; End of script&lt;br /&gt;.&lt;br /&gt;This has worked in a test environment but it is not guaranteed to work&lt;br /&gt;in any particular OS or hardware environment. If it does not work,&lt;br /&gt;return to the supported method of queue construction as laid out in the&lt;br /&gt;AIX system manuals.&lt;br /&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-8643195313408138180?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/8643195313408138180/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=8643195313408138180' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/8643195313408138180'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/8643195313408138180'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/03/migrate-print-queues-from-one-aix.html' title='Migrate print queues from one AIX server to the other'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-5351556244417551799</id><published>2009-03-16T12:00:00.000-07:00</published><updated>2009-03-16T12:03:51.635-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='trace'/><category scheme='http://www.blogger.com/atom/ns#' term='TCPIP'/><category scheme='http://www.blogger.com/atom/ns#' term='iptrace'/><title type='text'>How to do a  iptrace</title><content type='html'>&lt;span style="font-family: courier new; font-weight: bold;"&gt;# startsrc -s iptrace -a " -a -d &lt;span style="font-style: italic;"&gt;remote_host&lt;/span&gt; -b /tmp/iptrace.out"&lt;/span&gt;&lt;br /&gt;...  Recreate the problem&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;# stopsrc -s iptrace&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;..Generate report from the trace file.&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;# ipreport /tmp/iptrace.out &gt; /tmp/iptrace.report.file&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-family: courier new;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-5351556244417551799?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/5351556244417551799/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=5351556244417551799' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/5351556244417551799'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/5351556244417551799'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/03/how-to-do-iptrace.html' title='How to do a  iptrace'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-8875756725215373541</id><published>2009-03-13T10:45:00.000-07:00</published><updated>2009-03-13T10:51:21.288-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Filesystem'/><category scheme='http://www.blogger.com/atom/ns#' term='iso'/><title type='text'>How to mount ISO image file on AIX</title><content type='html'>&lt;span style="font-weight: bold;"&gt;1.   Create a new logical volume. Make sure the size of the logical volume is big enough&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;to cover the image. Usually, this is at least 670 MB, the standard size of a CD.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;ServerA:/tsmcode/5.3CDs#&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt; du -sk *&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;567496  C892HML.iso&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;502376  C892IML.iso&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;ServerA:/tsmcode/5.3CDs#&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt; mklv -y isolv rootvg 670M&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;isolv&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;     This creates a logical volume "isolv" with at least 670 MB. The actual physical&lt;br /&gt;partitions used is determined by the AIX OS.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2.   Copy the ISO image to the device that contains the logical volume&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;using command "dd".&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;     ServerA:/tsmcode/5.3CDs#&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt; dd if=C892HML.iso of=/dev/isolv bs=2048&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;     Note that the "dd" copying is a slow process. It may take about 40&lt;br /&gt;minutes to copy a full CD (670 MB) in some LPAR machine.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3.   Mount the logical volume as a CD-ROM file system to read the&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;content.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;     # mount -v cdrfs -o ro /dev/isolv /mnt&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;     # cd /mnt&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;     # ls&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-8875756725215373541?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/8875756725215373541/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=8875756725215373541' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/8875756725215373541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/8875756725215373541'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/03/how-to-mount-iso-image-file-on-aix.html' title='How to mount ISO image file on AIX'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-3135496237192289297</id><published>2009-03-12T18:40:00.000-07:00</published><updated>2009-03-12T18:46:35.400-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='scripts'/><category scheme='http://www.blogger.com/atom/ns#' term='NIC'/><category scheme='http://www.blogger.com/atom/ns#' term='network'/><category scheme='http://www.blogger.com/atom/ns#' term='ndd'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Solaris script(get_active_nic_settings.sh) -  bash script to get the ndd settings for all active NICs</title><content type='html'>&lt;pre&gt;#!/bin/bash&lt;br /&gt;&lt;br /&gt;###########################################################################&lt;br /&gt;# script: get_active_nic_settings.sh&lt;br /&gt;# date: 14:30, fri., feb. 22 2008&lt;br /&gt;# author: brad hudson&lt;br /&gt;# description: script to get the ndd settings on active NICs (Sun specific)&lt;br /&gt;###########################################################################&lt;br /&gt;&lt;br /&gt;# you have to be root&lt;br /&gt;[[ $UID -ne 0 ]] &amp;amp;&amp;amp; {&lt;br /&gt;     echo ""&lt;br /&gt;     echo "You must be root to run $0!"&lt;br /&gt;     echo ""&lt;br /&gt;     exit&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;# declare an array of NICs&lt;br /&gt;declare -a INTERFACES&lt;br /&gt;&lt;br /&gt;# assign the NICs to the array&lt;br /&gt;INTERFACES=(`ifconfig -a | grep ^[A-Za-z] | awk -F: '{print $1}' | grep -v lo0`)&lt;br /&gt;&lt;br /&gt;for ((i=0; i &lt; ${#INTERFACES[@]}; i++)) {        &lt;br /&gt;    # set some interface specific variables       &lt;br /&gt;    interface=${INTERFACES[$i]}       &lt;br /&gt;    int_length=${#INTERFACES[$i]}       &lt;br /&gt;    instance=${INTERFACES[$i]:$int_length-1}       &lt;br /&gt;    module=${INTERFACES[$i]:0:$int_length-1}   &lt;br /&gt;    &lt;br /&gt;   # set the instance of the module to the current NIC       &lt;br /&gt;   # account for goofy bge method       &lt;br /&gt;   if [ "$module" = "bge" ]       &lt;br /&gt;   then               &lt;br /&gt;       module="${module}${instance}"       &lt;br /&gt;   else               &lt;br /&gt;       ndd -set /dev/$module instance $instance       &lt;br /&gt;   fi       &lt;br /&gt;   echo ""       &lt;br /&gt;   echo "----- $interface settings -----"        &lt;br /&gt;  &lt;br /&gt;   # get the module parameters       &lt;br /&gt;   declare -a MOD_PARMS       &lt;br /&gt;   MOD_PARMS=(`ndd -get /dev/$module \? | grep -v ^? | awk '{print $1}'`)       &lt;br /&gt;   for ((x=0; x &lt; ${#MOD_PARMS[@]}; x++)) {               &lt;br /&gt;       parm_name=${MOD_PARMS[$x]}               &lt;br /&gt;       parm_setting=`ndd -get /dev/$module $parm_name`       &lt;br /&gt;       printf "%20s = %s\n" $parm_name $parm_setting       &lt;br /&gt;   }    &lt;br /&gt;   unset MOD_PARMS&lt;br /&gt;} &lt;br /&gt;echo"" unset INTERFACES     &lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-3135496237192289297?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/3135496237192289297/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=3135496237192289297' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/3135496237192289297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/3135496237192289297'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/03/solaris-scriptgetactivenicsettingssh.html' title='Solaris script(get_active_nic_settings.sh) -  bash script to get the ndd settings for all active NICs'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-891486372319723860</id><published>2009-03-12T18:37:00.000-07:00</published><updated>2009-03-12T18:48:04.157-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='scripts'/><category scheme='http://www.blogger.com/atom/ns#' term='NIC'/><category scheme='http://www.blogger.com/atom/ns#' term='network'/><category scheme='http://www.blogger.com/atom/ns#' term='ndd'/><category scheme='http://www.blogger.com/atom/ns#' term='solaris'/><title type='text'>Solaris script (get_all_nic_settings.sh) - bash script to get all NIC settings (even unplumbed, but slower).</title><content type='html'>&lt;span style="font-family: monospace;"&gt;#!/bin/bash&lt;br /&gt;&lt;br /&gt;##########################################################################&lt;br /&gt;# script: get_all_nic_settings.sh&lt;br /&gt;# date: 14:30, thu, mar 13 2008&lt;br /&gt;# author: brad hudson&lt;br /&gt;# description: script to get the ndd settings on all NICs (Sun specific)&lt;br /&gt;##########################################################################&lt;br /&gt;&lt;br /&gt;# you have to be root&lt;br /&gt;[[ $UID -ne 0 ]] &amp;amp;&amp;amp; {&lt;br /&gt;        echo ""&lt;br /&gt;        echo "You must be root to run $0!"&lt;br /&gt;        echo ""&lt;br /&gt;        exit&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;# disclaimer&lt;br /&gt;echo ""&lt;br /&gt;echo "**************************************************"&lt;br /&gt;echo "Disclaimer: unplumb'd NICs are very slow to query!"&lt;br /&gt;echo "**************************************************"&lt;br /&gt;sleep 3&lt;br /&gt;&lt;br /&gt;# declare an array of NIC modules&lt;br /&gt;declare -a MODULES&lt;br /&gt;MODULES=(bge ce eri hme qfe)&lt;br /&gt;&lt;br /&gt;# loop through the modules to get ndd settings&lt;br /&gt;for ((i=0; i &lt; ${#MODULES[@]}; i++)) {&lt;br /&gt;        kstat -m ${MODULES[$i]} &gt; /dev/null 2&gt;&amp;amp;1&lt;br /&gt;        if [ $? -eq 0 ]&lt;br /&gt;        then&lt;br /&gt;                # get all NIC instances for the NIC module&lt;br /&gt;                declare -a INSTANCES&lt;br /&gt;                INSTANCES=(`kstat -m ${MODULES[$i]} | grep instance: | sort -u | awk '{print $NF}'`)&lt;br /&gt;                for ((x=0; x &lt; ${#INSTANCES[@]}; x++)) {&lt;br /&gt;                        echo ""&lt;br /&gt;&lt;br /&gt;                        # account for non-standard bge method for ndd&lt;br /&gt;                        if [ "${MODULES[$i]}" = "bge" ]&lt;br /&gt;                        then&lt;br /&gt;                                module="${MODULES[$i]}${INSTANCES[$x]}"&lt;br /&gt;                                echo "***** $module settings *****"&lt;br /&gt;                        else&lt;br /&gt;                                module="${MODULES[$i]}"&lt;br /&gt;                                ndd -set /dev/$module instance ${INSTANCES[$x]}&lt;br /&gt;                                echo "***** $module${INSTANCES[$x]} settings *****"&lt;br /&gt;                        fi&lt;br /&gt;&lt;br /&gt;                        # get the module parameters&lt;br /&gt;                        declare -a MOD_PARMS&lt;br /&gt;                        MOD_PARMS=(`ndd -get /dev/$module \? | grep -v ^? | awk '{print $1}'`)&lt;br /&gt;                        for ((z=0; z &lt; ${#MOD_PARMS[@]}; z++)) {&lt;br /&gt;                                parm_name=${MOD_PARMS[$z]}&lt;br /&gt;                                parm_setting=`ndd -get /dev/$module $parm_name`&lt;br /&gt;                                printf "%20s = %s\n" $parm_name $parm_setting&lt;br /&gt;                        }&lt;br /&gt;                        unset MOD_PARMS&lt;br /&gt;                }&lt;br /&gt;                unset INSTANCES&lt;br /&gt;        fi&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;echo ""&lt;br /&gt;unset MODULES&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;code&gt;&lt;br /&gt;&lt;a href="http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/get_all_nic_setting&amp;amp;cid=e8177"&gt;Sun BigAdmin Link&lt;/a&gt;&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-891486372319723860?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/891486372319723860/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=891486372319723860' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/891486372319723860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/891486372319723860'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/03/solaris-script-getallnicsettingssh-bash.html' title='Solaris script (get_all_nic_settings.sh) - bash script to get all NIC settings (even unplumbed, but slower).'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-4743488739148327547</id><published>2009-03-12T08:35:00.000-07:00</published><updated>2009-03-12T09:15:50.678-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='lppchk'/><category scheme='http://www.blogger.com/atom/ns#' term='ODM'/><title type='text'>lppchk -v returns some filesets in inconsistent state</title><content type='html'>&lt;span style="font-weight: bold;"&gt;lppchk -v returns some filesets in inconsistent state&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;# lppchk -v&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;lppchk:  The following filesets need to be installed or corrected to bring&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;         the system to a consistent state:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  35a3f072070e17f99882a0ac7e8d3ae6 0.0.0.0 (COMMITTED)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  072d1af880e11ff6bc355d6f029366ac 0.0.0.0 (COMMITTED)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  4886af1c5eb4f6c75d84991853b6aa2f 1.3.2.28 (COMMITTED)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  c4950247aca9a94009447ad45d8070dc 0.0.0.0 (COMMITTED)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  e46b6463e600798849b573b33d169fe2 1.1.1.3 (COMMITTED)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-family: arial;"&gt;1. Create a backup &lt;/span&gt;&lt;span style="font-weight: bold; font-family: arial;" class="OFHighlightTerm2"&gt;the&lt;/span&gt;&lt;span style="font-weight: bold; font-family: arial;"&gt; odm:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;# /usr/lib/instl/saveodms -f myvpd&lt;br /&gt;VPD is saved as /u/myvpd.odm.bff.Z&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-family: arial;" class="OFHighlightTerm5"&gt;OR&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-family: arial;"&gt;Backup &lt;/span&gt;&lt;span style="font-weight: bold; font-family: arial;" class="OFHighlightTerm2"&gt;the&lt;/span&gt;&lt;span style="font-weight: bold; font-family: arial;"&gt; Object Data Manager (ODM) using &lt;/span&gt;&lt;span style="font-weight: bold; font-family: arial;" class="OFHighlightTerm2"&gt;the&lt;/span&gt;&lt;span style="font-weight: bold; font-family: arial;"&gt; &lt;/span&gt;&lt;span style="font-weight: bold; font-family: arial;" class="OFHighlightTerm3"&gt;following&lt;/span&gt;&lt;span style="font-weight: bold; font-family: arial;"&gt; command:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;# mkdir /tmp/odmfix&lt;br /&gt;# tar cvf odmbackup.tar /etc/objrepos /usr/lib/objrepos&lt;br /&gt;&lt;/pre&gt;&lt;span style="font-weight: bold; font-family: arial;"&gt;2. run &lt;/span&gt;&lt;span style="font-weight: bold; font-family: arial;" class="OFHighlightTerm2"&gt;the&lt;/span&gt;&lt;span style="font-weight: bold; font-family: arial;"&gt; &lt;/span&gt;&lt;span style="font-weight: bold; font-family: arial;" class="OFHighlightTerm3"&gt;following&lt;/span&gt;&lt;span style="font-weight: bold; font-family: arial;"&gt; commands &lt;/span&gt;&lt;span style="font-weight: bold; font-family: arial;" class="OFHighlightTerm5"&gt;&lt;span class="OFHighlightTerm5"&gt;to&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold; font-family: arial;"&gt; remove &lt;/span&gt;&lt;span style="font-weight: bold; font-family: arial;" class="OFHighlightTerm2"&gt;the&lt;/span&gt;&lt;span style="font-weight: bold; font-family: arial;"&gt; entry&lt;/span&gt;&lt;pre&gt;#  odmget -q name=35a3f072070e17f99882a0ac7e8d3ae6 lpp&lt;br /&gt;&lt;br /&gt;lpp:&lt;br /&gt;       name = "35a3f072070e17f99882a0ac7e8d3ae6"&lt;br /&gt;       size = 0&lt;br /&gt;       state = 0&lt;br /&gt;       cp_flag = 0&lt;br /&gt;       group = ""&lt;br /&gt;       magic_letter = ""&lt;br /&gt;       ver = 0&lt;br /&gt;       rel = 0&lt;br /&gt;       mod = 0&lt;br /&gt;       fix = 0&lt;br /&gt;       description = ""&lt;br /&gt;       lpp_id = 1799&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&gt;&gt;  Take note of &lt;/span&gt;&lt;span style="font-weight: bold;" class="OFHighlightTerm2"&gt;the&lt;/span&gt;&lt;span style="font-weight: bold;"&gt; "lpp_id", which is &lt;span style="color: rgb(255, 0, 0);"&gt;1799&lt;/span&gt; in this case.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;# odmdelete -q name=35a3f072070e17f99882a0ac7e8d3ae6 -o lpp&lt;br /&gt;&lt;br /&gt;# odmdelete -q lpp_name=35a3f072070e17f99882a0ac7e8d3ae6 -o product&lt;br /&gt;0518-307 odmdelete: 0 objects deleted.&lt;br /&gt;&lt;br /&gt;odmdelete -q lpp_id=1799 -o history&lt;br /&gt;0518-307 odmdelete: 0 objects deleted.&lt;br /&gt;&lt;br /&gt;odmdelete -q lpp_id=1799 -o inventory&lt;br /&gt;0518-307 odmdelete: 251 objects deleted.&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-family: arial;"&gt;Now, since this entry is also in &lt;/span&gt;&lt;span style="font-weight: bold; font-family: arial;" class="OFHighlightTerm2"&gt;the&lt;/span&gt;&lt;span style="font-weight: bold; font-family: arial;"&gt; /etc/objrepos part of &lt;/span&gt;&lt;span style="font-weight: bold; font-family: arial;" class="OFHighlightTerm2"&gt;the&lt;/span&gt;&lt;span style="font-weight: bold; font-family: arial;"&gt; odm, we&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-family: arial;"&gt;have &lt;/span&gt;&lt;span style="font-weight: bold; font-family: arial;" class="OFHighlightTerm5"&gt;&lt;span class="OFHighlightTerm5"&gt;to&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold; font-family: arial;"&gt; remove it from &lt;/span&gt;&lt;span style="font-weight: bold; font-family: arial;" class="OFHighlightTerm2"&gt;the&lt;/span&gt;&lt;span style="font-weight: bold; font-family: arial;"&gt;re:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;# export ODMDIR=/etc/objrepos&lt;br /&gt;&lt;br /&gt;#  odmget -q name=35a3f072070e17f99882a0ac7e8d3ae6 lpp&lt;br /&gt;&lt;br /&gt;lpp:&lt;br /&gt;       name = "35a3f072070e17f99882a0ac7e8d3ae6"&lt;br /&gt;       size = 0&lt;br /&gt;       state = 5&lt;br /&gt;       cp_flag = 131345&lt;br /&gt;       group = ""&lt;br /&gt;       magic_letter = ""&lt;br /&gt;       ver = 0&lt;br /&gt;       rel = 0&lt;br /&gt;       mod = 0&lt;br /&gt;       fix = 0&lt;br /&gt;       description = "ISMP installed entry"&lt;br /&gt;       lpp_id = 1786&lt;br /&gt;&lt;br /&gt;lpp:&lt;br /&gt;       name = "35a3f072070e17f99882a0ac7e8d3ae6"&lt;br /&gt;       size = 0&lt;br /&gt;       state = 5&lt;br /&gt;       cp_flag = 131345&lt;br /&gt;       group = ""&lt;br /&gt;       magic_letter = ""&lt;br /&gt;       ver = 0&lt;br /&gt;       rel = 0&lt;br /&gt;       mod = 0&lt;br /&gt;       fix = 0&lt;br /&gt;       description = "ISMP installed entry"&lt;br /&gt;       lpp_id = 1792&lt;br /&gt;&lt;br /&gt;#  odmdelete -q name=35a3f072070e17f99882a0ac7e8d3ae6 -o lpp&lt;br /&gt;0518-307 odmdelete: 2 objects deleted.&lt;br /&gt;&lt;br /&gt;#  odmdelete -q lpp_name=35a3f072070e17f99882a0ac7e8d3ae6 -o product&lt;br /&gt;0518-307 odmdelete: 1 objects deleted.&lt;br /&gt;&lt;br /&gt;#  odmdelete -q lpp_id=1786  -o history&lt;br /&gt;0518-307 odmdelete: 1 objects deleted.&lt;br /&gt;&lt;br /&gt;#  odmdelete -q lpp_id=1792  -o history&lt;br /&gt;0518-307 odmdelete: 1 objects deleted.&lt;br /&gt;&lt;br /&gt;#  odmdelete -q lpp_id=1786  -o inventory&lt;br /&gt;0518-307 odmdelete: 0 objects deleted.&lt;br /&gt;&lt;br /&gt;#  odmdelete -q lpp_id=1792  -o inventory&lt;br /&gt;0518-307 odmdelete: 0 objects deleted.&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;span style="font-weight: bold; font-family: arial;"&gt;Repeat the same thing for other filesets.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-family: arial;"&gt;Now the lppchk -v is clean.&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;# lppchk -v&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15827798-4743488739148327547?l=aixblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aixblogs.blogspot.com/feeds/4743488739148327547/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15827798&amp;postID=4743488739148327547' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/4743488739148327547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15827798/posts/default/4743488739148327547'/><link rel='alternate' type='text/html' href='http://aixblogs.blogspot.com/2009/03/lppchk-v-returns-some-filesets-in.html' title='lppchk -v returns some filesets in inconsistent state'/><author><name>Sharing is caring</name><uri>http://www.blogger.com/profile/11956603365856134563</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_8CqaOj8Gyds/S6i8hZUuVeI/AAAAAAAAAUI/IqHlzf4-Bj8/S220/12472860248583.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15827798.post-624393625849776504</id><published>2009-03-11T17:34:00.000-07:00</published><updated>2009-03-11T18:00:11.249-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RSC'/><category scheme='http://www.blogger.com/atom/ns#' term='Sun Remote System Control'/><title type='text'>Sun Remote System Control - Using the RSC Command Shell</title><content type='html'>Using the RSC Command Shell    &lt;p class="Paragraph"&gt;&lt;a name="pgfId-17960"&gt;&lt;/a&gt;The RSC command shell is a simple command-line interface that supports commands that allow you to administer or diagnose the server. It also has commands for configuring RSC. &lt;/p&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-1001120"&gt;&lt;/a&gt;RSC supports a total of four concurrent telnet sessions per server, including command-line interface sessions and a graphical user interface (GUI) connection to the server console (Open Console). In addition, RSC supports up to four active concurrent RSC GUI sessions. &lt;/p&gt;&lt;br /&gt;&lt;hr noshade="noshade" size="1"&gt; &lt;table class="TipNote" dir="ltr" summary="TipNote" width="100%"&gt; &lt;colgroup span="1" width="100%"&gt; &lt;/colgroup&gt;&lt;tbody&gt;&lt;tr align="left" valign="top"&gt; &lt;td rowspan="1" colspan="1" abbr="TipNoteText"&gt; &lt;p class="TipNote"&gt;&lt;b class="TipNote"&gt;Note - &lt;/b&gt;&lt;a name="pgfId-1001124"&gt;&lt;/a&gt;Sun Enterprise 250 servers support two concurrent telnet sessions and three active concurrent RSC GUI sessions. &lt;/p&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;hr noshade="noshade" size="1"&gt;&lt;br /&gt;&lt;img src="http://docs.sun.com/source/816-3314-12/figures/ucm_shell_chap-4.jpg" /&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-29095"&gt;&lt;/a&gt;After you log in to your RSC account, the RSC shell prompt appears (&lt;kbd class="Filename-Command"&gt;rsc&gt;&lt;/kbd&gt;), and you can enter RSC shell commands. This chapter tells you how to log in to your RSC account and describes RSC command use and syntax. &lt;/p&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-29100"&gt;&lt;/a&gt;The following table summarizes RSC shell commands. Each command is explained in greater detail in the following sections&lt;a name="marker-29595"&gt;&lt;/a&gt;. &lt;/p&gt;&lt;br /&gt;&lt;table class="Titled" bordercolorlight="#FFFFFF" bordercolordark="#000000" dir="ltr" border="1" cellpadding="5" cellspacing="0"&gt;&lt;caption class="TableCaption"&gt; &lt;a name="pgfId-37659"&gt; &lt;/a&gt; TABLE 4-1  RSC Shell Commands  &lt;/caption&gt; &lt;thead&gt; &lt;tr&gt; &lt;th scope="col" rowspan="1" colspan="1" bgcolor="#cccccc"&gt; &lt;p class="TableHead"&gt;&lt;a name="pgfId-29110"&gt;&lt;/a&gt; Name &lt;/p&gt; &lt;/th&gt; &lt;th scope="col" rowspan="1" colspan="1" bgcolor="#cccccc"&gt; &lt;p class="TableHead"&gt;&lt;a name="pgfId-29117"&gt;&lt;/a&gt;Description &lt;/p&gt; &lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29129"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;environment&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29136"&gt;&lt;/a&gt;Displays current environmental information &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;tbody&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-999210"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;showenvironment&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-999212"&gt;&lt;/a&gt;Same as &lt;kbd class="Filename-Command"&gt;environment&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-29144"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;shownetwork&lt;/kbd&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29151"&gt;&lt;/a&gt;Displays the current network configuration &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29163"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;console&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29170"&gt;&lt;/a&gt;Connects you to the server console &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29182"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;break&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29189"&gt;&lt;/a&gt;Puts the server in debug mode &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-29197"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;xir&lt;/kbd&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29204"&gt;&lt;/a&gt;Generates an externally initiated soft reset to the server &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29216"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;bootmode&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29222"&gt;&lt;/a&gt;Controls server firmware behavior, if followed by a server reset within 10 minutes (similar to L1-key combinations on non-USB Sun keyboards) &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29235"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;reset&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29242"&gt;&lt;/a&gt;Resets the server immediately &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29254"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;poweroff&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29261"&gt;&lt;/a&gt;Powers off the server &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29273"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;poweron&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29280"&gt;&lt;/a&gt;Powers on the server &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29292"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;loghistory&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29299"&gt;&lt;/a&gt;Displays the history of all events logged in the RSC event buffer &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29311"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;consolehistory&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29318"&gt;&lt;/a&gt;Displays the history of all console messages logged in the buffer &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-29326"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;consolerestart&lt;/kbd&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29333"&gt;&lt;/a&gt;Makes the current boot and run console logs "original" &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29345"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;set&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29352"&gt;&lt;/a&gt;Sets a configuration variable &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29364"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;show&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29371"&gt;&lt;/a&gt;Displays one or more configuration variables &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29383"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;date&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29390"&gt;&lt;/a&gt;Displays or sets the current time and date &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-999218"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;showdate&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-999220"&gt;&lt;/a&gt;Same as &lt;kbd class="Filename-Command"&gt;date&lt;/kbd&gt; command without arguments &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-999214"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;setdate&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-999216"&gt;&lt;/a&gt;Same as &lt;kbd class="Filename-Command"&gt;date&lt;/kbd&gt; command with arguments &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29402"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;password&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29409"&gt;&lt;/a&gt;Changes your RSC password &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-29417"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;useradd&lt;/kbd&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29424"&gt;&lt;/a&gt;Adds an RSC user account &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-29432"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;userdel&lt;/kbd&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29439"&gt;&lt;/a&gt;Deletes an RSC user account &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-29447"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;usershow&lt;/kbd&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29454"&gt;&lt;/a&gt;Shows characteristics of an RSC user account &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-29462"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;userpassword&lt;/kbd&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29469"&gt;&lt;/a&gt;Sets or changes a user's password &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-29477"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;userperm&lt;/kbd&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29484"&gt;&lt;/a&gt;Sets the authorization for a user &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29496"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;resetrsc&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29503"&gt;&lt;/a&gt;Resets RSC immediately &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29515"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;help&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29522"&gt;&lt;/a&gt;Displays a list of RSC shell commands and a brief description of each &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-29530"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;version&lt;/kbd&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29537"&gt;&lt;/a&gt;Displays version number for RSC firmware and components  &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-999499"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;showsc&lt;/kbd&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-999501"&gt;&lt;/a&gt;Same as &lt;kbd class="Filename-Command"&gt;version&lt;/kbd&gt; without the &lt;kbd class="Filename-Command"&gt;-v&lt;/kbd&gt; option &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-997421"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;flashftp&lt;/kbd&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-997424"&gt;&lt;/a&gt;Updates the RSC Flash ROM image &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-997414"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;display-fru&lt;/kbd&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-997417"&gt;&lt;/a&gt;Displays information stored in the RSC serial EEPROM &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29549"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;logout&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-29556"&gt;&lt;/a&gt;Ends your current RSC shell session &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-1003422"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;setlocator&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-1003424"&gt;&lt;/a&gt;Turn the system locator LED on or off (Sun Fire V480 servers only). &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-1003418"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;showlocator&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-1003420"&gt;&lt;/a&gt;Show the state of the system locator LED (Sun Fire V480 servers only). &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr noshade="noshade" size="1"&gt; &lt;table class="TipNote" dir="ltr" summary="TipNote" width="100%"&gt; &lt;colgroup span="1" width="100%"&gt; &lt;/colgroup&gt;&lt;tbody&gt;&lt;tr align="left" valign="top"&gt; &lt;td rowspan="1" colspan="1" abbr="TipNoteText"&gt; &lt;p class="TipNote"&gt;&lt;b class="TipNote"&gt;Note - &lt;/b&gt;&lt;a name="pgfId-29576"&gt;&lt;/a&gt;For Sun Enterprise 250 servers, the following shell command aliases are not available: &lt;kbd class="Filename-Command"&gt;showenvironment&lt;/kbd&gt;, &lt;kbd class="Filename-Command"&gt;showdate&lt;/kbd&gt;, &lt;kbd class="Filename-Command"&gt;setdate&lt;/kbd&gt;, and &lt;kbd class="Filename-Command"&gt;showsc&lt;/kbd&gt;. &lt;/p&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;hr noshade="noshade" size="1"&gt;&lt;br /&gt;&lt;img src="http://docs.sun.com/source/816-3314-12/figures/ucm_shell_chap-5.jpg" /&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-29584"&gt;&lt;/a&gt;More detailed descriptions of the commands are provided in the following sections.  &lt;/p&gt;&lt;br /&gt;&lt;hr noshade="noshade" size="1"&gt; &lt;table class="TipNote" dir="ltr" summary="TipNote" width="100%"&gt; &lt;colgroup span="1" width="100%"&gt; &lt;/colgroup&gt;&lt;tbody&gt;&lt;tr align="left" valign="top"&gt; &lt;td rowspan="1" colspan="1" abbr="TipNoteText"&gt; &lt;p class="TipNote"&gt;&lt;b class="TipNote"&gt;Note - &lt;/b&gt;&lt;a name="pgfId-999560"&gt;&lt;/a&gt;Some commands require a specific user permission level. See &lt;a href="http://docs.sun.com/source/816-3314-12/ucm_shell_chap.html#14620" class="XRef"&gt;userperm username [a][u][c][r]&lt;/a&gt; for information about user permission levels. &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;hr noshade="noshade" size="1"&gt;&lt;br /&gt;&lt;h2 class="Head1"&gt;&lt;a name="pgfId-11966"&gt;&lt;/a&gt; &lt;div&gt; &lt;hr align="left" noshade="noshade" size="6" width="15%"&gt; &lt;/div&gt;&lt;a name="marker-17251"&gt;&lt;/a&gt;Logging In to Your RSC Account&lt;/h2&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-9777"&gt;&lt;/a&gt;After RSC software is installed and configured and an account has been set up for you, you can connect to RSC and log in to your account using a Solaris workstation, Microsoft Windows PC, standard ASCII character terminal, or a computer running ASCII terminal emulation software. &lt;/p&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-14616"&gt;&lt;/a&gt;Follow these steps to log in to your RSC account: &lt;/p&gt; &lt;p class="Step1"&gt;&lt;a name="pgfId-29758"&gt;&lt;/a&gt; 1. Connect to RSC using one of these methods: &lt;/p&gt; &lt;p class="Step2"&gt;&lt;a name="pgfId-29766"&gt;&lt;/a&gt;a. Use point-to-point protocol (PPP) to connect to your company Ethernet, and then use the &lt;kbd class="Filename-Command"&gt;telnet&lt;/kbd&gt; command to connect to RSC.  &lt;/p&gt; &lt;p class="StepPara2"&gt;&lt;a name="pgfId-29775"&gt;&lt;/a&gt;Ask your network administrator if you do not know the server's RSC name (Sun recommends the name &lt;i class="Variable"&gt;servername&lt;/i&gt;-&lt;kbd class="Filename-Command"&gt;rsc&lt;/kbd&gt;). Note that, unlike the graphical user interface, the command-line interface does not attempt to connect to RSC by appending &lt;kbd class="Filename-Command"&gt;-rsc&lt;/kbd&gt; to the name you enter if that name fails. &lt;/p&gt; &lt;p class="Step2-"&gt;&lt;a name="pgfId-29651"&gt;&lt;/a&gt;b.  If you are already connected to your company Ethernet, use the &lt;kbd class="Filename-Command"&gt;telnet&lt;/kbd&gt; command to connect to RSC. &lt;/p&gt; &lt;p class="Step2-"&gt;&lt;a name="pgfId-29660"&gt;&lt;/a&gt;c.  Use PPP to connect to the RSC modem. To use this option, PPP must be enabled. &lt;/p&gt; &lt;p class="Step2-"&gt;&lt;a name="pgfId-29671"&gt;&lt;/a&gt;d.  If PPP is not enabled, dial in to the RSC modem. &lt;/p&gt; &lt;p class="StepPara2"&gt;&lt;a name="pgfId-996721"&gt;&lt;/a&gt;When connection is established, the following screen appears:  &lt;/p&gt; &lt;div class="Code"&gt;&lt;br /&gt;&lt;table class="Code" bordercolorlight="#FFFFFF" bordercolordark="#000000" dir="ltr" border="1" cellpadding="5" cellspacing="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td scope="row"&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-29711"&gt;&lt;/a&gt;RSC software version 2.0.0 (&lt;i class="Variable"&gt;server-name&lt;/i&gt;)&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-29719"&gt;&lt;/a&gt;Please login:&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-29727"&gt;&lt;/a&gt;Please enter password:&lt;br /&gt;&lt;/pre&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt;&lt;br /&gt;&lt;/div&gt; &lt;p class="Step2-"&gt;&lt;a name="pgfId-999566"&gt;&lt;/a&gt;e.  &lt;em class="Emphasis"&gt;If your server has an RSC serial port,&lt;/em&gt; connect an ASCII terminal directly to the RSC serial port. &lt;/p&gt;&lt;br /&gt;&lt;hr noshade="noshade" size="1"&gt; &lt;table class="TipNote" dir="ltr" summary="TipNote" width="100%"&gt; &lt;colgroup span="1" width="100%"&gt; &lt;/colgroup&gt;&lt;tbody&gt;&lt;tr align="left" valign="top"&gt; &lt;td rowspan="1" colspan="1" abbr="TipNoteText"&gt; &lt;p class="TipNote"&gt;&lt;b class="TipNote"&gt;Note - &lt;/b&gt;&lt;a name="pgfId-999585"&gt;&lt;/a&gt;To use this method on Sun Enterprise 250 servers, you must disable PPP by using the RSC shell, RSC GUI, or the &lt;kbd class="Filename-Command"&gt;rscadm&lt;/kbd&gt;utility to set the &lt;kbd class="Filename-Command"&gt;ppp_enabled&lt;/kbd&gt;configuration variable to false. &lt;/p&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;hr noshade="noshade" size="1"&gt;&lt;br /&gt;&lt;img src="http://docs.sun.com/source/816-3314-12/figures/ucm_shell_chap-7.jpg" /&gt; &lt;p class="Step1-"&gt;&lt;a name="pgfId-15416"&gt;&lt;/a&gt; 2. When connection is established, type your RSC login name. &lt;/p&gt; &lt;p class="Step1-"&gt;&lt;a name="pgfId-12516"&gt;&lt;/a&gt; 3. Type your RSC password. &lt;/p&gt; &lt;p class="StepPara1"&gt;&lt;a name="pgfId-996722"&gt;&lt;/a&gt;Your password is not echoed on the screen. After you correctly enter your password, RSC displays this command prompt: &lt;/p&gt; &lt;div class="Code"&gt;&lt;br /&gt;&lt;table class="Code" bordercolorlight="#FFFFFF" bordercolordark="#000000" dir="ltr" border="1" cellpadding="5" cellspacing="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td scope="row"&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-11312"&gt;&lt;/a&gt;rsc&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt;&lt;br /&gt;&lt;/div&gt; &lt;p class="StepPara1"&gt;&lt;a name="pgfId-9768"&gt;&lt;/a&gt;You can enter RSC shell commands at the &lt;kbd class="Filename-Command"&gt;rsc&gt;&lt;/kbd&gt; prompt. &lt;/p&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-14234"&gt;&lt;/a&gt;&lt;a name="marker-17252"&gt;&lt;/a&gt;&lt;a name="marker-17253"&gt;&lt;/a&gt;Logins are recorded in the RSC event log. In addition, RSC sends an alert if it detects more than five login failures within five minutes. Except for Sun Enterprise 250 servers, RSC automatically disconnects a session after 10 minutes of user inactivity. &lt;/p&gt;&lt;br /&gt;&lt;hr noshade="noshade" size="1"&gt; &lt;table class="TipNote" dir="ltr" summary="TipNote" width="100%"&gt; &lt;colgroup span="1" width="100%"&gt; &lt;/colgroup&gt;&lt;tbody&gt;&lt;tr align="left" valign="top"&gt; &lt;td rowspan="1" colspan="1" abbr="TipNoteText"&gt; &lt;p class="TipNote"&gt;&lt;b class="TipNote"&gt;Note - &lt;/b&gt;&lt;a name="pgfId-999586"&gt;&lt;/a&gt;For Sun Enterprise 250 servers, you can set RSC to disconnect a session connected to the serial port after 10minutes of inactivity. &lt;/p&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;hr noshade="noshade" size="1"&gt;&lt;br /&gt;&lt;img src="http://docs.sun.com/source/816-3314-12/figures/ucm_shell_chap-8.jpg" /&gt;&lt;h2 class="Head1"&gt;&lt;a name="pgfId-12662"&gt;&lt;/a&gt; &lt;div&gt; &lt;hr align="left" noshade="noshade" size="6" width="15%"&gt; &lt;/div&gt;&lt;a name="marker-17254"&gt;&lt;/a&gt;&lt;a name="28373"&gt;&lt;/a&gt;Server Status and Control Commands&lt;/h2&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-12663"&gt;&lt;/a&gt;The following RSC commands show server status or control server operation: &lt;/p&gt; &lt;ul&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-12822"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;environment&lt;/kbd&gt; (or &lt;kbd class="Filename-Command"&gt;showenvironment&lt;/kbd&gt;) &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-16294"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;shownetwork&lt;/kbd&gt; &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-16296"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;console&lt;/kbd&gt; &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-16297"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;break&lt;/kbd&gt; &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-29830"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;xir&lt;/kbd&gt; &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-29851"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;bootmode&lt;/kbd&gt; &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-12825"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;reset&lt;/kbd&gt; &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-12826"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;poweroff&lt;/kbd&gt; &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-29872"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;poweron&lt;/kbd&gt; &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-1003428"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;setlocator&lt;/kbd&gt; &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-1003429"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;showlocator&lt;/kbd&gt; &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;/ul&gt;&lt;h3 class="Head2"&gt;&lt;a name="pgfId-16194"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;environment&lt;/kbd&gt;&lt;a name="marker-17299"&gt;&lt;/a&gt;&lt;a name="marker-17268"&gt;&lt;/a&gt;&lt;/h3&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-997402"&gt;&lt;/a&gt;Use the &lt;kbd class="Filename-Command"&gt;environment&lt;/kbd&gt; command to display a snapshot of server environmental status, such as temperatures, power supply status, front panel LED status, keyswitch position, and so forth. You can also use the command abbreviation &lt;kbd class="Filename-Command"&gt;env&lt;/kbd&gt;. The display uses similar format to that used for the UNIX command &lt;kbd class="Filename-Command"&gt;prtdiag&lt;/kbd&gt;(1m).  &lt;/p&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-1001570"&gt;&lt;/a&gt;For example: &lt;/p&gt; &lt;div class="Code"&gt;&lt;br /&gt;&lt;table class="Code" bordercolorlight="#FFFFFF" bordercolordark="#000000" dir="ltr" border="1" cellpadding="5" cellspacing="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td scope="row"&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001586"&gt;&lt;/a&gt;rsc&gt; environment&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001587"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001588"&gt;&lt;/a&gt;=============== Environmental Status ===============&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001589"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001590"&gt;&lt;/a&gt;System Temperatures (Celsius):&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001591"&gt;&lt;/a&gt;------------------------------&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001592"&gt;&lt;/a&gt;      CPU0    60&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001593"&gt;&lt;/a&gt;      CPU1    57&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001594"&gt;&lt;/a&gt;       RSC    30&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001595"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001596"&gt;&lt;/a&gt;=================================&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001597"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001598"&gt;&lt;/a&gt;RSC Power Status:&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001599"&gt;&lt;/a&gt;-----------------&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001600"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001601"&gt;&lt;/a&gt;RSC is running on Normal System Power&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001602"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001603"&gt;&lt;/a&gt;RSC Battery Voltage: 4.18V&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001604"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001605"&gt;&lt;/a&gt;=================================&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001606"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001607"&gt;&lt;/a&gt;Front Status Panel:&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001608"&gt;&lt;/a&gt;-------------------&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001609"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001610"&gt;&lt;/a&gt;Keyswitch position is in On mode.&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001611"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001612"&gt;&lt;/a&gt;=================================&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001613"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001614"&gt;&lt;/a&gt;System LED Status: GENERAL ERROR    POWER &lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001615"&gt;&lt;/a&gt;                      [OFF]         [ ON]     &lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001616"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001617"&gt;&lt;/a&gt;Disk LED Status:    OK = GREEN  ERROR = YELLOW&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001618"&gt;&lt;/a&gt;        DISK  1:    [OK]&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001619"&gt;&lt;/a&gt;        DISK  0:    [OK]&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001620"&gt;&lt;/a&gt;=================================&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001621"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001623"&gt;&lt;/a&gt;Fan Bank:&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001625"&gt;&lt;/a&gt;---------&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001627"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001629"&gt;&lt;/a&gt;Bank      Speed     Status&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001631"&gt;&lt;/a&gt;         (0-255)   &lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001633"&gt;&lt;/a&gt;----      -----     ------&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001635"&gt;&lt;/a&gt; SYS       151        OK&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001637"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001639"&gt;&lt;/a&gt;=================================&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001641"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001643"&gt;&lt;/a&gt;Power Supplies:&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001645"&gt;&lt;/a&gt;---------------&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001647"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001649"&gt;&lt;/a&gt;Supply     Status&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001651"&gt;&lt;/a&gt;------     ------&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001653"&gt;&lt;/a&gt;  1          OK: 560w&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001657"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001659"&gt;&lt;/a&gt;=================================&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001661"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001663"&gt;&lt;/a&gt;rsc&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt;&lt;br /&gt;&lt;/div&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-997713"&gt;&lt;/a&gt;The display differs according to the server model and configuration. Note that some environmental information may be unavailable when the server is in Standby mode. &lt;/p&gt;&lt;h3 class="Head2"&gt;&lt;a name="pgfId-999224"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;showenvironment&lt;/kbd&gt;&lt;a name="marker-999222"&gt;&lt;/a&gt;&lt;a name="marker-999223"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;br /&gt;&lt;p class="Paragraph"&gt;&lt;a name="pgfId-28330"&gt;&lt;/a&gt;The &lt;kbd class="Filename-Command"&gt;shownenvironment&lt;/kbd&gt;command is the same as the &lt;kbd class="Filename-Command"&gt;environment&lt;/kbd&gt;command. (Not available for Sun Enterprise 250 servers.)&lt;img src="http://docs.sun.com/source/816-3314-12/figures/ucm_shell_chap-9.jpg" /&gt;&lt;/p&gt;&lt;h3 class="Head2"&gt;&lt;a name="pgfId-999228"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;shownetwork&lt;/kbd&gt;&lt;a name="marker-28326"&gt;&lt;/a&gt; &lt;/h3&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-996723"&gt;&lt;/a&gt;The &lt;kbd class="Filename-Command"&gt;shownetwork&lt;/kbd&gt; command displays the current network configuration. &lt;br /&gt;For example: &lt;/p&gt; &lt;div class="Code"&gt;&lt;br /&gt;&lt;table class="Code" bordercolorlight="#FFFFFF" bordercolordark="#000000" dir="ltr" border="1" cellpadding="5" cellspacing="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td scope="row"&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-28354"&gt;&lt;/a&gt;rsc&gt; &lt;kbd class="UserType"&gt;shownetwork&lt;/kbd&gt;&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-29881"&gt;&lt;/a&gt;RSC network configuration is:&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-29886"&gt;&lt;/a&gt;DHCP server: 129.149.2.3&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-29891"&gt;&lt;/a&gt;IP Address: 129.149.2.6&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-29896"&gt;&lt;/a&gt;Gateway Address: 129.149.2.7, 129.149.2.8&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-29901"&gt;&lt;/a&gt;Netmask: 255.255.255.0&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-29906"&gt;&lt;/a&gt;Ethernet Address: ae:30:30:00:00:01&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-29911"&gt;&lt;/a&gt;rsc&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 class="Head2"&gt;&lt;a name="pgfId-28418"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;console&lt;/kbd&gt;&lt;a name="marker-28414"&gt;&lt;/a&gt;&lt;/h3&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-28426"&gt;&lt;/a&gt;Use the &lt;kbd class="Filename-Command"&gt;console&lt;/kbd&gt; command to enter RSC console mode and connect to the server console from the RSC shell. When you use this command, the system displays a standard Solaris login prompt. If RSC is not designated as the server console, nothing is displayed. &lt;/p&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-28435"&gt;&lt;/a&gt;You must have &lt;kbd class="Filename-Command"&gt;C&lt;/kbd&gt; level user permission to use this command. An escape character sequence is used to return to the RSC prompt. The default escape sequence is ~. (tilde period). See &lt;a href="http://docs.sun.com/source/816-3314-12/ucm_shell_chap.html#40613" class="XRef"&gt;escape_char&lt;/a&gt;. &lt;/p&gt;&lt;h3 class="Head2"&gt;&lt;a name="pgfId-28467"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;break&lt;/kbd&gt;&lt;a name="marker-28463"&gt;&lt;/a&gt;&lt;/h3&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-28479"&gt;&lt;/a&gt;Use the &lt;kbd class="Filename-Command"&gt;break&lt;/kbd&gt; command to put the server into Debug mode. You must have &lt;kbd class="Filename-Command"&gt;C&lt;/kbd&gt; level user permission to use this command. The server front panel keyswitch must not be in the Lock position, and RSC must be designated as the console (see &lt;a href="http://docs.sun.com/source/816-3314-12/ucm_obp_chap.html#31605" class="XRef"&gt;Chapter 6&lt;/a&gt;). Debug mode can use either &lt;kbd class="Filename-Command"&gt;kadb&lt;/kbd&gt; or OpenBoot PROM, depending on server configuration.  &lt;/p&gt;&lt;h3 class="Head2"&gt;&lt;a name="pgfId-28515"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;xir&lt;/kbd&gt;&lt;a name="marker-28511"&gt;&lt;/a&gt;&lt;/h3&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-28519"&gt;&lt;/a&gt;This command generates the equivalent of an externally initiated reset (XIR) of the server. You must have &lt;kbd class="Filename-Command"&gt;R&lt;/kbd&gt; level user permission to use this command. The server enters OpenBoot PROM mode and displays the &lt;kbd class="Filename-Command"&gt;ok&lt;/kbd&gt; prompt. This command is useful for driver or kernel debugging, as most of the contents of the server's memory and registers is preserved. To resume operation of the system after using the &lt;kbd class="Filename-Command"&gt;xir&lt;/kbd&gt; command, you must reboot the server. &lt;/p&gt;&lt;h3 class="Head2"&gt;&lt;a name="pgfId-28556"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;bootmode [-u] [normal|forth|reset_nvram|diag|&lt;br /&gt;skip_diag]&lt;/kbd&gt;&lt;a name="marker-28554"&gt;&lt;/a&gt;&lt;/h3&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-28562"&gt;&lt;/a&gt;This command provides control over the server firmware behavior after a server reset. Functionality of this command is identical to that available on non-USB Sun keyboards using L1 key combinations. You must have &lt;kbd class="Filename-Command"&gt;R&lt;/kbd&gt; level user permission to use this command. If you use the &lt;kbd class="Filename-Command"&gt;bootmode&lt;/kbd&gt; command without arguments, RSC displays the current boot mode. &lt;/p&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-996724"&gt;&lt;/a&gt;The &lt;kbd class="Filename-Command"&gt;bootmode&lt;/kbd&gt; setting overrides the server's OpenBoot Diagnostics &lt;kbd class="Filename-Command"&gt;diag-switch?&lt;/kbd&gt; setting immediately after the next reset only. If RSC does not detect a server reset within 10 minutes, the &lt;kbd class="Filename-Command"&gt;bootmode&lt;/kbd&gt; command is ignored. For example: &lt;/p&gt; &lt;div class="Code"&gt;&lt;br /&gt;&lt;table class="Code" bordercolorlight="#FFFFFF" bordercolordark="#000000" dir="ltr" border="1" cellpadding="5" cellspacing="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td scope="row"&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-28607"&gt;&lt;/a&gt;rsc&gt; &lt;kbd class="UserType"&gt;bootmode forth&lt;/kbd&gt;&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-28619"&gt;&lt;/a&gt;rsc&gt; &lt;kbd class="UserType"&gt;reset&lt;/kbd&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt;&lt;br /&gt;&lt;/div&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-996725"&gt;&lt;/a&gt;To set the &lt;kbd class="Filename-Command"&gt;diag&lt;/kbd&gt; or &lt;kbd class="Filename-Command"&gt;skip_diag&lt;/kbd&gt; option, you must follow the &lt;kbd class="Filename-Command"&gt;bootmode&lt;/kbd&gt; command with the &lt;kbd class="Filename-Command"&gt;poweroff&lt;/kbd&gt; and &lt;kbd class="Filename-Command"&gt;poweron&lt;/kbd&gt; commands within 10 minutes. For example: &lt;/p&gt; &lt;div class="Code"&gt;&lt;br /&gt;&lt;table class="Code" bordercolorlight="#FFFFFF" bordercolordark="#000000" dir="ltr" border="1" cellpadding="5" cellspacing="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td scope="row"&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-28663"&gt;&lt;/a&gt;rsc&gt; &lt;kbd class="UserType"&gt;bootmode skip_diag&lt;/kbd&gt;&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-28675"&gt;&lt;/a&gt;rsc&gt; &lt;kbd class="UserType"&gt;poweroff&lt;/kbd&gt;&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-28687"&gt;&lt;/a&gt;rsc&gt; &lt;kbd class="UserType"&gt;poweron&lt;/kbd&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt;&lt;br /&gt;&lt;/div&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-28699"&gt;&lt;/a&gt;To force console input and output to RSC, use the &lt;kbd class="Filename-Command"&gt;-u&lt;/kbd&gt; option before specifying the boot mode. This is the equivalent of using the OpenBoot PROM commands shown in &lt;a href="http://docs.sun.com/source/816-3314-12/ucm_config_chap.html#84910" class="XRef"&gt;Redirecting the Console to RSC&lt;/a&gt;, but affects the next boot only. &lt;/p&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-28850"&gt;&lt;/a&gt;The following table describes modes you can specify using the &lt;kbd class="Filename-Command"&gt;bootmode&lt;/kbd&gt; command. &lt;/p&gt;&lt;br /&gt;&lt;table class="Titled" bordercolorlight="#FFFFFF" bordercolordark="#000000" dir="ltr" border="1" cellpadding="5" cellspacing="0"&gt;&lt;caption class="TableCaption"&gt; &lt;a name="pgfId-37669"&gt; &lt;/a&gt; TABLE 4-2  Modes Used With the  &lt;kbd class="Filename-Command"&gt; bootmode &lt;/kbd&gt;  Command  &lt;/caption&gt; &lt;thead&gt; &lt;tr&gt; &lt;th scope="col" rowspan="1" colspan="1" bgcolor="#cccccc"&gt; &lt;p class="TableHead"&gt;&lt;a name="pgfId-28717"&gt;&lt;/a&gt; Mode &lt;/p&gt; &lt;/th&gt; &lt;th scope="col" rowspan="1" colspan="1" bgcolor="#cccccc"&gt; &lt;p class="TableHead"&gt;&lt;a name="pgfId-28724"&gt;&lt;/a&gt;Description &lt;/p&gt; &lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-28736"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;-u&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-1003500"&gt;&lt;/a&gt;Force the server to direct the console to RSC; the &lt;kbd class="Filename-Command"&gt;-u&lt;/kbd&gt; option must precede any boot mode you specify; requires server reset &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;tbody&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-28763"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;normal&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-28770"&gt;&lt;/a&gt;Normal boot; server runs low-level diagnostics; requires server reset &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-28782"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;forth&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-28788"&gt;&lt;/a&gt;Enter Forth interpreter as soon as possible (equivalent to L1-F on non-USB keyboards); requires server reset &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-28801"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;reset_nvram&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-28807"&gt;&lt;/a&gt;Reset all NVRAM variables to default values (equivalent to L1-N on non-USB keyboards); requires server reset &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-28820"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;diag&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-28826"&gt;&lt;/a&gt;Force the server to run full diagnostics (equivalent to L1-D on non-USB keyboards); requires server power-off and power-on &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-28839"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;skip_diag&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-28845"&gt;&lt;/a&gt;Force the server to skip diagnostics (equivalent to L1-S on non-USB keyboards); requires server power-off and power-on &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr noshade="noshade" size="1"&gt; &lt;table class="TipNote" dir="ltr" summary="TipNote" width="100%"&gt; &lt;colgroup span="1" width="100%"&gt; &lt;/colgroup&gt;&lt;tbody&gt;&lt;tr align="left" valign="top"&gt; &lt;td rowspan="1" colspan="1" abbr="TipNoteText"&gt; &lt;p class="TipNote"&gt;&lt;b class="TipNote"&gt;Note - &lt;/b&gt;&lt;a name="pgfId-28865"&gt;&lt;/a&gt;The &lt;kbd class="Filename-Command"&gt;diag&lt;/kbd&gt; and &lt;kbd class="Filename-Command"&gt;skip_diag&lt;/kbd&gt; modes take effect only if you follow the &lt;kbd class="Filename-Command"&gt;bootmode&lt;/kbd&gt; command with the &lt;kbd class="Filename-Command"&gt;poweroff&lt;/kbd&gt; and &lt;kbd class="Filename-Command"&gt;poweron&lt;/kbd&gt; commands within 10 minutes. &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;hr noshade="noshade" size="1"&gt;&lt;br /&gt;&lt;h3 class="Head2"&gt;&lt;a name="pgfId-28933"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;reset&lt;/kbd&gt;&lt;a name="marker-28929"&gt;&lt;/a&gt;&lt;/h3&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-30096"&gt;&lt;/a&gt;This command forcibly resets the server immediately. You must have &lt;kbd class="Filename-Command"&gt;R&lt;/kbd&gt; level user permission to use this command. The server reboots according to the server's designated boot mode. The &lt;kbd class="Filename-Command"&gt;reset&lt;/kbd&gt; command does not perform a clean shutdown of the system, and data may be lost. When possible, use the corresponding Solaris administration command instead. &lt;/p&gt;&lt;br /&gt;&lt;hr noshade="noshade" size="1"&gt; &lt;table class="TipNote" dir="ltr" summary="TipNote" width="100%"&gt; &lt;colgroup span="1" width="100%"&gt; &lt;/colgroup&gt;&lt;tbody&gt;&lt;tr align="left" valign="top"&gt; &lt;td rowspan="1" colspan="1" abbr="TipNoteText"&gt; &lt;p class="TipNote"&gt;&lt;b class="TipNote"&gt;Note - &lt;/b&gt;&lt;a name="pgfId-30140"&gt;&lt;/a&gt;The default configuration of Sun workgroup server firmware does not invoke POST when the server resets. However, you can change this behavior through NVRAM variable settings; for additional details, see the Platform Notes for your server. &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;hr noshade="noshade" size="1"&gt;&lt;br /&gt;&lt;h3 class="Head2"&gt;&lt;a name="pgfId-30123"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;poweroff&lt;/kbd&gt;&lt;a name="marker-30119"&gt;&lt;/a&gt;&lt;/h3&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-29000"&gt;&lt;/a&gt;Use the &lt;kbd class="Filename-Command"&gt;poweroff&lt;/kbd&gt; command to power off the server. You must have &lt;kbd class="Filename-Command"&gt;R&lt;/kbd&gt; level user permission to use this command. This command has no effect if the server is already powered off. RSC remains available since it uses the server's standby power. Note, however, that some environmental information may be unavailable when the server is in Standby mode. &lt;/p&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-998603"&gt;&lt;/a&gt;The &lt;kbd class="Filename-Command"&gt;poweroff&lt;/kbd&gt; command attempts to perform a clean shutdown of the system. However, when possible, use the corresponding Solaris administration command instead. &lt;/p&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-1003409"&gt;&lt;/a&gt;It can take up to 35 seconds for the &lt;kbd class="Filename-Command"&gt;poweroff&lt;/kbd&gt; command to completely shut down the system (except on Sun Enterprise 250 servers). This is because RSC waits for a clean shutdown to complete before &lt;kbd class="Filename-Command"&gt;poweroff&lt;/kbd&gt; can occur. &lt;/p&gt;&lt;br /&gt;&lt;hr noshade="noshade" size="1"&gt; &lt;table class="TipNote" dir="ltr" summary="TipNote" width="100%"&gt; &lt;colgroup span="1" width="100%"&gt; &lt;/colgroup&gt;&lt;tbody&gt;&lt;tr align="left" valign="top"&gt; &lt;td rowspan="1" colspan="1" abbr="TipNoteText"&gt; &lt;p class="TipNote"&gt;&lt;b class="TipNote"&gt;Note - &lt;/b&gt;&lt;a name="pgfId-1001762"&gt;&lt;/a&gt;For Sun Enterprise 250 servers, the &lt;kbd class="Filename-Command"&gt;poweroff&lt;/kbd&gt;command does not perform a clean shutdown of the system. &lt;/p&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;hr noshade="noshade" size="1"&gt;&lt;br /&gt;&lt;img src="http://docs.sun.com/source/816-3314-12/figures/ucm_shell_chap-10.jpg" /&gt;&lt;h3 class="Head2"&gt;&lt;a name="pgfId-1001764"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;poweron&lt;/kbd&gt;&lt;a name="marker-1001763"&gt;&lt;/a&gt;&lt;/h3&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-29042"&gt;&lt;/a&gt;Use the &lt;kbd class="Filename-Command"&gt;poweron&lt;/kbd&gt; command to power on the server. You must have &lt;kbd class="Filename-Command"&gt;R&lt;/kbd&gt; level user permission to use this command. This command has no effect if the server's keyswitch is in the Standby position, or the server is already powered on. &lt;/p&gt;&lt;h3 class="Head2"&gt;&lt;a name="pgfId-1003430"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;setlocator&lt;/kbd&gt;&lt;/h3&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-1003431"&gt;&lt;/a&gt;Use the &lt;kbd class="Filename-Command"&gt;setlocator&lt;/kbd&gt; command to turn the system locator LED on or off. This command applies to Sun Fire V480 servers only. For more information on this command, refer to &lt;a href="http://docs.sun.com/source/816-3314-12/ucm_hwinfo2_chap.html#80724" class="XRef"&gt;Controlling the Locator LED&lt;/a&gt;. &lt;/p&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-1003449"&gt;&lt;/a&gt;For more information on the locator LED, refer to the &lt;i class="Title"&gt;Sun Fire V480 Administrator's Guide&lt;/i&gt;. &lt;/p&gt;&lt;h3 class="Head2"&gt;&lt;a name="pgfId-1003437"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;showlocator&lt;/kbd&gt;&lt;/h3&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-1003455"&gt;&lt;/a&gt;Use the &lt;kbd class="Filename-Command"&gt;showlocator&lt;/kbd&gt; command to view the state of the system locator LED (on or off). This command applies to Sun Fire V480 servers only. For more information on this command, refer to &lt;a href="http://docs.sun.com/source/816-3314-12/ucm_hwinfo2_chap.html#80724" class="XRef"&gt;Controlling the Locator LED&lt;/a&gt;. &lt;/p&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-1003453"&gt;&lt;/a&gt;For more information on the locator LED, refer to the &lt;i class="Title"&gt;Sun Fire V480 Administrator's Guide&lt;/i&gt;. &lt;/p&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-1003438"&gt;&lt;/a&gt;  &lt;/p&gt;&lt;h2 class="Head1"&gt;&lt;a name="pgfId-16405"&gt;&lt;/a&gt; &lt;div&gt; &lt;hr align="left" noshade="noshade" size="6" width="15%"&gt; &lt;/div&gt;&lt;a name="marker-17373"&gt;&lt;/a&gt;&lt;a name="marker-17255"&gt;&lt;/a&gt;RSC View Log Commands&lt;/h2&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-16406"&gt;&lt;/a&gt;Use the following RSC commands to work with RSC and console log files: &lt;/p&gt; &lt;ul&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-16407"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;loghistory&lt;/kbd&gt; (or &lt;kbd class="Filename-Command"&gt;lhist)&lt;/kbd&gt; &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-16408"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;consolehistory&lt;/kbd&gt; (or &lt;kbd class="Filename-Command"&gt;chist)&lt;/kbd&gt; &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-16409"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;consolerestart&lt;/kbd&gt; &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;/ul&gt;&lt;h3 class="Head2"&gt;&lt;a name="pgfId-17316"&gt;&lt;/a&gt;&lt;a name="marker-17313"&gt;&lt;/a&gt;&lt;a name="40660"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;loghistory [index [+|-]&lt;/kbd&gt;&lt;i class="Variable"&gt;n&lt;/i&gt;&lt;kbd class="Filename-Command"&gt;] [pause &lt;/kbd&gt;&lt;i class="Variable"&gt;n&lt;/i&gt;&lt;kbd class="Filename-Command"&gt;]&lt;/kbd&gt;&lt;/h3&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-16412"&gt;&lt;/a&gt;Use the &lt;kbd class="Filename-Command"&gt;loghistory&lt;/kbd&gt; command without subcommands to display the history of all events logged in the RSC event buffer. These events include server reset events and all RSC commands that change the state of the system. You can also use the command abbreviation &lt;kbd class="Filename-Command"&gt;lhist&lt;/kbd&gt;.  &lt;/p&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-16413"&gt;&lt;/a&gt;Use the following subcommands to control &lt;kbd class="Filename-Command"&gt;loghistory&lt;/kbd&gt; display. &lt;/p&gt;&lt;h4 class="Head3"&gt;&lt;a name="pgfId-16414"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;index [+|-]&lt;/kbd&gt;&lt;i class="Variable"&gt;n&lt;/i&gt;&lt;/h4&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-30155"&gt;&lt;/a&gt;Use the &lt;kbd class="Filename-Command"&gt;index&lt;/kbd&gt; subcommand to designate a buffer position at which to begin the display, as follows: &lt;/p&gt; &lt;ul&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-30173"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;index +&lt;/kbd&gt;&lt;i class="Variable"&gt;n&lt;/i&gt; to designate a line number relative to the beginning of the buffer &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-16417"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;index -&lt;/kbd&gt;&lt;i class="Variable"&gt;n &lt;/i&gt;to designate a line number relative to the end of the buffer &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-16418"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;index &lt;/kbd&gt;&lt;i class="Variable"&gt;n&lt;/i&gt; to designate a line number relative to the beginning of the buffer (same as &lt;kbd class="Filename-Command"&gt;index +&lt;/kbd&gt;&lt;i class="Variable"&gt;n&lt;/i&gt;) &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;/ul&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-996726"&gt;&lt;/a&gt;The origin of counting is 1; that is, &lt;kbd class="Filename-Command"&gt;index +1&lt;/kbd&gt; indicates the first line in the buffer, &lt;kbd class="Filename-Command"&gt;index -1&lt;/kbd&gt; indicates the last. For example: &lt;/p&gt; &lt;div class="Code"&gt;&lt;br /&gt;&lt;table class="Code" bordercolorlight="#FFFFFF" bordercolordark="#000000" dir="ltr" border="1" cellpadding="5" cellspacing="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td scope="row"&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-16422"&gt;&lt;/a&gt;rsc&gt; &lt;kbd class="UserType"&gt;loghistory index -30&lt;/kbd&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt;&lt;br /&gt;&lt;/div&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-16423"&gt;&lt;/a&gt;This command prints the last 30 lines and any additional lines that were appended to the buffer between the time that the command began execution and the time that it terminated. &lt;/p&gt;&lt;h4 class="Head3"&gt;&lt;a name="pgfId-16424"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;pause &lt;/kbd&gt;&lt;i class="Variable"&gt;n&lt;/i&gt;&lt;/h4&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-16425"&gt;&lt;/a&gt;Use the &lt;kbd class="Filename-Command"&gt;pause&lt;/kbd&gt; subcommand to display &lt;i class="Variable"&gt;n&lt;/i&gt; lines of the log at a time (similar to the &lt;kbd class="Filename-Command"&gt;more&lt;/kbd&gt; command). The value of &lt;i class="Variable"&gt;n&lt;/i&gt; must be a decimal integer. The default is to display the entire RSC log without pausing.  &lt;/p&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-996727"&gt;&lt;/a&gt;Each event recorded in the log has the following format: &lt;/p&gt; &lt;div class="Code"&gt;&lt;br /&gt;&lt;table class="Code" bordercolorlight="#FFFFFF" bordercolordark="#000000" dir="ltr" border="1" cellpadding="5" cellspacing="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td scope="row"&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-16428"&gt;&lt;/a&gt;$TIME $HOSTNAME $EVENTID $&lt;i class="Variable"&gt;message&lt;/i&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt;&lt;br /&gt;&lt;/div&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-17222"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;EVENTID&lt;/kbd&gt; is a unique identifier for the event, &lt;kbd class="Filename-Command"&gt;TIME&lt;/kbd&gt; is the time the event occurred (as measured by RSC time), and &lt;i class="Variable"&gt;message&lt;/i&gt; is a user-friendly description of the event. &lt;/p&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-996728"&gt;&lt;/a&gt;The following is an example event log entry: &lt;/p&gt; &lt;div class="Code"&gt;&lt;br /&gt;&lt;table class="Code" bordercolorlight="#FFFFFF" bordercolordark="#000000" dir="ltr" border="1" cellpadding="5" cellspacing="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td scope="row"&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-17207"&gt;&lt;/a&gt;FRI JAN 01 07:33:03 2001 sst4828: 00060003: "RSC System reset"&lt;br /&gt;&lt;/pre&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 class="Head2"&gt;&lt;a name="pgfId-999852"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;consolehistory [boot|run|oboot|orun] &lt;br /&gt;[index [+|-]&lt;/kbd&gt;&lt;a name="marker-999850"&gt;&lt;/a&gt;&lt;a name="21452"&gt;&lt;/a&gt;&lt;i class="Variable"&gt;n&lt;/i&gt;&lt;kbd class="Filename-Command"&gt;] [pause &lt;/kbd&gt;&lt;i class="Variable"&gt;n&lt;/i&gt;&lt;kbd class="Filename-Command"&gt;]&lt;/kbd&gt;&lt;/h3&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-16436"&gt;&lt;/a&gt;Use the &lt;kbd class="Filename-Command"&gt;consolehistory&lt;/kbd&gt; command to display console messages logged in RSC buffers. With no arguments, this command prints the entire contents of all non-empty console buffers. You can use the command abbreviation &lt;kbd class="Filename-Command"&gt;chist&lt;/kbd&gt;.  &lt;/p&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-17967"&gt;&lt;/a&gt;There are four console logs: &lt;/p&gt; &lt;ul&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-16438"&gt;&lt;/a&gt;The &lt;kbd class="Filename-Command"&gt;boot&lt;/kbd&gt; buffer contains POST, OpenBoot PROM, and UNIX boot messages received from the server for the most recent boot.  &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-16439"&gt;&lt;/a&gt;The &lt;kbd class="Filename-Command"&gt;run&lt;/kbd&gt; buffer contains the most recent data received from the server operating system.  &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-16440"&gt;&lt;/a&gt;The &lt;kbd class="Filename-Command"&gt;oboot&lt;/kbd&gt; buffer contains POST, OpenBoot PROM, and UNIX boot messages for the first power-on boot, the &lt;em class="Emphasis"&gt;original boot&lt;/em&gt;. &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-1003704"&gt;&lt;/a&gt;The orun buffer contains the data received from the server's operating system after the first reboot that follows a power-on boot (the original boot). &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p class="Paragraph"&gt;&lt;a name="pgfId-999872"&gt;&lt;/a&gt;Each buffer can contain up to 64Kbytes of information. (On Sun Enterprise 250 servers, the original boot log and boot log buffers can contain up to 16 Kbytes of information.)&lt;img src="http://docs.sun.com/source/816-3314-12/figures/ucm_shell_chap-11.jpg" /&gt; &lt;/p&gt;&lt;p class="Paragraph"&gt;&lt;a name="pgfId-17994"&gt;&lt;/a&gt;When the first power-on boot begins, RSC fills the original boot (&lt;kbd class="Filename-Command"&gt;oboot&lt;/kbd&gt;) buffer with data from the server's console. After that buffer fills up, it writes data to the original run (&lt;kbd class="Filename-Command"&gt;orun&lt;/kbd&gt;) log. When the &lt;kbd class="Filename-Command"&gt;orun&lt;/kbd&gt; log fills up, it overwrites old data in the &lt;kbd class="Filename-Command"&gt;orun&lt;/kbd&gt; log. &lt;/p&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-17999"&gt;&lt;/a&gt;When RSC senses a server reset while writing the &lt;kbd class="Filename-Command"&gt;orun&lt;/kbd&gt; log, it switches to the &lt;kbd class="Filename-Command"&gt;boot&lt;/kbd&gt; log. After that fills up, it switches to the &lt;kbd class="Filename-Command"&gt;run&lt;/kbd&gt; log. When the &lt;kbd class="Filename-Command"&gt;run&lt;/kbd&gt; log fills up, it overwrites old data in the &lt;kbd class="Filename-Command"&gt;run&lt;/kbd&gt; log. &lt;/p&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-18004"&gt;&lt;/a&gt;When RSC senses a server reset while writing the current &lt;kbd class="Filename-Command"&gt;run&lt;/kbd&gt; log, it switches to the current &lt;kbd class="Filename-Command"&gt;boot&lt;/kbd&gt; log again. &lt;/p&gt;&lt;h4 class="Head3"&gt;&lt;a name="pgfId-18658"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;pause &lt;/kbd&gt;&lt;i class="Variable"&gt;n&lt;/i&gt;&lt;/h4&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-18659"&gt;&lt;/a&gt;Use the &lt;kbd class="Filename-Command"&gt;pause&lt;/kbd&gt; subcommand to display &lt;i class="Variable"&gt;n&lt;/i&gt; lines of the log at a time (similar to the &lt;kbd class="Filename-Command"&gt;more&lt;/kbd&gt; command). The value of &lt;i class="Variable"&gt;n&lt;/i&gt; must be a decimal integer. The default is to display 10 lines of the log at a time.  &lt;/p&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-17968"&gt;&lt;/a&gt;See &lt;a href="http://docs.sun.com/source/816-3314-12/ucm_shell_chap.html#40660" class="XRef"&gt;loghistory [index [+|-]n] [pause n]&lt;/a&gt; for a description of the &lt;kbd class="Filename-Command"&gt;index&lt;/kbd&gt; subcommand. &lt;/p&gt;&lt;br /&gt;&lt;hr noshade="noshade" size="1"&gt; &lt;table class="TipNote" dir="ltr" summary="TipNote" width="100%"&gt; &lt;colgroup span="1" width="100%"&gt; &lt;/colgroup&gt;&lt;tbody&gt;&lt;tr align="left" valign="top"&gt; &lt;td rowspan="1" colspan="1" abbr="TipNoteText"&gt; &lt;p class="TipNote"&gt;&lt;b class="TipNote"&gt;Note - &lt;/b&gt;&lt;a name="pgfId-16446"&gt;&lt;/a&gt;&lt;a name="marker-17545"&gt;&lt;/a&gt;Time stamps recorded in console logs reflect server time. These time stamps may be offset from RSC time stamps recorded in the RSC event log. To synchronize RSC time with server time, use the &lt;kbd class="Filename-Command"&gt;rscadm&lt;/kbd&gt; command &lt;kbd class="Filename-Command"&gt;rscadm date -s&lt;/kbd&gt;, reset the server, or run the script &lt;kbd class="Filename-Command"&gt;/usr/platform/&lt;/kbd&gt;&lt;i class="Variable"&gt;platform-name&lt;/i&gt;&lt;kbd class="Filename-Command"&gt;/rsc/rsc-initscript&lt;/kbd&gt;. You can obtain the string to use for &lt;i class="Variable"&gt;platform-name&lt;/i&gt; using the Solaris command &lt;br /&gt;&lt;kbd class="Filename-Command"&gt;uname -i&lt;/kbd&gt;. &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;hr noshade="noshade" size="1"&gt;&lt;br /&gt;&lt;h3 class="Head2"&gt;&lt;a name="pgfId-16450"&gt;&lt;/a&gt;&lt;a name="marker-17319"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;consolerestart&lt;/kbd&gt;&lt;/h3&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-16451"&gt;&lt;/a&gt;Use the &lt;kbd class="Filename-Command"&gt;consolerestart&lt;/kbd&gt; command to make the current boot and run logs the &lt;em class="Emphasis"&gt;original logs&lt;/em&gt; (designated &lt;kbd class="Filename-Command"&gt;oboot&lt;/kbd&gt; and &lt;kbd class="Filename-Command"&gt;orun&lt;/kbd&gt;). This command copies the current &lt;kbd class="Filename-Command"&gt;boot&lt;/kbd&gt; and &lt;kbd class="Filename-Command"&gt;run&lt;/kbd&gt; buffers to the &lt;kbd class="Filename-Command"&gt;oboot&lt;/kbd&gt; and &lt;kbd class="Filename-Command"&gt;orun&lt;/kbd&gt; buffers, overwriting the previous contents. Next, it clears the current &lt;kbd class="Filename-Command"&gt;boot&lt;/kbd&gt; and &lt;kbd class="Filename-Command"&gt;run&lt;/kbd&gt; buffers, and begins logging to the old run log. You must have &lt;kbd class="Filename-Command"&gt;A&lt;/kbd&gt; level user permission to use this command.  &lt;/p&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-17639"&gt;&lt;/a&gt;For example, after adding a hardware component to the server, reboot the server and use the &lt;kbd class="Filename-Command"&gt;consolerestart&lt;/kbd&gt; command so that the new component will appear in the original console logs. &lt;/p&gt;&lt;h2 class="Head1"&gt;&lt;a name="pgfId-10182"&gt;&lt;/a&gt; &lt;div&gt; &lt;hr align="left" noshade="noshade" size="6" width="15%"&gt; &lt;/div&gt;&lt;a name="marker-17256"&gt;&lt;/a&gt;RSC Configuration Commands&lt;/h2&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-12836"&gt;&lt;/a&gt;Use the following RSC commands to set or show characteristics of the RSC or server configuration: &lt;/p&gt; &lt;ul&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-13079"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;set&lt;/kbd&gt; &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-13080"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;show&lt;/kbd&gt; &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-12837"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;date&lt;/kbd&gt; (also &lt;kbd class="Filename-Command"&gt;showdate&lt;/kbd&gt; and &lt;kbd class="Filename-Command"&gt;setdate&lt;/kbd&gt;) &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-13023"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;password&lt;/kbd&gt; &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-16459"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;useradd&lt;/kbd&gt; &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-16464"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;userdel&lt;/kbd&gt; &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-16469"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;usershow&lt;/kbd&gt; &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-16470"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;userpassword&lt;/kbd&gt; &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-16471"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;userperm&lt;/kbd&gt; &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-16472"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;resetrsc&lt;/kbd&gt; &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;/ul&gt;&lt;h3 class="Head2"&gt;&lt;a name="pgfId-13085"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;set &lt;/kbd&gt;&lt;a name="marker-17320"&gt;&lt;/a&gt;&lt;i class="Variable"&gt;variable value&lt;/i&gt;&lt;/h3&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-17699"&gt;&lt;/a&gt;Use the &lt;kbd class="Filename-Command"&gt;set&lt;/kbd&gt; command to set an RSC configuration variable. You must have &lt;kbd class="Filename-Command"&gt;A&lt;/kbd&gt; level user permission to use this command. See &lt;a href="http://docs.sun.com/source/816-3314-12/ucm_shell_chap.html#39009" class="XRef"&gt;RSC Configuration Variables&lt;/a&gt; for descriptions of these variables. &lt;/p&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-13086"&gt;&lt;/a&gt;Changes to some variables do not take effect until the you reset RSC using the command-line interface (CLI) &lt;kbd class="Filename-Command"&gt;resetrsc &lt;/kbd&gt;command&lt;kbd class="Filename-Command"&gt;,&lt;/kbd&gt; or the &lt;kbd class="Filename-Command"&gt;rscadm&lt;/kbd&gt; subcommand &lt;kbd class="Filename-Command"&gt;rscadm resetrsc&lt;/kbd&gt;, or by using the graphical user interface.  &lt;/p&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-996729"&gt;&lt;/a&gt;You can use the null string ("") to set a variable to null. To set a variable to a string that includes spaces, enclose the string in double quotes. For example: &lt;/p&gt; &lt;div class="Code"&gt;&lt;br /&gt;&lt;table class="Code" bordercolorlight="#FFFFFF" bordercolordark="#000000" dir="ltr" border="1" cellpadding="5" cellspacing="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td scope="row"&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-17676"&gt;&lt;/a&gt;rsc&gt; &lt;kbd class="UserType"&gt;set page_info2 ""&lt;/kbd&gt;&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-17678"&gt;&lt;/a&gt;rsc&gt; &lt;kbd class="UserType"&gt;set page_init1 "&amp;amp;F &amp;amp;E0"&lt;/kbd&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 class="Head2"&gt;&lt;a name="pgfId-13091"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;show [&lt;/kbd&gt;&lt;a name="marker-17321"&gt;&lt;/a&gt;&lt;i class="Variable"&gt;variable&lt;/i&gt;&lt;kbd class="Filename-Command"&gt;] &lt;/kbd&gt;&lt;/h3&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-13092"&gt;&lt;/a&gt;Use the &lt;kbd class="Filename-Command"&gt;show&lt;/kbd&gt; command to display the value of RSC configuration variables. You can specify one variable only; if you do not specify a variable, RSC displays all configuration variables. See &lt;a href="http://docs.sun.com/source/816-3314-12/ucm_shell_chap.html#39009" class="XRef"&gt;RSC Configuration Variables&lt;/a&gt; for descriptions of these variables.  &lt;/p&gt;&lt;h3 class="Head2"&gt;&lt;a name="pgfId-12874"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;date [[mmdd]HHMM|mmddHHMM[cc]yy][.SS]&lt;/kbd&gt;&lt;a name="marker-17322"&gt;&lt;/a&gt;&lt;a name="19311"&gt;&lt;/a&gt; &lt;/h3&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-12875"&gt;&lt;/a&gt;Use the &lt;kbd class="Filename-Command"&gt;date&lt;/kbd&gt; command without arguments to show RSC's current date and time. If you have &lt;kbd class="Filename-Command"&gt;A&lt;/kbd&gt; level user permission, you can use the &lt;kbd class="Filename-Command"&gt;date&lt;/kbd&gt; command to set the current date and time. The following table describes components of the date format. &lt;/p&gt;&lt;br /&gt;&lt;table class="Titled" bordercolorlight="#FFFFFF" bordercolordark="#000000" dir="ltr" border="1" cellpadding="5" cellspacing="0"&gt;&lt;caption class="TableCaption"&gt; &lt;a name="pgfId-37664"&gt; &lt;/a&gt; TABLE 4-3  Components of the  &lt;kbd class="Filename-Command"&gt; date &lt;/kbd&gt;  Command &lt;/caption&gt; &lt;thead&gt; &lt;tr&gt; &lt;th scope="col" rowspan="1" colspan="1" bgcolor="#cccccc"&gt; &lt;p class="TableHead"&gt;&lt;a name="pgfId-12878"&gt;&lt;/a&gt;Option &lt;/p&gt; &lt;/th&gt; &lt;th scope="col" rowspan="1" colspan="1" bgcolor="#cccccc"&gt; &lt;p class="TableHead"&gt;&lt;a name="pgfId-12880"&gt;&lt;/a&gt;Description &lt;/p&gt; &lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-12882"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;mm&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-12884"&gt;&lt;/a&gt;Month number &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;tbody&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-12886"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;dd&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-12888"&gt;&lt;/a&gt;Day-of-the-month number &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-12890"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;HH&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-12892"&gt;&lt;/a&gt;Hour number (24-hour system) &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-12894"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;MM&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-12896"&gt;&lt;/a&gt;Minute number &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-14319"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;.SS&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-14321"&gt;&lt;/a&gt;Second number &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-18240"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;cc&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-18242"&gt;&lt;/a&gt;First two digits of year &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td scope="row" rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-12898"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;yy&lt;/kbd&gt; &lt;/p&gt; &lt;/td&gt; &lt;td rowspan="1" colspan="1"&gt; &lt;p class="TableText"&gt;&lt;a name="pgfId-12900"&gt;&lt;/a&gt;Last two digits of year &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt;&lt;br /&gt;&lt;p class="Paragraph"&gt;&lt;a name="pgfId-12901"&gt;&lt;/a&gt;You may omit the month, day, and year; the current values are applied as defaults. &lt;/p&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-996730"&gt;&lt;/a&gt;Examples:  &lt;/p&gt; &lt;div class="Code"&gt;&lt;br /&gt;&lt;table class="Code" bordercolorlight="#FFFFFF" bordercolordark="#000000" dir="ltr" border="1" cellpadding="5" cellspacing="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td scope="row"&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-12904"&gt;&lt;/a&gt;rsc&gt; &lt;kbd class="UserType"&gt;date 091521452000&lt;/kbd&gt;&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001067"&gt;&lt;/a&gt;Fri Sep 15 21:45:00 EDT 2000&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-12906"&gt;&lt;/a&gt;rsc&gt; &lt;kbd class="UserType"&gt;date 09152145&lt;/kbd&gt;&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001072"&gt;&lt;/a&gt;Fri Sep 15 21:45:00 EDT 2000&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-12908"&gt;&lt;/a&gt;rsc&gt; &lt;kbd class="UserType"&gt;date 2145&lt;/kbd&gt;&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001077"&gt;&lt;/a&gt;Fri Sep 15 21:45:00 EDT 2000&lt;br /&gt;&lt;/pre&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt;&lt;br /&gt;&lt;/div&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-30299"&gt;&lt;/a&gt;The first example sets the time to September 15, 9:45 p.m., 2000. The second example sets the time to September 15, 9:45 p.m. of the current year. The third example sets the time to 9:45 p.m. of the current month, day, and year. &lt;/p&gt;&lt;br /&gt;&lt;hr noshade="noshade" size="1"&gt; &lt;table class="TipNote" dir="ltr" summary="TipNote" width="100%"&gt; &lt;colgroup span="1" width="100%"&gt; &lt;/colgroup&gt;&lt;tbody&gt;&lt;tr align="left" valign="top"&gt; &lt;td rowspan="1" colspan="1" abbr="TipNoteText"&gt; &lt;p class="TipNote"&gt;&lt;b class="TipNote"&gt;Note - &lt;/b&gt;&lt;a name="pgfId-1000963"&gt;&lt;/a&gt;Whenever the server boots, it sets the RSC current date and time. In addition, the RSC hardware includes a battery backed-up time-of-day chip for maintaining RSC time in between server reboots. However, to keep RSC time in sync with server time, you should periodically run the script &lt;kbd class="Filename-Command"&gt;/usr/platform/&lt;/kbd&gt;&lt;i class="Variable"&gt;platform-name&lt;/i&gt;&lt;kbd class="Filename-Command"&gt;/rsc/rsc-initscript&lt;/kbd&gt;. You can obtain the string to use for &lt;i class="Variable"&gt;platform-name&lt;/i&gt; using the Solaris command &lt;kbd class="Filename-Command"&gt;uname -i&lt;/kbd&gt;. If you like, you can run this script at a specified interval using the &lt;kbd class="Filename-Command"&gt;cron&lt;/kbd&gt; utility. You can also use the &lt;kbd class="Filename-Command"&gt;rscadm&lt;/kbd&gt; command &lt;kbd class="Filename-Command"&gt;rscadm date -s&lt;/kbd&gt;. &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;hr noshade="noshade" size="1"&gt;&lt;br /&gt;&lt;h3 class="Head2"&gt;&lt;a name="pgfId-1000965"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;showdate&lt;/kbd&gt;&lt;a name="marker-1000964"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;br /&gt;&lt;p class="Paragraph"&gt;&lt;a name="pgfId-999890"&gt;&lt;/a&gt;Same as the &lt;kbd class="Filename-Command"&gt;date&lt;/kbd&gt;command without arguments. (Not available for Sun Enterprise 250 servers.)&lt;img src="http://docs.sun.com/source/816-3314-12/figures/ucm_shell_chap-12.jpg" /&gt;&lt;/p&gt;&lt;h3 class="Head2"&gt;&lt;a name="pgfId-999891"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;setdate&lt;/kbd&gt;&lt;/h3&gt;&lt;br /&gt;&lt;p class="Paragraph"&gt;&lt;a name="pgfId-999246"&gt;&lt;/a&gt;Same as the &lt;kbd class="Filename-Command"&gt;date&lt;/kbd&gt;command with arguments. You need to have &lt;kbd class="Filename-Command"&gt;A&lt;/kbd&gt;level user permission to use the &lt;kbd class="Filename-Command"&gt;setdate&lt;/kbd&gt;command to set the RSC current date and time. &lt;br /&gt;(Not available for Sun Enterprise 250 servers.)&lt;img src="http://docs.sun.com/source/816-3314-12/figures/ucm_shell_chap-13.jpg" /&gt;&lt;/p&gt;&lt;h3 class="Head2"&gt;&lt;a name="pgfId-999242"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;password&lt;/kbd&gt;&lt;a name="marker-30326"&gt;&lt;/a&gt;&lt;/h3&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-9576"&gt;&lt;/a&gt;Use the &lt;kbd class="Filename-Command"&gt;password&lt;/kbd&gt; command to change the RSC password for the account to which you are logged in. This command behaves similarly to the UNIX &lt;kbd class="Filename-Command"&gt;passwd&lt;/kbd&gt;(1) command.  &lt;/p&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-996731"&gt;&lt;/a&gt;When used to change a password, RSC prompts for your current password, and if you enter it correctly, it prompts for the new password. RSC prompts again for the new password and updates it if entered identically both times. For example: &lt;/p&gt; &lt;div class="Code"&gt;&lt;br /&gt;&lt;table class="Code" bordercolorlight="#FFFFFF" bordercolordark="#000000" dir="ltr" border="1" cellpadding="5" cellspacing="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td scope="row"&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-11997"&gt;&lt;/a&gt;rsc&gt; &lt;kbd class="UserType"&gt;password&lt;/kbd&gt;&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-18496"&gt;&lt;/a&gt;password: Changing password for &lt;i class="Variable"&gt;username&lt;/i&gt;&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-18507"&gt;&lt;/a&gt;Enter login password: ******&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001085"&gt;&lt;/a&gt;Enter new password: ******&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-1001089"&gt;&lt;/a&gt;Re-enter new password: ******&lt;br /&gt;&lt;/pre&gt; &lt;pre class="ScreenText"&gt;&lt;a name="pgfId-18528"&gt;&lt;/a&gt;rsc&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt;&lt;br /&gt;&lt;/div&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-11444"&gt;&lt;/a&gt;Passwords have the following restrictions: &lt;/p&gt; &lt;ul&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-11367"&gt;&lt;/a&gt;They must contain at least six characters (only the first eight characters are significant). &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-11452"&gt;&lt;/a&gt;They must contain at least two alphabetic characters and at least one numeric or special character; alphabetic characters can be both uppercase and lowercase. &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-11447"&gt;&lt;/a&gt;They must differ from the user's login name and any reverse or circular shift of that login name; for comparison purposes, uppercase and lowercase letters are equivalent. &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-16740"&gt;&lt;/a&gt;The new password must differ from the old by at least three characters; for comparison purposes, uppercase and lowercase letters are equivalent. &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;/ul&gt;&lt;h3 class="Head2"&gt;&lt;a name="pgfId-16478"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;useradd &lt;/kbd&gt;&lt;a name="marker-17324"&gt;&lt;/a&gt;&lt;a name="30732"&gt;&lt;/a&gt;&lt;i class="Variable"&gt;username&lt;/i&gt;&lt;/h3&gt;&lt;br /&gt;&lt;p class="Paragraph"&gt;&lt;a name="pgfId-16479"&gt;&lt;/a&gt;Use the &lt;kbd class="Filename-Command"&gt;useradd&lt;/kbd&gt;&lt;i class="Variable"&gt;username&lt;/i&gt;command to add an RSC user account. You must have &lt;kbd class="Filename-Command"&gt;U&lt;/kbd&gt;level user permission to use this command. The maximum number of RSC user accounts is 16, except on Sun Enterprise 250 servers, where the maximum number is 4. Valid characters for &lt;i class="Variable"&gt;username&lt;/i&gt;include: &lt;img src="http://docs.sun.com/source/816-3314-12/figures/ucm_shell_chap-14.jpg" /&gt; &lt;/p&gt;&lt;ul&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-16480"&gt;&lt;/a&gt;Alphabetic characters &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-16481"&gt;&lt;/a&gt;Numeric characters &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-16482"&gt;&lt;/a&gt;Period (.) &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-16483"&gt;&lt;/a&gt;Underscore (_) &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;li class="Bullet1"&gt;&lt;a name="pgfId-16484"&gt;&lt;/a&gt;Hyphen (-) &lt;/li&gt;&lt;p class="Linebreak"&gt; &lt;/p&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p class="Paragraph"&gt;&lt;a name="pgfId-16485"&gt;&lt;/a&gt;The &lt;i class="Variable"&gt;username&lt;/i&gt;field has a maximum length of 16 characters (eight characters for Sun Enterprise 250 servers), must contain at least one lowercase alphabetic character, and the first character must be alphabetic. If these restrictions are not met, the system issues a warning and the command fails.&lt;img src="http://docs.sun.com/source/816-3314-12/figures/ucm_shell_chap-15.jpg" /&gt;&lt;/p&gt;&lt;h3 class="Head2"&gt;&lt;a name="pgfId-16486"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;userdel &lt;/kbd&gt;&lt;a name="marker-17325"&gt;&lt;/a&gt;&lt;a name="26625"&gt;&lt;/a&gt;&lt;i class="Variable"&gt;username&lt;/i&gt;&lt;/h3&gt; &lt;p class="Paragraph"&gt;&lt;a name="pgfId-16487"&gt;&lt;/a&gt;This command deletes an RSC user account. You must have &lt;kbd class="Filename-Command"&gt;U&lt;/kbd&gt; level user permission to use this command.  &lt;/p&gt;&lt;h3 class="Head2"&gt;&lt;a name="pgfId-16488"&gt;&lt;/a&gt;&lt;kbd class="Filename-Command"&gt;usershow [&lt;/kbd&gt;&lt;a name="marker-17326"&gt;&lt;/a&gt;&lt;a name="27407"&gt;&lt;/a&gt;&lt;i class="Variable"&gt;username&lt;/i&gt;&lt;kbd class="Filename-Command"&gt;] &lt;/kbd&gt;&lt;/h3&gt;&lt;br /&gt;&lt;p class="Paragraph"&gt;&lt;a name="pgfId-996732"&gt;&lt;/a&gt;This command shows RSC user accounts; a maximum of 16 user accounts are available (4 on the Sun Enterprise 250 servers). You must have &lt;kbd class="Filename-Command"&gt;U&lt;/kbd&gt;level user permission to use this command. If no argument is supplied, all accounts are shown. Information displayed includes username, permissions, and whether a password is ass
