<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4656915886004082122</id><updated>2026-07-24T11:27:15.651+05:30</updated><category term="aix"/><category term="AIX Boot Problem"/><category term="AIX NIM basics"/><category term="AIX basics"/><category term="AIX errors"/><category term="AIX performance monitoring"/><category term="AIX ulimit"/><category term="AIX.Linux"/><category term="Aix command"/><category term="BLV"/><category term="BOS AIX"/><category term="Bind to port 22 on :: failed: Address already in use"/><category term="CP error"/><category term="CPU"/><category term="Command line performance monitoring"/><category term="Copy unix"/><category term="FS errors"/><category term="FTP"/><category term="IBM Director"/><category term="Installation Prerequisites"/><category term="LED 557"/><category term="MPIO on VIO"/><category term="Memory"/><category term="NIM"/><category term="OMW"/><category term="Open view."/><category term="Time Zone"/><category term="Ulimit"/><category term="VIO"/><category term="VIOS"/><category term="available state"/><category term="boot process in AIX"/><category term="change time zone in AIX"/><category term="change time zone in linux"/><category term="cloud computing"/><category term="collect server information from hmc"/><category term="create image on tapes.create AIX backup file"/><category term="create the user same as root"/><category term="display devices"/><category term="divice state"/><category term="dynamic infrastructure"/><category term="error reporting AIX"/><category term="errpt"/><category term="fork() failed: Resource temporarily unavailabl"/><category term="ftp as root"/><category term="ftp problems in aix server."/><category term="ftp to AIX"/><category term="hmc"/><category term="image using mksysb"/><category term="iostat"/><category term="know the installed memory in AIX.change the device attributes"/><category term="last boot disk"/><category term="mksysb to tapes."/><category term="netstat"/><category term="perl script"/><category term="perl script to get information from hmc"/><category term="predefined state"/><category term="re create BLV"/><category term="repair BLV"/><category term="restore mksysb"/><category term="sar"/><category term="script to copy directory"/><category term="serial numberfrom hmc."/><category term="server inforamtion from hmc"/><category term="shell script to copy"/><category term="ssh"/><category term="sshd"/><category term="steps"/><category term="unix basics"/><category term="unix command"/><category term="unix error reporting"/><category term="user limits"/><category term="user with same privilages as root"/><category term="virtualization"/><category term="vmstat"/><title type='text'>system administration help</title><subtitle type='html'>UNIX AIX,AIX,Solaris,HP-UX, STorage help.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://systemadmineasy.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://systemadmineasy.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>sreekar</name><uri>http://www.blogger.com/profile/18265178104016369608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>26</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4656915886004082122.post-2739078316367029750</id><published>2013-05-22T05:32:00.001+05:30</published><updated>2013-05-22T05:32:15.214+05:30</updated><title type='text'>IBM Licence Metric Tools agent Instalation Automation for AIX and Linux</title><content type='html'>&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Hello Guys&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Below script installs and verifys the IBM Licence Metric Tools on Linux and AIX&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Prequsits for this script&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;1) Password less authentication / Password authentication for the destination server where you want to install the Agent&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;2) yum repo configured for Linux clients&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;Hear is the script&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;#!/bin/ksh&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;#&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;# This script was designed to install Tivoli agent&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;#&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;# Written Sreekar Peddi 5/6/13&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;Filepath=&quot;/local/home/speddi02&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;FileName=&quot;ILMT-TAD4D-agent-7.5.0-shell-all.tar.gz&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;Installcmd=&quot;ksh&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;datef=`date &#39;+%d-%m&#39;`&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;datefile=&quot;ILMT$datef&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;if [ &quot;$1&quot; == &quot;&quot; ]; then&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;echo &quot; Please provide the File contains list of servers \n&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;exit&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;fi&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;lppcmd=&quot;lslpp -L ILMT-TAD4D-agent &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;grep ILMT-TAD4D-agent&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;agentbin=&quot;ILMT-TAD4D-agent-7.5-aix-ppc.bin&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;serverName=&quot;$1&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;# Server Name Check&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;if [ $serverName = &quot; &quot; ] ; then&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;printf &quot; Please Provide the server name \n&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;exit&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;fi&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;cmd=&quot;ssh -qn $serverName&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;OS=$( $cmd &quot;uname&quot; )&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;if [ &quot;$OS&quot; == &quot;AIX&quot; ] ; then&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;lppcmd=&quot;lslpp -L ILMT-TAD4D-agent &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;grep ILMT-TAD4D-agent&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;agentbin=&quot;ILMT-TAD4D-agent-7.5-aix-ppc.bin&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;fi&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;if [ &quot;$OS&quot; == &quot;Linux&quot; ] ; then&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;#Need to check arch if it is linux&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;arc=$($cmd &quot;/usr/bin/lscpu &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;egrep &#39;Architecture&#39;&quot; )&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;arc1=$(echo $arc &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;awk &#39;{print $2}&#39; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;cut -d&#39;_&#39; -f1)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;#echo &quot;Archi $arc1&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;agentbin=&quot;ILMT-TAD4D-agent-7.5-linux-$arc1.bin&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;lppcmd=&quot;rpm -qa &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;grep -i ilmt&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;fi&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;# check if the ITLM agent is already installed on the server&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;checkAgent()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;lppres=$($cmd $lppcmd 2&amp;gt;&amp;amp;1)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;if [ &quot;$OS&quot; == &quot;AIX&quot; ] ; then&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;tst=$(echo $lppres &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;egrep &#39;not installed&#39; )&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;if [ &quot;$tst&quot; == &quot;&quot; ] ; then&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;#echo &quot; The file set is Installed on the server $serverName &quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;echo &quot;yes&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;#echo &quot; The file set is Not installed&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;echo &quot;not&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;fi&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;tst=$(echo $lppres)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;if [ &quot;$tst&quot; == &quot;&quot; ] ; then&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;#echo &quot; The file set is Installed on the server $serverName &quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;echo &quot;not&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;#echo &quot; The file set is Not installed&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;echo &quot;yes&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;fi&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;fi&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;agent=$(checkAgent)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;#echo &quot; Test Result : $agent&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;if [ &quot;$agent&quot; == &quot;yes&quot; ] ; then&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;echo &quot; The Agent is installed on the server $serverName&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;echo &quot; The file set is not installed $serverName&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;echo &quot; Now I am coping the File required to the $serverName to install the agent ........... &quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;echo &quot; Please wait ..&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;ssh -qn $serverName &quot;mkdir /tmp/$datefile&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;scp $Filepath/$FileName $serverName:/tmp/$datefile &amp;gt; /dev/null 2&amp;gt;$1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;if [ $? -eq 0 ] ; then&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;echo &quot; File copied to $serverName now I am Installing.......&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;echo &quot; Extracting the tar files .......&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;ssh -qn $serverName &quot;cd /tmp/$datefile;gunzip &amp;lt; /tmp/$datefile/$FileName&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;tar xvf - &quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;if [ $? -eq 0 ] ; then&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;echo &quot; Files Exttracted ......&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;echo &quot; Installing Agent ......&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;ssh -qn $serverName &quot;ksh /tmp/$datefile/$agentbin -install&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;if [ $? -eq 0 ] ; then&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;echo &quot; Verifing agent Instalation please Wait......&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;agve=$(checkAgent)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;#echo &quot; agve val : $agve&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;if [ &quot;$agve&quot; == &quot;yes&quot; ] ; then&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;echo &quot; The agent is Installed successfully...&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;echo &quot; The agent is not isntalled , please login server $serverName and verify&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;fi&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;echo &quot; The agent is not isntalled , please login server $serverName and verify&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;fi&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;echo &quot; Files NOT Extracted there is some problem ..&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;fi&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;echo &quot; There is some problem in coping the file, exiting.....&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;exit&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;fi&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;&quot;&gt;fi&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
</content><link rel='replies' type='application/atom+xml' href='http://systemadmineasy.blogspot.com/feeds/2739078316367029750/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://systemadmineasy.blogspot.com/2013/05/ibm-licence-metric-tools-agent.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/2739078316367029750'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/2739078316367029750'/><link rel='alternate' type='text/html' href='http://systemadmineasy.blogspot.com/2013/05/ibm-licence-metric-tools-agent.html' title='IBM Licence Metric Tools agent Instalation Automation for AIX and Linux'/><author><name>sreekar</name><uri>http://www.blogger.com/profile/18265178104016369608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4656915886004082122.post-3019793117247352720</id><published>2011-07-05T10:12:00.001+05:30</published><updated>2011-07-05T10:12:59.335+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AIX errors"/><category scheme="http://www.blogger.com/atom/ns#" term="error reporting AIX"/><category scheme="http://www.blogger.com/atom/ns#" term="errpt"/><category scheme="http://www.blogger.com/atom/ns#" term="FS errors"/><category scheme="http://www.blogger.com/atom/ns#" term="OMW"/><category scheme="http://www.blogger.com/atom/ns#" term="Open view."/><category scheme="http://www.blogger.com/atom/ns#" term="unix error reporting"/><title type='text'>AIX error reporting</title><content type='html'>This article will focus on one of those tools: the error logging facility. I&#39;ll show you how the AIX error logging facility works&lt;br /&gt;
The Error Logging Subsystem&lt;br /&gt;
On most UNIX systems, information and errors from system events and processes are managed by the syslog daemon (syslogd); depending on settings in the configuration file /etc/syslog.conf, messages are passed from the operating system, daemons, and applications to the console, to log files, or to nowhere at all. AIX includes the syslog daemon, and it is used in the same way that other UNIX-based operating systems use it. In addition to syslog, though, AIX also contains another facility for the management of hardware, operating system, and application messages and errors. This facility, while simple in its operation, provides unique and valuable insight into the health and happiness of an RS/6000 system. &lt;br /&gt;
The AIX error logging facility components are part of the bos.rte and the bos.sysmgt.serv_aid packages, both of which are automatically placed on the system as part of the base operating system installation. Some of these components are shown in Table 1. &lt;br /&gt;
1)&amp;nbsp; errorsave , errlast kernel services&lt;br /&gt;
errorlog subroutine&amp;nbsp;&amp;nbsp; -&amp;nbsp; Kernel and application interface for passing error information to the /dev/error special file&lt;br /&gt;
2) /dev/error&amp;nbsp; - &amp;nbsp; Special dive file that receive error messages from kernel and application interfaces &lt;br /&gt;
3) /usr/lib/errdemon&amp;nbsp; - &amp;nbsp; Demon that starts at system initialization and monitors the /dev/error and controls error logging process.&lt;br /&gt;
4) /var/adm/ras/errlog&amp;nbsp; - &amp;nbsp; The default error log file&lt;br /&gt;
5) /usr/bin/errpt &amp;nbsp; -&amp;nbsp; Command used to generate error report from error log&lt;br /&gt;
6) /var/adm/ras/errtmplt&amp;nbsp; -&amp;nbsp; File contains error template repository &lt;br /&gt;
7) /usr/bin/errclear -&amp;nbsp; Command used to clear the errors from error log&lt;br /&gt;
&lt;br /&gt;
Unlike the syslog daemon, which performs no logging at all in its default configuration as shipped, the error logging facility requires no configuration before it can provide useful information about the system. The errdemon is started during system initialization and continuously monitors the special file /dev/error for new entries sent by either the kernel or by applications. The label of each new entry is checked against the contents of the Error Record Template Repository, and if a match is found, additional information about the system environment or hardware status is added, before the entry is posted to the error log. &lt;br /&gt;
The actual file in which error entries are stored is configurable; the default is /var/adm/ras/errlog. That file is in a binary format and so should never be truncated or zeroed out manually. The errlog file is a circular log, storing as many entries as can fit within its defined size. A memory buffer is set by the errdemon process, and newly arrived entries are put into the buffer before they are written to the log to minimize the possibility of a lost entry. The name and size of the error log file and the size of the memory buffer may be viewed with the errdemon command: &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [aixhost:root:/] # /usr/lib/errdemon -l &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error Log Attributes &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -------------------------------------------- &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Log 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; /var/adm/ras/errlog &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Log Size&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1048576 bytes &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Memory Buffer Size&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8192 bytes&lt;br /&gt;
&lt;br /&gt;
The parameters displayed may be changed by running the errdemon command with other flags, documented in the errdemon man page. The default sizes and values have always been sufficient on our systems, so I&#39;ve never had reason to change them. &lt;br /&gt;
Due to use of a circular log file, it is not necessary (or even possible) to rotate the error log. Without intervention, errors will remain in the log indefinitely, or until the log fills up with new entries. As shipped, however, the crontab for the root user contains two entries that are executed daily, removing hardware errors that are older than 90 days, and all other errors that are older than 30 days. &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 11&amp;nbsp; *&amp;nbsp; *&amp;nbsp; * /usr/bin/errclear -d S,O 30&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 12&amp;nbsp; *&amp;nbsp; *&amp;nbsp; * /usr/bin/errclear -d H 90&lt;br /&gt;
These entries are commented out on my systems, as I prefer that older errors are removed &quot;naturally&quot;, when they are replaced by newer entries. &lt;br /&gt;
Viewing Errors&lt;br /&gt;
Although a record of system errors is a good thing (as most sys admins would agree), logs are useless without a way to read them. Because the error log is stored in binary format, it can&#39;t be viewed as logs from syslog and other applications are. Fortunately, AIX provides the errpt command for reading the log. &lt;br /&gt;
The errpt command supports a number of optional flags and arguments, each designed to narrow the output to the desired amount. The man page for the errpt command provides detailed usage; Table 2 provides a short summary of the most useful arguments. (Note that all date/time specifications used with the errpt command are in the format of mmddHHMMyy, meaning &quot;month&quot;, &quot;day&quot;, &quot;hour&quot;, &quot;minute&quot;, &quot;year&quot;; seconds are not recorded in the error log, and are not specified with any command.) &lt;br /&gt;
&lt;b&gt;-a&amp;nbsp;&amp;nbsp;&amp;nbsp; Generates a detailed report of entries in the error log&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp;-d ERRORCLASS&amp;nbsp;&amp;nbsp;&amp;nbsp; To specify the calass of the error ,H – Hardware, S – Software, O– operator notice , U – undetermined &lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp;-e TimeStamp&amp;nbsp;&amp;nbsp;&amp;nbsp; To specify the time only before which the error are displayed &lt;/b&gt;&lt;br /&gt;
&lt;b&gt;-s Timestamp&amp;nbsp;&amp;nbsp;&amp;nbsp; To specify the time only after which the error are displayed&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;-j IDENTIFIER&amp;nbsp;&amp;nbsp;&amp;nbsp; To specify only entries with the identifiers &lt;/b&gt;&lt;br /&gt;
&lt;b&gt;-k IDENTIFIER&amp;nbsp;&amp;nbsp;&amp;nbsp; TO specify the exclude identifier list&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;-c&amp;nbsp;&amp;nbsp;&amp;nbsp; View error log concurrently&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;-t &amp;nbsp;&amp;nbsp;&amp;nbsp; Generate a report from the error template repository.&lt;/b&gt; &lt;br /&gt;
&lt;br /&gt;
Each entry in the AIX error log can be classified in a number of ways; the actual values are determined by the entry in the Error Record Template Repository that corresponds with the entry label as passed to the errdemon from the operating system or an application process. This classification system provides a more fine-grained method of prioritizing the severity of entries than does the syslog method of using a facility and priority code. Output from the errpt command may be confined to the types of entries desired by using a combination of the flags in Table 2. &lt;br /&gt;
&lt;br /&gt;
Dissecting an Error Log Entry&lt;br /&gt;
Entries in the error log are formatted in a standard layout, defined by their corresponding template. While different types of errors will provide different information, all error log entries follow a basic format. &lt;br /&gt;
&lt;br /&gt;
Here are several examples of error log entry summaries: &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IDENTIFIER TIMESTAMP&amp;nbsp; T C RESOURCE_NAME&amp;nbsp; DESCRIPTION&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D1A1AE6F&amp;nbsp;&amp;nbsp; 0223070601 I H rmt3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TAPE SIM/MIM RECORD&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5DFED6F1&amp;nbsp;&amp;nbsp; 0220054301 I O SYSPFS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UNABLE TO ALLOCATE SPACE&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IN FILE SYSTEM&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1581762B&amp;nbsp;&amp;nbsp; 0219162801 T H hdisk98&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DISK OPERATION ERROR&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
And here is the full entry of the second error summary above: &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LABEL:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; JFS_FS_FRAGMENTED&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IDENTIFIER:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5DFED6F1&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date/Time:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Tue Feb 20 05:43:35&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sequence Number:&amp;nbsp; 146643&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Machine Id:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00018294A400&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Node Id:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rescue&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Class:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; O&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Type:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INFO&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Resource Name:&amp;nbsp;&amp;nbsp;&amp;nbsp; SYSPFS&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Description&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UNABLE TO ALLOCATE SPACE IN FILE SYSTEM&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Probable Causes&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILE SYSTEM FREE SPACE FRAGMENTED&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Recommended Actions&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CONSOLIDATE FREE SPACE USING DEFRAGFS UTILITY&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Detail Data&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MAJOR/MINOR DEVICE NUMBER&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 000A 0006&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILE SYSTEM DEVICE AND MOUNT POINT&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /dev/hd9var, /var&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
Monitoring with errreporter&lt;br /&gt;
Most, if not all systems administrators have had to deal with an &quot;overload&quot; of information. Multiple log files and process outputs must be monitored constantly for signs of trouble or required intervention. This problem is compounded when the administrator is responsible for a number of systems. Various solutions exist, including those built into the logging application (i.e., the use of a loghost for syslog messages), and free third-party solutions to monitor log files and send alerts when something interesting appears. One such tool that we rely on is &quot;swatch&quot;, developed and maintained by Todd Atkins. Swatch excels at monitoring log files for lines that match specific regular expressions, and taking action for each matched entry, such as sending an email or running a command. &lt;br /&gt;
For all of the power of swatch, though, I was unable to set up the configuration to perform a specific task: monitoring entries in the AIX error log, ignoring certain specified identifiers, and emailing the full version of the entry to a specified address, with an informative subject line. So, I wrote my own simple program that performs the task I desired. errreporter (Listing 1) is a Perl script runs the errpt command in concurrent mode, checks new entries against a list of identifiers to be ignored, crafts a subject line based upon several fields in the entry, and emails the entire entry to a specified address. &lt;br /&gt;
errreporter can be run from the command line, though I have chosen to have it run automatically at system startup, with the following entry in /etc/inittab (all on a single line, but broken here, for convenience): &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; errrptr:2:respawn:/usr/sec/bin/errreporter -f /usr/sec/etc/errreporter.conf/dev/console 2&amp;amp;1&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
Of course, if you choose to use this script, be sure to set the proper locations in your inittab entry. The system must have Perl installed; Perl is included with AIX as of version 4.3.3, and is available in source and compiled forms from numerous Web sites. It relies only on modules that are included with the base Perl distribution (see Listing 2 for errreporter.conf file). &lt;br /&gt;
Although this script perfectly suits my current needs, there are many areas in which it could be expanded upon or improved. For instance, it may be useful to have entries mailed to different addresses, based upon the entry&#39;s identifier. Another useful feature would be to incorporate &quot;loghost&quot;-like functionality, so that a program running on a single server can receive error log entries sent by other systems, communicating via sockets à la the syslog &quot;@loghost&quot; method. &lt;br /&gt;
Summary&lt;br /&gt;
The AIX Error Logging Facility can provide insight into the workings of your system that are not available on other UNIX platforms. I find it to be just one of the many advantages of AIX in a production environment, and I hope that I have helped to explain this simple yet powerful tool. &lt;br /&gt;
In this article, I have touched on some of the more commonly used aspects of the Error Logging Facility in AIX. There are numerous other features and capabilities of this subsystem, including the use of the &quot;diag&quot; command for error log analysis and problem determination, the addition of custom error templates, the redirection of error log entries to and from the syslog daemon, and the use of error notification routines in user-developed code to provide notice and error logging to this subsystem. For more information on those topics, and more detail on the items discussed above, please see the documents listed in the References section below.</content><link rel='replies' type='application/atom+xml' href='http://systemadmineasy.blogspot.com/feeds/3019793117247352720/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://systemadmineasy.blogspot.com/2011/07/aix-error-reporting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/3019793117247352720'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/3019793117247352720'/><link rel='alternate' type='text/html' href='http://systemadmineasy.blogspot.com/2011/07/aix-error-reporting.html' title='AIX error reporting'/><author><name>sreekar</name><uri>http://www.blogger.com/profile/18265178104016369608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4656915886004082122.post-7722927531782073184</id><published>2011-05-31T08:13:00.000+05:30</published><updated>2011-05-31T08:13:42.127+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="boot process in AIX"/><title type='text'>System Boot process in AIX</title><content type='html'>&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt; System Boot process in AIX&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Most users perform a hard disk boot when starting the system for general operations. The system finds all information necessary to the boot process on its disk drive.&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;When the system is started by turning on the power switch (a cold boot) or restarted with the reboot or shutdown commands (a warm boot), a number of events must occur before the system is ready for use. These events can be divided into the following phases:&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/b&gt;&lt;b&gt;•&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;u&gt;ROS kernel init phase&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;u&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;The ROS kernel resides in firmware. &lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Its initialization phase involves the following steps:&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;1.&amp;nbsp;&amp;nbsp; &amp;nbsp;The firmware checks to see if there are any problems with the system board. Control is passed to ROS, which performs a power-on self-test (POST). &lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;2.&amp;nbsp;&amp;nbsp; &amp;nbsp;The ROS initial program load (IPL) checks the user boot list, a list of available boot devices. This boot list can be altered to suit your requirements using the bootlist command. If the user boot list in non-volatile random access memory (NVRAM) is not valid or if a valid boot device is not found, the default boot list is then checked. In either case, the first valid boot device found in the boot list is used for system startup. If a valid user boot list exists in NVRAM, the devices in the list are checked in order. If no user boot list exists, all adapters and devices on the bus are checked. In either case, devices are checked in a continuous loop until a valid boot device is found for system startup. &lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Note: The system maintains a default boot list that is stored in NVRAM for normal mode boot. A separate service mode boot list is also stored in NVRAM, and you should refer to the specific hardware instructions for your model to learn how to access the service mode boot list.&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;3.&amp;nbsp;&amp;nbsp; &amp;nbsp;When a valid boot device is found, the first record or program sector number (PSN) is checked. If it is a valid boot record, it is read into memory and is added to the IPL control block in memory. Included in the key boot record data are the starting location of the boot image on the boot device, the length of the boot image, and instructions on where to load the boot image in memory. &lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;4.&amp;nbsp;&amp;nbsp; &amp;nbsp;The boot image is read sequentially from the boot device into memory starting at the location specified in NVRAM. The disk boot image consists of the kernel, a RAM file system, and base customized device information. &lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;5.&amp;nbsp;&amp;nbsp; &amp;nbsp;Control is passed to the kernel, which begins system initialization. &lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;6.&amp;nbsp;&amp;nbsp; &amp;nbsp;The kernel runs init, which runs phase 1 of the rc.boot script. &lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;When the kernel initialization phase is completed, base device configuration begins. &lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;•&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;u&gt;&lt;b&gt;Base device configuration phase&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;The init process starts the rc.boot script. Phase 1 of the rc.boot script performs the base device configuration. &lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Phase 1 of the rc.boot script includes the following steps:&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;1.&amp;nbsp;&amp;nbsp; &amp;nbsp;The boot script calls the restbase program to build the customized Object Data Manager (ODM) database in the RAM file system from the compressed customized data. &lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;2.&amp;nbsp;&amp;nbsp; &amp;nbsp;The boot script starts the configuration manager, which accesses phase 1 ODM configuration rules to configure the base devices. &lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;3.&amp;nbsp;&amp;nbsp; &amp;nbsp;The configuration manager starts the sys, bus, disk, SCSI, and the Logical Volume Manager (LVM) and rootvg volume group configuration methods. &lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;4.&amp;nbsp;&amp;nbsp; &amp;nbsp;The configuration methods load the device drivers, create special files, and update the customized data in the ODM database. &lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;•&amp;nbsp;&amp;nbsp; &lt;u&gt;&amp;nbsp;Booting the system&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Use these steps to complete the system boot phase. &lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;1.&amp;nbsp;&amp;nbsp; &amp;nbsp;The init process starts phase 2 running of the rc.boot script. Phase 2 of rc.boot includes the following steps: &lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a.&amp;nbsp;&amp;nbsp; &amp;nbsp;Call the ipl_varyon program to vary on the rootvg volume group. &lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b.&amp;nbsp;&amp;nbsp; &amp;nbsp;Mount the hard disk file systems onto their normal mount points. &lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c.&amp;nbsp;&amp;nbsp; &amp;nbsp;Run the swapon program to start paging. &lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; d.&amp;nbsp;&amp;nbsp; &amp;nbsp;Copy the customized data from the ODM database in the RAM file system to the&amp;nbsp; ODM database in the hard disk file system. &lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.&amp;nbsp;&amp;nbsp; &amp;nbsp;Exit the rc.boot script. &lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&amp;nbsp;After phase 2 of rc.boot, the boot process switches from the RAM file system to the hard disk root file system. &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://systemadmineasy.blogspot.com/feeds/7722927531782073184/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://systemadmineasy.blogspot.com/2011/05/system-boot-process-in-aix.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/7722927531782073184'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/7722927531782073184'/><link rel='alternate' type='text/html' href='http://systemadmineasy.blogspot.com/2011/05/system-boot-process-in-aix.html' title='System Boot process in AIX'/><author><name>sreekar</name><uri>http://www.blogger.com/profile/18265178104016369608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4656915886004082122.post-5628549761219118282</id><published>2011-05-30T07:18:00.002+05:30</published><updated>2011-05-30T07:20:03.742+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AIX performance monitoring"/><category scheme="http://www.blogger.com/atom/ns#" term="Command line performance monitoring"/><category scheme="http://www.blogger.com/atom/ns#" term="iostat"/><category scheme="http://www.blogger.com/atom/ns#" term="netstat"/><category scheme="http://www.blogger.com/atom/ns#" term="sar"/><category scheme="http://www.blogger.com/atom/ns#" term="vmstat"/><title type='text'>Continuous system-performance monitoring with commands in AIX</title><content type='html'>&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;u&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;&quot;&gt;Continuous system-performance monitoring with commands in AIX &lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The vmstat, iostat, netstat, and sar commands provide the basic foundation upon which you can construct a performance-monitoring mechanism.&lt;br /&gt;
You can write shell scripts to perform data reduction on the command output, warn of performance problems, or record data on the status of a system when a problem is occurring. For example, a shell script can test the CPU idle percentage for zero, a saturated condition, and execute another shell script for when the CPU-saturated condition occurred. The following script records the 15 active processes that consumed the most CPU time other than the processes owned by the user of the script:&lt;br /&gt;
&lt;br /&gt;
# ps -ef | egrep -v &quot;STIME|$LOGNAME&quot; | sort +3 -r | head -n 15&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;•&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;u&gt;Continuous performance monitoring with the vmstat command&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The vmstat command is useful for obtaining an overall picture of CPU, paging, and memory usage.&lt;br /&gt;
The following is a sample report produced by the vmstat command:&lt;br /&gt;
# vmstat 5 2&lt;br /&gt;
kthr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; memory&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; page&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; faults&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
----- ----------- ------------------------ ------------ -----------&lt;br /&gt;
&amp;nbsp;r&amp;nbsp; b&amp;nbsp;&amp;nbsp; avm&amp;nbsp;&amp;nbsp; fre&amp;nbsp; re&amp;nbsp; pi&amp;nbsp; po&amp;nbsp; fr&amp;nbsp;&amp;nbsp; sr&amp;nbsp; cy&amp;nbsp; in&amp;nbsp;&amp;nbsp; sy&amp;nbsp; cs us sy id wa &lt;br /&gt;
&amp;nbsp;1&amp;nbsp; 1 197167 477552&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 7&amp;nbsp;&amp;nbsp; 21&amp;nbsp;&amp;nbsp; 0 106 1114 451&amp;nbsp; 0&amp;nbsp; 0 99&amp;nbsp; 0&lt;br /&gt;
&amp;nbsp;0&amp;nbsp; 0 197178 477541&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0 443 1123 442&amp;nbsp; 0&amp;nbsp; 0 99&amp;nbsp; 0&lt;br /&gt;
Remember that the first report from the vmstat command displays cumulative activity since the last system boot. The second report shows activity for the first 5-second interval. &lt;br /&gt;
&lt;br /&gt;
•&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;u&gt;&lt;b&gt;Continuous performance monitoring with the iostat command&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
The iostat command is useful for determining disk and CPU usage. &lt;br /&gt;
The following is a sample report produced by the iostat command:&lt;br /&gt;
# iostat 5 2&lt;br /&gt;
&lt;br /&gt;
tty:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tout&amp;nbsp;&amp;nbsp; avg-cpu:&amp;nbsp; % user&amp;nbsp;&amp;nbsp;&amp;nbsp; % sys&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; % idle&amp;nbsp;&amp;nbsp;&amp;nbsp; % iowait&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 102.3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 99.3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot; Disk history since boot not available. &quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
tty:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tout&amp;nbsp;&amp;nbsp; avg-cpu:&amp;nbsp; % user&amp;nbsp;&amp;nbsp;&amp;nbsp; % sys&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; % idle&amp;nbsp;&amp;nbsp;&amp;nbsp; % iowait&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 79594.4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6.6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 73.7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 19.2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
Disks:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; % tm_act&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Kbps&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tps&amp;nbsp;&amp;nbsp;&amp;nbsp; Kb_read&amp;nbsp;&amp;nbsp; Kb_wrtn&lt;br /&gt;
hdisk1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;
hdisk0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 78.2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1129.6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 282.4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5648&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;
cd1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;
Remember that the first report from the iostat command shows cumulative activity since the last system boot. The second report shows activity for the first 5-second interval.&lt;br /&gt;
The system maintains a history of disk activity. In the example above, you can see that the history is disabled by the appearance of the following message: &lt;br /&gt;
Disk history since boot not available.&lt;br /&gt;
To disable or enable disk I/O history with smitty, type the following at the command line: &lt;br /&gt;
# smitty chgsys&lt;br /&gt;
&lt;br /&gt;
Continuously maintain DISK I/O history [value]&lt;br /&gt;
and set the value to either false to disable disk I/O history or true to enable disk I/O history. The interval disk I/O statistics are unaffected by this setting.&lt;br /&gt;
&lt;br /&gt;
•&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;u&gt;&lt;b&gt;Continuous performance monitoring with the netstat command&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
The netstat command is useful in determining the number of sent and received packets. &lt;br /&gt;
The netstat command is useful in determining the number of sent and received packets.&lt;br /&gt;
The following is a sample report produced by the netstat command:&lt;br /&gt;
# netstat -I en0 5&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; input&amp;nbsp;&amp;nbsp;&amp;nbsp; (en0)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input&amp;nbsp;&amp;nbsp; (Total)&amp;nbsp;&amp;nbsp;&amp;nbsp; output&lt;br /&gt;
&amp;nbsp;packets&amp;nbsp; errs&amp;nbsp; packets&amp;nbsp; errs colls&amp;nbsp; packets&amp;nbsp; errs&amp;nbsp; packets&amp;nbsp; errs colls &lt;br /&gt;
&amp;nbsp;8305067&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp; 7784711&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 20731867&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 20211853&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 24&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 127&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 28&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 131&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;br /&gt;
CTRL C&lt;br /&gt;
Remember that the first report from the netstat command shows cumulative activity since the last system boot. The second report shows activity for the first 5-second interval. &lt;br /&gt;
&lt;br /&gt;
•&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;u&gt;&lt;b&gt;Continuous performance monitoring with the sar command&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
The sar command is useful in determining CPU usage. &lt;br /&gt;
The sar command is useful in determining CPU usage.&lt;br /&gt;
The following is a sample report produced by the sar command:&lt;br /&gt;
# sar -P ALL 5 2&lt;br /&gt;
&lt;br /&gt;
AIX aixhost 2 5 00040B0F4C00&amp;nbsp;&amp;nbsp;&amp;nbsp; 01/29/04&lt;br /&gt;
&lt;br /&gt;
10:23:15 cpu&amp;nbsp;&amp;nbsp;&amp;nbsp; %usr&amp;nbsp;&amp;nbsp;&amp;nbsp; %sys&amp;nbsp;&amp;nbsp;&amp;nbsp; %wio&amp;nbsp;&amp;nbsp; %idle&lt;br /&gt;
10:23:20&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 99&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 99&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 99&lt;br /&gt;
10:23:25&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 96&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 97&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 98&lt;br /&gt;
&lt;br /&gt;
Average&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 98&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 99&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 99&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 99&lt;br /&gt;
The sar command does not report the cumulative activity since the last system boot</content><link rel='replies' type='application/atom+xml' href='http://systemadmineasy.blogspot.com/feeds/5628549761219118282/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://systemadmineasy.blogspot.com/2011/05/continuous-system-performance.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/5628549761219118282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/5628549761219118282'/><link rel='alternate' type='text/html' href='http://systemadmineasy.blogspot.com/2011/05/continuous-system-performance.html' title='Continuous system-performance monitoring with commands in AIX'/><author><name>sreekar</name><uri>http://www.blogger.com/profile/18265178104016369608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4656915886004082122.post-7466120894824143698</id><published>2011-05-27T05:29:00.000+05:30</published><updated>2011-05-27T05:29:53.341+05:30</updated><title type='text'>Etherchannel configuration on LINUX</title><content type='html'>&lt;style&gt;
&lt;!--
 /* Font Definitions */
 @font-face
 {font-family:&quot;Cambria Math&quot;;
 panose-1:2 4 5 3 5 4 6 3 2 4;
 mso-font-charset:0;
 mso-generic-font-family:roman;
 mso-font-pitch:variable;
 mso-font-signature:-1610611985 1107304683 0 0 159 0;}
@font-face
 {font-family:Calibri;
 panose-1:2 15 5 2 2 2 4 3 2 4;
 mso-font-charset:0;
 mso-generic-font-family:swiss;
 mso-font-pitch:variable;
 mso-font-signature:-1610611985 1073750139 0 0 159 0;}
@font-face
 {font-family:Verdana;
 panose-1:2 11 6 4 3 5 4 4 2 4;
 mso-font-charset:0;
 mso-generic-font-family:swiss;
 mso-font-pitch:variable;
 mso-font-signature:536871559 0 0 0 415 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
 {mso-style-unhide:no;
 mso-style-qformat:yes;
 mso-style-parent:&quot;&quot;;
 margin-top:0in;
 margin-right:0in;
 margin-bottom:10.0pt;
 margin-left:0in;
 line-height:115%;
 mso-pagination:widow-orphan;
 font-size:11.0pt;
 font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
 mso-fareast-font-family:Calibri;
 mso-bidi-font-family:&quot;Times New Roman&quot;;}
p.Style16, li.Style16, div.Style16
 {mso-style-name:Style16;
 mso-style-priority:99;
 mso-style-unhide:no;
 margin-top:5.0pt;
 margin-right:.25in;
 margin-bottom:5.0pt;
 margin-left:.25in;
 mso-pagination:widow-orphan;
 mso-layout-grid-align:none;
 text-autospace:none;
 font-size:12.0pt;
 font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;
 mso-fareast-font-family:Calibri;}
span.Style5
 {mso-style-name:Style5;
 mso-style-priority:99;
 mso-style-unhide:no;
 mso-style-parent:&quot;&quot;;
 font-weight:bold;}
.MsoChpDefault
 {mso-style-type:export-only;
 mso-default-props:yes;
 font-size:10.0pt;
 mso-ansi-font-size:10.0pt;
 mso-bidi-font-size:10.0pt;
 mso-ascii-font-family:Calibri;
 mso-fareast-font-family:Calibri;
 mso-hansi-font-family:Calibri;}
@page Section1
 {size:8.5in 11.0in;
 margin:1.0in 1.0in 1.0in 1.0in;
 mso-header-margin:.5in;
 mso-footer-margin:.5in;
 mso-paper-source:0;}
div.Section1
 {page:Section1;}
--&gt;
&lt;/style&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;u&gt; Creating Ether channel on LINUX&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;Creating an EtherChannel between a Red Hat Enterprise 5 server, and a Cisco Catalyst 3750 Switch. This is actually far simpler then it sounds, and can be completed in about ten minutes. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;We’ll begin with configuring the IEEE 802.3ad Dynamic link aggregation (AKA EtherChannel) on the Red Hat Enterprise Linux server. Begin by logging in via SSH, Telnet or directly on the console itself. I do recommend having access to the console directly, so should anything go wrong and you lose network connectivity you’ll be able to easily change things back. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;Once logged into the server, switch user to &quot;root&quot; if you’re not already logged in as root. Change directory to &quot;/etc&quot; and modify the &quot;modprobe.conf&quot; file using your favorite text editor such as &quot;vi&quot;. I personally like using &quot;nano&quot;. Add the lines in bold from the example &quot;modprobe.conf&quot; below to your file. Then save your changes and return to the bash prompt. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;Sample /etc/modprobe.conf &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;Style16&quot;&gt;alias scsi_hostadapter megaraid_sas&lt;br /&gt;
alias scsi_hostadapter1 usb-storage&lt;br /&gt;
alias eth0 bnx2&lt;br /&gt;
alias eth1 bnx2&lt;br /&gt;
&lt;span class=&quot;Style5&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;alias bond0 bonding&lt;br /&gt;
options bond0 miimon=100 mode=4 lacp_rate=1&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;Next we need to create a network script for the &quot;bond0&quot; interface that we defined above in the &quot;modprobe.conf&quot; file. This will be used to configure the network properties for the virtual adapter. Once again, use your favorite text editor to create a new file called &quot;ifcfg-bond0&quot; in the &quot;/etc/sysconfig/network-scripts&quot; directory. In this file you will define the device name used above&quot;bond0&quot;, IP address, gateway, network mask etc for the virtual adapter. Below is an example. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;Sample /etc/sysconfig/network-scripts/ifcfg-bond0 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;Style16&quot;&gt;DEVICE=bond0&lt;br /&gt;
BOOTPROTO=none&lt;br /&gt;
ONBOOT=yes&lt;br /&gt;
NETWORK=192.168.0.0&lt;br /&gt;
NETMASK=255.255.255.0&lt;br /&gt;
IPADDR=192.168.0.25&lt;br /&gt;
USERCTL=no&lt;br /&gt;
GATEWAY=192.168.0.1&lt;br /&gt;
TYPE=Ethernet&lt;br /&gt;
IPV6INIT=no&lt;br /&gt;
PEERDNS=yes&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;When you’re done configuring the properties of the virtual adapter, save your changes and exit the editor. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;The next step is to modify the network script for each adapter that will be added to the EtherChannel. The adapters that we’ll be using in this server are eth0 and eth1. Please note your interfaces may be different, so check before continuing. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;Start by modifying &quot;ifcfg-&lt;int&gt;&quot; using your text editor, where &lt;int&gt; is the interface name. In this case my file name is &quot;ifcfg-eth0&quot;. Add the proper references to the virtual adapter created above &quot;bond0&quot; and remove any IP information such as IP address, gateway, netmask etc since that information will be handled by the virtual adapter. Below is an example of the &quot;ifcfg-eth0&quot; file. Note the bold items are required for the EtherChannel to function properly. &lt;o:p&gt;&lt;/o:p&gt;&lt;/int&gt;&lt;/int&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;Sample /etc/sysconfig/network-scripts/ifcfg-eth0 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;Style16&quot;&gt;DEVICE=eth0&lt;br /&gt;
BOOTPROTO=none&lt;br /&gt;
HWADDR=00:11:22:33:44:55&lt;br /&gt;
ONBOOT=yes&lt;br /&gt;
&lt;span class=&quot;Style5&quot;&gt;MASTER=bond0&lt;br /&gt;
SLAVE=yes&lt;/span&gt;&lt;br /&gt;
TYPE=Ethernet&lt;br /&gt;
USERCTL=no&lt;br /&gt;
IPV6INIT=no&lt;br /&gt;
PEERDNS=yes&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;Repeat the steps above for each additional interface you add to the Etherchannel. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;Sample /etc/sysconfig/network-scripts/ifcfg-eth1 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;Style16&quot;&gt;DEVICE=eth1&lt;br /&gt;
HWADDR=66:77:88:99:aa:bb&lt;br /&gt;
ONBOOT=yes&lt;br /&gt;
&lt;span class=&quot;Style5&quot;&gt;MASTER=bond0&lt;br /&gt;
SLAVE=yes&lt;/span&gt;&lt;br /&gt;
BOOTPROTO=none&lt;br /&gt;
TYPE=Ethernet&lt;br /&gt;
USERCTL=no&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;Now that each physical adapter has been associated to the virtual adapter,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://systemadmineasy.blogspot.com/feeds/7466120894824143698/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://systemadmineasy.blogspot.com/2011/05/etherchannel-configuration-on-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/7466120894824143698'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/7466120894824143698'/><link rel='alternate' type='text/html' href='http://systemadmineasy.blogspot.com/2011/05/etherchannel-configuration-on-linux.html' title='Etherchannel configuration on LINUX'/><author><name>sreekar</name><uri>http://www.blogger.com/profile/18265178104016369608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4656915886004082122.post-1791689940384866656</id><published>2011-02-18T12:11:00.000+05:30</published><updated>2011-02-18T12:11:35.972+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AIX ulimit"/><category scheme="http://www.blogger.com/atom/ns#" term="CP error"/><category scheme="http://www.blogger.com/atom/ns#" term="Ulimit"/><category scheme="http://www.blogger.com/atom/ns#" term="user limits"/><title type='text'>Not able to FTP or copy a file with more than 2 GB</title><content type='html'>&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Copy error when trying to copy a file from your pc to server where file size is more than 2GB.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;b&gt; Error :&lt;/b&gt; cp: Requested a write of 4096 bytes, but wrote only 3584&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;How to to get out of this error&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;b&gt;Scenario :&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;I was trying to copy 2.5 GB file from my local system to AIX system through WinScp but after copying 1 GB file coping of file get stopped.&lt;br /&gt;
&lt;br /&gt;
Then I tried with FTP still the same issue.&lt;br /&gt;
&lt;br /&gt;
Then I tried to copy that file from one Linux machine through NFS (after successfully uploaded to LINUX system) to AIX still the same issue.&lt;br /&gt;
&lt;br /&gt;
Getting error : &quot; cp: Requested a write of 4096 bytes, but wrote only 3584. &quot; &lt;br /&gt;
&lt;br /&gt;
Then I remember the USer options .&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;ULIMIT i&lt;/b&gt;s the one which we need to check &lt;br /&gt;
&lt;br /&gt;
so I changed the ulimit to unlimited for temporary and able to copy the file.&lt;br /&gt;
&lt;br /&gt;
#ulimit -f unlimited&lt;br /&gt;
#ulimit -d unlimited &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;So How to use Ulimit &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
User limits - limit the use of system-wide resources.&lt;br /&gt;
&lt;br /&gt;
Syntax&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ulimit [-acdfHlmnpsStuv] [limit]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Options&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; -S&amp;nbsp;&amp;nbsp; Change and report the soft limit associated with a resource. &lt;br /&gt;
&amp;nbsp;&amp;nbsp; -H&amp;nbsp;&amp;nbsp; Change and report the hard limit associated with a resource. &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; -a&amp;nbsp;&amp;nbsp; All current limits are reported. &lt;br /&gt;
&amp;nbsp;&amp;nbsp; -c&amp;nbsp;&amp;nbsp; The maximum size of core files created. &lt;br /&gt;
&amp;nbsp;&amp;nbsp; -d&amp;nbsp;&amp;nbsp; The maximum size of a process&#39;s data segment. &lt;br /&gt;
&amp;nbsp;&amp;nbsp; -f&amp;nbsp;&amp;nbsp; The maximum size of files created by the shell(default option) &lt;br /&gt;
&amp;nbsp;&amp;nbsp; -l&amp;nbsp;&amp;nbsp; The maximum size that may be locked into memory. &lt;br /&gt;
&amp;nbsp;&amp;nbsp; -m&amp;nbsp;&amp;nbsp; The maximum resident set size. &lt;br /&gt;
&amp;nbsp;&amp;nbsp; -n&amp;nbsp;&amp;nbsp; The maximum number of open file descriptors. &lt;br /&gt;
&amp;nbsp;&amp;nbsp; -p&amp;nbsp;&amp;nbsp; The pipe buffer size. &lt;br /&gt;
&amp;nbsp;&amp;nbsp; -s&amp;nbsp;&amp;nbsp; The maximum stack size. &lt;br /&gt;
&amp;nbsp;&amp;nbsp; -t&amp;nbsp;&amp;nbsp; The maximum amount of cpu time in seconds. &lt;br /&gt;
&amp;nbsp;&amp;nbsp; -u&amp;nbsp;&amp;nbsp; The maximum number of processes available to a single user. &lt;br /&gt;
&amp;nbsp;&amp;nbsp; -v&amp;nbsp;&amp;nbsp; The maximum amount of virtual memory available to the process. &lt;br /&gt;
&lt;br /&gt;
ulimit provides control over the resources available to the shell and to processes started by it, on systems that allow such control.&lt;br /&gt;
&lt;br /&gt;
The soft limit is the value that the kernel enforces for the corresponding resource. The hard limit acts as a ceiling for the soft limit.&lt;br /&gt;
&lt;br /&gt;
An unprivileged process may only set its soft limit to a value in the range from 0 up to the hard limit, and (irreversibly) lower its hard limit. A privileged process may make arbitrary changes to either limit value.&lt;br /&gt;
&lt;br /&gt;
If &lt;i&gt;limit&lt;/i&gt; is given, it is the new value of the specified    resource. Otherwise, the current value of the soft limit for the specified resource    is printed, unless the `-H&#39; option is supplied. &lt;br /&gt;
When setting new limits, if neither `-H&#39; nor `-S&#39; is supplied, both the hard  and soft limits are set. &lt;br /&gt;
Restricting per user processes ( -u) can be useful for limiting the potential effects of a &lt;a href=&quot;http://en.wikipedia.org/wiki/Fork_bomb&quot;&gt;fork bomb&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Values are in 1024-byte increments, except for `-t&#39;, which is in seconds, `-p&#39;,    which is in units of 512-byte blocks, and `-n&#39; and `-u&#39;, which are unscaled    values. &lt;br /&gt;
The return status is zero unless an invalid option is supplied,    a non-numeric argument other than &lt;span class=&quot;code&quot;&gt;unlimited&lt;/span&gt; is supplied as a &lt;i&gt;limit&lt;/i&gt;, or    an error occurs while setting a new limit.&lt;br /&gt;
ulimit is a bash built in command.</content><link rel='replies' type='application/atom+xml' href='http://systemadmineasy.blogspot.com/feeds/1791689940384866656/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://systemadmineasy.blogspot.com/2011/02/not-able-to-ftp-or-copy-file-with-more.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/1791689940384866656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/1791689940384866656'/><link rel='alternate' type='text/html' href='http://systemadmineasy.blogspot.com/2011/02/not-able-to-ftp-or-copy-file-with-more.html' title='Not able to FTP or copy a file with more than 2 GB'/><author><name>sreekar</name><uri>http://www.blogger.com/profile/18265178104016369608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4656915886004082122.post-4280192482138905247</id><published>2011-01-20T16:02:00.000+05:30</published><updated>2011-01-20T16:02:18.253+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="aix"/><category scheme="http://www.blogger.com/atom/ns#" term="MPIO on VIO"/><category scheme="http://www.blogger.com/atom/ns#" term="VIO"/><category scheme="http://www.blogger.com/atom/ns#" term="VIOS"/><title type='text'>Configuring MPIO for Virtual AIX client</title><content type='html'>&lt;b&gt;Configuring MPIO for the virtual AIX client&lt;/b&gt;&lt;br /&gt;
This document describes the procedure to set up Multi-Path I/O on the AIX clients of&lt;br /&gt;
the virtual I/O server.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Procedure:&lt;/b&gt;&lt;br /&gt;
This procedure assumes that the disks are already allocated to both the VIO servers&lt;br /&gt;
involved in this configuration.&lt;br /&gt;
&lt;br /&gt;
· &lt;b&gt;Creating Virtual Server and Client SCSI Adapters&lt;/b&gt;&lt;br /&gt;
First of all, via HMC create SCSI server adapters on the two VIO servers and&lt;br /&gt;
then two virtual client SCSI adapters on the newly created client partition, each&lt;br /&gt;
mapping to one of the VIO servers´ server SCSI adapter.&lt;br /&gt;
An example:&lt;br /&gt;
Here is an example of configuring and exporting an ESS LUN from both the&lt;br /&gt;
VIO servers to a client partition:&lt;br /&gt;
&lt;br /&gt;
·&lt;b&gt; Selecting the disk to export&lt;/b&gt;&lt;br /&gt;
You can check for the ESS LUN that you are going to use for MPIO by&lt;br /&gt;
running the following command on the VIO servers.&lt;br /&gt;
On the first VIO server:&lt;br /&gt;
$ lsdev -type disk&lt;br /&gt;
name status description&lt;br /&gt;
..&lt;br /&gt;
hdisk3 Available MPIO Other FC SCSI Disk Drive&lt;br /&gt;
hdisk4 Available MPIO Other FC SCSI Disk Drive&lt;br /&gt;
hdisk5 Available MPIO Other FC SCSI Disk Drive&lt;br /&gt;
..&lt;br /&gt;
$lspv&lt;br /&gt;
..&lt;br /&gt;
hdisk3 00c3e35c99c0a332 None&lt;br /&gt;
hdisk4 00c3e35c99c0a51c None&lt;br /&gt;
hdisk5 00c3e35ca560f919 None&lt;br /&gt;
..&lt;br /&gt;
In this case hdisk5 is the ESS disk that we are going to use for MPIO.&lt;br /&gt;
Then run the following command to list the attributes of the disk that you choose for MPIO:&lt;br /&gt;
$lsdev -dev hdisk5 -attr&lt;br /&gt;
..&lt;br /&gt;
algorithm fail_over Algorithm True&lt;br /&gt;
..&lt;br /&gt;
lun_id 0x5463000000000000 Logical Unit Number ID False&lt;br /&gt;
..&lt;br /&gt;
..&lt;br /&gt;
pvid 00c3e35ca560f9190000000000000000 Physical volume identifier&lt;br /&gt;
False&lt;br /&gt;
..&lt;br /&gt;
reserve_policy single_path Reserve Policy True&lt;br /&gt;
Note down the lun_id, pvid and the reserve_policy of the hdisk4.&lt;br /&gt;
&lt;br /&gt;
· &lt;b&gt;Command to change reservation policy on the disk&lt;/b&gt;&lt;br /&gt;
You see that the reserve policy is set to single_path.&lt;br /&gt;
Change this to no_reserve by running the following command:&lt;br /&gt;
$ chdev -dev hdisk5 -attr reserve_policy=no_reserve&lt;br /&gt;
hdisk4 changed&lt;br /&gt;
On the second VIO server:&lt;br /&gt;
On the second VIO server too, find the hdisk# that has the same pvid, it could&lt;br /&gt;
be a different one than the one on the first VIO server, but the pvid should the&lt;br /&gt;
same.&lt;br /&gt;
$ lspv&lt;br /&gt;
..&lt;br /&gt;
hdisk7 00c3e35ca560f919 None&lt;br /&gt;
..&lt;br /&gt;
The pvid of the hdisk7 is the same as the hdisk5 on the first VIO server.&lt;br /&gt;
$ lsdev -type disk&lt;br /&gt;
name status description&lt;br /&gt;
..&lt;br /&gt;
hdisk7 Available MPIO Other FC SCSI Disk Drive&lt;br /&gt;
..&lt;br /&gt;
$lsdev -dev hdisk7 -attr&lt;br /&gt;
..&lt;br /&gt;
algorithm fail_over Algorithm True&lt;br /&gt;
..&lt;br /&gt;
lun_id 0x5463000000000000 Logical Unit Number ID False&lt;br /&gt;
..&lt;br /&gt;
pvid 00c3e35ca560f9190000000000000000 Physical volume identifier&lt;br /&gt;
False&lt;br /&gt;
..&lt;br /&gt;
reserve_policy single_path Reserve Policy True&lt;br /&gt;
You will note that the lun_id, pvid of the hdisk7 on this server are the same as&lt;br /&gt;
the hdisk4 on the first VIO server.&lt;br /&gt;
$ chdev -dev hdisk7 -attr reserve_policy=no_reserve&lt;br /&gt;
hdisk6 changed&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
· &lt;b&gt;Creating the Virtual Target Device&lt;/b&gt;&lt;br /&gt;
Now on both the VIO servers run the mkvdev command using the appropriate&lt;br /&gt;
hdisk#s respectively.&lt;br /&gt;
$ mkvdev -vdev hdisk# -vadapter vhost# -dev vhdisk#&lt;br /&gt;
The above command might have failed when run on the second VIO server, if&lt;br /&gt;
the reserve_policy was not set to no_reserve on the hdisk.&lt;br /&gt;
After the above command runs succesfully on both the servers, we have&lt;br /&gt;
same LUN exported to the client with mkvdev command on both servers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
· &lt;b&gt;Check for correct mapping between the server and the client&lt;/b&gt;&lt;br /&gt;
Double check the client via the HMC that the correct slot numbers match the&lt;br /&gt;
respective slot numbers on the servers.&lt;br /&gt;
In the example, the slot number 4 for the client virtual scsi adapter maps to&lt;br /&gt;
slot number 5 of the VIO server VIO1_nimtb158.&lt;br /&gt;
And the slot number 5 for the client virtual SCSI adapter maps to the slot&lt;br /&gt;
number 5 of the VIO server VIO1_nimtb159.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
· &lt;b&gt;On the client partition&lt;/b&gt;&lt;br /&gt;
Now you are ready to install the client. You can install the client using any of&lt;br /&gt;
the following methods described in the red book on virtualization at&lt;br /&gt;
http://www.redbooks.ibm.com/redpieces/abstracts/sg247940.html:&lt;br /&gt;
1. NIM installation&lt;br /&gt;
2. Alternate disk installation&lt;br /&gt;
3. using the CD media&lt;br /&gt;
Once you install the client, run the following commands to check for MPIO:&lt;br /&gt;
# lsdev -Cc disk&lt;br /&gt;
hdisk0 Available Virtual SCSI Disk Drive&lt;br /&gt;
# lspv&lt;br /&gt;
hdisk0 00c3e35ca560f919 rootvg active&lt;br /&gt;
# lspath&lt;br /&gt;
Enabled hdisk0 vscsi0&lt;br /&gt;
Enabled hdisk0 vscsi1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
·&lt;b&gt; Dual Path&lt;/b&gt;&lt;br /&gt;
When one of the VIO servers goes down, the path coming from that server&lt;br /&gt;
shows as failed with the lspath command.&lt;br /&gt;
# lspath&lt;br /&gt;
Failed hdisk0 vscsi0&lt;br /&gt;
Enabled hdisk0 vscsi1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
· &lt;b&gt;Path Failure Detection&lt;/b&gt;&lt;br /&gt;
The path shows up in the &quot;failed&quot; mode, even after the VIO server is up&lt;br /&gt;
again. We need to either change the status with the “chpath” command to&lt;br /&gt;
“enabled” state or set the the attributes “hcheck_interval” and “hcheck_mode” to&lt;br /&gt;
“60” and “nonactive” respectively for a path failure to be detected automatically.&lt;br /&gt;
&lt;br /&gt;
· &lt;b&gt;Setting the related attributes&lt;/b&gt;&lt;br /&gt;
Here is the command to be run as padmin for setting the above attributes:&lt;br /&gt;
$ chdev -l hdisk# -a hcheck_interval=60 -P&lt;br /&gt;
The VIO AIX client needs to be rebooted for hcheck_interval attribute to take&lt;br /&gt;
effect.&lt;br /&gt;
&lt;br /&gt;
·&lt;b&gt; EMC for Storage&lt;/b&gt;&lt;br /&gt;
In case of using EMC device as the storage device attached to VIO server,&lt;br /&gt;
then make sure of the following:&lt;br /&gt;
1. Powerpath version 4.4. is installed on the VIO servers.&lt;br /&gt;
2. Create hdiskpower devices which are shared between both the VIO&lt;br /&gt;
servers.&lt;br /&gt;
&lt;br /&gt;
· &lt;b&gt;Additional Information&lt;/b&gt;&lt;br /&gt;
Another thing to take note of is that you cannot have the same name for&lt;br /&gt;
Virtual SCSI Server Adapter and Virtual Target Device. The mkvdev command&lt;br /&gt;
will error out if the same name for both is used.&lt;br /&gt;
$ mkvdev -vdev hdiskpower0 -vadapter vhost0 -dev hdiskpower0&lt;br /&gt;
Method error (/usr/lib/methods/define -g -d):&lt;br /&gt;
0514-013 Logical name is required.&lt;br /&gt;
The reserve attribute is named differently for an EMC device than the attribute&lt;br /&gt;
for ESS or FasTt storage device. It is “reserve_lock”.&lt;br /&gt;
Run the following command as padmin for checking the value of the&lt;br /&gt;
attribute.&lt;br /&gt;
$ lsdev -dev hdiskpower# -attr reserve_lock&lt;br /&gt;
Run the following command as padmin for changing the value of the attribute.&lt;br /&gt;
$ chdev -dev hdiskpower# -attr reserve_lock=no&lt;br /&gt;
&lt;br /&gt;
·&lt;b&gt; Commands to change the Fibre Channel Adapter attributes&lt;/b&gt;&lt;br /&gt;
And also change the following attributes of the fscsi#, fc_err_recov to “fast_fail”&lt;br /&gt;
and dyntrk to “yes”&lt;br /&gt;
$ chdev -dev fscsi# -attr fc_err_recov=fast_fail -attr dyntrk=yes –perm&lt;br /&gt;
The reason for changing the fc_err_recov to “fast_fail” is that if the Fibre&lt;br /&gt;
Channel adapter driver detects a link event such as a lost link between a storage&lt;br /&gt;
device and a switch, then any new I/O or future retries of the failed I/Os will be&lt;br /&gt;
failed immediately by the adapter until the adapter driver detects that the device&lt;br /&gt;
has rejoined the fabric. The default setting for this attribute is &#39;delayed_fail’.&lt;br /&gt;
Setting the dyntrk attribute to “yes” makes AIX tolerate cabling changes in the&lt;br /&gt;
SAN.&lt;br /&gt;
The VIOS needs to be rebooted for fscsi# attributes to take effect.</content><link rel='replies' type='application/atom+xml' href='http://systemadmineasy.blogspot.com/feeds/4280192482138905247/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://systemadmineasy.blogspot.com/2011/01/configuring-mpio-for-virtual-aix-client.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/4280192482138905247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/4280192482138905247'/><link rel='alternate' type='text/html' href='http://systemadmineasy.blogspot.com/2011/01/configuring-mpio-for-virtual-aix-client.html' title='Configuring MPIO for Virtual AIX client'/><author><name>sreekar</name><uri>http://www.blogger.com/profile/18265178104016369608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4656915886004082122.post-494311218117883622</id><published>2010-09-17T14:58:00.000+05:30</published><updated>2010-09-17T14:58:22.658+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="fork() failed: Resource temporarily unavailabl"/><title type='text'>fork() failed: Resource temporarily unavailabl</title><content type='html'>Resource temporarily unavailable&lt;br /&gt;
&lt;br /&gt;
If the installation fails with the following error message on the console:&lt;br /&gt;
&lt;br /&gt;
fork() failed: Resource temporarily unavailable&lt;br /&gt;
&lt;br /&gt;
The value of maximum number of processes allowed per user may not be large enough. This kernel attribute is a tunable and can be changed on any node of the cluster.&lt;br /&gt;
&lt;br /&gt;
To determine the current value of &quot;Maximum number of PROCESSES allowed per user&quot;, enter:&lt;br /&gt;
&lt;br /&gt;
# lsattr -H -E -l sys0 -a maxuproc&lt;br /&gt;
&lt;br /&gt;
To see the default value of this tunable and its valid range of values, enter:&lt;br /&gt;
&lt;br /&gt;
# odmget -q &quot;attribute=maxuproc&quot; PdAt&lt;br /&gt;
&lt;br /&gt;
If necessary, you can change the value of the tunable using the smitty interface:&lt;br /&gt;
&lt;br /&gt;
# smitty chgsys&lt;br /&gt;
&lt;br /&gt;
You can also directly change the CuAt class using the following command:&lt;br /&gt;
&lt;br /&gt;
# chdev -l sys0 -a maxuproc=600&lt;br /&gt;
&lt;br /&gt;
Increasing the value of the parameter takes effect immediately; otherwise the change takes effect after a reboot.&lt;br /&gt;
&lt;br /&gt;
See the smitty and chdev manual pages.</content><link rel='replies' type='application/atom+xml' href='http://systemadmineasy.blogspot.com/feeds/494311218117883622/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://systemadmineasy.blogspot.com/2010/09/fork-failed-resource-temporarily.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/494311218117883622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/494311218117883622'/><link rel='alternate' type='text/html' href='http://systemadmineasy.blogspot.com/2010/09/fork-failed-resource-temporarily.html' title='fork() failed: Resource temporarily unavailabl'/><author><name>sreekar</name><uri>http://www.blogger.com/profile/18265178104016369608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4656915886004082122.post-4649992672249313395</id><published>2010-08-03T17:33:00.000+05:30</published><updated>2010-08-03T17:33:46.043+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="unix basics"/><title type='text'>UNIX Basics , Genral unix must know</title><content type='html'>&lt;meta content=&quot;text/html; charset=utf-8&quot; http-equiv=&quot;Content-Type&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Word.Document&quot; name=&quot;ProgId&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Microsoft Word 11&quot; name=&quot;Generator&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Microsoft Word 11&quot; name=&quot;Originator&quot;&gt;&lt;/meta&gt;&lt;link href=&quot;file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml&quot; rel=&quot;File-List&quot;&gt;&lt;/link&gt;&lt;link href=&quot;file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_editdata.mso&quot; rel=&quot;Edit-Time-Data&quot;&gt;&lt;/link&gt;&lt;style&gt;
&lt;!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
@font-face
	{font-family:&quot;Lucida Sans Unicode&quot;;
	panose-1:2 11 6 2 3 5 4 2 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:-2147476737 14699 0 0 63 0;}
@font-face
	{font-family:OpenSymbol;
	panose-1:0 0 4 0 0 0 0 0 0 0;
	mso-font-alt:&quot;Arial Unicode MS&quot;;
	mso-font-charset:128;
	mso-generic-font-family:auto;
	mso-font-pitch:auto;
	mso-font-signature:0 0 0 0 0 0;}
@font-face
	{font-family:&quot;\@OpenSymbol&quot;;
	mso-font-charset:128;
	mso-generic-font-family:auto;
	mso-font-pitch:auto;
	mso-font-signature:0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:&quot;&quot;;
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:none;
	mso-hyphenate:none;
	font-size:12.0pt;
	font-family:&quot;Times New Roman&quot;;
	mso-fareast-font-family:&quot;Lucida Sans Unicode&quot;;
	mso-font-kerning:.5pt;
	mso-fareast-language:#00FF;}
h1
	{mso-style-next:&quot;Body Text&quot;;
	margin-top:12.0pt;
	margin-right:0in;
	margin-bottom:6.0pt;
	margin-left:.3in;
	text-indent:-.3in;
	mso-pagination:none;
	page-break-after:avoid;
	mso-outline-level:1;
	mso-list:l8 level1 lfo9;
	mso-hyphenate:none;
	tab-stops:list .3in;
	font-size:24.0pt;
	font-family:&quot;Times New Roman&quot;;
	mso-fareast-font-family:&quot;Lucida Sans Unicode&quot;;
	mso-bidi-font-family:Tahoma;
	mso-font-kerning:.5pt;
	mso-fareast-language:#00FF;}
h2
	{mso-style-next:&quot;Body Text&quot;;
	margin-top:12.0pt;
	margin-right:0in;
	margin-bottom:6.0pt;
	margin-left:.4in;
	text-indent:-.4in;
	mso-pagination:none;
	page-break-after:avoid;
	mso-outline-level:2;
	mso-list:l8 level2 lfo9;
	mso-hyphenate:none;
	tab-stops:list .4in;
	font-size:18.0pt;
	font-family:&quot;Times New Roman&quot;;
	mso-fareast-font-family:&quot;Lucida Sans Unicode&quot;;
	mso-bidi-font-family:Tahoma;
	mso-font-kerning:.5pt;
	mso-fareast-language:#00FF;}
h3
	{mso-style-next:&quot;Body Text&quot;;
	margin-top:12.0pt;
	margin-right:0in;
	margin-bottom:6.0pt;
	margin-left:.5in;
	text-indent:-.5in;
	mso-pagination:none;
	page-break-after:avoid;
	mso-outline-level:3;
	mso-list:l8 level3 lfo9;
	mso-hyphenate:none;
	tab-stops:list .5in;
	font-size:14.0pt;
	font-family:&quot;Times New Roman&quot;;
	mso-fareast-font-family:&quot;Lucida Sans Unicode&quot;;
	mso-bidi-font-family:Tahoma;
	mso-font-kerning:.5pt;
	mso-fareast-language:#00FF;}
p.MsoBodyText, li.MsoBodyText, div.MsoBodyText
	{margin-top:0in;
	margin-right:0in;
	margin-bottom:6.0pt;
	margin-left:0in;
	mso-pagination:none;
	mso-hyphenate:none;
	font-size:12.0pt;
	font-family:&quot;Times New Roman&quot;;
	mso-fareast-font-family:&quot;Lucida Sans Unicode&quot;;
	mso-font-kerning:.5pt;
	mso-fareast-language:#00FF;}
a:link, span.MsoHyperlink
	{mso-style-parent:&quot;&quot;;
	color:navy;
	mso-ansi-language:#00FF;
	mso-fareast-language:#00FF;
	mso-bidi-language:#00FF;
	text-decoration:underline;
	text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;
	text-underline:single;}
span.Variable
	{mso-style-name:Variable;
	mso-style-parent:&quot;&quot;;
	font-style:italic;}
p.TableContents, li.TableContents, div.TableContents
	{mso-style-name:&quot;Table Contents&quot;;
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:no-line-numbers;
	mso-hyphenate:none;
	font-size:12.0pt;
	font-family:&quot;Times New Roman&quot;;
	mso-fareast-font-family:&quot;Lucida Sans Unicode&quot;;
	mso-font-kerning:.5pt;
	mso-fareast-language:#00FF;}
p.TableHeading, li.TableHeading, div.TableHeading
	{mso-style-name:&quot;Table Heading&quot;;
	mso-style-parent:&quot;Table Contents&quot;;
	margin:0in;
	margin-bottom:.0001pt;
	text-align:center;
	mso-pagination:no-line-numbers;
	mso-hyphenate:none;
	font-size:12.0pt;
	font-family:&quot;Times New Roman&quot;;
	mso-fareast-font-family:&quot;Lucida Sans Unicode&quot;;
	mso-font-kerning:.5pt;
	mso-fareast-language:#00FF;
	font-weight:bold;}
@page Section1
	{size:8.5in 11.0in;
	margin:56.7pt 56.7pt 56.7pt 56.7pt;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
 /* List Definitions */
 @list l0
	{mso-list-id:1;
	mso-list-template-ids:1;}
@list l0:level1
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:35.35pt;
	mso-level-number-position:left;
	margin-left:35.35pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:70.7pt;
	mso-level-number-position:left;
	margin-left:70.7pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:106.05pt;
	mso-level-number-position:left;
	margin-left:106.05pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:141.4pt;
	mso-level-number-position:left;
	margin-left:141.4pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:176.75pt;
	mso-level-number-position:left;
	margin-left:176.75pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:212.1pt;
	mso-level-number-position:left;
	margin-left:212.1pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:247.45pt;
	mso-level-number-position:left;
	margin-left:247.45pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:282.8pt;
	mso-level-number-position:left;
	margin-left:282.8pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:318.15pt;
	mso-level-number-position:left;
	margin-left:318.15pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l1
	{mso-list-id:2;
	mso-list-template-ids:2;}
@list l1:level1
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:35.35pt;
	mso-level-number-position:left;
	margin-left:35.35pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l1:level2
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:70.7pt;
	mso-level-number-position:left;
	margin-left:70.7pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l1:level3
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:106.05pt;
	mso-level-number-position:left;
	margin-left:106.05pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l1:level4
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:141.4pt;
	mso-level-number-position:left;
	margin-left:141.4pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l1:level5
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:176.75pt;
	mso-level-number-position:left;
	margin-left:176.75pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l1:level6
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:212.1pt;
	mso-level-number-position:left;
	margin-left:212.1pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l1:level7
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:247.45pt;
	mso-level-number-position:left;
	margin-left:247.45pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l1:level8
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:282.8pt;
	mso-level-number-position:left;
	margin-left:282.8pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l1:level9
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:318.15pt;
	mso-level-number-position:left;
	margin-left:318.15pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l2
	{mso-list-id:3;
	mso-list-template-ids:3;}
@list l2:level1
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:35.35pt;
	mso-level-number-position:left;
	margin-left:35.35pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l2:level2
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:70.7pt;
	mso-level-number-position:left;
	margin-left:70.7pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l2:level3
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:106.05pt;
	mso-level-number-position:left;
	margin-left:106.05pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l2:level4
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:141.4pt;
	mso-level-number-position:left;
	margin-left:141.4pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l2:level5
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:176.75pt;
	mso-level-number-position:left;
	margin-left:176.75pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l2:level6
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:212.1pt;
	mso-level-number-position:left;
	margin-left:212.1pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l2:level7
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:247.45pt;
	mso-level-number-position:left;
	margin-left:247.45pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l2:level8
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:282.8pt;
	mso-level-number-position:left;
	margin-left:282.8pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l2:level9
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:318.15pt;
	mso-level-number-position:left;
	margin-left:318.15pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l3
	{mso-list-id:4;
	mso-list-template-ids:4;}
@list l3:level1
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:35.35pt;
	mso-level-number-position:left;
	margin-left:35.35pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l3:level2
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:70.7pt;
	mso-level-number-position:left;
	margin-left:70.7pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l3:level3
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:106.05pt;
	mso-level-number-position:left;
	margin-left:106.05pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l3:level4
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:141.4pt;
	mso-level-number-position:left;
	margin-left:141.4pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l3:level5
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:176.75pt;
	mso-level-number-position:left;
	margin-left:176.75pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l3:level6
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:212.1pt;
	mso-level-number-position:left;
	margin-left:212.1pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l3:level7
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:247.45pt;
	mso-level-number-position:left;
	margin-left:247.45pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l3:level8
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:282.8pt;
	mso-level-number-position:left;
	margin-left:282.8pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l3:level9
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:318.15pt;
	mso-level-number-position:left;
	margin-left:318.15pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l4
	{mso-list-id:5;
	mso-list-template-ids:5;}
@list l4:level1
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:35.35pt;
	mso-level-number-position:left;
	margin-left:35.35pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l4:level2
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:70.7pt;
	mso-level-number-position:left;
	margin-left:70.7pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l4:level3
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:106.05pt;
	mso-level-number-position:left;
	margin-left:106.05pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l4:level4
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:141.4pt;
	mso-level-number-position:left;
	margin-left:141.4pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l4:level5
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:176.75pt;
	mso-level-number-position:left;
	margin-left:176.75pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l4:level6
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:212.1pt;
	mso-level-number-position:left;
	margin-left:212.1pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l4:level7
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:247.45pt;
	mso-level-number-position:left;
	margin-left:247.45pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l4:level8
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:282.8pt;
	mso-level-number-position:left;
	margin-left:282.8pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l4:level9
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:318.15pt;
	mso-level-number-position:left;
	margin-left:318.15pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l5
	{mso-list-id:6;
	mso-list-template-ids:6;}
@list l5:level1
	{mso-level-tab-stop:35.35pt;
	mso-level-number-position:left;
	margin-left:35.35pt;
	text-indent:-14.15pt;}
@list l5:level2
	{mso-level-tab-stop:70.7pt;
	mso-level-number-position:left;
	margin-left:70.7pt;
	text-indent:-14.15pt;}
@list l5:level3
	{mso-level-tab-stop:106.05pt;
	mso-level-number-position:left;
	margin-left:106.05pt;
	text-indent:-14.15pt;}
@list l5:level4
	{mso-level-tab-stop:141.4pt;
	mso-level-number-position:left;
	margin-left:141.4pt;
	text-indent:-14.15pt;}
@list l5:level5
	{mso-level-tab-stop:176.75pt;
	mso-level-number-position:left;
	margin-left:176.75pt;
	text-indent:-14.15pt;}
@list l5:level6
	{mso-level-tab-stop:212.1pt;
	mso-level-number-position:left;
	margin-left:212.1pt;
	text-indent:-14.15pt;}
@list l5:level7
	{mso-level-tab-stop:247.45pt;
	mso-level-number-position:left;
	margin-left:247.45pt;
	text-indent:-14.15pt;}
@list l5:level8
	{mso-level-tab-stop:282.8pt;
	mso-level-number-position:left;
	margin-left:282.8pt;
	text-indent:-14.15pt;}
@list l5:level9
	{mso-level-tab-stop:318.15pt;
	mso-level-number-position:left;
	margin-left:318.15pt;
	text-indent:-14.15pt;}
@list l6
	{mso-list-id:7;
	mso-list-template-ids:7;}
@list l6:level1
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:35.35pt;
	mso-level-number-position:left;
	margin-left:35.35pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l6:level2
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:70.7pt;
	mso-level-number-position:left;
	margin-left:70.7pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l6:level3
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:106.05pt;
	mso-level-number-position:left;
	margin-left:106.05pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l6:level4
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:141.4pt;
	mso-level-number-position:left;
	margin-left:141.4pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l6:level5
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:176.75pt;
	mso-level-number-position:left;
	margin-left:176.75pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l6:level6
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:212.1pt;
	mso-level-number-position:left;
	margin-left:212.1pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l6:level7
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:247.45pt;
	mso-level-number-position:left;
	margin-left:247.45pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l6:level8
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:282.8pt;
	mso-level-number-position:left;
	margin-left:282.8pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l6:level9
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:318.15pt;
	mso-level-number-position:left;
	margin-left:318.15pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l7
	{mso-list-id:8;
	mso-list-template-ids:8;}
@list l7:level1
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:35.35pt;
	mso-level-number-position:left;
	margin-left:35.35pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l7:level2
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:70.7pt;
	mso-level-number-position:left;
	margin-left:70.7pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l7:level3
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:106.05pt;
	mso-level-number-position:left;
	margin-left:106.05pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l7:level4
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:141.4pt;
	mso-level-number-position:left;
	margin-left:141.4pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l7:level5
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:176.75pt;
	mso-level-number-position:left;
	margin-left:176.75pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l7:level6
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:212.1pt;
	mso-level-number-position:left;
	margin-left:212.1pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l7:level7
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:247.45pt;
	mso-level-number-position:left;
	margin-left:247.45pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l7:level8
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:282.8pt;
	mso-level-number-position:left;
	margin-left:282.8pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l7:level9
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:318.15pt;
	mso-level-number-position:left;
	margin-left:318.15pt;
	text-indent:-14.15pt;
	mso-ascii-font-family:Symbol;
	mso-hansi-font-family:Symbol;
	mso-bidi-font-family:OpenSymbol;}
@list l8
	{mso-list-id:9;
	mso-list-template-ids:9;}
@list l8:level1
	{mso-level-number-format:none;
	mso-level-text:&quot;&quot;;
	mso-level-tab-stop:.3in;
	mso-level-number-position:left;
	margin-left:.3in;
	text-indent:-.3in;}
@list l8:level2
	{mso-level-number-format:none;
	mso-level-text:&quot;&quot;;
	mso-level-tab-stop:.4in;
	mso-level-number-position:left;
	margin-left:.4in;
	text-indent:-.4in;}
@list l8:level3
	{mso-level-number-format:none;
	mso-level-text:&quot;&quot;;
	mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	margin-left:.5in;
	text-indent:-.5in;}
@list l8:level4
	{mso-level-number-format:none;
	mso-level-text:&quot;&quot;;
	mso-level-tab-stop:.6in;
	mso-level-number-position:left;
	margin-left:.6in;
	text-indent:-.6in;}
@list l8:level5
	{mso-level-number-format:none;
	mso-level-text:&quot;&quot;;
	mso-level-tab-stop:.7in;
	mso-level-number-position:left;
	margin-left:.7in;
	text-indent:-.7in;}
@list l8:level6
	{mso-level-number-format:none;
	mso-level-text:&quot;&quot;;
	mso-level-tab-stop:.8in;
	mso-level-number-position:left;
	margin-left:.8in;
	text-indent:-.8in;}
@list l8:level7
	{mso-level-number-format:none;
	mso-level-text:&quot;&quot;;
	mso-level-tab-stop:.9in;
	mso-level-number-position:left;
	margin-left:.9in;
	text-indent:-.9in;}
@list l8:level8
	{mso-level-number-format:none;
	mso-level-text:&quot;&quot;;
	mso-level-tab-stop:1.0in;
	mso-level-number-position:left;
	margin-left:1.0in;
	text-indent:-1.0in;}
@list l8:level9
	{mso-level-number-format:none;
	mso-level-text:&quot;&quot;;
	mso-level-tab-stop:1.1in;
	mso-level-number-position:left;
	margin-left:1.1in;
	text-indent:-1.1in;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--&gt;
&lt;/style&gt;  &lt;br /&gt;
&lt;h1&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;UNIX Introduction &lt;/h1&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;What is UNIX? &lt;/h2&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;UNIX is an operating system which was first developed in the 1960s, and has been under constant development ever since. By operating system, we mean the suite of programs which make the computer work. It is a stable, multi-user, multi-tasking system for servers, desktops and laptops. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;UNIX systems also have a graphical user interface (GUI) similar to Microsoft Windows which provides an easy to use environment. However, knowledge of UNIX is required for operations which aren&#39;t covered by a graphical program, or for when there is no windows interface available, for example, in a telnet session.&lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Types of UNIX&lt;/h2&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;There are many different versions of UNIX, although they share common similarities. The most popular varieties of UNIX are Sun Solaris, GNU/Linux, and MacOS X. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Here in the School, we use Solaris on our servers and workstations, and Fedora Linux on the servers and desktop PCs.&lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;The UNIX operating system &lt;/h2&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The UNIX operating system is made up of three parts; the kernel, the shell and the programs. &lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;The kernel &lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The kernel of UNIX is the hub of the operating system: it allocates time and memory to programs and handles the filestore and communications in response to system calls. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;As an illustration of the way that the shell and the kernel work together, suppose a user types rm myfile (which has the effect of removing the file &lt;b&gt;myfile&lt;/b&gt;). The shell searches the filestore for the file containing the program rm, and then requests the kernel, through system calls, to execute the program rm on &lt;b&gt;myfile&lt;/b&gt;. When the process rm myfile has finished running, the shell then returns the UNIX prompt % to the user, indicating that it is waiting for further commands. &lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;The shell&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The shell acts as an interface between the user and the kernel. When a user logs in, the login program checks the username and password, and then starts another program called the shell. The shell is a command line interpreter (CLI). It interprets the commands the user types in and arranges for them to be carried out. The commands are themselves programs: when they terminate, the shell gives the user another prompt (% on our systems). &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The adept user can customise his/her own shell, and users can use different shells on the same machine. Staff and students in the school have the &lt;b&gt;tcsh shell&lt;/b&gt; by default. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The tcsh shell has certain features to help the user inputting commands.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Filename Completion - By typing part of the name of a command, filename or directory and pressing the [&lt;b&gt;Tab&lt;/b&gt;] key, the tcsh shell will complete the rest of the name automatically. If the shell finds more than one name beginning with those letters you have typed, it will beep, prompting you to type a few more letters before pressing the tab key again. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;History - The shell keeps a list of the commands you have typed in. If you need to repeat a command, use the cursor keys to scroll up and down the list or type history for a list of previous commands. &lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Files and processes &lt;/h2&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Everything in UNIX is either a file or a process. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;A process is an executing program identified by a unique PID (process identifier). &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;A file is a collection of data. They are created by users using text editors, running compilers etc. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Examples of files: &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin: 0in 0in 0.0001pt 35.35pt; text-indent: -14.15pt;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;a document (report, essay etc.) &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin: 0in 0in 0.0001pt 35.35pt; text-indent: -14.15pt;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;the text of a program written in some high-level programming language &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin: 0in 0in 0.0001pt 35.35pt; text-indent: -14.15pt;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;instructions comprehensible directly to the machine and incomprehensible to a casual user, for example, a collection of binary digits (an executable or binary file); &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: 35.35pt; text-indent: -14.15pt;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;a directory, containing information about its contents, which may be a mixture of other directories (subdirectories) and ordinary files. &lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;The Directory Structure &lt;/h2&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;All the files are grouped together in the directory structure. The file-system is arranged in a hierarchical structure, like an inverted tree. The top of the hierarchy is traditionally called &lt;b&gt;root&lt;/b&gt; (written as a slash / ) &lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoBodyText&quot; style=&quot;text-align: center;&quot;&gt;&lt;img height=&quot;316&quot; src=&quot;file:///C:/DOCUME%7E1/ADMINI%7E1/LOCALS%7E1/Temp/msohtml1/01/clip_image002.gif&quot; v:shapes=&quot;_x0000_i1025&quot; width=&quot;560&quot; /&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;In the diagram above, we see that the home directory of the undergraduate student &lt;b&gt;&quot;ee51vn&quot;&lt;/b&gt; contains two sub-directories (&lt;b&gt;docs&lt;/b&gt; and &lt;b&gt;pics&lt;/b&gt;) and a file called &lt;b&gt;report.doc&lt;/b&gt;. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The full path to the file &lt;b&gt;report.doc&lt;/b&gt; is &lt;b&gt;&quot;/home/its/ug1/ee51vn/report.doc&quot; &lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Starting an UNIX terminal &lt;/h2&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To open an UNIX terminal window, click on the &quot;Terminal&quot; icon from Applications/Accessories menus.&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoBodyText&quot; style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://www.amazon.com/Girl-Dragon-Tattoo-ebook/dp/B0015DROBO?ie=UTF8&amp;amp;tag=unixsystadmih-20&amp;amp;link_code=bil&amp;amp;camp=213689&amp;amp;creative=392969&quot; imageanchor=&quot;1&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;The Girl with the Dragon Tattoo&quot; src=&quot;http://ws.amazon.com/widgets/q?MarketPlace=US&amp;amp;ServiceVersion=20070822&amp;amp;ID=AsinImage&amp;amp;WS=1&amp;amp;Format=_SL160_&amp;amp;ASIN=B0015DROBO&amp;amp;tag=unixsystadmih-20&quot; /&gt;&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;http://www.assoc-amazon.com/e/ir?t=unixsystadmih-20&amp;amp;l=bil&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=B0015DROBO&quot; style=&quot;border: medium none ! important; margin: 0px ! important; padding: 0px ! important;&quot; width=&quot;1&quot; /&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoBodyText&quot; style=&quot;text-align: center;&quot;&gt;An UNIX Terminal window will then appear with a % prompt, waiting for you to start entering commands.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1.1 Listing files and directories &lt;/h2&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ls (list) &lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;When you first login, your current working directory is your home directory. Your home directory has the same name as your user-name, for example, &lt;b&gt;ee91ab&lt;/b&gt;, and it is where your personal files and subdirectories are saved. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To find out what is in your home directory, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% ls &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The ls command ( lowercase L and lowercase S ) lists the contents of your current working directory.&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoBodyText&quot; style=&quot;text-align: center;&quot;&gt;&lt;img height=&quot;1&quot; src=&quot;file:///C:/DOCUME%7E1/ADMINI%7E1/LOCALS%7E1/Temp/msohtml1/01/clip_image006.jpg&quot; v:shapes=&quot;_x0000_i1028&quot; width=&quot;1&quot; /&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;There may be no files visible in your home directory, in which case, the UNIX prompt will be returned. Alternatively, there may already be some files inserted by the System Administrator when your account was created. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;ls does not, in fact, cause all the files in your home directory to be listed, but only those ones whose name does not begin with a dot (.) Files beginning with a dot (.) are known as hidden files and usually contain important program configuration information. They are hidden because you should not change them unless you are very familiar with UNIX!!! &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To list all files in your home directory including those whose names begin with a dot, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% ls -a&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;As you can see, ls -a lists files that are normally hidden. &lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoBodyText&quot; style=&quot;text-align: center;&quot;&gt;&lt;img height=&quot;1&quot; src=&quot;file:///C:/DOCUME%7E1/ADMINI%7E1/LOCALS%7E1/Temp/msohtml1/01/clip_image008.jpg&quot; v:shapes=&quot;_x0000_i1029&quot; width=&quot;1&quot; /&gt;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;ls is an example of a command which can take options: &lt;b&gt;-a&lt;/b&gt; is an example of an option. The options change the behaviour of the command. There are online manual pages that tell you which options a particular command can take, and how each option modifies the behaviour of the command. (See later in this tutorial) &lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1.2 Making Directories &lt;/h2&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mkdir (make directory) &lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;We will now make a subdirectory in your home directory to hold the files you will be creating and using in the course of this tutorial. To make a subdirectory called unixstuff in your current working directory type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% mkdir unixstuff &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To see the directory you have just created, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% ls &lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1.3 Changing to a different directory&amp;nbsp;&lt;/h2&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;cd (change directory)&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The command cd &lt;span class=&quot;Variable&quot;&gt;directory&lt;/span&gt; means change the current working directory to &lt;i&gt;&#39;directory&#39;&lt;/i&gt;. The current working directory may be thought of as the directory you are in, i.e. your current position in the file-system tree. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To change to the directory you have just made, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% cd unixstuff &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Type ls to see the contents (which should be empty) &lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Exercise 1a&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Make another directory inside the &lt;b&gt;unixstuff&lt;/b&gt; directory called &lt;b&gt;backups&lt;/b&gt; &lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1.4 The directories . and .. &lt;/h2&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Still in the &lt;b&gt;unixstuff&lt;/b&gt; directory, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% ls -a &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;As you can see, in the &lt;b&gt;unixstuff&lt;/b&gt; directory (and in all other directories), there are two special directories called (&lt;b&gt;.&lt;/b&gt;) and (&lt;b&gt;..&lt;/b&gt;)&lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;The current directory (.) &lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;In UNIX, (&lt;b&gt;.&lt;/b&gt;) means the current directory, so typing &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% cd . &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;NOTE: there is a space between cd and the dot&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;means stay where you are (the &lt;b&gt;unixstuff&lt;/b&gt; directory). &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;This may not seem very useful at first, but using (&lt;b&gt;.&lt;/b&gt;) as the name of the current directory will save a lot of typing, as we shall see later in the tutorial. &lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;The parent directory (..) &lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;(&lt;b&gt;..&lt;/b&gt;) means the parent of the current directory, so typing &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% cd .. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;will take you one directory up the hierarchy (back to your home directory). Try it now. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Note: typing cd with no argument always returns you to your home directory. This is very useful if you are lost in the file system. &lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1.5 Pathnames &lt;/h2&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;pwd (print working directory) &lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Pathnames enable you to work out where you are in relation to the whole file-system. For example, to find out the absolute pathname of your home-directory, type cd to get back to your home-directory and then type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% pwd &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The full pathname will look something like this - &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;b&gt;/home/its/ug1/ee51vn&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;which means that &lt;b&gt;ee51vn&lt;/b&gt; (your home directory) is in the sub-directory &lt;b&gt;ug1&lt;/b&gt; (the group directory),which in turn is located in the &lt;b&gt;its&lt;/b&gt; sub-directory, which is in the &lt;b&gt;home&lt;/b&gt; sub-directory, which is in the top-level root directory called &quot; &lt;i&gt;/ &quot; &lt;/i&gt;. &lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoBodyText&quot; style=&quot;text-align: center;&quot;&gt;&lt;img height=&quot;1&quot; src=&quot;file:///C:/DOCUME%7E1/ADMINI%7E1/LOCALS%7E1/Temp/msohtml1/01/clip_image009.gif&quot; v:shapes=&quot;_x0000_i1030&quot; width=&quot;1&quot; /&gt;&lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Exercise 1b&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Use the commands cd, ls and pwd to explore the file system. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;(Remember, if you get lost, type cd by itself to return to your home-directory) &lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1.6 More about home directories and pathnames &lt;/h2&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Understanding pathnames&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;First type cd to get back to your home-directory, then type&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% ls unixstuff&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;to list the conents of your unixstuff directory.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Now type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% ls backups&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;You will get a message like this - &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;backups: No such file or directory &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The reason is, &lt;b&gt;backups&lt;/b&gt; is not in your current working directory. To use a command on a file (or directory) not in the current working directory (the directory you are currently in), you must either cd to the correct directory, or specify its full pathname. To list the contents of your backups directory, you must type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% ls unixstuff/backups &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;~ (your home directory) &lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Home directories can also be referred to by the tilde &lt;b&gt;~&lt;/b&gt; character. It can be used to specify paths starting at your home directory. So typing &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% ls ~/unixstuff&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;will list the contents of your unixstuff directory, no matter where you currently are in the file system. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;What do you think &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% ls ~&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;would list? &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;What do you think &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% ls ~/.. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;would list? &lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Summary &lt;/h2&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; margin-left: 3.75pt;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: gray -moz-use-text-color gray gray; border-style: solid none solid solid; border-width: 1pt medium 1pt 1pt; padding: 3.75pt; width: 67.25pt;&quot; width=&quot;90&quot;&gt;&lt;div class=&quot;TableHeading&quot;&gt;Command&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border: 1pt solid gray; padding: 3.75pt; width: 197.3pt;&quot; width=&quot;263&quot;&gt;&lt;div class=&quot;TableHeading&quot;&gt;Meaning&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 67.25pt;&quot; width=&quot;90&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;ls&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 197.3pt;&quot; width=&quot;263&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;list files and directories&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 67.25pt;&quot; width=&quot;90&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;ls -a&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 197.3pt;&quot; width=&quot;263&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;list all files and directories&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 67.25pt;&quot; width=&quot;90&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;mkdir&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 197.3pt;&quot; width=&quot;263&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;make a directory&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 67.25pt;&quot; width=&quot;90&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;cd &lt;i&gt;directory&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 197.3pt;&quot; width=&quot;263&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;change to named directory&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 67.25pt;&quot; width=&quot;90&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;cd&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 197.3pt;&quot; width=&quot;263&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;change to home-directory&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 67.25pt;&quot; width=&quot;90&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;cd ~&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 197.3pt;&quot; width=&quot;263&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;change to home-directory&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 67.25pt;&quot; width=&quot;90&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;cd ..&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 197.3pt;&quot; width=&quot;263&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;change to parent directory&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 67.25pt;&quot; width=&quot;90&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;pwd&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 197.3pt;&quot; width=&quot;263&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;display the path of the current directory&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;2.1 Copying Files&lt;/h2&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;cp (copy)&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;cp &lt;i&gt;file1 file2&lt;/i&gt; is the command which makes a copy of &lt;b&gt;file1&lt;/b&gt; in the current working directory and calls it &lt;b&gt;file2&lt;/b&gt; &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;What we are going to do now, is to take a file stored in an open access area of the file system, and use the cp command to copy it to your unixstuff directory. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;First, cd to your &lt;b&gt;unixstuff&lt;/b&gt; directory.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% cd ~/unixstuff&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Then at the UNIX prompt, type, &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% cp /vol/examples/tutorial/science.txt . &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Note: Don&#39;t forget the dot &lt;b&gt;.&lt;/b&gt; at the end. Remember, in UNIX, the dot means the current directory.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The above command means copy the file &lt;b&gt;science.txt&lt;/b&gt; to the current directory, keeping the name the same. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;(Note: The directory &lt;b&gt;/vol/examples/tutorial/&lt;/b&gt; is an area to which everyone in the school has read and copy access. If you are from outside the University, you can grab a copy of the file &lt;a href=&quot;http://www.ee.surrey.ac.uk/Teaching/Unix/science.txt&quot;&gt;here&lt;/a&gt;. Use &#39;File/Save As..&#39; from the menu bar to save it into your &lt;b&gt;unixstuff&lt;/b&gt; directory.)&lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Exercise 2a&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Create a backup of your &lt;b&gt;science.txt&lt;/b&gt; file by copying it to a file called &lt;b&gt;science.bak&lt;/b&gt; &lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;2.2 Moving files&lt;/h2&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mv (move)&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;mv &lt;i&gt;file1 file2&lt;/i&gt; moves (or renames) &lt;b&gt;file1&lt;/b&gt; to &lt;b&gt;file2&lt;/b&gt; &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To move a file from one place to another, use the mv command. This has the effect of moving rather than copying the file, so you end up with only one file rather than two. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;It can also be used to rename a file, by moving the file to the same directory, but giving it a different name. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;We are now going to move the file science.bak to your backup directory. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;First, change directories to your unixstuff directory (can you remember how?). Then, inside the &lt;b&gt;unixstuff&lt;/b&gt; directory, type&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% mv science.bak backups/.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Type ls and ls backups to see if it has worked.&lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;2.3 Removing files and directories &lt;/h2&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;rm (remove), rmdir (remove directory)&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To delete (remove) a file, use the rm command. As an example, we are going to create a copy of the &lt;b&gt;science.txt&lt;/b&gt; file then delete it. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Inside your &lt;b&gt;unixstuff&lt;/b&gt; directory, type&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% cp science.txt tempfile.txt&lt;br /&gt;
% ls&lt;br /&gt;
% rm tempfile.txt &lt;br /&gt;
% ls&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;You can use the rmdir command to remove a directory (make sure it is empty first). Try to remove the &lt;b&gt;backups&lt;/b&gt; directory. You will not be able to since UNIX will not let you remove a non-empty directory.&lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Exercise 2b&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Create a directory called &lt;b&gt;tempstuff&lt;/b&gt; using mkdir , then remove it using the rmdir command.&lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;2.4 Displaying the contents of a file on the screen &lt;/h2&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;clear (clear screen)&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Before you start the next section, you may like to clear the terminal window of the previous commands so the output of the following commands can be clearly understood. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;At the prompt, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% clear &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;This will clear all text and leave you with the % prompt at the top of the window. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;cat (concatenate)&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The command cat can be used to display the contents of a file on the screen. Type: &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% cat science.txt &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;As you can see, the file is longer than than the size of the window, so it scrolls past making it unreadable. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;less&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The command less writes the contents of a file onto the screen a page at a time. Type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% less science.txt &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Press the [&lt;b&gt;space-bar&lt;/b&gt;] if you want to see another page, and type [&lt;b&gt;q&lt;/b&gt;] if you want to quit reading. As you can see, less is used in preference to cat for long files. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;head&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The head command writes the first ten lines of a file to the screen. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;First clear the screen then type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% head science.txt &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Then type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% head -5 science.txt &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;What difference did the -5 do to the head command? &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;tail&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The tail command writes the last ten lines of a file to the screen. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Clear the screen and type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% tail science.txt &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Q. How can you view the last 15 lines of the file? &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;2.5 Searching the contents of a file &lt;/h2&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Simple searching using less&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Using less, you can search though a text file for a keyword (pattern). For example, to search through &lt;b&gt;science.txt&lt;/b&gt; for the word &lt;b&gt;&#39;science&#39;&lt;/b&gt;, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% less science.txt &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;then, still in less, type a forward slash [&lt;b&gt;/&lt;/b&gt;] followed by the word to search&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;/science&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;As you can see, less finds and highlights the keyword. Type [&lt;b&gt;n&lt;/b&gt;] to search for the next occurrence of the word. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;grep (don&#39;t ask why it is called grep)&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;grep is one of many standard UNIX utilities. It searches files for specified words or patterns. First clear the screen, then type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% grep science science.txt &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;As you can see, grep has printed out each line containg the word &lt;b&gt;science&lt;/b&gt;. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Or has it ???? &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Try typing &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% grep Science science.txt &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The grep command is case sensitive; it distinguishes between Science and science. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To ignore upper/lower case distinctions, use the -i option, i.e. type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% grep -i science science.txt &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To search for a phrase or pattern, you must enclose it in single quotes (the apostrophe symbol). For example to search for spinning top, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% grep -i &#39;spinning top&#39; science.txt &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Some of the other options of grep are: &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;b&gt;-v &lt;/b&gt;display those lines that do NOT match &lt;br /&gt;
&lt;b&gt;-n&lt;/b&gt; precede each matching line with the line number &lt;br /&gt;
&lt;b&gt;-c &lt;/b&gt;print only the total count of matched lines &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Try some of them and see the different results. Don&#39;t forget, you can use more than one option at a time. For example, the number of lines without the words science or Science is&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% grep -ivc science science.txt &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;wc (word count)&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;A handy little utility is the wc command, short for word count. To do a word count on &lt;b&gt;science.txt&lt;/b&gt;, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% wc -w science.txt &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To find out how many lines the file has, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% wc -l science.txt &lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Summary &lt;/h2&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; margin-left: 3.75pt;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: gray -moz-use-text-color gray gray; border-style: solid none solid solid; border-width: 1pt medium 1pt 1pt; padding: 3.75pt; width: 96.8pt;&quot; width=&quot;129&quot;&gt;&lt;div class=&quot;TableHeading&quot;&gt;Command&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border: 1pt solid gray; padding: 3.75pt; width: 227.25pt;&quot; width=&quot;303&quot;&gt;&lt;div class=&quot;TableHeading&quot;&gt;Meaning&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 96.8pt;&quot; width=&quot;129&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;cp &lt;i&gt;file1 file2&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 227.25pt;&quot; width=&quot;303&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;copy file1 and call it file2&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 96.8pt;&quot; width=&quot;129&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;mv &lt;i&gt;file1 file2&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 227.25pt;&quot; width=&quot;303&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;move or rename file1 to file2&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 96.8pt;&quot; width=&quot;129&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;rm &lt;i&gt;file&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 227.25pt;&quot; width=&quot;303&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;remove a file&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 96.8pt;&quot; width=&quot;129&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;rmdir &lt;i&gt;directory&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 227.25pt;&quot; width=&quot;303&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;remove a directory&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 96.8pt;&quot; width=&quot;129&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;cat &lt;i&gt;file&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 227.25pt;&quot; width=&quot;303&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;display a file&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 96.8pt;&quot; width=&quot;129&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;less &lt;i&gt;file&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 227.25pt;&quot; width=&quot;303&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;display a file a page at a time&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 96.8pt;&quot; width=&quot;129&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;head &lt;i&gt;file&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 227.25pt;&quot; width=&quot;303&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;display the first few lines of a file&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 96.8pt;&quot; width=&quot;129&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;tail &lt;i&gt;file&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 227.25pt;&quot; width=&quot;303&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;display the last few lines of a file&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 96.8pt;&quot; width=&quot;129&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;grep &lt;i&gt;&#39;keyword&#39;   file&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 227.25pt;&quot; width=&quot;303&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;search a file for keywords&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 96.8pt;&quot; width=&quot;129&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;wc &lt;i&gt;file&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 227.25pt;&quot; width=&quot;303&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;count number of lines/words/characters in file&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;3.1 Redirection &amp;nbsp; &lt;/h2&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Most processes initiated by UNIX commands write to the standard output (that is, they write to the terminal screen), and many take their input from the standard input (that is, they read it from the keyboard). There is also the standard error, where processes write their error messages, by default, to the terminal screen. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;We have already seen one use of the cat command to write the contents of a file to the screen. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Now type cat without specifing a file to read &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% cat&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Then type a few words on the keyboard and press the [&lt;b&gt;Return&lt;/b&gt;] key. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Finally hold the [&lt;b&gt;Ctrl&lt;/b&gt;] key down and press [&lt;b&gt;d&lt;/b&gt;] (written as &lt;b&gt;^D&lt;/b&gt; for short) to end the input. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;What has happened? &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;If you run the cat command without specifing a file to read, it reads the standard input (the keyboard), and on receiving the &#39;end of file&#39; (&lt;b&gt;^D&lt;/b&gt;), copies it to the standard output (the screen). &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;In UNIX, we can redirect both the input and the output of commands. &lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;3.2 Redirecting the Output &amp;nbsp; &lt;/h2&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;We use the &amp;gt; symbol to redirect the output of a command. For example, to create a file called &lt;b&gt;list1&lt;/b&gt; containing a list of fruit, type &amp;nbsp; &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% cat &amp;gt; list1&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Then type in the names of some fruit. Press [&lt;b&gt;Return&lt;/b&gt;] after each one. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;pear&lt;br /&gt;
banana&lt;br /&gt;
apple&lt;br /&gt;
^D {this means press [Ctrl] and [d] to stop}&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;What happens is the cat command reads the standard input (the keyboard) and the &amp;gt; redirects the output, which normally goes to the screen, into a file called &lt;b&gt;list1&lt;/b&gt; &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To read the contents of the file, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% cat list1&lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Exercise 3a&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Using the above method, create another file called &lt;b&gt;list2&lt;/b&gt; containing the following fruit: orange, plum, mango, grapefruit. Read the contents of &lt;b&gt;list2&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;3.2.1 Appending to a file &lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The form &amp;gt;&amp;gt; appends standard output to a file. So to add more items to the file &lt;b&gt;list1&lt;/b&gt;, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% cat &amp;gt;&amp;gt; list1&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Then type in the names of more fruit &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;peach&lt;br /&gt;
grape&lt;br /&gt;
orange&lt;br /&gt;
^D (Control D to stop)&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To read the contents of the file, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% cat list1&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;You should now have two files. One contains six fruit, the other contains four fruit. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;We will now use the cat command to join (concatenate) &lt;b&gt;list1&lt;/b&gt; and &lt;b&gt;list2&lt;/b&gt; into a new file called &lt;b&gt;biglist&lt;/b&gt;. Type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% cat list1 list2 &amp;gt; biglist&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;What this is doing is reading the contents of &lt;b&gt;list1&lt;/b&gt; and &lt;b&gt;list2&lt;/b&gt; in turn, then outputing the text to the file &lt;b&gt;biglist&lt;/b&gt; &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To read the contents of the new file, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% cat biglist&lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;3.3 Redirecting the Input &amp;nbsp; &lt;/h2&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;We use the &amp;lt; symbol to redirect the input of a command. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The command sort alphabetically or numerically sorts a list. Type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% sort &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Then type in the names of some animals. Press [Return] after each one. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;dog&lt;br /&gt;
cat&lt;br /&gt;
bird&lt;br /&gt;
ape&lt;br /&gt;
^D (control d to stop)&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The output will be &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;ape&lt;br /&gt;
bird &lt;br /&gt;
cat &lt;br /&gt;
dog &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Using &amp;lt; you can redirect the input to come from a file rather than the keyboard. For example, to sort the list of fruit, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% sort &amp;lt; biglist &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;and the sorted list will be output to the screen. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To output the sorted list to a file, type, &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% sort &amp;lt; biglist &amp;gt; slist &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Use cat to read the contents of the file &lt;b&gt;slist&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;3.4 Pipes&lt;/h2&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To see who is on the system with you, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% who &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;One method to get a sorted list of names is to type, &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% who &amp;gt; names.txt&lt;br /&gt;
% sort &amp;lt; names.txt &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;This is a bit slow and you have to remember to remove the temporary file called names when you have finished. What you really want to do is connect the output of the who command directly to the input of the sort command. This is exactly what pipes do. The symbol for a pipe is the vertical bar | &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;For example, typing &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% who | sort &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;will give the same result as above, but quicker and cleaner. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To find out how many users are logged on, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% who | wc -l&lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Exercise 3b&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Using pipes, display all lines of &lt;b&gt;list1&lt;/b&gt; and &lt;b&gt;list2&lt;/b&gt; containing the letter &#39;p&#39;, and sort the result.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;a href=&quot;http://www.ee.surrey.ac.uk/Teaching/Unix/pipeanswer.html&quot;&gt;Answer available here&lt;/a&gt;&lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Summary &lt;/h2&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; margin-left: 3.75pt;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: gray -moz-use-text-color gray gray; border-style: solid none solid solid; border-width: 1pt medium 1pt 1pt; padding: 3.75pt; width: 123.2pt;&quot; width=&quot;164&quot;&gt;&lt;div class=&quot;TableHeading&quot;&gt;Command&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border: 1pt solid gray; padding: 3.75pt; width: 275.5pt;&quot; width=&quot;367&quot;&gt;&lt;div class=&quot;TableHeading&quot;&gt;Meaning&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 123.2pt;&quot; width=&quot;164&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;&lt;span class=&quot;Variable&quot;&gt;command&lt;/span&gt; &amp;gt; &lt;span class=&quot;Variable&quot;&gt;file&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 275.5pt;&quot; width=&quot;367&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;redirect standard output to a file&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 123.2pt;&quot; width=&quot;164&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;&lt;span class=&quot;Variable&quot;&gt;command&lt;/span&gt; &amp;gt;&amp;gt; &lt;span class=&quot;Variable&quot;&gt;file&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 275.5pt;&quot; width=&quot;367&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;append standard output to a file &lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 123.2pt;&quot; width=&quot;164&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;&lt;span class=&quot;Variable&quot;&gt;command&lt;/span&gt; &amp;lt; &lt;span class=&quot;Variable&quot;&gt;file&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 275.5pt;&quot; width=&quot;367&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;redirect standard input from a file&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 123.2pt;&quot; width=&quot;164&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;&lt;span class=&quot;Variable&quot;&gt;command1&lt;/span&gt; | &lt;span class=&quot;Variable&quot;&gt;command2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 275.5pt;&quot; width=&quot;367&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;pipe the output of command1 to the input of command2&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 123.2pt;&quot; width=&quot;164&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;cat &lt;span class=&quot;Variable&quot;&gt;file1 file2&lt;/span&gt; &amp;gt; &lt;span class=&quot;Variable&quot;&gt;file0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 275.5pt;&quot; width=&quot;367&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;concatenate file1 and file2 to file0&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 123.2pt;&quot; width=&quot;164&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;sort&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 275.5pt;&quot; width=&quot;367&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;sort data&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 123.2pt;&quot; width=&quot;164&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;who&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 275.5pt;&quot; width=&quot;367&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;list users currently logged in&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;4.1 Wildcards&lt;/h2&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;The * wildcard &lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The character &lt;b&gt;*&lt;/b&gt; is called a wildcard, and will match against none or more character(s) in a file (or directory) name. For example, in your &lt;b&gt;unixstuff&lt;/b&gt; directory, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% ls list*&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;This will list all files in the current directory starting with &lt;b&gt;list....&lt;/b&gt; &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Try typing &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% ls *list&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;This will list all files in the current directory ending with &lt;b&gt;....list&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;The ? wildcard &lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The character ? will match exactly one character.&lt;br /&gt;
So &lt;b&gt;?ouse&lt;/b&gt; will match files like &lt;b&gt;house&lt;/b&gt; and &lt;b&gt;mouse&lt;/b&gt;, but not &lt;b&gt;grouse&lt;/b&gt;. &lt;br /&gt;
Try typing &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% ls ?list&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;4.2 Filename conventions &lt;/h2&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;We should note here that a directory is merely a special type of file. So the rules and conventions for naming files apply also to directories. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;In naming files, characters with special meanings such as &lt;b&gt;/ * &amp;amp; %&lt;/b&gt; , should be avoided. Also, avoid using spaces within names. The safest way to name a file is to use only alphanumeric characters, that is, letters and numbers, together with _ (underscore) and . (dot). &lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; margin-left: 3pt;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: gray -moz-use-text-color gray gray; border-style: solid none solid solid; border-width: 1pt medium 1pt 1pt; padding: 3pt; width: 97.85pt;&quot; width=&quot;130&quot;&gt;&lt;div class=&quot;TableHeading&quot;&gt;Good filenames&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border: 1pt solid gray; padding: 3pt; width: 95.85pt;&quot; width=&quot;128&quot;&gt;&lt;div class=&quot;TableHeading&quot;&gt;Bad filenames &lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3pt; width: 97.85pt;&quot; width=&quot;130&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;project.txt&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3pt; width: 95.85pt;&quot; width=&quot;128&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;project&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3pt; width: 97.85pt;&quot; width=&quot;130&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;my_big_program.c&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3pt; width: 95.85pt;&quot; width=&quot;128&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;my big program.c &lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3pt; width: 97.85pt;&quot; width=&quot;130&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;fred_dave.doc&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3pt; width: 95.85pt;&quot; width=&quot;128&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;fred &amp;amp; dave.doc &lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;File names conventionally start with a lower-case letter, and may end with a dot followed by a group of letters indicating the contents of the file. For example, all files consisting of C code may be named with the ending &lt;b&gt;.c&lt;/b&gt;, for example, &lt;b&gt;prog1.c&lt;/b&gt; . Then in order to list all files containing C code in your home directory, you need only type ls&amp;nbsp;*.c in that directory. &lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;4.3 Getting Help&lt;/h2&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;On-line Manuals&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;There are on-line manuals which gives information about most commands. The manual pages tell you which options a particular command can take, and how each option modifies the behaviour of the command. Type man&amp;nbsp;&lt;i&gt;command&lt;/i&gt; to read the manual page for a particular command. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;For example, to find out more about the &lt;b&gt;wc&lt;/b&gt; (word count) command, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% man wc &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Alternatively &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% whatis wc &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;gives a one-line description of the command, but omits any information about options etc. &lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Apropos&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;When you are not sure of the exact name of a command, &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% apropos keyword &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;will give you the commands with keyword in their manual page header. For example, try typing &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% apropos copy &lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Summary &lt;/h2&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; margin-left: 3pt;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: gray -moz-use-text-color gray gray; border-style: solid none solid solid; border-width: 1pt medium 1pt 1pt; padding: 3pt; width: 92pt;&quot; width=&quot;123&quot;&gt;&lt;div class=&quot;TableHeading&quot;&gt;Command&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border: 1pt solid gray; padding: 3pt; width: 250pt;&quot; width=&quot;333&quot;&gt;&lt;div class=&quot;TableHeading&quot;&gt;Meaning&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3pt; width: 92pt;&quot; width=&quot;123&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;*&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3pt; width: 250pt;&quot; width=&quot;333&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;match any number of characters&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3pt; width: 92pt;&quot; width=&quot;123&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;?&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3pt; width: 250pt;&quot; width=&quot;333&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;match one character&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3pt; width: 92pt;&quot; width=&quot;123&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;man &lt;span class=&quot;Variable&quot;&gt;command&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3pt; width: 250pt;&quot; width=&quot;333&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;read the online manual page for a command&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3pt; width: 92pt;&quot; width=&quot;123&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;whatis &lt;span class=&quot;Variable&quot;&gt;command&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3pt; width: 250pt;&quot; width=&quot;333&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;brief description of a command&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3pt; width: 92pt;&quot; width=&quot;123&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;apropos &lt;span class=&quot;Variable&quot;&gt;keyword &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3pt; width: 250pt;&quot; width=&quot;333&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;match commands with keyword in their man pages&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;5.1 File system security (access rights) &lt;/h2&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;In your &lt;b&gt;unixstuff&lt;/b&gt; directory, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% ls -l (l for long listing!)&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;You will see that you now get lots of details about the contents of your directory, similar to the example below. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;1&quot; src=&quot;file:///C:/DOCUME%7E1/ADMINI%7E1/LOCALS%7E1/Temp/msohtml1/01/clip_image011.jpg&quot; v:shapes=&quot;_x0000_i1031&quot; width=&quot;1&quot; /&gt;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Each file (and directory) has associated access rights, which may be found by typing ls -l. Also, ls -lg gives additional information as to which group owns the file (beng95 in the following example): &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;-rwxrw-r-- 1 ee51ab beng95 2450 Sept29 11:52 file1&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;In the left-hand column is a 10 symbol string consisting of the symbols d, r, w, x, -, and, occasionally, s or S. If d is present, it will be at the left hand end of the string, and indicates a directory: otherwise - will be the starting symbol of the string. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The 9 remaining symbols indicate the permissions, or access rights, and are taken as three groups of 3. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin: 0in 0in 0.0001pt 35.35pt; text-indent: -14.15pt;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;The left group of 3 gives the file permissions for the user that owns the file (or directory) (ee51ab in the above example); &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin: 0in 0in 0.0001pt 35.35pt; text-indent: -14.15pt;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;the middle group gives the permissions for the group of people to whom the file (or directory) belongs (eebeng95 in the above example);&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: 35.35pt; text-indent: -14.15pt;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;the rightmost group gives the permissions for all others. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The symbols r, w, etc., have slightly different meanings depending on whether they refer to a simple file or to a directory. &lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Access rights on files.&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin: 0in 0in 0.0001pt 35.35pt; text-indent: -14.15pt;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;r (or -), indicates read permission (or otherwise), that is, the presence or absence of permission to read and copy the file &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin: 0in 0in 0.0001pt 35.35pt; text-indent: -14.15pt;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;w (or -), indicates write permission (or otherwise), that is, the permission (or otherwise) to change a file &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: 35.35pt; text-indent: -14.15pt;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;x (or -), indicates execution permission (or otherwise), that is, the permission to execute a file, where appropriate &lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Access rights on directories.&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin: 0in 0in 0.0001pt 35.35pt; text-indent: -14.15pt;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;r allows users to list files in the directory; &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin: 0in 0in 0.0001pt 35.35pt; text-indent: -14.15pt;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;w means that users may delete files from the directory or move files into it; &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: 35.35pt; text-indent: -14.15pt;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;x means the right to access files in the directory. This implies that you may read files in the directory provided you have read permission on the individual files. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;So, in order to read a file, you must have execute permission on the directory containing that file, and hence on any directory containing that directory as a subdirectory, and so on, up the tree. &lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Some examples&lt;/h3&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; margin-left: 3.75pt;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: gray -moz-use-text-color gray gray; border-style: solid none solid solid; border-width: 1pt medium 1pt 1pt; padding: 3.75pt; width: 68.9pt;&quot; width=&quot;92&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;-rwxrwxrwx&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border: 1pt solid gray; padding: 3.75pt; width: 296.35pt;&quot; width=&quot;395&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;a file that everyone can read, write and execute (and   delete).&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 68.9pt;&quot; width=&quot;92&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;-rw-------&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 296.35pt;&quot; width=&quot;395&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;a file that only the owner can read and write - no-one   else &lt;br /&gt;
can read or write and no-one has execution rights (e.g. your &lt;br /&gt;
mailbox file).&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;5.2 Changing access rights&lt;/h2&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;chmod (changing a file mode)&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Only the owner of a file can use chmod to change the permissions of a file. The options of chmod are as follows &lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; margin-left: 2.25pt;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: gray -moz-use-text-color gray gray; border-style: solid none solid solid; border-width: 1pt medium 1pt 1pt; padding: 2.25pt; width: 44.85pt;&quot; width=&quot;60&quot;&gt;&lt;div class=&quot;TableHeading&quot;&gt;Symbol&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border: 1pt solid gray; padding: 2.25pt; width: 154.25pt;&quot; width=&quot;206&quot;&gt;&lt;div class=&quot;TableHeading&quot;&gt;Meaning&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 2.25pt; width: 44.85pt;&quot; width=&quot;60&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;TableContents&quot; style=&quot;text-align: center;&quot;&gt;u&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 2.25pt; width: 154.25pt;&quot; width=&quot;206&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;user&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 2.25pt; width: 44.85pt;&quot; width=&quot;60&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;TableContents&quot; style=&quot;text-align: center;&quot;&gt;g&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 2.25pt; width: 154.25pt;&quot; width=&quot;206&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;group&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 2.25pt; width: 44.85pt;&quot; width=&quot;60&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;TableContents&quot; style=&quot;text-align: center;&quot;&gt;o&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 2.25pt; width: 154.25pt;&quot; width=&quot;206&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;other&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 2.25pt; width: 44.85pt;&quot; width=&quot;60&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;TableContents&quot; style=&quot;text-align: center;&quot;&gt;a&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 2.25pt; width: 154.25pt;&quot; width=&quot;206&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;all&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 2.25pt; width: 44.85pt;&quot; width=&quot;60&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;TableContents&quot; style=&quot;text-align: center;&quot;&gt;r&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 2.25pt; width: 154.25pt;&quot; width=&quot;206&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;read&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 2.25pt; width: 44.85pt;&quot; width=&quot;60&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;TableContents&quot; style=&quot;text-align: center;&quot;&gt;w&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 2.25pt; width: 154.25pt;&quot; width=&quot;206&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;write (and delete)&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 2.25pt; width: 44.85pt;&quot; width=&quot;60&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;TableContents&quot; style=&quot;text-align: center;&quot;&gt;x&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 2.25pt; width: 154.25pt;&quot; width=&quot;206&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;execute (and access directory) &lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 2.25pt; width: 44.85pt;&quot; width=&quot;60&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;TableContents&quot; style=&quot;text-align: center;&quot;&gt;+&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 2.25pt; width: 154.25pt;&quot; width=&quot;206&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;add permission&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 2.25pt; width: 44.85pt;&quot; width=&quot;60&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;TableContents&quot; style=&quot;text-align: center;&quot;&gt;-&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 2.25pt; width: 154.25pt;&quot; width=&quot;206&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;take away permission&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;For example, to remove read write and execute permissions on the file &lt;b&gt;biglist&lt;/b&gt; for the group and others, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% chmod go-rwx biglist &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;This will leave the other permissions unaffected. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To give read and write permissions on the file &lt;b&gt;biglist&lt;/b&gt; to all, &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% chmod a+rw biglist &lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Exercise 5a&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Try changing access permissions on the file &lt;b&gt;science.txt&lt;/b&gt; and on the directory &lt;b&gt;backups&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Use ls -l to check that the permissions have changed. &lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;5.3 Processes and Jobs &lt;/h2&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;A process is an executing program identified by a unique PID (process identifier). To see information about your processes, with their associated PID and status, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% ps &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;A process may be in the foreground, in the background, or be suspended. In general the shell does not return the UNIX prompt until the current process has finished executing. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Some processes take a long time to run and hold up the terminal. Backgrounding a long process has the effect that the UNIX prompt is returned immediately, and other tasks can be carried out while the original process continues executing.&lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Running background processes&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To background a process, type an &lt;b&gt;&amp;amp;&lt;/b&gt; at the end of the command line. For example, the command sleep waits a given number of seconds before continuing. Type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% sleep 10 &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;This will wait 10 seconds before returning the command prompt %. Until the command prompt is returned, you can do nothing except wait. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To run sleep in the background, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% sleep 10 &amp;amp;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;[1] 6259 &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The &lt;b&gt;&amp;amp;&lt;/b&gt; runs the job in the background and returns the prompt straight away, allowing you do run other programs while waiting for that one to finish. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The first line in the above example is typed in by the user; the next line, indicating job number and PID, is returned by the machine. The user is be notified of a job number (numbered from 1) enclosed in square brackets, together with a PID and is notified when a background process is finished. Backgrounding is useful for jobs which will take a long time to complete. &lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Backgrounding a current foreground process&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;At the prompt, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% sleep 1000 &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;You can suspend the process running in the foreground by typing &lt;b&gt;^Z&lt;/b&gt;, i.e.hold down the [&lt;b&gt;Ctrl&lt;/b&gt;] key and type [&lt;b&gt;z&lt;/b&gt;]. Then to put it in the background, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% bg &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Note: do not background programs that require user interaction e.g. vi &lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;5.4 Listing suspended and background processes &lt;/h2&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;When a process is running, backgrounded or suspended, it will be entered onto a list along with a job number. To examine this list, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% jobs &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;An example of a job list could be &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;[1] Suspended sleep 1000&lt;br /&gt;
[2] Running netscape&lt;br /&gt;
[3] Running matlab &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To restart (foreground) a suspended processes, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% fg %&lt;i&gt;jobnumber&lt;/i&gt; &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;For example, to restart sleep 1000, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% fg %1 &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Typing fg with no job number foregrounds the last suspended process.&lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;5.5 Killing a process &lt;/h2&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;kill (terminate or signal a process)&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;It is sometimes necessary to kill a process (for example, when an executing program is in an infinite loop) &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To kill a job running in the foreground, type &lt;b&gt;^C&lt;/b&gt; (control c). For example, run &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% sleep 100&lt;br /&gt;
^C &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To kill a suspended or background process, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% kill %&lt;i&gt;jobnumber&lt;/i&gt; &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;For example, run &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% sleep 100 &amp;amp;&lt;br /&gt;
% jobs&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;If it is job number 4, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% kill %4 &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To check whether this has worked, examine the job list again to see if the process has been removed. &lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ps (process status)&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Alternatively, processes can be killed by finding their process numbers (PIDs) and using kill &lt;span class=&quot;Variable&quot;&gt;PID_number&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% sleep 1000 &amp;amp;&lt;br /&gt;
% ps&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;PID TT S TIME COMMAND&lt;br /&gt;
20077 pts/5 S 0:05 sleep 1000&lt;br /&gt;
21563 pts/5 T 0:00 netscape&lt;br /&gt;
21873 pts/5 S 0:25 nedit &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To kill off the process &lt;b&gt;sleep 1000&lt;/b&gt;, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% kill 20077 &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;and then type ps again to see if it has been removed from the list. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;If a process refuses to be killed, uses the &lt;b&gt;-9&lt;/b&gt; option, i.e. type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% kill -9 20077 &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Note: It is not possible to kill off other users&#39; processes !!!&lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Summary &lt;/h2&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; margin-left: 3.75pt;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: gray -moz-use-text-color gray gray; border-style: solid none solid solid; border-width: 1pt medium 1pt 1pt; padding: 3.75pt; width: 105.85pt;&quot; width=&quot;141&quot;&gt;&lt;div class=&quot;TableHeading&quot;&gt;Command&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border: 1pt solid gray; padding: 3.75pt; width: 2.9in;&quot; width=&quot;278&quot;&gt;&lt;div class=&quot;TableHeading&quot;&gt;Meaning&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 105.85pt;&quot; width=&quot;141&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;ls -lag&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 2.9in;&quot; width=&quot;278&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;list access rights for all files&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 105.85pt;&quot; width=&quot;141&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;chmod [&lt;span class=&quot;Variable&quot;&gt;options&lt;/span&gt;] &lt;span class=&quot;Variable&quot;&gt;file&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 2.9in;&quot; width=&quot;278&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;change access rights for named file&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 105.85pt;&quot; width=&quot;141&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;&lt;span class=&quot;Variable&quot;&gt;command&lt;/span&gt; &amp;amp;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 2.9in;&quot; width=&quot;278&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;run command in background&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 105.85pt;&quot; width=&quot;141&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;^C&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 2.9in;&quot; width=&quot;278&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;kill the job running in the foreground&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 105.85pt;&quot; width=&quot;141&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;^Z&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 2.9in;&quot; width=&quot;278&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;suspend the job running in the foreground&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 105.85pt;&quot; width=&quot;141&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;bg&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 2.9in;&quot; width=&quot;278&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;background the suspended job&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 105.85pt;&quot; width=&quot;141&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;jobs&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 2.9in;&quot; width=&quot;278&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;list current jobs&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 105.85pt;&quot; width=&quot;141&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;fg %1&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 2.9in;&quot; width=&quot;278&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;foreground job number 1&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 105.85pt;&quot; width=&quot;141&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;kill %1&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 2.9in;&quot; width=&quot;278&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;kill job number 1&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 105.85pt;&quot; width=&quot;141&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;ps&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 2.9in;&quot; width=&quot;278&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;list current processes&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3.75pt; width: 105.85pt;&quot; width=&quot;141&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;kill 26152&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3.75pt; width: 2.9in;&quot; width=&quot;278&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;kill process number 26152&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Other useful UNIX commands &amp;nbsp; &lt;/h2&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;quota&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;All students are allocated a certain amount of disk space on the file system for their personal files, usually about 100Mb. If you go over your quota, you are given 7 days to remove excess files.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To check your current quota and how much of it you have used, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% quota -v &lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;df&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The df command reports on the space left on the file system. For example, to find out how much space is left on the fileserver, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% df . &lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;du&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The du command outputs the number of kilobyes used by each subdirectory. Useful if you have gone over quota and you want to find out which directory has the most files. In your home-directory, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% du -s *&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The &lt;b&gt;-s&lt;/b&gt; flag will display only a summary (total size) and the * means all files and directories. &lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;gzip&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;This reduces the size of a file, thus freeing valuable disk space. For example, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% ls -l science.txt &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;and note the size of the file using ls -l . Then to compress science.txt, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% gzip science.txt &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;This will compress the file and place it in a file called &lt;b&gt;science.txt.gz&lt;/b&gt; &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To see the change in size, type ls -l again. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To expand the file, use the gunzip command. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% gunzip science.txt.gz &lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;zcat&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;zcat will read gzipped files without needing to uncompress them first.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% zcat science.txt.gz&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;If the text scrolls too fast for you, pipe the output though less . &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% zcat science.txt.gz | less &lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;file&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;file classifies the named files according to the type of data they contain, for example ascii (text), pictures, compressed data, etc.. To report on all files in your home directory, type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% file * &lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;diff&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;This command compares the contents of two files and displays the differences. Suppose you have a file called &lt;b&gt;file1 &lt;/b&gt;and you edit some part of it and save it as &lt;b&gt;file2&lt;/b&gt;. To see the differences type&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% diff file1 file2 &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Lines beginning with a &lt;b&gt;&amp;lt;&lt;/b&gt; denotes file1, while lines beginning with a &lt;b&gt;&amp;gt;&lt;/b&gt; denotes file2. &lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;find&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;This searches through the directories for files and directories with a given name, date, size, or any other attribute you care to specify. It is a simple command but with many options - you can read the manual by typing man&amp;nbsp;find. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To search for all fies with the extention &lt;b&gt;.txt&lt;/b&gt;, starting at the current directory (.) and working through all sub-directories, then printing the name of the file to the screen, type&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% find . -name &quot;*.txt&quot; -print &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To find files over 1Mb in size, and display the result as a long listing, type&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% find . -size +1M -ls &lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;history&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The C shell keeps an ordered list of all the commands that you have entered. Each command is given a number according to the order it was entered.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% history (show command history list)&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;If you are using the C shell, you can use the exclamation character (&lt;b&gt;!&lt;/b&gt;) to recall commands easily.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% !! (recall last command)&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% !-3 (recall third most recent command) &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% !5 (recall 5th command in list) &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% !grep (recall last command starting with grep) &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;You can increase the size of the history buffer by typing&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% set history=100 &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;7.1 Compiling UNIX software packages &amp;nbsp; &lt;/h2&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;We have many public domain and commercial software packages installed on our systems, which are available to all users. However, students are allowed to download and install small software packages in their own home directory, software usually only useful to them personally. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;There are a number of steps needed to install the software.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin: 0in 0in 0.0001pt 35.35pt; text-indent: -14.15pt;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;Locate and download the source code (which is usually compressed) &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin: 0in 0in 0.0001pt 35.35pt; text-indent: -14.15pt;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;Unpack the source code &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin: 0in 0in 0.0001pt 35.35pt; text-indent: -14.15pt;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;Compile the code &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin: 0in 0in 0.0001pt 35.35pt; text-indent: -14.15pt;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;Install the resulting executable &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: 35.35pt; text-indent: -14.15pt;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;Set paths to the installation directory &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Of the above steps, probably the most difficult is the compilation stage.&lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Compiling Source Code&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;All high-level language code must be converted into a form the computer understands. For example, C language source code is converted into a lower-level language called assembly language. The assembly language code made by the previous stage is then converted into object code which are fragments of code which the computer understands directly. The final stage in compiling a program involves linking the object code to code libraries which contain certain built-in functions. This final stage produces an executable program.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To do all these steps by hand is complicated and beyond the capability of the ordinary user. A number of utilities and tools have been developed for programmers and end-users to simplify these steps.&lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;make and the Makefile&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The make command allows programmers to manage large programs or groups of programs. It aids in developing large programs by keeping track of which portions of the entire program have been changed, compiling only those parts of the program which have changed since the last compile. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The make program gets its set of compile rules from a text file called &lt;b&gt;Makefile&lt;/b&gt; which resides in the same directory as the source files. It contains information on how to compile the software, e.g. the optimisation level, whether to include debugging info in the executable. It also contains information on where to install the finished compiled binaries (executables), manual pages, data files, dependent library files, configuration files, etc.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Some packages require you to edit the Makefile by hand to set the final installation directory and any other parameters. However, many packages are now being distributed with the GNU configure utility.&lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;configure&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;As the number of UNIX variants increased, it became harder to write programs which could run on all variants. Developers frequently did not have access to every system, and the characteristics of some systems changed from version to version. The GNU configure and build system simplifies the building of programs distributed as source code. All programs are built using a simple, standardised, two step process. The program builder need not install any special tools in order to build the program. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The configure shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a &lt;b&gt;Makefile&lt;/b&gt; in each directory of the package. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The simplest way to compile a package is:&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin: 0in 0in 0.0001pt 35.35pt; text-indent: -14.15pt;&quot;&gt;1.&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;cd to the directory containing the package&#39;s source code.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin: 0in 0in 0.0001pt 35.35pt; text-indent: -14.15pt;&quot;&gt;2.&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Type ./configure to configure the package for your system.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin: 0in 0in 0.0001pt 35.35pt; text-indent: -14.15pt;&quot;&gt;3.&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Type make to compile the package.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin: 0in 0in 0.0001pt 35.35pt; text-indent: -14.15pt;&quot;&gt;4.&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Optionally, type make check to run any self-tests that come with the package.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin: 0in 0in 0.0001pt 35.35pt; text-indent: -14.15pt;&quot;&gt;5.&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Type make install to install the programs and any data files and documentation.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: 35.35pt; text-indent: -14.15pt;&quot;&gt;6.&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Optionally, type make clean to remove the program binaries and object files from the source code directory&amp;nbsp; &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The configure utility supports a wide variety of options. You can usually use the &lt;b&gt;--help&lt;/b&gt; option to get a list of interesting options for a particular configure script. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The only generic options you are likely to use are the &lt;b&gt;--prefix&lt;/b&gt; and &lt;b&gt;--exec-prefix&lt;/b&gt; options. These options are used to specify the installation directories. &amp;nbsp; &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The directory named by the &lt;b&gt;--prefix&lt;/b&gt; option will hold machine independent files such as documentation, data and configuration files. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The directory named by the &lt;b&gt;--exec-prefix&lt;/b&gt; option, (which is normally a subdirectory of the &lt;b&gt;--prefix&lt;/b&gt; directory), will hold machine dependent files such as executables. &lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;7.2 Downloading source code&lt;/h2&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;For this example, we will download a piece of free software that converts between different units of measurements. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;First create a download directory&amp;nbsp; &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% mkdir download &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;a href=&quot;http://www.ee.surrey.ac.uk/Teaching/Unix/units-1.74.tar.gz&quot;&gt;Download the software here&lt;/a&gt; and save it to your new download directory.&lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;7.3 Extracting the source code &amp;nbsp; &lt;/h2&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Go into your &lt;b&gt;download&lt;/b&gt; directory and list the contents.&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% cd download &lt;br /&gt;
% ls -l &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;As you can see, the filename ends in tar.gz. The tar command turns several files and directories into one single tar file. This is then compressed using the gzip command (to create a tar.gz file). &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;First unzip the file using the gunzip command. This will create a .tar file.&amp;nbsp; &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% gunzip units-1.74.tar.gz &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Then extract the contents of the tar file. &amp;nbsp; &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% tar -xvf units-1.74.tar &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Again, list the contents of the &lt;b&gt;download&lt;/b&gt; directory, then go to the &lt;b&gt;units-1.74&lt;/b&gt; sub-directory.&amp;nbsp; &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% cd units-1.74 &lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;7.4 Configuring and creating the Makefile &amp;nbsp; &lt;/h2&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The first thing to do is carefully read the &lt;b&gt;README&lt;/b&gt; and &lt;b&gt;INSTALL&lt;/b&gt; text files (use the less command). These contain important information on how to compile and run the software.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The units package uses the GNU configure system to compile the source code. We will need to specify the installation directory, since the default will be the main system area which you will not have write permissions for. We need to create an install directory in your home directory. &amp;nbsp; &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% mkdir ~/units174&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Then run the configure utility setting the installation path to this.&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% ./configure --prefix=$HOME/units174&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;NOTE: The &lt;b&gt;$HOME&lt;/b&gt; variable is an example of an environment variable. The value of &lt;b&gt;$HOME&lt;/b&gt; is the path to your home directory. Just type &lt;br /&gt;
&lt;br /&gt;
% echo $HOME &lt;br /&gt;
&lt;br /&gt;
to show the contents of this variable. We will learn more about environment variables in a later chapter.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;If configure has run correctly, it will have created a Makefile with all necessary options. You can view the Makefile if you wish (use the less command), but do not edit the contents of this. &lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;7.5 Building the package&amp;nbsp; &lt;/h2&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Now you can go ahead and build the package by running the make command.&amp;nbsp; &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% make&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;After a minute or two (depending on the speed of the computer), the executables will be created. You can check to see everything compiled successfully by typing&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% make check&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;If everything is okay, you can now install the package. &amp;nbsp; &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% make install&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;This will install the files into the &lt;b&gt;~/units174&lt;/b&gt; directory you created earlier.&lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;7.6 Running the software&lt;/h2&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;You are now ready to run the software (assuming everything worked).&amp;nbsp; &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% cd ~/units174&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;If you list the contents of the units directory, you will see a number of subdirectories.&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; margin-left: 3pt;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: gray -moz-use-text-color gray gray; border-style: solid none solid solid; border-width: 1pt medium 1pt 1pt; padding: 3pt; width: 33.1pt;&quot; width=&quot;44&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;bin&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border: 1pt solid gray; padding: 3pt; width: 179.85pt;&quot; width=&quot;240&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;The binary executables&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3pt; width: 33.1pt;&quot; width=&quot;44&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;info&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3pt; width: 179.85pt;&quot; width=&quot;240&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;GNU info formatted documentation&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3pt; width: 33.1pt;&quot; width=&quot;44&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;man&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3pt; width: 179.85pt;&quot; width=&quot;240&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;Man pages&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td style=&quot;border-color: -moz-use-text-color -moz-use-text-color gray gray; border-style: none none solid solid; border-width: medium medium 1pt 1pt; padding: 3pt; width: 33.1pt;&quot; width=&quot;44&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;share&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-color: -moz-use-text-color gray gray; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 3pt; width: 179.85pt;&quot; width=&quot;240&quot;&gt;&lt;div class=&quot;TableContents&quot;&gt;Shared data files&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To run the program, change to the &lt;b&gt;bin&lt;/b&gt; directory and type&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% ./units &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;As an example, convert 6 feet to metres.&amp;nbsp; &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;You have: 6 feet&lt;br /&gt;
You want: metres&amp;nbsp; &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;* 1.8288 &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;If you get the answer 1.8288, congratulations, it worked.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To view what units it can convert between, view the data file in the share directory (the list is quite comprehensive).&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To read the full documentation, change into the &lt;b&gt;info&lt;/b&gt; directory and type&amp;nbsp; &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% info --file=units.info&lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;7.7 Stripping unnecessary code&lt;/h2&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;When a piece of software is being developed, it is useful for the programmer to include debugging information into the resulting executable. This way, if there are problems encountered when running the executable, the programmer can load the executable into a debugging software package and track down any software bugs.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;This is useful for the programmer, but unnecessary for the user. We can assume that the package, once finished and available for download has already been tested and debugged. However, when we compiled the software above, debugging information was still compiled into the final executable. Since it is unlikey that we are going to need this debugging information, we can strip it out of the final executable. One of the advantages of this is a much smaller executable, which should run slightly faster.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;What we are going to do is look at the before and after size of the binary file. First change into the &lt;b&gt;bin&lt;/b&gt; directory of the units installation directory.&amp;nbsp; &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% cd ~/units174/bin&lt;br /&gt;
% ls -l &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;As you can see, the file is over 100 kbytes in size. You can get more information on the type of file by using the file command.&amp;nbsp; &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% file units&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;units: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically linked (uses shared libs), not stripped&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To strip all the debug and line numbering information out of the binary file, use the strip command&amp;nbsp; &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% strip units&lt;br /&gt;
% ls -l &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;As you can see, the file is now 36 kbytes - a third of its original size. Two thirds of the binary file was debug code!!!&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Check the file information again.&amp;nbsp; &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% file units&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;units: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically linked (uses shared libs), stripped&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Sometimes you can use the make command to install pre-stripped copies of all the binary files when you install the package. Instead of typing make install, simply type make install-strip&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;8.1 UNIX Variables&lt;/h2&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Variables are a way of passing information from the shell to programs when you run them. Programs look &quot;in the environment&quot; for particular variables and if they are found will use the values stored. Some are set by the system, others by you, yet others by the shell, or any program that loads another program. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Standard UNIX variables are split into two categories, environment variables and shell variables. In broad terms, shell variables apply only to the current instance of the shell and are used to set short-term working conditions; environment variables have a farther reaching significance, and those set at login are valid for the duration of the session. By convention, environment variables have UPPER CASE and shell variables have lower case names. &lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;8.2 Environment Variables&lt;/h2&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;An example of an environment variable is the OSTYPE variable. The value of this is the current operating system you are using. Type &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% echo $OSTYPE &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;More examples of environment variables are &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin: 0in 0in 0.0001pt 35.35pt; text-indent: -14.15pt;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;USER (your login name) &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin: 0in 0in 0.0001pt 35.35pt; text-indent: -14.15pt;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;HOME (the path name of your home directory) &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin: 0in 0in 0.0001pt 35.35pt; text-indent: -14.15pt;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;HOST (the name of the computer you are using) &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin: 0in 0in 0.0001pt 35.35pt; text-indent: -14.15pt;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;ARCH (the architecture of the computers processor) &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin: 0in 0in 0.0001pt 35.35pt; text-indent: -14.15pt;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;DISPLAY (the name of the computer screen to display X windows) &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin: 0in 0in 0.0001pt 35.35pt; text-indent: -14.15pt;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;PRINTER (the default printer to send print jobs) &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: 35.35pt; text-indent: -14.15pt;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;PATH (the directories the shell should search to find a command) &lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Finding out the current values of these variables.&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;ENVIRONMENT variables are set using the setenv command, displayed using the printenv or env commands, and unset using the unsetenv command. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To show all values of these variables, type&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% printenv | less&lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;8.3 Shell Variables&lt;/h2&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;An example of a shell variable is the history variable. The value of this is how many shell commands to save, allow the user to scroll back through all the commands they have previously entered. Type&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% echo $history&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;More examples of shell variables are &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin: 0in 0in 0.0001pt 35.35pt; text-indent: -14.15pt;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;cwd (your current working directory) &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin: 0in 0in 0.0001pt 35.35pt; text-indent: -14.15pt;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;home (the path name of your home directory) &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin: 0in 0in 0.0001pt 35.35pt; text-indent: -14.15pt;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;path (the directories the shell should search to find a command) &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: 35.35pt; text-indent: -14.15pt;&quot;&gt;&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;prompt (the text string used to prompt for interactive commands shell your login shell) &lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Finding out the current values of these variables.&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;SHELL variables are both set and displayed using the set command. They can be unset by using the unset command. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To show all values of these variables, type&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% set | less&lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;So what is the difference between PATH and path ?&lt;/h3&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;In general, environment and shell variables that have the same name (apart from the case) are distinct and independent, except for possibly having the same initial values. There are, however, exceptions. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Each time the shell variables home, user and term are changed, the corresponding environment variables HOME, USER and TERM receive the same values. However, altering the environment variables has no effect on the corresponding shell variables. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;PATH and path specify directories to search for commands and programs. Both variables always represent the same directory list, and altering either automatically causes the other to be changed. &lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;8.4 Using and setting variables&lt;/h2&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Each time you login to a UNIX host, the system looks in your home directory for initialisation files. Information in these files is used to set up your working environment. The C and TC shells uses two files called .login and .cshrc (note that both file names begin with a dot).&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;At login the C shell first reads &lt;b&gt;.cshrc&lt;/b&gt; followed by &lt;b&gt;.login&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;b&gt;.login&lt;/b&gt; is to set conditions which will apply to the whole session and to perform actions that are relevant only at login. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;b&gt;.cshrc&lt;/b&gt; is used to set conditions and perform actions specific to the shell and to each invocation of it.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;The guidelines are to set ENVIRONMENT variables in the &lt;b&gt;.login&lt;/b&gt; file and SHELL variables in the &lt;b&gt;.cshrc&lt;/b&gt; file. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;b&gt;WARNING:&lt;/b&gt; NEVER put commands that run graphical displays (e.g. a web browser) in your .cshrc or .login file. &lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;8.5 Setting shell variables in the .cshrc file&lt;/h2&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;For example, to change the number of shell commands saved in the history list, you need to set the shell variable history. It is set to 100 by default, but you can increase this if you wish.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% set history = 200&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Check this has worked by typing&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% echo $history&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;However, this has only set the variable for the lifetime of the current shell. If you open a new xterm window, it will only have the default history value set. To PERMANENTLY set the value of history, you will need to add the set command to the .cshrc file.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;First open the &lt;b&gt;.cshrc&lt;/b&gt; file in a text editor. An easy, user-friendly editor to use is nedit.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% nedit ~/.cshrc&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Add the following line AFTER the list of other commands.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;set history = 200&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Save the file and force the shell to reread its .cshrc file buy using the shell source command.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% source .cshrc&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Check this has worked by typing&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% echo $history&lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;8.6 Setting the path&lt;/h2&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;When you type a command, your path (or PATH) variable defines in which directories the shell will look to find the command you typed. If the system returns a message saying &quot;command: Command not found&quot;, this indicates that either the command doesn&#39;t exist at all on the system or it is simply not in your path. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;For example, to run units, you either need to directly specify the units path (&lt;b&gt;~/units174/bin/units&lt;/b&gt;), or you need to have the directory &lt;b&gt;~/units174/bin&lt;/b&gt; in your path. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;You can add it to the end of your existing path (the &lt;b&gt;$path&lt;/b&gt; represents this) by issuing the command: &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% set path = ($path ~/units174/bin)&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Test that this worked by trying to run units in any directory other that where units is actually located. &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;% cd&lt;br /&gt;
% units&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;To add this path PERMANENTLY, add the following line to your .cshrc AFTER the list of other commands.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;set path = ($path ~/units174/bin)&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://systemadmineasy.blogspot.com/feeds/4649992672249313395/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://systemadmineasy.blogspot.com/2010/08/unix-basics-genral-unix-must-know.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/4649992672249313395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/4649992672249313395'/><link rel='alternate' type='text/html' href='http://systemadmineasy.blogspot.com/2010/08/unix-basics-genral-unix-must-know.html' title='UNIX Basics , Genral unix must know'/><author><name>sreekar</name><uri>http://www.blogger.com/profile/18265178104016369608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4656915886004082122.post-8414826904969215501</id><published>2010-04-14T14:50:00.003+05:30</published><updated>2010-04-19T16:40:24.180+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Copy unix"/><category scheme="http://www.blogger.com/atom/ns#" term="perl script"/><category scheme="http://www.blogger.com/atom/ns#" term="script to copy directory"/><category scheme="http://www.blogger.com/atom/ns#" term="shell script to copy"/><title type='text'>Script to copy the files under directory and subdirectories</title><content type='html'>Here is a script to copy the files from source path directory&#39;s and sub directory&#39;s&amp;nbsp; to specified destination directory. &lt;br /&gt;
&lt;br /&gt;
#!/usr/bin/perl -w&lt;br /&gt;
my $srcpath=&#39;&lt;your path=&quot;&quot; source=&quot;&quot;&gt;&#39;;&lt;br /&gt;
my $destpath=&#39;&lt;destination path=&quot;&quot;&gt;&#39;;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
system(&quot;chmod 755 $destpath&quot;);&lt;br /&gt;
system(&quot;chmod 755 $srcpath&quot;);&lt;br /&gt;
&lt;br /&gt;
copydir($srcpath);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
sub copydir&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; my $Path = shift(@_);&lt;br /&gt;
&lt;br /&gt;
print &quot;\n My Path : $Path&quot;;&lt;br /&gt;
&amp;nbsp; my @arry1=`ls&amp;nbsp; $Path`;&lt;br /&gt;
&amp;nbsp; foreach $a ( @arry1 )&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; chomp($a);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; print &quot;\n My File : $a&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(-d &quot;$Path/$a&quot;)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $Path1=&quot;$Path/$a&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print &quot;\nFrom IF : $Path1&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; copydir( $Path1 );&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print &quot;\n IT IS A FILE&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; system(&quot;cp -p $Path/$a $destpath&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
}&lt;br /&gt;
}&lt;/destination&gt;&lt;/your&gt;&lt;br /&gt;
Number of Hits : &lt;a href=&quot;http://www.digits.com/&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Hit Counter by Digits&quot; border=&quot;0&quot; src=&quot;http://counter.digits.com/?counter=%7B52905d19-48cf-9d14-493d-5f04e7267976%7D&amp;amp;template=simple&quot; /&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://systemadmineasy.blogspot.com/feeds/8414826904969215501/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://systemadmineasy.blogspot.com/2010/04/script-to-copy-files-under-direcotys.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/8414826904969215501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/8414826904969215501'/><link rel='alternate' type='text/html' href='http://systemadmineasy.blogspot.com/2010/04/script-to-copy-files-under-direcotys.html' title='Script to copy the files under directory and subdirectories'/><author><name>sreekar</name><uri>http://www.blogger.com/profile/18265178104016369608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4656915886004082122.post-3289624554157766198</id><published>2010-03-30T20:59:00.009+05:30</published><updated>2010-04-11T20:51:44.518+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="cloud computing"/><category scheme="http://www.blogger.com/atom/ns#" term="dynamic infrastructure"/><category scheme="http://www.blogger.com/atom/ns#" term="virtualization"/><title type='text'>Virtualization and dynamic infrastructure</title><content type='html'>&lt;meta content=&quot;text/html; charset=utf-8&quot; http-equiv=&quot;Content-Type&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Word.Document&quot; name=&quot;ProgId&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Microsoft Word 12&quot; name=&quot;Generator&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Microsoft Word 12&quot; name=&quot;Originator&quot;&gt;&lt;/meta&gt;&lt;link href=&quot;file:///C:%5CDOCUME%7E1%5Cswapna%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml&quot; rel=&quot;File-List&quot;&gt;&lt;/link&gt;&lt;link href=&quot;file:///C:%5CDOCUME%7E1%5Cswapna%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_editdata.mso&quot; rel=&quot;Edit-Time-Data&quot;&gt;&lt;/link&gt;&lt;link href=&quot;file:///C:%5CDOCUME%7E1%5Cswapna%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx&quot; rel=&quot;themeData&quot;&gt;&lt;/link&gt;&lt;link href=&quot;file:///C:%5CDOCUME%7E1%5Cswapna%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml&quot; rel=&quot;colorSchemeMapping&quot;&gt;&lt;/link&gt;    &lt;m:smallfrac m:val=&quot;off&quot;&gt;    &lt;m:dispdef&gt;    &lt;m:lmargin m:val=&quot;0&quot;&gt;    &lt;m:rmargin m:val=&quot;0&quot;&gt;    &lt;m:defjc m:val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent m:val=&quot;1440&quot;&gt;    &lt;m:intlim m:val=&quot;subSup&quot;&gt;    &lt;m:narylim m:val=&quot;undOvr&quot;&gt;   &lt;/m:narylim&gt;&lt;/m:intlim&gt; &lt;/m:wrapindent&gt;&lt;style&gt;
&lt;!--
 /* Font Definitions */
 @font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;
	mso-font-charset:2;
	mso-generic-font-family:auto;
	mso-font-pitch:variable;
	mso-font-signature:0 268435456 0 0 -2147483648 0;}
@font-face
	{font-family:&quot;Cambria Math&quot;;
	panose-1:2 4 5 3 5 4 6 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:roman;
	mso-font-pitch:variable;
	mso-font-signature:-1610611985 1107304683 0 0 159 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:-1610611985 1073750139 0 0 159 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-parent:&quot;&quot;;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:10.0pt;
	margin-left:0in;
	line-height:115%;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:&quot;Times New Roman&quot;;}
h2
	{mso-style-priority:9;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-link:&quot;Heading 2 Char&quot;;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	mso-pagination:widow-orphan;
	mso-outline-level:2;
	font-size:18.0pt;
	font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;
	mso-fareast-font-family:&quot;Times New Roman&quot;;
	font-weight:bold;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;
	text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-noshow:yes;
	mso-style-priority:99;
	color:purple;
	mso-themecolor:followedhyperlink;
	text-decoration:underline;
	text-underline:single;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;
	mso-fareast-font-family:&quot;Times New Roman&quot;;}
span.Heading2Char
	{mso-style-name:&quot;Heading 2 Char&quot;;
	mso-style-priority:9;
	mso-style-unhide:no;
	mso-style-locked:yes;
	mso-style-link:&quot;Heading 2&quot;;
	mso-ansi-font-size:18.0pt;
	mso-bidi-font-size:18.0pt;
	font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;
	mso-ascii-font-family:&quot;Times New Roman&quot;;
	mso-fareast-font-family:&quot;Times New Roman&quot;;
	mso-hansi-font-family:&quot;Times New Roman&quot;;
	font-weight:bold;}
p.Style2, li.Style2, div.Style2
	{mso-style-name:Style2;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-link:&quot;Style2 Char&quot;;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	mso-pagination:widow-orphan;
	mso-outline-level:2;
	font-size:11.0pt;
	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:&quot;Times New Roman&quot;;}
span.Style2Char
	{mso-style-name:&quot;Style2 Char&quot;;
	mso-style-unhide:no;
	mso-style-locked:yes;
	mso-style-link:Style2;
	mso-ansi-font-size:11.0pt;
	mso-bidi-font-size:11.0pt;}
.MsoChpDefault
	{mso-style-type:export-only;
	mso-default-props:yes;
	font-size:10.0pt;
	mso-ansi-font-size:10.0pt;
	mso-bidi-font-size:10.0pt;
	mso-ascii-font-family:Calibri;
	mso-fareast-font-family:Calibri;
	mso-hansi-font-family:Calibri;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
 /* List Definitions */
 @list l0
	{mso-list-id:43455368;
	mso-list-template-ids:1575793202;}
@list l0:level1
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l0:level2
	{mso-level-start-at:0;
	mso-level-number-format:bullet;
	mso-level-text:-;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
	mso-fareast-font-family:&quot;Times New Roman&quot;;
	mso-bidi-font-family:&quot;Times New Roman&quot;;}
@list l1
	{mso-list-id:1402215662;
	mso-list-template-ids:721034470;}
@list l1:level1
	{mso-level-number-format:bullet;
	mso-level-text:;
	mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--&gt;
&lt;/style&gt;  &lt;/m:defjc&gt;&lt;/m:rmargin&gt;&lt;/m:lmargin&gt;&lt;/m:dispdef&gt;&lt;/m:smallfrac&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #0f50b2; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 24pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Virtualization and dynamic infrastructure &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 139.5pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #a6a6a6; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -----Most demanding technology&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #0f50b2; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: #0f50b2; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 16pt; line-height: 115%;&quot;&gt;CONTENTS&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #4f81bd; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; line-height: 115%;&quot;&gt;Abstract &amp;nbsp;&amp;nbsp;………………………………………….……………………………………………………….3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #4f81bd; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; line-height: 115%;&quot;&gt;Introduction&amp;nbsp; &amp;nbsp;..………………………………….……………………………………………………….4&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #4f81bd; line-height: 115%;&quot;&gt;Popular virtualization products ……….….……………………………………………………..5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #4f81bd; line-height: 115%;&quot;&gt;Virtualization Advantages …..………….………………………………………………………….5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;color: #4f81bd; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: small;&quot;&gt;Important terminology ………..……….……………………………………………………………5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span class=&quot;Style2Char&quot; style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #4f81bd;&quot;&gt;When to use&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #4f81bd;&quot;&gt; Virtualization ………………………………………………………………………..7&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;color: #4f81bd; font-size: small;&quot;&gt;What are the cost benefits of virtualization ….……………………………………………….8&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;color: #4f81bd; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: small;&quot;&gt;Virtualization for a dynamic infrastructure …………………………………………………9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;&lt;h2&gt;&lt;span style=&quot;color: #4f81bd; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: small;&quot;&gt;&lt;a href=&quot;http://devcentral.f5.com/weblogs/macvittie/archive/2009/02/18/dynamic-infrastructure-the-cloud-within-the-cloud.aspx&quot; title=&quot;Title of this entry.&quot;&gt;&lt;span style=&quot;color: #4f81bd; text-decoration: none;&quot;&gt;Dynamic Infrastructure: The Cloud&lt;/span&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp; …………….…………………………………………...11&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;&lt;h2&gt;&lt;span style=&quot;color: #4f81bd; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: small;&quot;&gt;Conclusion ……………………………………………………..………………………………………….15&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;&lt;h2&gt;&lt;span style=&quot;color: #4f81bd; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: small;&quot;&gt;References ……………………………………………………….………………………………………..16 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #0f50b2; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Abstract &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 12pt; line-height: 115%;&quot;&gt;Virtualization is a method of running multiple independent virtual operating systems on a single physical computer.&amp;nbsp; It is a way of maximizing physical resources to minimize the investment in hardware. Virtualization refers to technologies designed to provide a layer of abstraction between computer hardware systems and the software running on them. By providing a logical view of computing resources, rather than a physical view, virtualization solutions make it possible to do a couple of very useful things: They can allow you, essentially, to trick your operating systems into thinking that a group of servers is a single pool of computing resources. And they can allow you to run multiple operating systems simultaneously on a single machine.&lt;/span&gt;&lt;span style=&quot;font-size: 12pt; line-height: 115%;&quot;&gt; By making the infrastructure much more flexible, virtualization can enable IT resources to be allocated faster, more cost effectively and more dynamically – and help you respond to the challenges of changing demand levels and new business requirements. Virtualization is the perfect solution for applications that are meant for small- to medium-scale usage.&amp;nbsp; Virtualization should not be used for high-performance applications where one or more servers need to be clustered together to meet performance requirements of a single application because the added overhead and complexity would only reduce performance.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 12pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;!-- Begin: AdBrite, Generated: 2009-09-02 3:22:20  --&gt;&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
var AdBrite_Title_Color = &#39;0000FF&#39;;
var AdBrite_Text_Color = &#39;000000&#39;;
var AdBrite_Background_Color = &#39;FFFFFF&#39;;
var AdBrite_Border_Color = &#39;CCCCCC&#39;;
var AdBrite_URL_Color = &#39;008000&#39;;
try{var AdBrite_Iframe=window.top!=window.self?2:1;var AdBrite_Referrer=document.referrer==&#39;&#39;?document.location:document.referrer;AdBrite_Referrer=encodeURIComponent(AdBrite_Referrer);}catch(e){var AdBrite_Iframe=&#39;&#39;;var AdBrite_Referrer=&#39;&#39;;}
&lt;/script&gt;&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;document.write(String.fromCharCode(60,83,67,82,73,80,84));document.write(&#39; src=&quot;http://ads.adbrite.com/mb/text_group.php?sid=1319018&amp;zs=3330305f323530&amp;ifr=&#39;+AdBrite_Iframe+&#39;&amp;ref=&#39;+AdBrite_Referrer+&#39;&quot; type=&quot;text/javascript&quot;&gt;&#39;);document.write(String.fromCharCode(60,47,83,67,82,73,80,84,62));&lt;/script&gt;&lt;br /&gt;
&lt;div&gt;&lt;a style=&quot;font-weight:bold;font-family:Arial;font-size:13px;&quot; target=&quot;_top&quot; href=&quot;http://www.adbrite.com/mb/commerce/purchase_form.php?opid=1319018&amp;afsid=1&quot;&gt;Your Ad Here&lt;/a&gt;&lt;/div&gt;&lt;!-- End: AdBrite --&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #0f50b2; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 16pt; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: #4f81bd; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 16pt; line-height: 115%;&quot;&gt;Introduction &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #4f81bd; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12pt; line-height: 115%;&quot;&gt;What is Virtualization?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 12pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
Virtualization is software technology which uses a physical resource such as a server and divides it up into virtual resources called virtual machines (VM&#39;s).&amp;nbsp; Virtualization allows users to consolidate physical resources, simplify deployment and administration, and reduce power and cooling requirements.&amp;nbsp; &lt;span style=&quot;color: #444444;&quot;&gt;While&lt;/span&gt; virtualization technology is most popular in the server world, virtualization technology is also being used in data storage such as Storage Area Networks, and inside of operating systems such as Windows Server 2008 with Hyper-V.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 12pt; line-height: 115%;&quot;&gt;Virtualization is a method of running multiple independent virtual operating systems on a single physical computer.&amp;nbsp; It is a way of maximizing physical resources to minimize the investment in hardware.&amp;nbsp; Since Moore&#39;s law has accurately predicted the exponential growth of computing power and hardware requirements for the most part have not changed to accomplish the same computing tasks, it is now feasible to turn a very inexpensive 1U dual-socket dual-core commodity server into eight or even 16 virtual servers that run 16 virtual operating systems.&amp;nbsp; Virtualization technology is a way of achieving higher server density. However, it does not actually increase total computing power; it decreases it slightly because of overhead.&amp;nbsp; But since a modern $3,000 2-socket 4-core server is more powerful than a $30,000 8-socket 8-core server was four years ago, we can exploit this newly found hardware power by increasing the number of logical operating systems it hosts.&amp;nbsp; This slashes the majority of hardware acquisition and maintenance costs that can result in significant savings for any company or organization.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Virtualization refers to technologies designed to provide a layer of abstraction between computer hardware systems and the software running on them. By providing a logical view of computing resources, rather than a physical view, virtualization solutions make it possible to do a couple of very useful things: They can allow you, essentially, to trick your operating systems into thinking that a group of servers is a single pool of computing resources. And they can allow you to run multiple operating systems simultaneously on a single machine.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Virtualization has its roots in partitioning, which divides a single physical server into multiple logical servers. Once the physical server is divided, each logical server can run an operating system and applications independently. In the 1990s, virtualization was used primarily to re-create end-user environments on a single piece of mainframe hardware. If you were an IT administrator and you wanted to roll out new software, but you wanted see how it would work on a Windows NT or a Linux machine, you used virtualization technologies to create the various user environments.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;But with the advent of the x86 architecture and inexpensive PCs, virtualization faded and seemed to be little more than a fad of the mainframe era. It&#39;s fair to credit the recent rebirth of virtualization on x86 to the founders of the current market leader, VMware. VMware developed the first hypervisor for the x86 architecture in the 1990s, planting the seeds for the current virtualization boom.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #4f81bd; font-size: 12pt;&quot;&gt;Popular virtualization products include:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #4f81bd; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;color: #444444; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;VMware &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: #444444; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;IBM&amp;nbsp; HMC, LPARS ,VIOS,DLPARS&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: #444444; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;Microsoft      Hyper-V &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: #444444; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;Virtual      Iron &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: #444444; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;Xen &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #4f81bd; font-size: 12pt;&quot;&gt;Virtualization Advantages:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #4f81bd; font-size: 12pt;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;Server      consolidation&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;      &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;Reduced      power and cooling &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;Green      computing &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;Ease of      deployment and administration &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;High      availability and disaster recovery &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-left: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h2&gt;&lt;span style=&quot;color: #4f81bd; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12pt;&quot;&gt;Important terminology &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;&lt;i&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;What is a hypervisor?&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;br /&gt;
The hypervisor is the most basic virtualization component. It&#39;s the software that decouples the operating system and applications from their physical resources. A hypervisor has its own kernel and it&#39;s installed directly on the hardware, or &quot;bare metal.&quot;&amp;nbsp; It is, almost literally, inserted between the hardware and the OS.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;i&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;What is a virtual machine?&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;A virtual machine (VM) is a self-contained operating environment—software that works with, but is independent of, a host operating system. In other words, it&#39;s a platform-independent software implementation of a CPU that runs compiled code. A Java virtual machine, for example, will run any Java-based program (more or less). The VMs must be written specifically for the OSes on which they run. Virtualization technologies are sometimes called dynamic virtual machine software.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;i&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;What is paravirtualization?&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;br /&gt;
Paravirtualization is a type of virtualization in which the entire OS runs on top of the hypervisor and communicates with it directly, typically resulting in better performance. The kernels of both the OS and the hypervisor must be modified, however, to accommodate this close interaction. A paravirtualized Linux operating system, for example, is specifically optimized to run in a virtual environment. &lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Full virtualization&lt;/span&gt;&lt;/i&gt;, in contrast, presents an abstract layer that intercepts all calls to physical resources.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Paravirtualization relies on a virtualized subset of the x86 architecture. Recent chip enhancement developments by both Intel and AMD are helping to support virtualization schemes that do not require modified operating systems. Intel&#39;s &quot;Vanderpool&quot; chip-level virtualization technology was one of the first of these innovations. AMD&#39;s &quot;Pacifica&quot; extension provides additional virtualization support. Both are designed to allow simpler virtualization code, and the potential for better performance of fully virtualized environments.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;i&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;What is application virtualization?&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;br /&gt;
Virtualization in the application layer isolates software programs from the hardware and the OS, essentially encapsulating them as independent, moveable objects that can be relocated without disturbing other systems. Application virtualization technologies minimize app-related alterations to the OS, and mitigate compatibility challenges with other programs.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;i&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;What is a virtual appliance?&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;A virtual appliance (VA) is not, as its name suggests, a piece of hardware. It is, rather, a prebuilt, preconfigured application bundled with an operating system inside a virtual machine. The VA is a software distribution vehicle, touted by VMware and others, as a better way of installing and configuring software. The VA targets the virtualization layer, so it needs a destination with a hypervisor. VMware and others are touting the VA as a better way to package software demonstrations, proof-of-concept projects and evaluations.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;i&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;What is Xen?&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;The Xen Project has developed and continues to evolve a free, open-source hypervisor for x86. Available since 2003 under the GNU General Public License, Xen runs on a host operating system, and so is considered paravirtualization technology. The project originated as a research project at the University of Cambridge led by Ian Pratt, who later left the school to found XenSource, the first company to implement a commercial version of the Xen hypervisor. A number of large enterprise companies now support Xen, including Microsoft, Novell and IBM. XenSource (not surprisingly) and SAP-based startup Virtual Iron offer Xen-based virtualization solutions.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span class=&quot;Style2Char&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #4f81bd; font-size: 12pt;&quot;&gt;When to use&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #4f81bd; font-size: 12pt;&quot;&gt; Virtualization&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;Virtualization is the perfect solution for applications that are meant for small- to medium-scale usage.&amp;nbsp; Virtualization should not be used for high-performance applications where one or more servers need to be clustered together to meet performance requirements of a single application because the added overhead and complexity would only reduce performance.&amp;nbsp; We&#39;re essentially taking a 12 GHz server (four cores times three GHz) and chopping it up into 16 750 MHz servers.&amp;nbsp; But if eight of those servers are in off-peak or idle mode, the remaining eight servers will have nearly 1.5 GHz available to them.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;While some in the virtualization industry like to tout high CPU utilization numbers as an indication of optimum hardware usage, this advice should not be taken to the extreme where application responsiveness gets excessive.&amp;nbsp; A simple rule of thumb is to never let a server exceed 50% CPU utilization during peak loads; and more importantly, never let the application response times exceed a reasonable SLA (Service Level Agreement).&amp;nbsp; Most modern servers being used for in-house server duties are utilized from 1 to 5% CPU.&amp;nbsp; Running eight operating systems on a single physical server would elevate the peak CPU utilization to around 50%, but it would average much lower since the peaks and valleys of the virtual operating systems will tend to cancel each other out more or less.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;While CPU overhead in most of the virtualization solutions available today are minimal, I/O (Input/Output) overhead for storage and networking throughput is another story.&amp;nbsp; For servers with extremely high storage or hardware I/O requirements, it would be wise to run them on bare metal even if their CPU requirements can be met inside a Virtual environment.&amp;nbsp; Both &lt;span style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://www.xensource.com/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: black; text-decoration: none;&quot;&gt;Xen source&lt;/span&gt;&lt;/a&gt; &lt;/span&gt;and &lt;span style=&quot;color: black;&quot;&gt;Virtual Iron&lt;/span&gt; (which will soon be Xen Hypervisor based) promise to minimize I/O overhead, yet they&#39;re both in beta at this point, so there haven&#39;t been any major independent benchmarks to verify this.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Server consolidation is definitely the sweet spot in this market. Virtualization has become the cornerstone of every enterprise&#39;s favorite money-saving initiative. Industry analysts report that between 60 percent and 80 percent of IT departments are pursuing server consolidation projects. It&#39;s easy to see why: By reducing the numbers and types of servers that support their business applications, companies are looking at significant cost savings.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Less power consumption, both from the servers themselves and the facilities&#39; cooling systems, and fuller use of existing, underutilized computing resources translate into a longer life for the data center and a fatter bottom line. And a smaller server footprint is simpler to manage.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;However, industry watchers report that most companies begin their exploration of virtualization through application testing and development. Virtualization has quickly evolved from a neat trick for running extra operating systems into a mainstream tool for software developers. Rarely are applications created today for a single operating system; virtualization allows developers working on a single workstation to write code that runs in many different environments, and perhaps more importantly, to &lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;test&lt;/span&gt;&lt;/i&gt; that code. This is a noncritical environment, generally speaking, and so it&#39;s an ideal place to kick the tires.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Once application development is happy, and the server farm is turned into a seamless pool of computing resources, storage and network consolidation start to move up the to-do list. Other virtualization-enabled features and capabilities worth considering: high availability, disaster recovery and workload balancing.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h2&gt;&lt;span style=&quot;color: #4f81bd; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12pt;&quot;&gt;What are the cost benefits of virtualization?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;IT departments everywhere are being asked to do more with less, and the name of the game today is resource utilization. Virtualization technologies offer a direct and readily quantifiable means of achieving that mandate by collecting disparate computing resources into shareable pools.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;For example, analysts estimate that the average enterprise utilizes somewhere between 5 percent and 25 percent of its server capacity. In those companies, most of the power consumed by their hardware is just heating the room in idle cycles. Employing virtualization technology to consolidate underutilized x86 servers in the data center yields both an immediate, one-time cost saving and potentially significant ongoing savings.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;The most obvious immediate impact here comes from a reduction in the number of servers in the data center. Fewer machines means less daily power consumption, both from the servers themselves and the cooling systems that companies must operate and maintain to keep them from overheating.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Turning a swarm of servers into a seamless computing pool can also lessen the scope of future hardware expenditures, while putting the economies of things like utility pricing models and pay-per-use plans on the table. Moreover, a server virtualization strategy can open up valuable rack space, giving a company room to grow.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;From a human resources standpoint, a sleeker server farm makes it possible to improve the deployment of administrators.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;&lt;span style=&quot;color: #4f81bd; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12pt;&quot;&gt;Virtualization for a dynamic infrastructure&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;Virtualization is a key building block of a dynamic infrastructure.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;By making the infrastructure much more flexible, virtualization can enable IT resources to be allocated faster, more cost effectively and more dynamically – and help you respond to the challenges of changing demand levels and new business requirements.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;To achieve the best outcome, organizations are virtualizing at all layers of the architecture, from servers to desktops, storage, networks, and applications – while also adopting new methods of automation and service management -- to help reduce cost, improve service and manage risk.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;An increasing number of enterprises are turning to a dynamic infrastructure, which is designed to be service-oriented and focused on supporting and enabling end users in a highly responsive way. The transformation can&#39;t happen overnight, but a number of technologies can come together to make it possible. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;In almost every case, the transformation to a dynamic infrastructure will involve virtualization. Many IT professionals think of virtualization specifically in terms of servers. Dynamic infrastructure has a broader perspective, in which virtualization is seen as a general approach to decouple logical resources from physical elements, so those resources can be allocated faster, more cost effectively, and more dynamically—wherever the business requires them in real time to ideally meet changing demand levels or business requirements. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Virtualization helps to make the infrastructure dynamic. By moving to virtualized solutions, an organization can expect substantial benefits for both IT and the business. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;On the IT side, costs will fall; this commonly occurs via enhanced resource utilization, recaptured floor space in data centers, and improved energy efficiency. Service levels will climb; the performance and scalability of existing services will both be boosted, and new services can be developed and rolled out much more quickly. Risks, too, will be mitigated, because the uptime and availability of mission-critical and revenue-generating systems, applications, and services will generally improve with virtualization. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;On the business side, virtualization can create a foundation for growth. When new strategies are suggested by changing market conditions, they will be easier to create and deploy via a virtualized, dynamic infrastructure. Actionable business intelligence is acquired faster through real-time processing, helping to quantify the extent of any given strategy&#39;s success (or failure). With the appropriate management operations and systems control are consolidated, spurring time-to-solution, and should there be redundancy within the infrastructure or staffing, it is more easily identified and resolved as a result. Finally, employee productivity will typically climb with the improved management infrastructure. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Virtual servers are the best-known example of virtual solutions. They translate into many powerful business benefits, including reduced server sprawl through consolidation, reduced energy consumption, dramatically higher hardware utilization, greater flexibility in assigning processing power to IT services when they require it, and higher service availability. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;However, that virtualization as a key element of the dynamic infrastructure can and should involve many other virtualized elements in addition to servers; in fact, best results will often come as additional areas of the infrastructure are virtualized&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Virtual storage allows the organization to approach storage not as a fixed element tied to specific hardware, but as a fluid resource that can be allocated to any application or service that requires it, in real time. Databases in which new records are continually being created can grow in proportion to the business need without regard for the size of the hard drives on the systems hosting them. Data can be moved seamlessly to and from various tiers of storage to better align data&#39;s value with its cost. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;When applications, systems, and services continually have access to the storage they require, overall IT availability, productivity, and service levels will climb, helping to maximize the return on investment of all the elements that use storage. Virtual storage also enables centralized management of storage resources from a single point of control, reducing management costs. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Virtual clients can directly address the problem of desktop sprawl. Desktops with a complete operating system and application stack translate into a substantial and expensive burden on IT teams. In particular, mass rollouts such as new applications or operating system versions can require months to finish, creating a substantial business impact. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Virtual (&quot;thin&quot;) clients represent an attractive alternative. Thin clients are essentially identical from unit to unit; end user data and applications are migrated to shared servers and then accessed by users over the network using the thin clients. End user resources can be centrally managed by IT in an elegant, accelerated fashion, substantially reducing both desktop sprawl and all of its associated costs. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;A virtual application infrastructure can also deliver powerful benefits. Imagine an organization in which many key services are supported by core Java applications operating on server clusters. Now imagine that an unexpected spike in demand requires higher performance from one of those applications, while the others remain comparatively idle. By virtualizing the application infrastructure, application workloads can be dynamically assigned across clusters, ensuring that such spikes are quickly and effectively addressed via more processing power whenever and wherever it&#39;s required. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Virtual networks can also play a major role in helping an infrastructure to become more dynamic. A single physical network node can be virtualized into several virtual nodes in order to increase network capacity. Multiple physical switches can be logically consolidated into one virtual switch in order to reduce complexity and ease management costs. Virtual private networks deliver similar security and performance to remote users as private physical networks would, yet at a far lower cost. Even network adapters can be virtualized, helping to decrease the number of physical assets in play throughout the infrastructure. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size:180%;&quot;&gt;      Not able to FTP as Root &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;  &gt;&lt;br /&gt;
&lt;noscript&gt;&lt;a href=&quot;http://www.bidvertiser.com&quot;&gt;advertising&lt;/a&gt;&lt;/noscript&gt;&lt;br /&gt;
&lt;!-- End BidVertiser code --&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&lt;span style=&quot;color: #4f81bd;&quot;&gt;&lt;a href=&quot;http://devcentral.f5.com/weblogs/macvittie/archive/2009/02/18/dynamic-infrastructure-the-cloud-within-the-cloud.aspx&quot; title=&quot;Title of this entry.&quot;&gt;&lt;span style=&quot;color: #4f81bd; text-decoration: none;&quot;&gt;Dynamic Infrastructure: The Cloud&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;Cloud computing is a general term for anything that involves delivering hosted services over the Internet. About cloud computing as a utility -- much like electrical &amp;amp; water utility services where you pay only for the computing and storage that you use, as opposed to paying the overhead of creating &amp;amp; maintaining your own data center.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;As learned from past events, computing in its purest form, has changed hands multiple times. First from near the beginning when mainframes were predicted to be the future of computing. Indeed mainframes and large scale machines were built and used, and in some circumstances are used similarly today. The trend, however, turned from bigger and more expensive, to smaller and more affordable commodity PCs and servers.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Most of our data is stored on local networks with servers that may be clustered and sharing storage. This approach has had time to be developed into stable architecture, and provide decent redundancy when deployed right. A newer emerging technology, cloud computing, has shown up demanding attention and quickly is changing the direction of the technology landscape. Whether it is Google’s unique and scalable Google File System, or Amazon’s robust Amazon S3 cloud storage model, it is clear that cloud computing has arrived with much to be gleaned from.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;In dealing with the abstract term, “the cloud”, it is easy to misunderstand what makes up the structure and function. The basic function is what comes from “the cloud”. This is primarily output, however, not only. Input is what makes the cloud tick.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Do not confuse cloud computing with the term data center, as it typically sits on top of the latter. Viewing the cloud as logical rather than a physical&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;These services are broadly divided into&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;SaaS: Software as a Service&lt;br /&gt;
PaaS: Platform as a Service&lt;br /&gt;
DaaS: Data as a Service&lt;br /&gt;
HaaS: Hardware as a Service&lt;br /&gt;
IaaS: Infrastructure as a Service&lt;br /&gt;
XaaS: X as a Service, for whatever X&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;Everyone has an opinion on what is cloud computing. It can be the ability to rent a server or a thousand servers and run a geophysical modeling application on the most powerful systems available anywhere. It can be the ability to rent a virtual server, load software on it, turn it on and off at will, or clone it ten times to meet a sudden workload demand. It can be storing and securing immense amounts of data that is accessible only by authorized applications and users. It can be supported by a cloud provider that sets up a platform that includes the OS, Apache, a MySQL™ database,Perl, Python, and PHP with the ability to scale automatically in response to changing workloads. Cloud computing can be the ability to use applications on the Internet that store and protect data while providing a service — anything including email,sales force automation and tax preparation. It can be using a storage cloud to hold application, business, and personal data. And it can be the ability to use a handful ofWeb services to integrate photos, maps, and GPS information to create a mashup in customer Web browsers.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;color: #4f81bd; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #4f81bd; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;The biggest challenge in cloud computing may be the fact that there&#39;s no standard or single architectural method. In fact, there are few definitions of the cloud computing concept that are fully accepted. Therefore, it&#39;s best to view cloud architectures as a set of approaches, each with its own examples and capabilities. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;A cloud computing system is a set of IT resources designed to be allocated ad hoc to run applications, rather than be assigned a static set of applications as is the case in client/server computing. In a cloud computing environment, a user (via a virtual desktop, for example) requests information from an application. The cloud computing environment must then broker resources to run that application. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;Virtualization is the key element in any form of application or resource brokering. To understand why, look at the process from the virtual desktop perspective: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #4f81bd; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12pt;&quot;&gt;What’s hidden in the cloud?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #4f81bd; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;Inside the “cloud within the cloud” there are a great number of pieces of infrastructure working together. Obviously there are the core networking components: routers, switches, DNS, and DHCP, without which connectivity would be impossible.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Moving up the stack we find load balancing and application delivery infrastructure; the core application networking components that enable the dynamism promised by virtualized environments to be&amp;nbsp; achieved. Without a layer of infrastructure bridging the gap between the network and the applications, virtualized or not, it is difficult to achieve the kind of elasticity and dynamism necessary for the cloud to “just work” for end users. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;It is the application networking layer that is responsible for ensuring availability, proper routing of requests, and applying application level policies such as security and acceleration. This layer must be dynamic, because the actual virtualized layers of web and application servers are themselves dynamic. Application instances may move from IP to IP across hours or days, and it is necessary for the application networking layer to be able to adapt to that change without requiring manual intervention in the form of configuration modification. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Storage virtualization, too, resides in this layer of the infrastructure. Storage virtualization provides enables a dynamic infrastructure by presenting a unified view of storage to the applications and internal infrastructure, ensuring that the application need not be modified in order to access file-based resources. Storage virtualization can further be the means through which cloud control mechanisms manage the myriad virtual images required to support a cloud computing infrastructure. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;The role of the application networking layer is to mediate, or broker, between clients and the actual applications to ensure a seamless access experience regardless of where the actual application instance might be running at any given time. It is the application networking layer that provides &lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;network and server virtualization&lt;/span&gt;&lt;/i&gt; such that the actual implementation of the cloud is hidden from external constituents. Much like storage virtualization, application networking layers present a “virtual” view of the applications and resources requiring external access. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;This is why dynamism is such an integral component of a cloud computing infrastructure: the application networking layer must, necessarily, keep tabs on application instances and be able to associate them with the appropriate “virtual” application it presents to external users. Classic load balancing solutions are incapable of such dynamic, near real-time reconfiguration and discovery and almost always require manual intervention. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Dynamic application networking infrastructure is not only capable but excels at this type of autonomous function, integrating with the systems necessary to enable awareness of changes within the application infrastructure and act upon them. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;The “cloud within the cloud” need only be visible to implementers; but as we move forward and more organizations attempt to act on a localized cloud computing strategy it becomes necessary to peer inside the cloud and understand how the disparate pieces of technology combine. This visibility is a requirement if organizations are to achieve the goals desired through the implementation of a cloud computing-based architecture: efficiency and scalability. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;color: #4f81bd; font-size: 14pt;&quot;&gt;Conclusion &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;Virtualization enables a more agile infrastructure by decoupling the application stack from the underlying hardware and operating system. This much-adopted architecture enables IT leaders to drive efficient task automation within and across &quot;IT silos&quot; and drive tighter process standardization across teams. Virtualization provides encapsulated automation opportunities that IT must take advantage of to drive higher ROI and more effective and efficient delivery of IT services. Increasingly, IT organizations that virtualize a higher percentage of their application workloads must&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;utilize automation capabilities as the demand for higher-quality services outpaces hiring practices. To accelerate automation’s impact on increasing staff utilization, IT should adopt process standardization. By using automation along with virtualization, IT has an incredible opportunity to provide highly cost-effective service delivery while gaining flexibility in the ability to meet ongoing business needs.&lt;/span&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;References&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-left: 1in; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;-&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;a href=&quot;http://www-03.ibm.com/&quot;&gt;www-03.ibm.com/&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-left: 1in; text-indent: -0.25in;&quot;&gt;&lt;cite&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12pt; font-style: normal;&quot;&gt;-&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/cite&gt;&lt;cite&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;a href=&quot;http://www.redbooks.ibm.com/&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;www.&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;redbooks&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;.ibm.com&lt;/span&gt;&lt;/a&gt; &lt;/span&gt;&lt;/cite&gt;&lt;cite&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12pt; font-style: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/cite&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-left: 1in; text-indent: -0.25in;&quot;&gt;&lt;cite&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12pt; font-style: normal;&quot;&gt;-&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/cite&gt;&lt;cite&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;a href=&quot;http://www.vmware.com/&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;www.&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;vmware&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;.com/&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/cite&gt;&lt;cite&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12pt; font-style: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/cite&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-left: 1in; text-indent: -0.25in;&quot;&gt;&lt;cite&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12pt; font-style: normal;&quot;&gt;-&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/cite&gt;&lt;cite&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;a href=&quot;http://www.sun.com/solutions/virtualization/&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;www.&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;sun&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;.com/solutions/&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;virtualization&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;/&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/cite&gt;&lt;cite&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12pt; font-style: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/cite&gt;&lt;/div&gt;Number of Hits : &lt;a href=&quot;http://www.digits.com/&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Hit Counter by Digits&quot; border=&quot;0&quot; src=&quot;http://counter.digits.com/?counter=%7B52905d19-48cf-9d14-493d-5f04e7267976%7D&amp;amp;template=simple&quot; /&gt;&lt;/a&gt; </content><link rel='replies' type='application/atom+xml' href='http://systemadmineasy.blogspot.com/feeds/3289624554157766198/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://systemadmineasy.blogspot.com/2010/03/virtualization-and-dynamic.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/3289624554157766198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/3289624554157766198'/><link rel='alternate' type='text/html' href='http://systemadmineasy.blogspot.com/2010/03/virtualization-and-dynamic.html' title='Virtualization and dynamic infrastructure'/><author><name>sreekar</name><uri>http://www.blogger.com/profile/18265178104016369608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4656915886004082122.post-8026458070718381635</id><published>2010-03-24T09:54:00.002+05:30</published><updated>2010-03-30T21:04:56.510+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AIX NIM basics"/><category scheme="http://www.blogger.com/atom/ns#" term="BOS AIX"/><category scheme="http://www.blogger.com/atom/ns#" term="NIM"/><title type='text'>AIX Network Installation Manager ( NIM ) - PART1</title><content type='html'>&lt;meta content=&quot;text/html; charset=utf-8&quot; http-equiv=&quot;Content-Type&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Word.Document&quot; name=&quot;ProgId&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Microsoft Word 12&quot; name=&quot;Generator&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Microsoft Word 12&quot; name=&quot;Originator&quot;&gt;&lt;/meta&gt;&lt;link href=&quot;file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml&quot; rel=&quot;File-List&quot;&gt;&lt;/link&gt;&lt;link href=&quot;file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx&quot; rel=&quot;themeData&quot;&gt;&lt;/link&gt;&lt;link href=&quot;file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml&quot; rel=&quot;colorSchemeMapping&quot;&gt;&lt;/link&gt;    &lt;m:smallfrac m:val=&quot;off&quot;&gt;    &lt;m:dispdef&gt;    &lt;m:lmargin m:val=&quot;0&quot;&gt;    &lt;m:rmargin m:val=&quot;0&quot;&gt;    &lt;m:defjc m:val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent m:val=&quot;1440&quot;&gt;    &lt;m:intlim m:val=&quot;subSup&quot;&gt;    &lt;m:narylim m:val=&quot;undOvr&quot;&gt;   &lt;/m:narylim&gt;&lt;/m:intlim&gt; &lt;/m:wrapindent&gt;&lt;style&gt;
&lt;!--
 /* Font Definitions */
 @font-face
	{font-family:&quot;Cambria Math&quot;;
	panose-1:2 4 5 3 5 4 6 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:roman;
	mso-font-pitch:variable;
	mso-font-signature:-1610611985 1107304683 0 0 159 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:-1610611985 1073750139 0 0 159 0;}
@font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:536871559 0 0 0 415 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-priority:1;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-parent:&quot;&quot;;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:10.0pt;
	margin-left:0in;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
	mso-fareast-font-family:&quot;Times New Roman&quot;;
	mso-bidi-font-family:&quot;Times New Roman&quot;;}
.MsoChpDefault
	{mso-style-type:export-only;
	mso-default-props:yes;
	font-size:10.0pt;
	mso-ansi-font-size:10.0pt;
	mso-bidi-font-size:10.0pt;
	mso-ascii-font-family:Calibri;
	mso-fareast-font-family:Calibri;
	mso-hansi-font-family:Calibri;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
 /* List Definitions */
 @list l0
	{mso-list-id:1451436722;
	mso-list-template-ids:857244262;}
@list l0:level1
	{mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1
	{mso-list-id:1578512027;
	mso-list-template-ids:1260265154;}
@list l1:level1
	{mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--&gt;
&lt;/style&gt;  &lt;/m:defjc&gt;&lt;/m:rmargin&gt;&lt;/m:lmargin&gt;&lt;/m:dispdef&gt;&lt;/m:smallfrac&gt;&lt;br /&gt;
&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;NIM installation Filesets&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;You will need Volume 1 of your Base AIX Installation media CD. If you have a directory where you’ve used the bffcreate utility to copy down the contents of the media to disk, that is fine as well. What we’re looking for basically is the base level versions of the NIM filesets. &lt;br /&gt;
There are 3 filesets we will need to deliver the NIM software to our future NIM master. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.5in; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;1.&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;bos.sysmgt.nim.master &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.5in; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;2.&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;bos.sysmgt.nim.client &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.5in; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;3.&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;bos.sysmgt.nim.spot&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;&lt;br /&gt;
Put Volume 1 of your media in the drive and from and command line you can run the following command : &lt;br /&gt;
# installp -acgXd /dev/cd0 bos.sysmgt.nim.master bos.sysmgt.nim.client bos.sysmgt.nim.spot&lt;br /&gt;
&lt;br /&gt;
Using smitty :&lt;br /&gt;
# smitty install_all&lt;br /&gt;
* INPUT device / directory for software /dev/cd0&lt;br /&gt;
* SOFTWARE to install &lt;type filesets=&quot;&quot; here=&quot;&quot; in=&quot;&quot; your=&quot;&quot;&gt;&lt;br /&gt;
PREVIEW only? (install operation will NOT occur) no&lt;br /&gt;
COMMIT software updates? yes&lt;br /&gt;
SAVE replaced files? no&lt;br /&gt;
AUTOMATICALLY install requisite software? yes&lt;br /&gt;
EXTEND file systems if space needed? yes&lt;br /&gt;
OVERWRITE same or newer versions? no&lt;br /&gt;
VERIFY install and check file sizes? no&lt;br /&gt;
DETAILED output? no&lt;br /&gt;
Process multiple volumes? yes&lt;br /&gt;
ACCEPT new license agreements? no&lt;br /&gt;
Preview new LICENSE agreements? no&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/b&gt;&lt;/type&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;NIM Key Components&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&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’re going to be flipping back to this part all mad later thinking, “ok fine so I should have read through this before....”.&lt;br /&gt;
&lt;br /&gt;
So this is sort of like a “reverse-glossary”. I have it before any of the “How to” portions of the guide because it is important to know what it is we are talking about. 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;
&lt;b&gt;&lt;u&gt;Important Files and Directories:&lt;/u&gt;&lt;/b&gt;&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 to boot from a NIM SPOT. If this file contains incorrect information about either the master or the client, 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 client 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;
&lt;ipadress&gt; &lt;shortname&gt; &lt;longname&gt;&lt;br /&gt;
If the client machine is up and running, it should also have a good entry in there for the NIM master as well.&lt;br /&gt;
- /etc/niminfo: &lt;br /&gt;
This file should always exist on the NIM master and sometimes will exist on a NIM client.&lt;br /&gt;
&lt;i&gt;On the Master&lt;/i&gt; : 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;i&gt;On the Client &lt;/i&gt;: This file is “optional” depending on what sort of operations you are performing on the client. If the NIM client is up and running, and you intend to perform operations on the client (like take backups, or install maintenance) you will want to make sure this file exists. This file contains not only hostname information for the client, but tells the client who its master is.&lt;br /&gt;
This also should not be edited manually. If there is incorrect information in the file, it should be removed and recreated. &lt;br /&gt;
&lt;br /&gt;
- /tftpboot :&lt;br /&gt;
This directory should always exist on the NIM master. The main purpose of this directory is to hold the boot images that are created by NIM when a boot or installation is initiated. This directory also holds informational files about the clients that are having a boot or installation operation performed. The file names that are generated in both cases are very descriptive file names For example :&lt;br /&gt;
The boot image created might be named : 53_spot.chrp.mp.ent.&lt;br /&gt;
The format of the file name is &lt;spotname&gt;.&lt;system_architecture&gt;.&lt;processor&gt;.&lt;adapter_type&gt;&lt;br /&gt;
The client info files are aptly named : &lt;clientname&gt;.info&lt;br /&gt;
The NIM master will create the &lt;client_hostnamename&gt; file and link it to the boot image. This boot image is what is sent over to the NIM client during a boot/installation operation.&lt;br /&gt;
&lt;br /&gt;
&lt;/client_hostnamename&gt;&lt;/clientname&gt;&lt;/adapter_type&gt;&lt;/processor&gt;&lt;/system_architecture&gt;&lt;/spotname&gt;&lt;/longname&gt;&lt;/shortname&gt;&lt;/ipadress&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;NIM key words &lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Base Operating System Installation : &lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
Also commonly called (and referred to from here on out) as a &lt;b&gt;bos_inst&lt;/b&gt; operation. This simply refers to the fact that you are initiating a boot and installation to a client machine. There are other installation types that do NOT require a boot. A &lt;b&gt;bos_inst&lt;/b&gt; operation always means a boot of the client machine is involved.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Bootp : &lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
This is the initial communication made between the NIM master and client during a boot or bosinst operation. In order for this to be successful several factors must be met : &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.5in; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;1.&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;- bootpd must be running on the NIM master &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.5in; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;2.&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;- the NIM client and master must have correct ip information about each other &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.5in; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;3.&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;- the /etc/bootptab must be populated correctly &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.5in; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;4.&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;- If the master and client systems are on separate networks, the router must be set to forward bootp packets.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;There are other causes of failure, but checking/verifying those 4 will solve most bootp issues.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Tftp (Trivial File Transfer Protocol):&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
When the NIM client has been rebooted for a boot or 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 &lt;clientname&gt;.info file and the boot image to the client.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;if1= :&lt;/u&gt;&lt;/b&gt; 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. Not all adapters on a client need to be defined in NIM, only the ones that you wish to use with NIM. When your NIM master is generated, you will create a network name for the master and every client on the same subnet as the master. If you name this network “master_net” for example, then all clients on the same subnet as the master will have their “if1=” line set to “master_net”. If you add additional 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 &lt;client&gt;&lt;br /&gt;
&lt;br /&gt;
You can get further information about the network name by running an ‘lsnim -l &lt;network_name&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;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Client (nim client) :&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
Any standalone machine or lpar in a NIM environment other than the NIM master. Clients use resources that reside on the NIM master to perform various software maintenance, backup, or other utility functions. &lt;br /&gt;
*Note that NIM resources do not always have to reside on the NIM master, but for our purposes they all will. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Groups (machine groups) :&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
In the spirit of convenience you can create a machine group which consists of a number of NIM clients. All NIM operations initiated from the master to that machine group subsequently are performed to all machines that are part of that group. For example, you can define a machine group and call it “Group1”. Group1 has ClientA, ClientB, ClientC, and ClientD in it. You can initiate a bos_inst operation to each individual client, or if all clients are being installed with the same image, you can initiate the bosinst operation to Group1. All client systems will be installed at the same time. The downside to this however, is that you sacrifice performance for convenience. It is best if you decide to use machine groups to test out what sort of load your network and NIM master can hold before seeing diminishing returns. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Master (nim master) :&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
The one and only one machine in a NIM environment that has permission to run commands remotely on NIM clients. A client can only have one master, and a master can not be a client of any other master. The NIM master must also be at an equal or higher OS/TL/SP level than any client in the NIM environment. The NIM master also can not create SPOT resources at a higher level than it is currently installed at. Finally, the NIM master can not install any clients with an OS/TL/SP higher than his own. Long story short, for all intents and purposes, for any NIM operation, make sure you master is at an equal or higher level.&lt;br /&gt;
The NIM master also will hold all of our NIM resources. Due to this we’ll want to make sure the NIM master has plenty of space available to it. Ideally, having a separate volume group (nimvg) is beneficial, so the rootvg does not get out of control in size. &lt;br /&gt;
&lt;b&gt;&lt;u&gt;Resource (nim resources) :&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
This can be a single file or up to a whole filesystem that is used to provide some sort of information to, or perform an operation on a NIM client. Resources are allocated to NIM clients using NFS and can be allocated to multiple clients at the same time. Various resource types will be explained below. I’ve decided to order them in a logical order of description rather than alphabetical order. It should make more sense to read through them in this manner.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Resource (nim resources) lpp_source:&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
When running an installation of a system outside of NIM, you use an installation CD. NIM uses resources. Two of the most important resources are made using the installation CD. First of all let’s understand what exactly is on an installation CD that allows us to install a system. There are 4 parts :&lt;br /&gt;
- The filesets that get installed.&lt;br /&gt;
- The .toc file so the system knows what filesets are on the media.&lt;br /&gt;
- The boot images so the CD can boot the system initially&lt;br /&gt;
- A /usr filesystem to run the commands needed to install the system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The lpp_source is created from an AIX installation CD and is responsible for holding : &lt;br /&gt;
- The filesets that get installed.&lt;br /&gt;
- The .toc file so NIM knows what is available in the lpp_source to be installed to the client.&lt;br /&gt;
&lt;br /&gt;
In short, the lpp_source is simply a depot. It’s just a directory that holds all of the filesets and the .toc file. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Resource (nim resources) SPOT:&lt;/u&gt;&lt;/b&gt;&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 client machine over the network.&lt;br /&gt;
- Running the commands needed to install the NIM client.&lt;br /&gt;
&lt;br /&gt;
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. You can upgrade it, add fixes to it, use it to boot a client system....etc. 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;
You can also create a SPOT from a NIM mksysb resource. This SPOT however is not as versatile as one created from an lpp_source and can not be upgraded with any fixes and can only be used with the mksysb resource it was created from. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Resource (nim resources) mksysb:&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
This is simply a mksysb image of a machine. The mksysb image can be of the NIM master, a NIM client, or a machine outside of the NIM environment. This resource can be defined in one of two ways. &lt;br /&gt;
- From an existing mksysb taken to file that resides on the NIM master.&lt;br /&gt;
- Creating a new mksysb image of a currently existing NIM client.&lt;br /&gt;
At this time there is no supported way to use a mksysb tape or mksysb on CD/DVD, as an input device to define a mksysb resource in NIM. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Resource (nim resources) bosinst_data:&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
When booting from installation media to install or upgrade a system you boot to what are known as the “BOS Menus” or Base Operating System Installation Menus. Here you select your console, what language to use, what disks to install to.....and many other options. In NIM we can create a “bosinst_data” resource that will answer these questions for us. By doing this we can perform a “non-prompted” installation. So if you have a NIM client in another building, down the road, or half way across the country, you can create this type of NIM resource which will provide the answers to those questions, so once you kick off the install from the NIM master no further interaction is required. The system should (ideally) install and reboot itself afterward. &lt;br /&gt;
&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;b&gt;&lt;u&gt;Resource (nim resources) image_data:&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
Outside of NIM this file is responsible for knowing how your rootvg is built. It contains information like the partition size of rootvg, the disks belonging to rootvg, all of the filesystems (and their sizes) that belong to rootvg, whether the rootvg is mirrored, and other information. As with the bosinst_data file, a mksysb also has one of these “built in”. If this built in file needs to be altered in any way, we can accomplish this by creating and allocating an image_data resource.&lt;br /&gt;
&lt;br /&gt;
&lt;/network_name&gt;&lt;/client&gt;&lt;/clientname&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&amp;nbsp;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;NIM Master Installation &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;Procedure to install and configure the nim master&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;Command line : &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;&lt;br /&gt;
# nimconfig -a pif_name=en0 -a master_port=1058 -a netname=master_net -a cable_type=bnc&lt;br /&gt;
&lt;br /&gt;
pif_name = This is your primary interface for your NIM master&lt;br /&gt;
netname = Name your master’s network. With NIM you want to give objects names that are easy and descriptive. If I see “master_net” I know for that is my NIM master’s network. Using a name like “NetworkA” doesn’t really tell you anything just by the name itself.&lt;br /&gt;
The rest of the options are default options.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;smit :&lt;/b&gt;&lt;br /&gt;
# smitty nimconfig&lt;br /&gt;
-or-&lt;br /&gt;
# smitty nim &lt;br /&gt;
=&amp;gt; Configure the NIM environment =&amp;gt; Advanced configuration =&amp;gt; Initialize the NIM master only&lt;br /&gt;
&lt;br /&gt;
* Network Name [master_net]&lt;br /&gt;
* Primary Network Install Interface [en0]&lt;br /&gt;
Allow Machines to Register Themselves as Clients? [yes]&lt;br /&gt;
Alternate Port Numbers for Network Communications&lt;br /&gt;
(reserved values will be used if left blank)&lt;br /&gt;
Client Registration []&lt;br /&gt;
Client Communications []&lt;br /&gt;
&lt;br /&gt;
Once this is complete you have a functioning NIM master.&lt;br /&gt;
Take a look at the following output and you’ll see information about your master :&lt;br /&gt;
# lsnim -l master &lt;br /&gt;
&lt;br /&gt;
Look at this next output and you’ll see that by defining the NIM master you have some resources that have been pre-generated for you.&lt;br /&gt;
# lsnim -l |more&lt;br /&gt;
&lt;br /&gt;
The “boot” resource created a /tftpboot directory to hold all of your boot images.&lt;br /&gt;
&lt;br /&gt;
There’s also a “nim_scripts” resource. That belongs to the master. Do not go into the /export/nim/scripts and mess with any files that get generated during an install. &lt;br /&gt;
&lt;br /&gt;
Finally, there’s a “master_net” which represents the NIM network we created earlier. All NIM clients that are on the same subnet as this master will be assigned to the “master_net” network.&lt;br /&gt;
If you add any NIM clients that are on a different network, then you will need to generate a new network name for that network. More on that a little later. Now we’ll go into defining your lpp_source and SPOT resources.&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Setting up your first lpp_source resource :&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Before we get your lpp_source and SPOT defined we’ll need to decide on a place to put them. One of the best things you can do in NIM is be neat. An organized NIM environment is a happy NIM environment. I recommend having separate filesystems for separate resource types. In other words I’ll have a filesystem to hold my lpp_sources, one to hold my SPOT resources, one for my mksysb images......etc. The “norm” is to use “/export/nim” filesystems. &lt;br /&gt;
For my lpp_sources I’ll create a filesystem called /export/nim/lpp_source. A good rule on space is a little more than a ½ gig per volume you want to copy down to your lpp_source. I will be using all 8 volumes of my 5300-05 base AIX media. &lt;br /&gt;
&lt;br /&gt;
# crfs -v jfs2 -g nimvg -m /export/nim/lpp_source -a size=5G&lt;br /&gt;
&lt;br /&gt;
This will create a jfs2 filesystem in nimvg with a size of 5gig and have a mountpoint of /export/nim/lpp_source. Again, this is just an example. Feel free to use rootvg or another volume group. If this command does not fit your environment you can go into :&lt;br /&gt;
&lt;br /&gt;
# smitty crfs &lt;br /&gt;
...and create your own filesystem using whatever parameters you need. &lt;br /&gt;
&lt;br /&gt;
We then mount up the filesystem : &lt;br /&gt;
# mount /export/nim/lpp_source&lt;br /&gt;
&lt;br /&gt;
The lpp_source is now ready to be created. We’ll need Volume 1 of your base media in the drive. The minimum you’ll use is V1 of the media. You can put 1, 2, 3, or all volumes in the lpp_source. You’re looking at a trade off of space and convenience. I recommend at least having volumes 1-3 if you’re concerned about space. Ideally, and in this example environment, you want to create the lpp_source using all volumes of media. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;From command line : &lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
# nim -o define -t lpp_source -a location=/export/nim/lpp_source/53_05 -a server=master -a comments=&#39;5300-05 lpp_source&#39; -a multi_volume=yes -a source=/dev/cd0 -a packages=all 5305_lpp&lt;br /&gt;
&lt;br /&gt;
Yes, that would be 1 command. That is one of the reasons many NIM operations are done from SMIT. It’s really easy to mistype something, especially if communicating over the phone with someone in a noisy server room. Now, to break down the command : &lt;br /&gt;
The only 2 required fields are the “location” (where we want it to be created) and “server” (which machine will hold this resource). You can hold resources on other NIM clients but for our purposes we will always hold resources on the NIM master. The rest of the “-a” flags are optional. You may think - ‘wait a minute....the source has to be required, otherwise, where do you get the filesets from ?’ You can “pre-generate” the lpp_source. If you’ve already copied the filesets down into a directory and want to use that as your lpp_source, then you have no “source”, you just have a “location”. At the end of the command, I named the resource “5305_lpp”. This is what NIM uses to reference this resource. Next we’ll use smit to do the same thing.&lt;br /&gt;
&lt;b&gt;&lt;u&gt;From SMIT :&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
# smitty nim_mkres&lt;br /&gt;
-or-&lt;br /&gt;
# smitty nim&lt;br /&gt;
=&amp;gt; Perform NIM Administration Tasks =&amp;gt; Manage Resources =&amp;gt; Define a Resource&lt;br /&gt;
&lt;br /&gt;
Next you select “lpp_source” as the resource type.&lt;br /&gt;
&lt;br /&gt;
* Resource Name [5305_lpp]&lt;br /&gt;
* Resource Type lpp_source&lt;br /&gt;
* Server of Resource [master]&lt;br /&gt;
* Location of Resource [/export/nim/lpp_source/5305]&lt;br /&gt;
Architecture of Resource []&lt;br /&gt;
Source of Install Images [/dev/cd0]&lt;br /&gt;
Names of Option Packages [all]&lt;br /&gt;
Show Progress [yes]&lt;br /&gt;
Comments [5300-05 lpp_source]&lt;br /&gt;
&lt;br /&gt;
Notice there isn’t an option for multiple volumes. For the most part smit and command line are the same, but occasionally there are differences. Doing it this way will only create the lpp_source from V1 of the media. If you wish to add other volumes you can do one of the following : &lt;br /&gt;
A) bffcreate the volumes into the lpp_source&lt;br /&gt;
B) use NIM to add the volumes &lt;br /&gt;
&lt;br /&gt;
# smitty nim_res_op&lt;br /&gt;
-or-&lt;br /&gt;
# smitty nim &lt;br /&gt;
=&amp;gt; Perform NIM Administration Tasks =&amp;gt; Manage Resources =&amp;gt; Perform Operations on Resources&lt;br /&gt;
&lt;br /&gt;
Select your lpp_source&lt;br /&gt;
Select “update”&lt;br /&gt;
&lt;br /&gt;
TARGET lpp_source 5305_lpp&lt;br /&gt;
SOURCE of Software to Add /dev/cd0&lt;br /&gt;
SOFTWARE Packages to Add [all]&lt;br /&gt;
-OR-&lt;br /&gt;
INSTALLP BUNDLE containing packages to add []&lt;br /&gt;
gencopy Flags&lt;br /&gt;
DIRECTORY for temporary storage during copying [/tmp]&lt;br /&gt;
EXTEND filesystems if space needed? Yes&lt;br /&gt;
Process multiple volumes? Yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Either way, you will get the same result.&lt;br /&gt;
How to we take a look at the lpp_source ? We use the ‘lsnim’ command.&lt;br /&gt;
&lt;br /&gt;
# lsnim -l 5305_lpp&lt;br /&gt;
5305_lpp:&lt;br /&gt;
class = resources&lt;br /&gt;
type = lpp_source&lt;br /&gt;
comments = 5300-05 lpp_source&lt;br /&gt;
arch = power&lt;br /&gt;
Rstate = ready for use&lt;br /&gt;
prev_state = unavailable for use&lt;br /&gt;
location = /export/nim/lpp_source/53_05&lt;br /&gt;
simages = yes&lt;br /&gt;
alloc_count = 0&lt;br /&gt;
server = master&lt;br /&gt;
&lt;br /&gt;
Important lines :&lt;br /&gt;
Rstate = if this is not set to “ready for use” then you can not use this resource. Sometimes running a check on the lpp_source will allow you to clear this up.&lt;br /&gt;
# nim -o check &lt;lpp_source_name&gt;&lt;br /&gt;
&lt;br /&gt;
simages = This means that this lpp_source has the proper system images in order to properly build a SPOT resource. If any required system image filesets are missing from the lpp_source they will typically be listed at the bottom of the output. &lt;br /&gt;
&lt;br /&gt;
Why wouldn’t you want all lppsources have the “simages” attribute to be “yes” ?&lt;br /&gt;
A lpp_source can have pretty much anything you want in it. It doesn’t have to be built from base installation media, nor does it have to be used to only build a SPOT. Let’s say you have your 5300-05 lpp_source, build a SPOT from it, and build some systems. &lt;br /&gt;
You then order some service pack updates (5300-05-01) for example. You can update your current lpp_source, but if you do that all of your future installs using this will be at 5300-05-01. If you do not want this to be the case, you can create another lpp_source that only holds these updates. It is more of a preference issue than anything else. &lt;br /&gt;
&lt;br /&gt;
Next, we move on to creating a SPOT resource.&lt;br /&gt;
&lt;br /&gt;
&lt;/lpp_source_name&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.5in; text-indent: 0.5in;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;Setting up your first SPOT resource :&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;&lt;br /&gt;
Now we will create a filesystem for our SPOT. This does not have nearly the space requirement that an lpp_source does. 500meg should be plenty of space for your initial SPOT. If you recall, the SPOT is just like a /usr filesystem. When you install your system from CD-ROM not every single fileset gets installed to the system right - only what is necessary to run the system. The same applies for the SPOT. &lt;br /&gt;
&lt;br /&gt;
# crfs -v jfs2 -g nimvg -m /export/nim/spot -a size=1G&lt;br /&gt;
&lt;br /&gt;
We then mount up the filesystem : &lt;br /&gt;
# mount /export/nim/spot&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;From command line :&lt;/u&gt;&lt;/b&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;# nim -o define -t spot -a server=master -a source=5305_lpp -a location=/export/nim/spot -a auto_expand=yes -a comments=&#39;5300-05 spot&#39; 5305_spot &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;Here you minimally have 3 required fields. You need to let the NIM master know who will be holding the resource (again, you can use a NIM client as a resource server, but that is rare, and for our purposes, it will always be the NIM master), you need to give it an lpp_source that contains the “simages=yes” attribute, and you need to give it a location to build the resource. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;The “auto_expand=yes” is recommended because this allows the system to automatically expand the size of the filesystem if necessary (instead of failing the operation). &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;From SMIT: &lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 8.5pt;&quot;&gt;# smitty nim_mkres&lt;br /&gt;
-or-&lt;br /&gt;
# smitty nim &lt;br /&gt;
=&amp;gt; Perform NIM Administration Tasks =&amp;gt; Manage Resources =&amp;gt; Define a Resource&lt;br /&gt;
Next you select “SPOT” as the resource type.&lt;br /&gt;
&lt;br /&gt;
* Resource Name [5305_spot]&lt;br /&gt;
* Resource Type spot&lt;br /&gt;
* Server of Resource [master]&lt;br /&gt;
* Source of Install Images [5305_lpp]&lt;br /&gt;
* Location of Resource [/export/nim/spot]&lt;br /&gt;
Expand file systems if space needed? Yes&lt;br /&gt;
Comments [5300-05 spot]&lt;br /&gt;
&lt;br /&gt;
This will take a while to create as it is typically installs 300+ filesets into the SPOT resource. Once this completes you can check the output of the lsnim command to see information about the SPOT.&lt;br /&gt;
&lt;br /&gt;
# lsnim -l 5305_spot&lt;br /&gt;
5305_spot:&lt;br /&gt;
class = resources&lt;br /&gt;
type = spot&lt;br /&gt;
comments = 5300-05 spot&lt;br /&gt;
plat_defined = chrp&lt;br /&gt;
arch = power&lt;br /&gt;
bos_license = yes&lt;br /&gt;
Rstate = ready for use&lt;br /&gt;
prev_state = verification is being performed&lt;br /&gt;
location = /export/nim/spot/5305_spot/usr&lt;br /&gt;
version = 5&lt;br /&gt;
release = 3&lt;br /&gt;
mod = 0&lt;br /&gt;
oslevel_r = 5300-05&lt;br /&gt;
alloc_count = 0&lt;br /&gt;
server = master&lt;br /&gt;
Rstate_result = success&lt;br /&gt;
mk_netboot = yes&lt;br /&gt;
&lt;br /&gt;
Important lines :&lt;br /&gt;
Rstate = if this is not set to “ready for use” then you can not use this resource. The first thing you’ll want to do is run a force check against the SPOT. This forces the rebuild of the boot images and should return the “unavailable for use” back to “ready for use”.&lt;br /&gt;
# nim -Fo check &lt;spot_name&gt;&lt;br /&gt;
&lt;br /&gt;
oslevel_r = this works just like the ‘oslevel -r’ if you ran that from an AIX command line. Knowing the level of the SPOT resource is extremely important in NIM operations we will go into later.&lt;br /&gt;
&lt;br /&gt;
Your NIM master has officially been initialized and setup. The next 2 sections go into alternate (theoretically “easier”, but we’ll call it “less interactive”) ways of setting up the NIM master.&lt;br /&gt;
&lt;br /&gt;
Feel free to review those and/or move on to defining NIM clients.&lt;br /&gt;
&lt;br /&gt;
&lt;/spot_name&gt;&lt;/span&gt;&lt;br /&gt;
Number of Hits : &lt;a href=&quot;http://www.digits.com/&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://counter.digits.com/?counter=%7B52905d19-48cf-9d14-493d-5f04e7267976%7D&amp;amp;template=simple&quot; alt=&quot;Hit Counter by Digits&quot; border=&quot;0&quot; /&gt;&lt;/a&gt; </content><link rel='replies' type='application/atom+xml' href='http://systemadmineasy.blogspot.com/feeds/8026458070718381635/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://systemadmineasy.blogspot.com/2010/03/aix-network-installation-manager-nim_23.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/8026458070718381635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/8026458070718381635'/><link rel='alternate' type='text/html' href='http://systemadmineasy.blogspot.com/2010/03/aix-network-installation-manager-nim_23.html' title='AIX Network Installation Manager ( NIM ) - PART1'/><author><name>sreekar</name><uri>http://www.blogger.com/profile/18265178104016369608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4656915886004082122.post-6872782226048310008</id><published>2010-03-24T07:00:00.001+05:30</published><updated>2010-03-30T21:00:51.420+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="collect server information from hmc"/><category scheme="http://www.blogger.com/atom/ns#" term="CPU"/><category scheme="http://www.blogger.com/atom/ns#" term="hmc"/><category scheme="http://www.blogger.com/atom/ns#" term="Memory"/><category scheme="http://www.blogger.com/atom/ns#" term="perl script to get information from hmc"/><category scheme="http://www.blogger.com/atom/ns#" term="serial numberfrom hmc."/><category scheme="http://www.blogger.com/atom/ns#" term="server inforamtion from hmc"/><title type='text'>Script to Get  information from hmc</title><content type='html'>Perl Script to collect information from HMC&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Without login to hmc we can collect the information about the servers that are configured in a hmc&lt;br /&gt;
with perl script&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
please find the below perl script will do above task for us and will keep the information in CSV file&lt;br /&gt;
&lt;br /&gt;
collect - &amp;gt; store in .csv file&lt;br /&gt;
&lt;br /&gt;
#!/usr/bin/perl&lt;br /&gt;
&lt;br /&gt;
my @systems;&lt;br /&gt;
my @lpar;&lt;br /&gt;
my @memory,$memo;&lt;br /&gt;
my @cpu,$cu;&lt;br /&gt;
my $Hostname;&lt;br /&gt;
my $UID;&lt;br /&gt;
&lt;br /&gt;
print &quot;\n Enter the HMC Host Name :&quot;;&lt;br /&gt;
$Hostname = &amp;lt;&amp;gt;;&lt;br /&gt;
chomp($Hostname);&lt;br /&gt;
print &quot;\n Enter the HMC USER ID :&quot;;&lt;br /&gt;
$UID =  &amp;lt;&amp;gt;;&lt;br /&gt;
chomp($UID);&lt;br /&gt;
&lt;br /&gt;
@systems = `ssh $UID\@$Hostname lssyscfg -r sys -F name`;&lt;br /&gt;
print &quot;$pass&quot;;&lt;br /&gt;
print &quot;\n one sone&quot;;&lt;br /&gt;
open(DATA, &quot;&amp;gt; $Hostname&quot;);&lt;br /&gt;
&lt;br /&gt;
print DATA &quot;SERVER NAME:SERIAL NUMBER:VIRTUAL COUNT:MEMORY:CPU COUNT:LPARNAMES \n&quot;;&lt;br /&gt;
print &quot;\n The number of systems in HMC : @systems \n&quot;;&lt;br /&gt;
foreach $system1 ( @systems )&lt;br /&gt;
{&lt;br /&gt;
chomp( $system1);&lt;br /&gt;
$cmd = &#39;ssh &#39;.$UID.&#39;@&#39;.$Hostname.&#39; lssyscfg -r lpar -m \\\&#39;&#39;.$system1.&#39;\\\&#39; -F name&#39;;&lt;br /&gt;
&lt;br /&gt;
print &quot; $cmd \n&quot;;&lt;br /&gt;
&lt;br /&gt;
@lpar = `$cmd`;&lt;br /&gt;
&lt;br /&gt;
$cmd = &#39;ssh &#39;.$UID.&#39;@&#39;.$Hostname.&#39; lssyscfg -r sys -m \\\&#39;&#39;.$system1.&#39;\\\&#39; -F serial_num&#39;;&lt;br /&gt;
$serialnum = `$cmd`;&lt;br /&gt;
chomp($serialnum);&lt;br /&gt;
print &quot; Serial number :  $serialnum \n&quot;;&lt;br /&gt;
&lt;br /&gt;
$cmd = &#39;ssh &#39;.$UID.&#39;@&#39;.$Hostname.&#39; lshwres -m \\\&#39;&#39;.$system1.&#39;\\\&#39; -r proc --level sys | cut -d , -f 4&#39;;&lt;br /&gt;
&lt;br /&gt;
print &quot; $cmd \n&quot;;&lt;br /&gt;
$memo  = `$cmd`;&lt;br /&gt;
chomp( $memo);&lt;br /&gt;
@memory = split(&#39;=&#39;,$memo);&lt;br /&gt;
&lt;br /&gt;
$cmd = &#39;ssh &#39;.$UID.&#39;@&#39;.$Hostname.&#39; lshwres -m \\\&#39;&#39;.$system1.&#39;\\\&#39; -r mem --level sys | cut -d , -f 4&#39;;&lt;br /&gt;
&lt;br /&gt;
print &quot; $cmd \n&quot;;&lt;br /&gt;
$cu = `$cmd`;&lt;br /&gt;
@cpu = split( &#39;=&#39;,$cu);&lt;br /&gt;
chomp($cpu[1]);&lt;br /&gt;
chomp($memory[1]);&lt;br /&gt;
print &quot; \n The number of  LPARS in system $system1: @lpar \n &quot;;&lt;br /&gt;
print &quot; The number of CPU&#39;s : chomp($cpu[1]) \n&quot;;&lt;br /&gt;
print &quot; The Memory in the system is :chomp($memory[1]) \n&quot;;&lt;br /&gt;
&lt;br /&gt;
$outline=&quot;$system1:$serialnum:$#lpar:$cpu[1]:$memory[1]\n&quot;;&lt;br /&gt;
$str=&quot;&quot;;&lt;br /&gt;
$count=$#lpar;&lt;br /&gt;
while ($count&amp;gt;0)&lt;br /&gt;
{&lt;br /&gt;
chomp($lpar[$count-1]);&lt;br /&gt;
$str = $str.&quot;$lpar[$count-1],&quot;;&lt;br /&gt;
$count=$count-1;&lt;br /&gt;
}&lt;br /&gt;
print DATA &quot;$system1:$serialnum:$#lpar:$cpu[1]:$memory[1]:$str \n&quot;;&lt;br /&gt;
}&lt;br /&gt;
Number of Hits : &lt;a href=&quot;http://www.digits.com/&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://counter.digits.com/?counter=%7B52905d19-48cf-9d14-493d-5f04e7267976%7D&amp;amp;template=simple&quot; alt=&quot;Hit Counter by Digits&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://systemadmineasy.blogspot.com/feeds/6872782226048310008/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://systemadmineasy.blogspot.com/2010/03/script-to-get-information-from-hmc.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/6872782226048310008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/6872782226048310008'/><link rel='alternate' type='text/html' href='http://systemadmineasy.blogspot.com/2010/03/script-to-get-information-from-hmc.html' title='Script to Get  information from hmc'/><author><name>sreekar</name><uri>http://www.blogger.com/profile/18265178104016369608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4656915886004082122.post-6668831862214156418</id><published>2010-03-19T12:08:00.003+05:30</published><updated>2010-04-11T20:59:22.241+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="aix"/><category scheme="http://www.blogger.com/atom/ns#" term="AIX basics"/><category scheme="http://www.blogger.com/atom/ns#" term="Aix command"/><category scheme="http://www.blogger.com/atom/ns#" term="unix command"/><title type='text'>AIX Basic commands</title><content type='html'>&lt;meta equiv=&quot;CONTENT-TYPE&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;title&gt;&lt;/title&gt;&lt;meta name=&quot;GENERATOR&quot; content=&quot;OpenOffice.org 3.1  (Win32)&quot;&gt;&lt;style type=&quot;text/css&quot;&gt; 	&lt;!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } 	--&gt; 	&lt;/style&gt; &lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;Introduction&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;As you know, AIX® has a vast array of commands that enable you to do a multitude of tasks. Depending on what you need to accomplish, you use only a certain subset of these commands. These subsets differ from user to user and from need to need. However, there are a few core commands that you commonly use. You need these commands either to answer your own questions or to provide answers to the queries of the support professionals.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;In this article, I&#39;ll discuss some of these core commands. The intent is to provide a list that you can use as a ready reference. While the behavior of these commands should be identical in all releases of AIX, they have been only tested under AIX 5.3.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;Note:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;The bootinfo command discussed in the following paragraphs is NOT a user-level command and is NOT supported in AIX 4.2 or later.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Commands&lt;/span&gt; &lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;Kernel&lt;/p&gt;&lt;br /&gt;
&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;How would I know if I am running a 32-bit kernel or 64-bit kernel?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;To display if the kernel is 32-bit enabled or 64-bit enabled, type:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;bootinfo -K&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;font-size:180%;&quot;&gt;      Not able to FTP as Root &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;  &gt;&lt;br /&gt;
&lt;noscript&gt;&lt;a href=&quot;http://www.bidvertiser.com&quot;&gt;advertising&lt;/a&gt;&lt;/noscript&gt;&lt;br /&gt;
&lt;!-- End BidVertiser code --&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;How do I know if I am running a uniprocessor kernel or a multiprocessor kernel?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;/unix is a symbolic link to the booted kernel. To find out what kernel mode is running, enter ls -l /unix and see what file /unix it links to. The following are the three possible outputs from the ls -l /unix command and their corresponding kernels:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;/unix -&gt; /usr/lib/boot/unix_up 		# 32 bit uniprocessor kernel  &lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;/unix -&gt; /usr/lib/boot/unix_mp 		# 32 bit multiprocessor kernel&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;/unix -&gt; /usr/lib/boot/unix_64 		# 64 bit multiprocessor kernel        &lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;Note:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;AIX 5L Version 5.3 does not support a uniprocessor kernel.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;How can I change from one kernel mode to another?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;During the installation process, one of the kernels, appropriate for the AIX version and the hardware in operation, is enabled by default. Let us use the method from the previous question and assume the 32-bit kernel is enabled. Let us also assume that you want to boot it up in the 64-bit kernel mode. This can be done by executing the following commands in sequence:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;ln -sf /usr/lib/boot/unix_64    /unix&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;ln -sf /usr/lib/boot/unix_64    /usr/lib/boot/unix&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;bosboot -ad  /dev/hdiskxx&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;shutdown -r&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;The /dev/hdiskxx directory is where the boot logical volume /dev/hd5 is located. To find out what xx is in hdiskxx, run the following command:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;lslv -m hd5&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;Note:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;In AIX 5.2, the 32-bit kernel is installed by default. In AIX 5.3, the 64-bit kernel is installed on 64-bit hardware and the 32-bit kernel is installed on 32-bit hardware by default.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;Hardware&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;How would I know if my machine is capable of running AIX 5L Version 5.3?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;AIX 5L Version 5.3 runs on all currently supported CHRP (Common Hardware Reference Platform)-based POWER hardware.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;How would I know if my machine is CHRP-based?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;Run the prtconf command. If it&#39;s a CHRP machine, the string chrp appears on the Model Architecture line.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;How would I know if my System p machine (hardware) is 32-bit or 64-bit?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;To display if the hardware is 32-bit or 64-bit, type:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;bootinfo -y&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;How much real memory does my machine have?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;To display real memory in kilobytes (KB), type one of the following:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;bootinfo -r     &lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;lsattr -El sys0 -a realmem  &lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;Can my machine run the 64-bit kernel?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;64-bit hardware is required to run the 64-bit kernel.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;What are the values of attributes for devices in my system?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;To list the current values of the attributes for the tape device, rmt0, type:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;lsattr -l rmt0 -E&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;To list the default values of the attributes for the tape device, rmt0, type:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;lsattr -l rmt0 -D&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;To list the possible values of the login attribute for the TTY device, tty0, type:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;lsattr -l tty0 -a login -R&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;To display system level attributes, type:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;lsattr -E -l sys0&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;How many processors does my system have?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;To display the number of processors on your system, type:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;lscfg | grep proc&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;How many hard disks does my system have and which ones are in use?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;To display the number of hard disks on your system, type:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;lspv&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;How do I list information about a specific physical volume?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;To find details about hdisk1, for example, run the following command:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;lspv hdisk1		&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;			&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;How do I get a detailed configuration of my system?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;Type the following:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;lscfg&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;The following options provide specific information:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;-p	Displays platform-specific device information. The flag is applicable to AIX 4.2.1 or later.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;-v	Displays the VPD (Vital Product Database) found in the customized VPD object class.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;For example, to display details about the tape drive, rmt0, type:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;lscfg -vl rmt0&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;You can obtain very similar information by running the prtconf command.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;How do I find out the chip type, system name, node name, model number, and so forth?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;The uname command provides details about your system.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;uname -p	Displays the chip type of the system. For example, PowerPC.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;uname -r	Displays the release number of the operating system.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;uname -s	Displays the system name. For example, AIX.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;uname -n	Displays the name of the node.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;uname -a	Displays the system name, nodename, version, machine ID.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;uname -M	Displays the system model name. For example, IBM, 9114-275.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;uname -v	Displays the operating system version.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;uname -m	Displays the machine ID number of the hardware running the system.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;uname -u	Displays the system ID number.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;What version, release, and maintenance level of AIX is running on my system?&lt;/span&gt; &lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;Type one of the following:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;oslevel -r&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;lslpp -h bos.rte&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;How can I determine which fileset updates are missing from a particular AIX level?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;To determine which fileset updates are missing from 5300-04, for example, run the following command:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;oslevel -rl 5300-04&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;What SP (Service Pack) is installed on my system?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;To see which SP is currently installed on the system, run the oslevel -s command. Sample output for an AIX 5L Version 5.3 system, with TL4, and SP2 installed would be:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;oslevel â€“s&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;5300-04-02&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;			&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;Is a CSP (Concluding Service Pack) installed on my system?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;To see if a CSP is currently installed on the system, run the oslevel -s command. Sample output for an AIX 5L Version 5.3 system, with TL3, and CSP installed would be:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;oslevel -r &lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;5300-03-CSP&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;			&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;How do I create a file system?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;The following command will create, within volume group testvg, a jfs file system of 10MB with mounting point /fs1:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;crfs -v jfs -g testvg -a size=10M -m /fs1  &lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;			&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;The following command will create, within volume group testvg, a jfs2 file system of 10MB with mounting point /fs2 and having read only permissions:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;crfs -v jfs2 -g testvg -a size=10M -p ro -m /fs2	&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;			&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;How do I change the size of a file system?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;To increase the /usr file system size by 1000000 512-byte blocks, type:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;chfs -a size=+1000000 /usr&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;Note:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;In AIX 5.3, the size of a JFS2 file system can be shrunk as well.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;How do I mount a CD?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;Type the following:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;mount -V cdrfs -o ro /dev/cd0  /cdrom&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;How do I mount a file system?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;The following command will mount file system /dev/fslv02 on the /test directory:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;mount /dev/fslv02 /test  &lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;How do I mount all default file systems (all standard file systems in the /etc/filesystems file marked by the mount=true attribute)?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;The following command will mount all such file systems:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;mount {-a|all}&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;How do I unmount a file system?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;Type the following command to unmount /test file system:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;umount /test&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;How do I display mounted file systems?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;Type the following command to display information about all currently mounted file systems:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;mount&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;How do I remove a file system?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;Type the following command to remove the /test file system:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;rmfs /test&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;How can I defragment a file system?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;The defragfs command can be used to improve or report the status of contiguous space within a file system. For example, to defragment the file system /home, use the following command:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;defragfs /home&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;Which fileset contains a particular binary?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;To show bos.acct contains /usr/bin/vmstat, type:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;lslpp -w /usr/bin/vmstat&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;Or to show bos.perf.tools contains /usr/bin/svmon, type:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;which_fileset svmon&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;How do I display information about installed filesets on my system?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;Type the following:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;lslpp -l 			&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;			&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;How do I determine if all filesets of maintenance levels are installed on my system?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;Type the following:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;instfix -i | grep ML&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;How do I determine if a fix is installed on my system?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;To determine if IY24043 is installed, type:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;instfix -ik IY24043&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;How do I install an individual fix by APAR?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;To install APAR IY73748 from /dev/cd0, for example, enter the command:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;instfix -k IY73748 -d /dev/cd0			&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;			&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;How do I verify if filesets have required prerequisites and are completely installed?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;To show which filesets need to be installed or corrected, type:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;lppchk -v&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;How do I get a dump of the header of the loader section and the symbol entries in symbolic representation?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;Type the following:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;dump -Htv&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;How do I determine the amount of paging space allocated and in use?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;Type the following:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;lsps -a&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;How do I increase a paging space?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;You can use the chps -s command to dynamically increase the size of a paging space. For example, if you want to increase the size of hd6 with 3 logical partitions, you issue the following command:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;chps -s 3 hd6			&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;			&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;How do I reduce a paging space?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;You can use the chps -d command to dynamically reduce the size of a paging space. For example, if you want to decrease the size of hd6 with four logical partitions, you issue the following command:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;chps -d 4 hd6			&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;			&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;How would I know if my system is capable of using Simultaneous Multi-threading (SMT)?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;Your system is capable of SMT if it&#39;s a POWER5-based system running AIX 5L Version 5.3.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;How would I know if SMT is enabled for my system?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;If you run the smtctl command without any options, it tells you if it&#39;s enabled or not.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;Is SMT supported for the 32-bit kernel?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;Yes, SMT is supported for both 32-bit and 64-bit kernel.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;How do I enable or disable SMT?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;You can enable or disable SMT by running the smtctl command. The following is the syntax:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;smtctl [ -m off | on [ -w boot | now]]&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;The following options are available:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;-m off	Sets SMT mode to disabled.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;-m on	Sets SMT mode to enabled.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;-w boot 	Makes the SMT mode change effective on next and subsequent reboots if you run the bosboot command before the next system reboot.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;-w now	Makes the SMT mode change immediately but will not persist across reboot.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;If neither the -w boot or the -w now options are specified, then the mode change is made immediately. It persists across subsequent reboots if you run the bosboot command before the next system reboot.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;How do I get partition-specific information and statistics?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;The lparstat command provides a report of partition information and utilization statistics. This command also provides a display of Hypervisor information.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;Volume groups and logical volumes&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;How do I know if my volume group is normal, big, or scalable?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;Run the lsvg command on the volume group and look at the value for MAX PVs. The value is 32 for normal, 128 for big, and 1024 for scalable volume group.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;How to create a volume group?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;Use the following command, where spartition_size sets the number of megabytes (MB) in each physical partition where the partition_size is expressed in units of MB from 1 through 1024. (It&#39;s 1 through 131072 for AIX 5.3.) The partition_size variable must be equal to a power of 2 (for example: 1, 2, 4, 8). The default value for standard and big volume groups is the lowest value to remain within the limitation of 1016 physical partitions per physical volume. The default value for scalable volume groups is the lowest value to accommodate 2040 physical partitions per physical volume.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;mkvg -y name_of_volume_group -s partition_size list_of_hard_disks&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;How can I change the characteristics of a volume group?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;You use the following command to change the characteristics of a volume group:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;chvg&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;How do I create a logical volume?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;Type the following:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;mklv -y name_of_logical_volume name_of_volume_group number_of_partition&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;How do I increase the size of a logical volume?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;To increase the size of the logical volume represented by the lv05 directory by three logical partitions, for example, type:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;extendlv lv05 3&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;			&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;How do I display all logical volumes that are part of a volume group (for example, rootvg)?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;You can display all logical volumes that are part of rootvg by typing the following command:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;lsvg -l rootvg&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;How do I list information about logical volumes?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;Run the following command to display information about the logical volume lv1:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;lslv lv1&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;How do I remove a logical volume?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;You can remove the logical volume lv7 by running the following command:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;rmlv lv7&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;The rmlv command removes only the logical volume, but does not remove other entities, such as file systems or paging spaces that were using the logical volume.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;How do I mirror a logical volume?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;1. mklvcopy LogicalVolumeName Numberofcopies&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;2. syncvg VolumeGroupName&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;How do I remove a copy of a logical volume?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;You can use the rmlvcopy command to remove copies of logical partitions of a logical volume. To reduce the number of copies of each logical partition belonging to logical volume testlv, enter:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;rmlvcopy testlv 2&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;Each logical partition in the logical volume now has at most two physical partitions.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;Queries about volume groups&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;To show volume groups in the system, type:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;lsvg&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;To show all the characteristics of rootvg, type:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;lsvg rootvg&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;To show disks used by rootvg, type:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;lsvg -p rootvg&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;How to add a disk to a volume group?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;Type the following:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;extendvg   VolumeGroupName   hdisk0 hdisk1 ... hdiskn  &lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;How do I find out what the maximum supported logical track group (LTG) size of my hard disk?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;You can use the lquerypv command with the -M flag. The output gives the LTG size in KB. For instance, the LTG size for hdisk0 in the following example is 256 KB.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;/usr/sbin/lquerypv -M hdisk0&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;256&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;You can also run the lspv command on the hard disk and look at the value for MAX REQUEST.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;What does syncvg command do?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;The syncvg command is used to synchronize stale physical partitions. It accepts names of logical volumes, physical volumes, or volume groups as parameters.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;For example, to synchronize the physical partitions located on physical volumes hdisk6 and hdisk7, use:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;syncvg -p hdisk4 hdisk5			&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;			&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;To synchronize all physical partitions from volume group testvg, use:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;syncvg -v testvg			&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;			&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;How do I replace a disk?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;1. extendvg VolumeGroupName hdisk_new&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;2. migratepv hdisk_bad hdisk_new&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;3. reducevg -d VolumeGroupName hdisk_bad&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;How can I clone (make a copy of ) the rootvg?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;You can run the alt_disk_copy command to copy the current rootvg to an alternate disk. The following example shows how to clone the rootvg to hdisk1.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;alt_disk_copy -d  hdisk1&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in; font-weight: bold;&quot;&gt;Network&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;How can I display or set values for network parameters?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;The no command sets or displays current or next boot values for network tuning parameters.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;How do I get the IP address of my machine?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;Type one of the following:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;ifconfig -a&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;host Fully_Qualified_Host_Name&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;For example, type host cyclop.austin.ibm.com.&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;How do I identify the network interfaces on my server?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;Either of the following two commands will display the network interfaces:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;lsdev -Cc if&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;ifconfig -a&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;To get information about one specific network interface, for example, tr0, run the command:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;ifconfig tr0&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;How do I activate a network interface?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;To activate the network interface tr0, run the command:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;ifconfig tr0 up&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;How do I deactivate a network interface?&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;For example, to deactivate the network interface tr0, run the command:&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;ifconfig tr0 down&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;/p&gt;&lt;br /&gt;
Number of Hits : &lt;a href=&quot;http://www.digits.com/&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://counter.digits.com/?counter=%7B52905d19-48cf-9d14-493d-5f04e7267976%7D&amp;amp;template=simple&quot; alt=&quot;Hit Counter by Digits&quot; border=&quot;0&quot; /&gt;&lt;/a&gt; &lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://systemadmineasy.blogspot.com/feeds/6668831862214156418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://systemadmineasy.blogspot.com/2010/03/aix-basic-commands.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/6668831862214156418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/6668831862214156418'/><link rel='alternate' type='text/html' href='http://systemadmineasy.blogspot.com/2010/03/aix-basic-commands.html' title='AIX Basic commands'/><author><name>sreekar</name><uri>http://www.blogger.com/profile/18265178104016369608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4656915886004082122.post-3758911147302510668</id><published>2009-11-17T17:48:00.000+05:30</published><updated>2009-11-17T18:02:00.505+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bind to port 22 on :: failed: Address already in use"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><category scheme="http://www.blogger.com/atom/ns#" term="sshd"/><title type='text'>enabling ssh login to AIX server</title><content type='html'>&lt;span style=&quot;font-size:180%;&quot;&gt;Enabling SSH Login &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;font-size:130%;&quot; &gt;Enabling SSH Login to root&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Go the /etc/ssh directory where you find sshd_conf ig file&lt;br /&gt;vi sshd_config&lt;br /&gt;there you will find the &quot; &lt;span style=&quot;font-weight: bold;&quot;&gt;PermitRootLogin no&lt;/span&gt; &quot; make this to&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;PermitRootLogin yes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Then root will be able to login&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;How to find out the problem with your sshd&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;just type /usr/sbin/sshd -d  on your command prompt it will debug your sshd&lt;br /&gt;&lt;br /&gt;then you can see the problem&lt;br /&gt;&lt;br /&gt;# /usr/sbin/sshd -d&lt;br /&gt;debug1: sshd version OpenSSH_5.0p1&lt;br /&gt;debug1: read PEM  private key done: type RSA&lt;br /&gt;debug1: private host key: #0 type 1 RSA&lt;br /&gt;debug1:  read PEM private key done: type DSA&lt;br /&gt;debug1: private host key: #1 type 2  DSA&lt;br /&gt;debug1: rexec_argv[0]=&#39;/usr/sbin/sshd&#39;&lt;br /&gt;debug1:  rexec_argv[1]=&#39;-d&#39;&lt;br /&gt;debug1: Bind to port 22 on ::.&lt;br /&gt;Bind to port 22 on ::  failed: Address already in use.&lt;br /&gt;Cannot bind any address.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;font-size:130%;&quot; &gt;How to resolve the problem Bind to port 22 on ::  failed: Address already in use.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Go the /etc/ssh directory where you find sshd_conf ig file&lt;br /&gt;vi sshd_config&lt;br /&gt;&lt;br /&gt;then you will find the below lines&lt;br /&gt;&lt;br /&gt;#Port 22&lt;br /&gt;AddressFamily IPV6&lt;br /&gt;#ListenAddress 0.0.0.0&lt;br /&gt;#ListenAddress ::&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;then comment all the lines&lt;br /&gt;&lt;br /&gt;then the  stop and start the sshd&lt;br /&gt;&lt;br /&gt;stopsrc -g ssh&lt;br /&gt;startsrc -g ssh&lt;br /&gt;&lt;br /&gt;then the problem will be solved you will be able to connect to the server by SSH.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Number of Hits : &lt;a href=&quot;http://www.digits.com/&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://counter.digits.com/?counter=%7B52905d19-48cf-9d14-493d-5f04e7267976%7D&amp;amp;template=simple&quot; alt=&quot;Hit Counter by Digits&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://systemadmineasy.blogspot.com/feeds/3758911147302510668/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://systemadmineasy.blogspot.com/2009/11/enabling-ssh-login-to-aix-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/3758911147302510668'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/3758911147302510668'/><link rel='alternate' type='text/html' href='http://systemadmineasy.blogspot.com/2009/11/enabling-ssh-login-to-aix-server.html' title='enabling ssh login to AIX server'/><author><name>sreekar</name><uri>http://www.blogger.com/profile/18265178104016369608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4656915886004082122.post-4351658537369355492</id><published>2009-10-14T16:44:00.000+05:30</published><updated>2009-10-28T22:29:26.282+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="change time zone in AIX"/><category scheme="http://www.blogger.com/atom/ns#" term="change time zone in linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Time Zone"/><title type='text'>Changing the time Zone in Linux  and AIX</title><content type='html'>&lt;meta equiv=&quot;CONTENT-TYPE&quot; content=&quot;text/html; &quot;&gt;&lt;title&gt;&lt;/title&gt;&lt;meta name=&quot;GENERATOR&quot; content=&quot;OpenOffice.org 3.1  (Win32)&quot;&gt;&lt;style type=&quot;text/css&quot;&gt; 	&lt;!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } 		A:link { so-language: zxx } 	--&gt; 	&lt;/style&gt; &lt;p style=&quot;margin-bottom: 0in;&quot;&gt; Changing the Time Zone in Linux.&lt;/p&gt; &lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/p&gt; &lt;ol&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;Logged in as root, check which 	timezone your machine is currently using by executing `&lt;b&gt;date&lt;/b&gt;`. 	You&#39;ll see something like &lt;code&gt;Mon 17 Jan 2005 12:15:08 PM PST&lt;/code&gt;, 	PST in this case is the current timezone.  	&lt;/p&gt; 	&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;Change to the directory 	&lt;code&gt;/usr/share/zoneinfo&lt;/code&gt; here you will find a list of time 	zone regions. Choose the most appropriate region, if you live in 	Canada or the US this directory is the &quot;America&quot; 	directory.  	&lt;/p&gt; 	&lt;/li&gt;&lt;li&gt;&lt;p&gt;If you wish, backup the previous timezone configuration by 	copying it to a different location. Such as  	&lt;/p&gt; 	&lt;pre style=&quot;margin-bottom: 0.2in;&quot;&gt;mv /etc/localtime  /etc/localtime-old&lt;/pre&gt; 	&lt;/li&gt;&lt;li&gt;&lt;p&gt;Create a symbolic link from the appropiate timezone to 	/etc/localtime. Example:  	&lt;/p&gt; 	&lt;pre style=&quot;margin-bottom: 0.2in;&quot;&gt;ln -sf /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime&lt;/pre&gt; 	&lt;/li&gt;&lt;li&gt;&lt;p&gt;If you have the utility rdate, update the current system time 	by executing  	&lt;/p&gt; 	&lt;pre style=&quot;margin-bottom: 0.2in;&quot;&gt;/usr/bin/rdate -s time-a.nist.gov&lt;/pre&gt; 	&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;Set the ZONE entry in the file 	&lt;code&gt;/etc/sysconfig/clock&lt;/code&gt; file (e.g. &quot;America/Los_Angeles&quot;) 		&lt;/p&gt; 	&lt;/li&gt;&lt;li&gt;&lt;p&gt;Set the hardware clock by executing:  	&lt;/p&gt; 	&lt;pre style=&quot;margin-bottom: 0.2in;&quot;&gt;/sbin/hwclock --systohc&lt;/pre&gt; &lt;/li&gt;&lt;/ol&gt; &lt;p style=&quot;margin-bottom: 0in;&quot;&gt;Tips&lt;/p&gt; &lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;The time server parameter for 	rdate can be any public server that supports the RFC-868 time 	protocol. A list of public RFC-868 servers can be found at &lt;a href=&quot;http://tf.nist.gov/tf-cgi/servers.cgi&quot;&gt;[2]&lt;/a&gt;. 	Note: As of April 2007, NIST announced it would phase out support 	for RFC-868 (scroll to the bottom of &lt;a href=&quot;http://tf.nist.gov/service/its.htm&quot;&gt;[3]&lt;/a&gt; 	to see the announcement). This has not happened as of April 2009).  	&lt;/p&gt; 	&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;On some versions of RedHat Linux, 	Slackware, Gentoo, SuSE, Debian, Ubuntu, and anything else that is 	&quot;normal&quot;, the command to display and change the time is 	&#39;date&#39;, not &#39;clock&#39;  	&lt;/p&gt; 	&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;On RedHat Linux there is a utility 	called &quot;Setup&quot; that allows one to select the timezone from 	a list, but you must have installed the &#39;redhat-config-date&#39; 	package. &lt;&gt; 		&lt;/p&gt; 	&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;On mobile phones and other small 	devices that run Linux, the time zone is stored differently. It is 	written in /etc/TZ, in the format that is described, for instance, 	in &lt;a href=&quot;http://docs.sun.com/source/816-5523-10/appf.htm&quot;&gt;[4]&lt;/a&gt;. 	Edit this file manually or use echo (for instance, &lt;i&gt;echo GMT0BST &gt; 	/etc/TZ&lt;/i&gt; to set the the timezone of the United Kingdom).  	&lt;/p&gt; 	&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;To setup UTC :  	&lt;/p&gt; 	&lt;/li&gt;&lt;li&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;vi /etc/sysconfig/clock and change 	the UTC line to: &quot;UTC=true&quot;  	&lt;/p&gt; 	&lt;/li&gt;&lt;li&gt;&lt;p&gt;On systems that use &lt;b&gt;dpkg&lt;/b&gt; (for example Debian and 	Ubuntu/Kubuntu), you should try &quot;sudo dpkg-reconfigure tzdata&quot;. 	This will set up everything correctly in very few, simple steps.  	&lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt; &lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt; &lt;p&gt;Warnings&lt;/p&gt; &lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt; &lt;p&gt;           Some applications (such as PHP) have separate timezone settings from the system timezone.  &lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p&gt;On some systems, there is a system utility provided that will 	prompt for the correct timezone and make the proper changes to the 	system configuration. For example, &lt;a href=&quot;http://www.debian.org/&quot;&gt;Debian&lt;/a&gt; 	provides the &quot;tzsetup&quot; or &quot;tzconfig&quot; utility.  	&lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style=&quot;margin-bottom: 0in;&quot;&gt;Changing the Time&lt;/p&gt;  &lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style=&quot;margin-bottom: 0in;&quot;&gt;To change the time use &lt;b&gt;date&lt;/b&gt; followed by the month, day, hour, minute, and year all numeric and no spaces. So, to set the date and time to November 2nd, 2003 12:57&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;margin-bottom: 0in;&quot;&gt;&lt;meta equiv=&quot;CONTENT-TYPE&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;title&gt;&lt;/title&gt;&lt;meta name=&quot;GENERATOR&quot; content=&quot;OpenOffice.org 3.1  (Win32)&quot;&gt;&lt;style type=&quot;text/css&quot;&gt; 	&lt;!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } 		A:link { so-language: zxx } 	--&gt;&lt;/style&gt;&lt;/p&gt;&lt;br /&gt;Changing the Time zone in AIX&lt;br /&gt;&lt;br /&gt;TO change the Time zone in AIX&lt;br /&gt;&lt;br /&gt;1) smitty&lt;br /&gt;2) selce the system environment&lt;br /&gt;3) select the change time&lt;br /&gt;4) select the change the time zone using user defined&lt;br /&gt;6) enter the the time zone and valu Like IST , _5:30&lt;br /&gt;&lt;br /&gt;Than you are done with the time zone.&lt;br /&gt;But AIX needs the Reboot .&lt;br /&gt;Number of Hits : &lt;a href=&quot;http://www.digits.com/&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://counter.digits.com/?counter=%7B52905d19-48cf-9d14-493d-5f04e7267976%7D&amp;amp;template=simple&quot; alt=&quot;Hit Counter by Digits&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://systemadmineasy.blogspot.com/feeds/4351658537369355492/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://systemadmineasy.blogspot.com/2009/10/changing-time-zone-in-linux-and-aix.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/4351658537369355492'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/4351658537369355492'/><link rel='alternate' type='text/html' href='http://systemadmineasy.blogspot.com/2009/10/changing-time-zone-in-linux-and-aix.html' title='Changing the time Zone in Linux  and AIX'/><author><name>sreekar</name><uri>http://www.blogger.com/profile/18265178104016369608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4656915886004082122.post-7057776347426075461</id><published>2009-09-10T12:30:00.000+05:30</published><updated>2009-09-10T12:59:07.669+05:30</updated><title type='text'>Using Crontab in UNIX</title><content type='html'>&lt;span style=&quot;font-weight: bold;font-size:130%;&quot; &gt;1. Controls on Using the crontab Command&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The /var/adm/cron/cron.allow and /var/adm/cron/cron.deny files control which users can use the crontab command A root user can create, edit, or delete these files.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Entries in these files are user login names with one name to a line. If your login ID is associated with more than one login name, the crontab command uses the first&lt;br /&gt;&lt;br /&gt;login name that is in the /etc/passwd file, regardless of which login name you might actually be using. Also, to allow users to start cron jobs, the daemon attribute in&lt;br /&gt;&lt;br /&gt;the /etc/security/user file should be set to TRUE , using the chuser command.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The following is an example of an cron.allow file:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;root&lt;br /&gt;&lt;br /&gt;nick&lt;br /&gt;&lt;br /&gt;dee&lt;br /&gt;&lt;br /&gt;sarah&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If the cron.allow file exists, only users whose login names appear in it can use the crontab command. The root user&#39;s log name must appear in the cron.allow file if the&lt;br /&gt;&lt;br /&gt;file exists. A system administrator can explicitly stop a user from using the crontab command by listing the user&#39;s login name in the cron.deny file. If only the&lt;br /&gt;&lt;br /&gt;cron.deny file exists, any user whose name does not appear in the file can use the crontab command.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A user cannot use the crontab command if one of the following is true:&lt;br /&gt;&lt;br /&gt;* The cron.allow file and the cron.deny file do not exist (allows root user only).&lt;br /&gt;&lt;br /&gt;* The cron.allow file exists but the user&#39;s login name is not listed in it.&lt;br /&gt;&lt;br /&gt;* The cron.deny file exists and the user&#39;s login name is listed in it.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If neither the cron.allow nor the cron.deny file exists, only someone with root user authority can submit a job with the crontab command.&lt;br /&gt;&lt;!-- Begin BidVertiser code --&gt;&lt;br /&gt;&lt;script language=&quot;JavaScript1.1&quot; src=&quot;http://bdv.bidvertiser.com/BidVertiser.dbm?pid=261149%26bid=636965&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;br /&gt;&lt;noscript&gt;&lt;a href=&quot;http://www.bidvertiser.com&quot;&gt;advertising&lt;/a&gt;&lt;/noscript&gt;&lt;br /&gt;&lt;!-- End BidVertiser code --&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;font-size:130%;&quot; &gt;2. Crontab Commands&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;export EDITOR=vi ;to specify a editor to open crontab file.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;c -e UserName&lt;br /&gt;&lt;br /&gt;Edits a copy of the user&#39;s crontab file or creates an empty file to edit if the crontab file does not exist for a valid UserName. When editing is complete, the&lt;br /&gt;&lt;br /&gt;file is copied into the crontab directory as the user&#39;s crontab file.&lt;br /&gt;&lt;br /&gt;-l UserName&lt;br /&gt;&lt;br /&gt;Lists the user&#39;s crontab file.&lt;br /&gt;&lt;br /&gt;-r UserName&lt;br /&gt;&lt;br /&gt;Removes the user&#39;s crontab file from the crontab directory.&lt;br /&gt;&lt;br /&gt;-v UserName&lt;br /&gt;&lt;br /&gt;Lists the status of the user&#39;s cron jobs.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;font-size:130%;&quot; &gt;&lt;br /&gt;3. Crontab file&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Crontab syntax :-&lt;br /&gt;&lt;br /&gt;A crontab file has five fields for specifying day , date and time followed by the command to be run at that interval.&lt;br /&gt;&lt;br /&gt;* * * * * command to be executed&lt;br /&gt;&lt;br /&gt;- - - - -&lt;br /&gt;&lt;br /&gt;| | | | |&lt;br /&gt;&lt;br /&gt;| | | | +----- day of week (0 - 6) (Sunday=0)&lt;br /&gt;&lt;br /&gt;| | | +------- month (1 - 12)&lt;br /&gt;&lt;br /&gt;| | +--------- day of month (1 - 31)&lt;br /&gt;&lt;br /&gt;| +----------- hour (0 - 23)&lt;br /&gt;&lt;br /&gt;+------------- min (0 - 59)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;* in the value field above means all legal values as in braces for that column.&lt;br /&gt;&lt;br /&gt;The value column can have a * or a list of elements separated by commas. An element is either a number in the ranges shown above or two numbers in the range separated by a hyphen (meaning an inclusive range).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note: The specification of days can be made in two fields: month day and weekday. If both are specified in an entry, they are cumulative meaning both of the entries will get executed .&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;font-size:130%;&quot; &gt;&lt;br /&gt;4. Crontab Example&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2 To write the time to the console every hour on the hour, enter:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;0 * * * * echo The hour is `date` .&lt;br /&gt;&lt;br /&gt;&gt;/dev/console&lt;br /&gt;&lt;br /&gt;3 To run the calendar command at 6:30 a.m. every Monday, Wednesday, and Friday, enter:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;30 6 * * 1,3,5 /usr/bin/calendar&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4 To run the calendar command every day of the year at 6:30, enter the following:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;30 6 * * * /usr/bin/calendar&lt;br /&gt;&lt;br /&gt;5 To run a script called maintenance every day at midnight in August, enter the following:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;0 0 * 8 * /u/harry/bin/maintenance&lt;br /&gt;&lt;br /&gt;6 To define text for the standard input to a command, enter:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;0 16 * 12 5 /usr/sbin/wall%HAPPY HOLIDAY!%Remember to&lt;br /&gt;&lt;br /&gt;turn in your time card.&lt;br /&gt;&lt;br /&gt;The text following the % (percent sign) defines the standard input to the wall command as:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;HAPPY HOLIDAY!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Remember to turn in your time card.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;font-size:130%;&quot; &gt;5. Crontab Environment&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;cron invokes the command from the user&#39;s HOME directory with the shell, (/usr/bin/sh).&lt;br /&gt;&lt;br /&gt;cron supplies a default environment for every shell, defining:&lt;br /&gt;&lt;br /&gt;HOME=user&#39;s-home-directory&lt;br /&gt;&lt;br /&gt;LOGNAME=user&#39;s-login-id&lt;br /&gt;&lt;br /&gt;PATH=/usr/bin:/usr/sbin:.&lt;br /&gt;&lt;br /&gt;SHELL=/usr/bin/sh&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Users who desire to have their .profile executed must explicitly do so in the crontab entry or in a script called by the entry.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;font-size:130%;&quot; &gt;&lt;br /&gt;6. Disable Email&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;By default cron jobs sends a email to the user account executing the cronjob. If this is not needed put the following command At the end of the cron job line .&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&gt;/dev/null 2&gt;&amp;amp;1&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;font-size:130%;&quot; &gt;&lt;br /&gt;7. Generate log file&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;collect the cron execution execution log in a file :&lt;br /&gt;30 18 * * * rm /home/someuser/tmp/* &gt; /home/someuser/cronlogs/clean_tmp_dir.log&lt;br /&gt;&lt;br /&gt;Number of Hits : &lt;a href=&quot;http://www.digits.com/&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://counter.digits.com/?counter=%7B52905d19-48cf-9d14-493d-5f04e7267976%7D&amp;amp;template=simple&quot; alt=&quot;Hit Counter by Digits&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;</content><link rel="related" href="www.hyderabadpearls.in" title="Using Crontab in UNIX"/><link rel='replies' type='application/atom+xml' href='http://systemadmineasy.blogspot.com/feeds/7057776347426075461/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://systemadmineasy.blogspot.com/2009/09/using-crontab-in-unix.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/7057776347426075461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/7057776347426075461'/><link rel='alternate' type='text/html' href='http://systemadmineasy.blogspot.com/2009/09/using-crontab-in-unix.html' title='Using Crontab in UNIX'/><author><name>sreekar</name><uri>http://www.blogger.com/profile/18265178104016369608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4656915886004082122.post-267082685016242866</id><published>2009-08-20T14:05:00.000+05:30</published><updated>2009-09-09T21:35:12.430+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="aix"/><category scheme="http://www.blogger.com/atom/ns#" term="FTP"/><category scheme="http://www.blogger.com/atom/ns#" term="ftp as root"/><category scheme="http://www.blogger.com/atom/ns#" term="ftp problems in aix server."/><category scheme="http://www.blogger.com/atom/ns#" term="ftp to AIX"/><title type='text'>Not able to FTP as root in AIX</title><content type='html'>&lt;span style=&quot;font-size:180%;&quot;&gt;      Not able to FTP as Root &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;  &gt;&lt;br /&gt;&lt;noscript&gt;&lt;a href=&quot;http://www.bidvertiser.com&quot;&gt;advertising&lt;/a&gt;&lt;/noscript&gt;&lt;br /&gt;&lt;!-- End BidVertiser code --&gt;&lt;br /&gt;This is the problem many number of the system admins face.&lt;br /&gt;&lt;br /&gt;1) First check the /etc/ftpusers file&lt;br /&gt;&lt;br /&gt;if that file exist then edit that file and remove the root entry there in that file&lt;br /&gt;&lt;br /&gt;2) check for the ports that are active for the FTP or not.&lt;br /&gt;&lt;br /&gt;3)If you are using ip adresses, make sure the servers can ping each other by ip adress. If you are using hostnames, then make sure the two servers can resolve each other&#39;s hostname.&lt;br /&gt;&lt;br /&gt;4) Check the /etc/inetd.conf  file&lt;br /&gt;&lt;br /&gt;where the /usr/sbin/ftpd  ftpd must not be commented.&lt;br /&gt;if comented please remove the comment ( #)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;5) check for the /etc/services&lt;br /&gt;&lt;br /&gt;in this file check for the FTP services they must not be commented.&lt;br /&gt;Check for the FTP/TCP  and FTP/UDP and all services related to FTP.&lt;br /&gt;they must not be comented.&lt;br /&gt;&lt;br /&gt;6) Finally and most importent thing is&lt;br /&gt;&lt;br /&gt;The shell of the root also important  , if the root&#39;s default shell is &lt;span style=&quot;color: rgb(0, 0, 153);&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&#39;bash&#39;&lt;/span&gt; &lt;/span&gt;then you will not be able to FTP to that server by root.&lt;br /&gt;Please chanag the root default shell to ksh.&lt;br /&gt;&lt;noscript&gt;&lt;a href=&quot;http://www.bidvertiser.com&quot;&gt;advertising&lt;/a&gt;&lt;/noscript&gt;&lt;br /&gt;Number of Hits : &lt;a href=&quot;http://www.digits.com/&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://counter.digits.com/?counter=%7B52905d19-48cf-9d14-493d-5f04e7267976%7D&amp;amp;template=simple&quot; alt=&quot;Hit Counter by Digits&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/a&gt;&lt;span style=&quot;font-size:180%;&quot;&gt;&lt;span style=&quot;font-family:verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://systemadmineasy.blogspot.com/feeds/267082685016242866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://systemadmineasy.blogspot.com/2009/08/not-able-to-ftp-as-root-in-aix.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/267082685016242866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/267082685016242866'/><link rel='alternate' type='text/html' href='http://systemadmineasy.blogspot.com/2009/08/not-able-to-ftp-as-root-in-aix.html' title='Not able to FTP as root in AIX'/><author><name>sreekar</name><uri>http://www.blogger.com/profile/18265178104016369608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4656915886004082122.post-2876819926181543636</id><published>2009-08-07T17:16:00.000+05:30</published><updated>2009-08-27T21:11:38.355+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AIX Boot Problem"/><category scheme="http://www.blogger.com/atom/ns#" term="steps"/><title type='text'>AIX boot Process</title><content type='html'>&lt;span style=&quot;font-weight: bold;font-size:130%;&quot; &gt; AIX Boot process .&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;!-- Begin BidVertiser code --&gt;&lt;br /&gt;&lt;SCRIPT LANGUAGE=&quot;JavaScript1.1&quot; SRC=&quot;http://bdv.bidvertiser.com/BidVertiser.dbm?pid=261149%26bid=636965&quot; type=&quot;text/javascript&quot;&gt;&lt;/SCRIPT&gt;&lt;br /&gt;&lt;noscript&gt;&lt;a href=&quot;http://www.bidvertiser.com&quot;&gt;advertising&lt;/a&gt;&lt;/noscript&gt;&lt;br /&gt;&lt;!-- End BidVertiser code --&gt; &lt;br /&gt;1)you power on the AIX server&lt;br /&gt;2)The POST ( Power On Self Test ) will be done .&lt;br /&gt;            &lt;br /&gt;      It varifies the  basic hardware, Check is it is in functional state or not.&lt;br /&gt;      The memory,keyboard, communication and audio devices are also initialized&lt;br /&gt;       we can see the icons on the the screen&lt;br /&gt;3)This is the correct step where you can select the boot list  by pressing function key&lt;br /&gt;4)The LED values displayed during this phase are model specific.&lt;br /&gt;5)The system read only Storage is specific  to the system type. It is the one which is used to boot the system ,but it will not contain any data structure.&lt;br /&gt;      This ROS contain only the location to the bootstrap .&lt;br /&gt;       It will load the the Bootstrap .&lt;br /&gt;       ROS contains generic boot information and is operating system independent.&lt;br /&gt;6)The bootstrap also called as software ROS.&lt;br /&gt;      This bootstrap contains IPL ( Initial Program loader )&lt;br /&gt;       Which is used to build AIX specific boot information.&lt;br /&gt;        Software RS is AIX 5L information created based on machine type and is                                responsible for completing machine preparation to enable it to start AIX 5L kernel.&lt;br /&gt;7)A special file system will be created in memory called RAMFS ,&lt;br /&gt;8)Bootstrap locates and loads the BLV in to memory and gives control to BLV&lt;br /&gt;9)BLV ( boot Logical volume )&lt;br /&gt;        The complete list of files that are there in BLV can be found in /usr/lib/boot.&lt;br /&gt;         The AIX 5L kernel&lt;br /&gt;         The boot command called during the booting process like cfgmgr, bootinfo&lt;br /&gt;         The reduced version of ODM  ( object Data Manager ),&lt;br /&gt;         The hd4 contains all the device spcific methods info , but before loading we need&lt;br /&gt;          some devices like keyboard more . So the BLV contains methods to load those &lt;br /&gt;         devices .&lt;br /&gt;         The rc.boot program&lt;br /&gt;&lt;br /&gt;10)Then BLV loads complete AIX kernel,and gives control. LED 0299.&lt;br /&gt;11)All Previous LED values are hardware specific.&lt;br /&gt;12)Complete the boot process by lading all the devices.&lt;br /&gt;13) LED codes displayed during this stage will be generic AIX 5L specific&lt;br /&gt;14)Now Init process will be started&lt;br /&gt;15)Till now the rootvg is not mounted.&lt;br /&gt;16)Till now the rc.boot script called 3 tiles with 1, 2, 3 arguments.&lt;br /&gt;       We call this as the 3 phases of initialization .&lt;br /&gt;17)rc.boot 1   -----&gt; Boot phase 1.&lt;br /&gt;      a) The init process started from RAMFS executes the boot script rc.boot 1&lt;br /&gt;      b) If init process fails the LED code will be c06.&lt;br /&gt;      c) restbase will be called in this phase to copy the partial copy of the ODM from BLV to RMFS.&lt;br /&gt;      d) IF successful then shows 510 , if fails 548 on LED.&lt;br /&gt;      e) After this, the cfgmgr -f command reads the Config_Rules class from the reduced ODM&lt;br /&gt;&lt;br /&gt;     f)  devices with the attribute phase=1 are considered base devices. Base devices are all&lt;br /&gt;        devices that are necessary to access rootvg.&lt;br /&gt;     g)  Like all the devices that are there to acced rootvg from mothere board to Hard disk   &lt;br /&gt;          will be activated.&lt;br /&gt;     h) The bootinfo  -b  will be called to determine the last boot device .&lt;br /&gt;&lt;br /&gt;18)rc.boot 2  -----------&gt; Boot Phase 2.&lt;br /&gt;&lt;br /&gt;          a) The rootvg volume group is varied on with the special version of the varyonvg&lt;br /&gt;                  ipl_varyon command&lt;br /&gt;          b) If this command is successful the LED value will be 517.&lt;br /&gt;          c) If failed LED value will be 552, 554, 556 and the boot process is halted.         &lt;br /&gt;          d) Root file system hd4 is checked using the fsck -f command. This will verify&lt;br /&gt;               whether the lass shutdown was clean .&lt;br /&gt;          e)  if command fails system will show 555&lt;br /&gt;          f)  The root file system (/dev/hd4) is mounted on a temporary mount point /mnt in&lt;br /&gt;              RMFS&lt;br /&gt;          g) If this fails, 557 will appear in the LED display.&lt;br /&gt;          h)The /usr file system is verified using the fsck -f command and then mounted.&lt;br /&gt;          i) If fails then LED value will be 518.&lt;br /&gt;          j) The /var file system is verified using the fsck -f command and then mounted.&lt;br /&gt;          k) Then copycore command will check for dumps if exist then copy form the&lt;br /&gt;              default dump device  /dev/hd6 to default directory /var/adm/ras.&lt;br /&gt;          l) After this /var is unmounted&lt;br /&gt;         m) The primary paging space from rootvg, /dev/hd6, will be activated.&lt;br /&gt;         n) The mergedev process is called and all /dev files from the RAM file system&lt;br /&gt;             copied on to disk.&lt;br /&gt;         o) All customized ODM files from the RAM file system are copied to disk.&lt;br /&gt;         p) Both ODM versions from hd4 and hd5 are now synchronized.&lt;br /&gt;         q) Finally, the root file system from rootvg (disk) is mounted over the root &lt;br /&gt;              filesystem from the RMFS.&lt;br /&gt;         r) The mount points for the rootvg file system is available now.&lt;br /&gt;         s) then /var /usr are mounted again on normal mount points.&lt;br /&gt;         t) There is no console available at this stage.so all the messages are copied to alog.&lt;br /&gt;         u) alog is program that maintain all the logs.&lt;br /&gt;&lt;br /&gt;19) rc.boot 3  -----------&gt; Boot Phase 3.&lt;br /&gt;   &lt;br /&gt;   a) /etc/init program starts and reades the /etc/inittab  callas rc.boot with 3.&lt;br /&gt;           b) The /tmp file system is mounted.&lt;br /&gt;   c) The rootvg is synchronized by calling the syncvg command and launching it as&lt;br /&gt;              as a background process.&lt;br /&gt;           d) As a result all stale partitions from rootvg are the LEC value is 553.&lt;br /&gt;   e) At this stage, the cfgmgr command is called: if the system is booted in normal &lt;br /&gt;                mode  with the option -p2.&lt;br /&gt;            if it booted in service mode the cfgmgr is called with -p3 option.&lt;br /&gt;   f) The cfgmgr command reads the Config_rules file from oDM and calls all&lt;br /&gt;      methods corresponding to either phase=2 or phase=3.&lt;br /&gt;   g) All the devices that are not basic devices are initialized.&lt;br /&gt;   h) The console is configured by calling the cfgcon command , Now boot&lt;br /&gt;      messages are sent to console .&lt;br /&gt;   i) if there is any problem in console the messages are stored in&lt;br /&gt;      /var/adm/ras/conslog.&lt;br /&gt;&lt;br /&gt;20)Finally the syncronization of ODM done from BLV with /root filesystem is done. Savebase  command.&lt;br /&gt;21)he syncd daemon and errdemon are started.&lt;br /&gt;22)LED display went off.&lt;br /&gt;23)If the file /etc/nologin exists, it will be removed.&lt;br /&gt;24)If there are devices marked as missing in CuDv a message is displayed on the console&lt;br /&gt;25)The message System initialization completed is sent to the console.&lt;br /&gt;The execution of rc.boot is has completed the process init will continue the next command from /etc/inittab .&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;!-- Begin BidVertiser code --&gt;&lt;br /&gt;&lt;SCRIPT LANGUAGE=&quot;JavaScript1.1&quot; SRC=&quot;http://bdv.bidvertiser.com/BidVertiser.dbm?pid=261149%26bid=636965&quot; type=&quot;text/javascript&quot;&gt;&lt;/SCRIPT&gt;&lt;br /&gt;&lt;noscript&gt;&lt;a href=&quot;http://www.bidvertiser.com&quot;&gt;advertising&lt;/a&gt;&lt;/noscript&gt;&lt;br /&gt;&lt;!-- End BidVertiser code --&gt; &lt;br /&gt;&lt;br /&gt;Number of Hits : &lt;a href=&quot;http://www.digits.com/&quot; target=&quot;_blank&quot;&gt;&lt;br /&gt;&lt;img src=&quot;http://counter.digits.com/?counter=%7B52905d19-48cf-9d14-493d-5f04e7267976%7D&amp;amp;template=simple&quot; alt=&quot;Hit Counter by Digits&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://systemadmineasy.blogspot.com/feeds/2876819926181543636/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://systemadmineasy.blogspot.com/2009/08/aix-boot-process.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/2876819926181543636'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/2876819926181543636'/><link rel='alternate' type='text/html' href='http://systemadmineasy.blogspot.com/2009/08/aix-boot-process.html' title='AIX boot Process'/><author><name>sreekar</name><uri>http://www.blogger.com/profile/18265178104016369608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4656915886004082122.post-8644311301317505397</id><published>2009-07-30T11:02:00.000+05:30</published><updated>2009-08-28T22:08:11.356+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AIX Boot Problem"/><category scheme="http://www.blogger.com/atom/ns#" term="BLV"/><category scheme="http://www.blogger.com/atom/ns#" term="LED 557"/><category scheme="http://www.blogger.com/atom/ns#" term="re create BLV"/><category scheme="http://www.blogger.com/atom/ns#" term="repair BLV"/><title type='text'>Boot Problem in AIX corrupted BLV</title><content type='html'>&lt;span style=&quot;font-size:130%;&quot;&gt;                     &lt;/span&gt;&lt;span style=&quot;font-weight: bold;font-size:130%;&quot; &gt;Booting Problem in AIX &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Here is the Procedure to Fix a Corrupted BLV (boot logical volume).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;!-- Begin BidVertiser code --&gt;&lt;br /&gt;&lt;SCRIPT LANGUAGE=&quot;JavaScript1.1&quot; SRC=&quot;http://bdv.bidvertiser.com/BidVertiser.dbm?pid=261149%26bid=636965&quot; type=&quot;text/javascript&quot;&gt;&lt;/SCRIPT&gt;&lt;br /&gt;&lt;noscript&gt;&lt;a href=&quot;http://www.bidvertiser.com&quot;&gt;advertising&lt;/a&gt;&lt;/noscript&gt;&lt;br /&gt;&lt;!-- End BidVertiser code --&gt; &lt;br /&gt;AIX Server stop booting if the your BLV is corrupted .By showing the LED value 557.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To fix this Problem , you must boot your machine in maintenance mode, from a CD or tape. If NIM has been set up for a machine, you can also boot the machine from a NIM master in maintenance mode.&lt;br /&gt;&lt;br /&gt;We can set the boot list by  “ bootlist” Command , or by SMS program.&lt;br /&gt;&lt;br /&gt;Some machines support a normal and service boot list. If your model supports this, you will use a function key during bootup to select the appropriate list.&lt;br /&gt;Normally, pressing F5 when you hear the first tones during bootup, will force the machine to check for a bootable CD.&lt;br /&gt;&lt;br /&gt;Press the F5 continually ..................&lt;br /&gt;&lt;br /&gt;&lt;!-- Begin: AdBrite, Generated: 2009-08-28 12:29:53  --&gt;&lt;br /&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;var AdBrite_Title_Color = &#39;0000FF&#39;;&lt;br /&gt;var AdBrite_Text_Color = &#39;000000&#39;;&lt;br /&gt;var AdBrite_Background_Color = &#39;FFFFFF&#39;;&lt;br /&gt;var AdBrite_Border_Color = &#39;CCCCCC&#39;;&lt;br /&gt;var AdBrite_URL_Color = &#39;008000&#39;;&lt;br /&gt;try{var AdBrite_Iframe=window.top!=window.self?2:1;var AdBrite_Referrer=document.referrer==&#39;&#39;?document.location:document.referrer;AdBrite_Referrer=encodeURIComponent(AdBrite_Referrer);}catch(e){var AdBrite_Iframe=&#39;&#39;;var AdBrite_Referrer=&#39;&#39;;}&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;script type=&quot;text/javascript&quot;&gt;document.write(String.fromCharCode(60,83,67,82,73,80,84));document.write(&#39; src=&quot;http://ads.adbrite.com/mb/text_group.php?sid=1319018&amp;zs=3330305f323530&amp;ifr=&#39;+AdBrite_Iframe+&#39;&amp;ref=&#39;+AdBrite_Referrer+&#39;&quot; type=&quot;text/javascript&quot;&gt;&#39;);document.write(String.fromCharCode(60,47,83,67,82,73,80,84,62));&lt;/script&gt;&lt;br /&gt;&lt;div&gt;&lt;a target=&quot;_top&quot; href=&quot;http://www.adbrite.com/mb/commerce/purchase_form.php?opid=1319018&amp;afsid=1&quot; style=&quot;font-weight:bold;font-family:Arial;font-size:13px;&quot;&gt;Your Ad Here&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;!-- End: AdBrite --&gt;&lt;br /&gt;&lt;br /&gt;After booting from CD, tape or NIM an Installation and Maintenance Menu is shown and you can startup the maintenance mode.&lt;br /&gt;&lt;br /&gt;Access the rootvg,&lt;br /&gt;&lt;br /&gt;Then you can repair the boot logical volume with the bosboot command.&lt;br /&gt;Please specify the disk device, for example hdisk0:&lt;br /&gt;&lt;br /&gt;Command : --  # bosboot -ad /dev/hdisk0&lt;br /&gt;&lt;br /&gt;It is important that you do a proper shutdown. All changes need to be written from memory to disk.&lt;br /&gt;&lt;br /&gt;The bosboot command requires that the boot logical volume hd5 exists.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;If the BLV not existing ( deleted mistakenly ) you can create it from the scratch.&lt;/span&gt;&lt;br /&gt;Please follow the below steps.&lt;br /&gt;&lt;br /&gt;1. Boot your machine in maintenance mode (from CD or tape).&lt;br /&gt;2. Create a new hd5 logical volume: one physical partition in size, must be in rootvg. Specify boot as logical volume type.&lt;br /&gt;3. Run the bosboot command as described.&lt;br /&gt;4. Reboot the server run command&lt;br /&gt;&lt;br /&gt;# shutdown -Fr&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Procedure  of re-creating boot logical volume (BLV)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Boot your machine in maintenance mode (from CD, tape, or NIM).&lt;br /&gt;&lt;br /&gt;2. Create a new hd5 logical volume: one physical partition in size, must be in rootvg. Specify boot as logical volume type. if needed, remove hd5 using # rmlv -f hd5&lt;br /&gt;&lt;br /&gt;# mklv -y hd5 -t boot -a e rootvg 1&lt;br /&gt;&lt;br /&gt;3. Run the bosboot command as described below.&lt;br /&gt;&lt;br /&gt;# bosboot -ad /dev/hdisk0&lt;br /&gt;&lt;br /&gt;4. Shutdown -Fr.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;!-- Begin BidVertiser code --&gt;&lt;br /&gt;&lt;SCRIPT LANGUAGE=&quot;JavaScript1.1&quot; SRC=&quot;http://bdv.bidvertiser.com/BidVertiser.dbm?pid=261149%26bid=636965&quot; type=&quot;text/javascript&quot;&gt;&lt;/SCRIPT&gt;&lt;br /&gt;&lt;noscript&gt;&lt;a href=&quot;http://www.bidvertiser.com&quot;&gt;advertising&lt;/a&gt;&lt;/noscript&gt;&lt;br /&gt;&lt;!-- End BidVertiser code --&gt; &lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.digits.com/&quot; target=&quot;_blank&quot;&gt;&lt;br /&gt; &lt;img src=&quot;http://counter.digits.com/?counter=%7B52905d19-48cf-9d14-493d-5f04e7267976%7D&amp;amp;template=simple&quot; alt=&quot;Hit Counter by Digits&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://systemadmineasy.blogspot.com/feeds/8644311301317505397/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://systemadmineasy.blogspot.com/2009/07/boot-problem-in-aix-corrupted-blv.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/8644311301317505397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/8644311301317505397'/><link rel='alternate' type='text/html' href='http://systemadmineasy.blogspot.com/2009/07/boot-problem-in-aix-corrupted-blv.html' title='Boot Problem in AIX corrupted BLV'/><author><name>sreekar</name><uri>http://www.blogger.com/profile/18265178104016369608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4656915886004082122.post-6730442871389380915</id><published>2009-06-21T14:48:00.000+05:30</published><updated>2013-05-22T10:10:35.245+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="available state"/><category scheme="http://www.blogger.com/atom/ns#" term="display devices"/><category scheme="http://www.blogger.com/atom/ns#" term="divice state"/><category scheme="http://www.blogger.com/atom/ns#" term="know the installed memory in AIX.change the device attributes"/><category scheme="http://www.blogger.com/atom/ns#" term="last boot disk"/><category scheme="http://www.blogger.com/atom/ns#" term="predefined state"/><title type='text'>Device management in AIX</title><content type='html'>&lt;span style=&quot;font-weight: bold;&quot;&gt;TO lists all installed devices in AIX&lt;/span&gt;&lt;br /&gt;

lscfg                        &lt;br /&gt;
lscfg -v                     &lt;br /&gt;
lscfg -vl  &lt;device&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 130%; font-weight: bold;&quot;&gt;TO Know last device the system booted from&lt;/span&gt;&lt;br /&gt;bootinfo -b                  &lt;br /&gt;bootinfo -k   ----&amp;gt; keyswitch position&lt;br /&gt;                             1=secure, 2=service, 3=normal&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 130%; font-weight: bold;&quot;&gt;To know the amount of memory in 1024&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;bootinfo -r                  &lt;br /&gt;bootinfo -s  &lt;disk&gt;  command to know the  size of disk drive&lt;br /&gt;bootinfo -T  type of machine ie rspc&lt;br /&gt;&lt;br /&gt;lsattr -El sys0 -a realmem      ---- &amp;gt; comad to know the usable memory.&lt;br /&gt;&lt;br /&gt;mknod &lt;device&gt; c &lt;major&gt; &lt;minor&gt;        Creates a /dev/ device file.&lt;br /&gt;mknod /dev/null1 c 2 3&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 130%; font-weight: bold;&quot;&gt;To displays customized devices ie installed&lt;/span&gt;&lt;br /&gt;lsdev -C  displays customized devices ie installed&lt;br /&gt;&lt;br /&gt;To  pre-defined devices ie supported&lt;br /&gt;&lt;br /&gt;lsdev -P&lt;br /&gt;lsdev -(C or P) -c (class) -t (type) -s (subtype)&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 130%; font-weight: bold;&quot;&gt;How to  Change a device attribute&lt;/span&gt;&lt;br /&gt;chdev -l (device) -a (attribute)=(new value)       &lt;br /&gt;chdev -l sys0 -a maxuproc=80&lt;br /&gt;&lt;br /&gt;lsattr -EH -l (device) -D         Lists the defaults in the pre-defined db&lt;br /&gt;lsattr -EH -l sys0 -a modelname&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 130%; font-weight: bold;&quot;&gt;TO change the device state from defined state to available state.&lt;/span&gt;&lt;br /&gt;rmdev -l (device)         &lt;br /&gt;rmdev -l (device) -d        Delete the device&lt;br /&gt;rmdev -l (device) -SR       S stops device, R unconfigures child devices&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 130%; font-weight: bold;&quot;&gt;TO Displays bus resource attributes of a device.&lt;/span&gt;&lt;br /&gt;lsresource -l (device)&lt;/minor&gt;&lt;/major&gt;&lt;/device&gt;&lt;/disk&gt;&lt;/device&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;

&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.digits.com/&quot; target=&quot;_blank&quot;&gt;&lt;br /&gt;  &lt;img alt=&quot;Hit Counter by Digits&quot; border=&quot;0&quot; src=&quot;http://counter.digits.com/?counter=%7B52905d19-48cf-9d14-493d-5f04e7267976%7D&amp;amp;template=simple&quot; /&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://systemadmineasy.blogspot.com/feeds/6730442871389380915/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://systemadmineasy.blogspot.com/2009/06/device-management-in-aix.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/6730442871389380915'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/6730442871389380915'/><link rel='alternate' type='text/html' href='http://systemadmineasy.blogspot.com/2009/06/device-management-in-aix.html' title='Device management in AIX'/><author><name>sreekar</name><uri>http://www.blogger.com/profile/18265178104016369608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4656915886004082122.post-8427823329790851102</id><published>2009-06-10T22:23:00.000+05:30</published><updated>2013-05-22T10:11:49.910+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="mksysb to tapes."/><category scheme="http://www.blogger.com/atom/ns#" term="restore mksysb"/><title type='text'>Restoring the files from the MKSYSB image backup</title><content type='html'>&lt;strong&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;How do I restore specific files from a mksysb tape&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;  &lt;br /&gt;To recover specific files from a backup made with mksysb&lt;br /&gt;$ tctl   -f /dev/rmt1 rewind&lt;br /&gt;$ tar xvf /dev/rmt0.1 ./your/file/name&lt;br /&gt;&lt;br /&gt;$ tctl   -f /dev/rmt1 rewind&lt;br /&gt;$ restore -xvf /dev/rmt0.1 ./your/file/name&lt;br /&gt;&lt;br /&gt;Restore the file: restore   -x  -d  -q -s4 -f /dev/rmt0.1 &lt;your&gt;&lt;br /&gt;-s4 indicated that we are restoring  4th image on the tape,&lt;br /&gt;&lt;br /&gt;Use rmt0.1, means no rewind on close and no retension on open.&lt;br /&gt;&lt;br /&gt;If the backup was taken with -i flag, you can use the following command:&lt;br /&gt;restore  -x  -d  -v  -q  -f    /dev/rmt0    &lt;file&gt;&lt;br /&gt;&lt;br /&gt;If the mksysb backup was taken with file system backup, you can use the following command:&lt;br /&gt;restore  -x  -v  -q  -f    /dev/rmt0   &lt;file&gt;&lt;br /&gt;&lt;br /&gt;Restoring A Directory File From mksysb Image&lt;br /&gt;If you want to restore  a full directory from the mksysb archive on /dev/rmt0. Here you have to specify the directory name instead of a single file:&lt;br /&gt;Rewind The tape: tctl   -f /dev/rmt1 rewind&lt;br /&gt;&lt;br /&gt;Restore the file: restore   -x   -d   -s4   -f    /dev/rmt0.1  &lt;file&gt;&lt;br /&gt;&lt;br /&gt;if the backup was taken with  -i  option then it will be:&lt;br /&gt;restore  -x   -d   -v   -q   -f    /dev/rmt0    &lt;file&gt; &lt;br /&gt;&lt;br /&gt;If the backup was taken with filesystem backup option then it will be:&lt;br /&gt;restore  -x   -v   -q   -f    /dev/rmt0     &lt;file&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;  &lt;br /&gt;&lt;br /&gt;Number of Hits :&lt;br /&gt;&lt;a href=&quot;http://www.digits.com/&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;/file&gt;&lt;/file&gt;&lt;/file&gt;&lt;/file&gt;&lt;/file&gt;&lt;/your&gt;</content><link rel='replies' type='application/atom+xml' href='http://systemadmineasy.blogspot.com/feeds/8427823329790851102/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://systemadmineasy.blogspot.com/2009/06/restoring-files-from-mksysb-image.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/8427823329790851102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/8427823329790851102'/><link rel='alternate' type='text/html' href='http://systemadmineasy.blogspot.com/2009/06/restoring-files-from-mksysb-image.html' title='Restoring the files from the MKSYSB image backup'/><author><name>sreekar</name><uri>http://www.blogger.com/profile/18265178104016369608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4656915886004082122.post-2798864868070643833</id><published>2009-06-09T18:10:00.000+05:30</published><updated>2009-08-27T21:13:46.200+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="create image on tapes.create AIX backup file"/><category scheme="http://www.blogger.com/atom/ns#" term="image using mksysb"/><title type='text'>Creating Image of AIX by using MKSYSB</title><content type='html'>&lt;!-- Begin BidVertiser code --&gt;&lt;br /&gt;&lt;SCRIPT LANGUAGE=&quot;JavaScript1.1&quot; SRC=&quot;http://bdv.bidvertiser.com/BidVertiser.dbm?pid=261149%26bid=636965&quot; type=&quot;text/javascript&quot;&gt;&lt;/SCRIPT&gt;&lt;br /&gt;&lt;noscript&gt;&lt;a href=&quot;http://www.bidvertiser.com&quot;&gt;advertising&lt;/a&gt;&lt;/noscript&gt;&lt;br /&gt;&lt;!-- End BidVertiser code --&gt; &lt;br /&gt;We can create the image of the running AIX OS in to tape or in to a file by using MKSYSB command in AIX or in other words Creating an installable image of the root volume group either in a file or onto a bootable tape.&lt;br /&gt;&lt;br /&gt;It is use full when the server crashes or when the server is down with some ODM problem or if system admin executed rm –R  on root .&lt;br /&gt;&lt;br /&gt;For the production servers it is recommended that every 1 month image of the running OS should be maintain in a secure place.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;strong&gt;Helps in Provisioning the AIX OS&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;We can create a good image of running AIX OS with all the requisites for our environment and it will help us in provisioning the same image to all the P series machines in a same project so that all the machines will be of same configuration and at same level because mksysb creates backup of the running OS .&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Creating a image on Tape&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;By the following command we can create the image on tape .&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1)      mksysb –i /dev/rmt0&lt;br /&gt;It create the backup of the running OS on the tape , which will be bootable .&lt;br /&gt;&lt;br /&gt;2)      mksysb –m /dev/rmt0&lt;br /&gt;Create the image with map files&lt;br /&gt;&lt;br /&gt;3)      mksysb –i  &lt;file&gt;&lt;br /&gt;&lt;strong&gt;Create the backup on a file&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Excluding the file in the backup&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;We can exclude the files that which we don’t want to backup , many reasons we don’t want to backup some files , the size of the file is one the major thing.&lt;br /&gt;&lt;br /&gt;We need to follow below procedure to exclude the file from  backup&lt;br /&gt;&lt;br /&gt;1)      Create the file name with /etc/exclude.rootvg&lt;br /&gt;2)      Write the file name that you want to exclude in the  exclude.rootvg&lt;br /&gt;3)      Execute the command mksysb –ei /dev/rmt0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Notes:&lt;/strong&gt;&lt;br /&gt;1.              The image the mksysb command creates does not include data on raw devices or in user-defined paging spaces.&lt;br /&gt;2.              If you are using a system with a remote-mounted /usr file system, you cannot reinstall your system from a backup image.&lt;br /&gt;3.              The mksysb command may not restore all device configurations for special features, such as /dev/netbios and some device drivers not shipped with the product.&lt;br /&gt;4.              Some rspc systems for AIX 5.1 and earlier do not support booting from tape. When you make a bootable mksysb image on an rspc system for AIX 5.1 and earlier that does not support booting from tape, the mksysb command issues a warning indicating that the tape will not be bootable. You can install a mksysb image from a system that does not support booting from tape by booting from a CD and entering maintenance mode. In maintenance mode you will be able to install the system backup from tape.&lt;br /&gt;5.              The mksysb command uses the backup command to create its archive image. The mksysb command will also save the EA format for any JFS2 filesystems being backed up. It uses the /usr/bin/mkvgdata shell script to save this information.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;!-- Begin BidVertiser code --&gt;&lt;br /&gt;&lt;SCRIPT LANGUAGE=&quot;JavaScript1.1&quot; SRC=&quot;http://bdv.bidvertiser.com/BidVertiser.dbm?pid=261149%26bid=636965&quot; type=&quot;text/javascript&quot;&gt;&lt;/SCRIPT&gt;&lt;br /&gt;&lt;noscript&gt;&lt;a href=&quot;http://www.bidvertiser.com&quot;&gt;advertising&lt;/a&gt;&lt;/noscript&gt;&lt;br /&gt;&lt;!-- End BidVertiser code --&gt; &lt;br /&gt;&lt;br /&gt;number of Hits :&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.digits.com/&quot; target=&quot;_blank&quot;&gt;&lt;br /&gt;   &lt;img src=&quot;http://counter.digits.com/?counter=%7B52905d19-48cf-9d14-493d-5f04e7267976%7D&amp;amp;template=simple&quot; alt=&quot;Hit Counter by Digits&quot; border=&quot;0&quot; /&gt;&lt;br /&gt; &lt;/a&gt;&lt;/file&gt;</content><link rel='replies' type='application/atom+xml' href='http://systemadmineasy.blogspot.com/feeds/2798864868070643833/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://systemadmineasy.blogspot.com/2009/06/creating-image-of-aix-by-using-mksysb.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/2798864868070643833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/2798864868070643833'/><link rel='alternate' type='text/html' href='http://systemadmineasy.blogspot.com/2009/06/creating-image-of-aix-by-using-mksysb.html' title='Creating Image of AIX by using MKSYSB'/><author><name>sreekar</name><uri>http://www.blogger.com/profile/18265178104016369608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4656915886004082122.post-1667785032203679227</id><published>2009-05-12T15:07:00.000+05:30</published><updated>2013-05-22T10:13:21.778+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="create the user same as root"/><category scheme="http://www.blogger.com/atom/ns#" term="user with same privilages as root"/><title type='text'>How to create the user same privileges as root in UNIX</title><content type='html'>Tech INFO&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;You can create a user with the same privileges as root&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Steps:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt; &lt;!-- Begin BidVertiser code --&gt;&lt;br /&gt;&lt;SCRIPT LANGUAGE=&quot;JavaScript1.1&quot; SRC=&quot;http://bdv.bidvertiser.com/BidVertiser.dbm?pid=261149%26bid=636965&quot; type=&quot;text/javascript&quot;&gt;&lt;/SCRIPT&gt;&lt;br /&gt;&lt;noscript&gt;&lt;a href=&quot;http://www.bidvertiser.com&quot;&gt;advertising&lt;/a&gt;&lt;/noscript&gt;&lt;br /&gt;&lt;!-- End BidVertiser code --&gt; &lt;br /&gt;&lt;br /&gt;1) create the user &lt;br /&gt;    &lt;br /&gt;       smitty user -&gt;add user&lt;br /&gt;2)edit the etc/filesystem&lt;br /&gt;&lt;br /&gt;modified your user row same as root user row.&lt;br /&gt;&lt;br /&gt;this will allow the user with all the operations a root can do.&lt;br /&gt;&lt;br /&gt;But It is not good paractice . please give the user with sudo access.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note: If you want to change the password of the new user ID. first change the UID to some thing else than 0, and then change the password and again change the UID to 0.&lt;br /&gt;&lt;br /&gt;If not you will be prompted to change the root password to change it when you login as root.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;!-- Begin BidVertiser code --&gt;&lt;br /&gt;&lt;SCRIPT LANGUAGE=&quot;JavaScript1.1&quot; SRC=&quot;http://bdv.bidvertiser.com/BidVertiser.dbm?pid=261149%26bid=636965&quot; type=&quot;text/javascript&quot;&gt;&lt;/SCRIPT&gt;&lt;br /&gt;&lt;noscript&gt;&lt;a href=&quot;http://www.bidvertiser.com&quot;&gt;advertising&lt;/a&gt;&lt;/noscript&gt;&lt;br /&gt;&lt;!-- End BidVertiser code --&gt; &lt;br /&gt;&lt;br /&gt;Number of hits : &lt;a href=&quot;http://www.digits.com&quot; target=&quot;_blank&quot;&gt;&lt;br /&gt;          &lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://systemadmineasy.blogspot.com/feeds/1667785032203679227/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://systemadmineasy.blogspot.com/2009/05/how-to-create-user-same-privileges-as.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/1667785032203679227'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/1667785032203679227'/><link rel='alternate' type='text/html' href='http://systemadmineasy.blogspot.com/2009/05/how-to-create-user-same-privileges-as.html' title='How to create the user same privileges as root in UNIX'/><author><name>sreekar</name><uri>http://www.blogger.com/profile/18265178104016369608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4656915886004082122.post-2979784902707188341</id><published>2009-05-11T22:09:00.000+05:30</published><updated>2009-08-29T10:23:48.462+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AIX.Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="IBM Director"/><category scheme="http://www.blogger.com/atom/ns#" term="Installation Prerequisites"/><title type='text'>IBM Director Installation Prerequisites</title><content type='html'>&lt;!-- Begin BidVertiser code --&gt;&lt;br /&gt;&lt;SCRIPT LANGUAGE=&quot;JavaScript1.1&quot; SRC=&quot;http://bdv.bidvertiser.com/BidVertiser.dbm?pid=261149%26bid=636965&quot; type=&quot;text/javascript&quot;&gt;&lt;/SCRIPT&gt;&lt;br /&gt;&lt;noscript&gt;&lt;a href=&quot;http://www.bidvertiser.com&quot;&gt;advertising&lt;/a&gt;&lt;/noscript&gt;&lt;br /&gt;&lt;!-- End BidVertiser code --&gt; &lt;br /&gt;IBM Director Installation Prerequisites.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hardware requirements for running IBM Systems Director Server&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;IBM® Systems Director Server has certain hardware requirements. These requirements can vary depending on the size of your IBM Systems Director systems-management environment.&lt;br /&gt;&lt;br /&gt;Recommended hardware requirements for IBM Systems Director Server running on Linux on x86-compatible systems&lt;br /&gt;&lt;br /&gt;IBM® Systems Director Server has certain hardware requirements to run on x86-compatible systems running Linux®. These requirements can vary depending on the size of your IBM Systems Director systems-management environment.&lt;br /&gt;The following recommendations are for three types of IBM Systems Director systems-management environments: &lt;br /&gt;&lt;br /&gt;Small configuration &lt;br /&gt;&lt;br /&gt;A systems-management environment that includes less than 500 Common-Agent managed systems. The database software is Apache Derby. &lt;br /&gt;&lt;br /&gt;Medium configuration &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A systems-management environment that includes between 500 and 1000 Common-Agent managed systems. The database software is IBM DB2®. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Large configuration &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A systems-management environment that includes between 1000 and 5000 Common-Agent managed systems. The database software is IBM DB2. &lt;br /&gt;When reviewing these recommendations, consider the following information: &lt;br /&gt;• Installation and startup times improve with faster disk access times. SCSI adapters and 10 K RPM drives provide the best performance. &lt;br /&gt;• Disk sizes are arbitrary and indicative of disk requirements. &lt;br /&gt;• System performance depends on the nature of your requirements and system workload. &lt;br /&gt;• The IBM DB2 database software sizing should be comparable for Oracle and Microsoft® SQL Server. The sizing presumes that DB2 is running on the same server as IBM Systems Director Server. &lt;br /&gt;The following recommendations are based on a 32–bit version of SUSE Linux Enterprise Server 10 for x86. The recommendations are comparable for Red Hat Enterprise Linux on x86-compatible systems.&lt;br /&gt;Table 1. IBM Systems Director Server recommended hardware requirements for different-sized Linux environments&lt;br /&gt;Configuration Recommended hardware requirements&lt;br /&gt; Processor Memory Disk storage&lt;br /&gt;Small 1 processor, 3 GHz Intel® Xeon® 1 1 GB  4 GB&lt;br /&gt;Medium 2 processors, 3 GHz Intel Xeon 1 2 GB 6 GB&lt;br /&gt;Large 4 processors, 3 GHz Intel Xeon 1 4 GB 8 GB&lt;br /&gt;1 The processor (CPU) sizing is based on the Intel Xeon processor, but is comparable for equivalent Intel® and AMD processors. &lt;br /&gt;Attention: If you use DVD media to install IBM Systems Director Server, ensure that you allot an additional 1.2 GB of available space on the system to contain the agent packages that are copied from the DVD at the end of the server installation. The packages are copied to /opt/ibm/director/packaging/agent on the server.&lt;br /&gt;&lt;br /&gt;&lt;!-- Begin BidVertiser code --&gt;&lt;br /&gt;&lt;SCRIPT LANGUAGE=&quot;JavaScript1.1&quot; SRC=&quot;http://bdv.bidvertiser.com/BidVertiser.dbm?pid=261149%26bid=636965&quot; type=&quot;text/javascript&quot;&gt;&lt;/SCRIPT&gt;&lt;br /&gt;&lt;noscript&gt;&lt;a href=&quot;http://www.bidvertiser.com&quot;&gt;advertising&lt;/a&gt;&lt;/noscript&gt;&lt;br /&gt;&lt;!-- End BidVertiser code --&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Recommended hardware requirements for IBM Systems Director Server running on AIX&lt;br /&gt;&lt;br /&gt;IBM® Systems Director Server has certain hardware requirements to run on IBM Power systems running AIX®, including JS21 and JS22 blade servers. These requirements can vary depending on the size of your IBM Systems Director systems-management environment. &lt;br /&gt;The following recommendations are for three types of IBM Systems Director systems-management environments: &lt;br /&gt;Small configuration &lt;br /&gt;A systems-management environment that includes less than 500 Common-Agent managed systems. The database software is Apache Derby. &lt;br /&gt;Medium configuration &lt;br /&gt;A systems-management environment that includes between 500 and 1000 Common-Agent managed systems. The database software is IBM DB2®. &lt;br /&gt;Large configuration &lt;br /&gt;A systems-management environment that includes between 1000 and 5000 Common-Agent managed systems. The database software is IBM DB2. &lt;br /&gt;When reviewing these recommendations, consider the following information: &lt;br /&gt;• Installation and startup times improve with faster disk access times. SCSI adapters and 10 K RPM drives provide the best performance. &lt;br /&gt;• Disk sizes are arbitrary and indicative of disk requirements. &lt;br /&gt;• System performance depends on the nature of your requirements and system workload. &lt;br /&gt;• The IBM DB2 database software sizing should be comparable for Oracle and Microsoft® SQL Server. The sizing presumes that DB2 is running on the same server as IBM Systems Director Server. &lt;br /&gt;The following recommendations are based on a 32–bit Java™ Virtual Machine (JVM) running on a 64–bit version of AIX. &lt;br /&gt;&lt;br /&gt;Note: Common Agent is always installed with IBM Systems Director Server, so ensure that you factor in the Common Agent requirements whenever considering IBM Systems Director Server requirements.&lt;br /&gt;&lt;br /&gt;Table 1. IBM Systems Director Server recommended hardware requirements for different-sized AIX environments&lt;br /&gt;Configuration Recommended hardware requirements&lt;br /&gt; Processor Memory Disk storage2&lt;br /&gt;Small 1 processor, POWER5™ or POWER6™1 2.5 - 3 GB  4 GB&lt;br /&gt;Medium 2 processors,POWER5 or POWER61 4 GB 6 GB&lt;br /&gt;Large 4 processors, POWER5 or POWER61 10 GB 8 GB&lt;br /&gt;• 1 The processor (CPU) sizing is based on the IBM® POWER5 processor, but is comparable for equivalent IBM® POWER6 processors. &lt;br /&gt;• 2 Disk storage requirements are for running IBM Systems Director Server. &lt;br /&gt;Paging space should equal or exceed the physical memory size. Ensuring this is particularly critical if the physical memory is close to the 2.5 GB minimum requirement.&lt;br /&gt;The following table provides information about disk storage requirements for installing IBM Systems Director Server. These requirements include Common Agent and Platform Agent, which are installed with IBM Systems Director Server. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Table 2. Disk storage requirements for installing IBM Systems Director Server&lt;br /&gt;File system Disk space required&lt;br /&gt;/ 10 MB&lt;br /&gt;/usr 110 MB&lt;br /&gt;/var 170 MB&lt;br /&gt;/tmp 12 MB &lt;br /&gt;Note: During the installation, /tmp must have 1 GB in free space. This space is only required during the installation and is freed after the installation is complete.&lt;br /&gt;/opt 3 GB &lt;br /&gt;Attention: If you use DVD media to install IBM Systems Director Server, ensure that you allot an additional 1.2 GB of available space in the /opt file system to contain the agent packages that are copied from the DVD at the end of the server installation. The packages are copied to /opt/ibm/director/packaging/agent on the server.&lt;br /&gt;&lt;br /&gt;        &lt;!-- Begin BidVertiser code --&gt;&lt;br /&gt;&lt;SCRIPT LANGUAGE=&quot;JavaScript1.1&quot; SRC=&quot;http://bdv.bidvertiser.com/BidVertiser.dbm?pid=261149%26bid=636965&quot; type=&quot;text/javascript&quot;&gt;&lt;/SCRIPT&gt;&lt;br /&gt;&lt;noscript&gt;&lt;a href=&quot;http://www.bidvertiser.com&quot;&gt;advertising&lt;/a&gt;&lt;/noscript&gt;&lt;br /&gt; &lt;br /&gt;Recommended hardware requirements for IBM Systems Director Server running on Linux on Power Systems&lt;br /&gt;IBM® Systems Director Server has certain hardware requirements to run on IBM Power systems running Linux®, including JS21 blade servers. These requirements can vary depending on the size of your IBM Systems Director systems-management environment.&lt;br /&gt;The following recommendations are for three types of IBM Systems Director systems-management environments: &lt;br /&gt;Small configuration &lt;br /&gt;A systems-management environment that includes less than 500 Common-Agent managed systems. The database software is Apache Derby. &lt;br /&gt;Medium configuration &lt;br /&gt;A systems-management environment that includes between 500 and 1000 Common-Agent managed systems. The database software is IBM DB2®. &lt;br /&gt;Large configuration &lt;br /&gt;A systems-management environment that includes between 1000 and 5000 Common-Agent managed systems. The database software is IBM DB2. &lt;br /&gt;When reviewing these recommendations, consider the following information: &lt;br /&gt;• Installation and startup times improve with faster disk access times. SCSI adapters and 10 K RPM drives provide the best performance. &lt;br /&gt;• Disk sizes are arbitrary and indicative of disk requirements. &lt;br /&gt;• System performance depends on the nature of your requirements and system workload. &lt;br /&gt;• The IBM DB2 database software sizing should be comparable for Oracle and Microsoft® SQL Server. The sizing presumes that DB2 is running on the same server as IBM Systems Director Server. &lt;br /&gt;The following recommendations are based on a 32–bit Java™ Virtual Machine (JVM) running on a 64–bit version of SUSE Linux Enterprise Server 10 on IBM Power Systems™. The recommendations are comparable for Red Hat Enterprise Linux on IBM Power systems.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Table 1. IBM Systems Director Server recommended hardware requirements for different-sized Linux on Power Systems environments&lt;br /&gt;Configuration Recommended hardware requirements&lt;br /&gt; Processor Memory Disk storage 2&lt;br /&gt;Small 1 processor, POWER5™ or POWER6™1 2.5 GB  4 GB&lt;br /&gt;Medium 2 processors,POWER5 or POWER61 4 GB 6 GB&lt;br /&gt;Large 4 processors, POWER5 or POWER61 10 GB 8 GB&lt;br /&gt;• 1 The processor (CPU) sizing is based on the IBM® POWER5 processor, but is comparable for equivalent IBM® POWER6 processors. &lt;br /&gt;• 2 Disk storage requirements are for running IBM Systems Director Server. For installing IBM Systems Director Server, 2.1 GB disk space is required. This requirement includes Common Agent and Platform Agent which are installed with IBM Systems Director Server. Also, during the installation, /tmp must have 1.7 GB in free space. This space is only required during the installation and is freed after the installation is complete. &lt;br /&gt;Attention: If you use DVD media to install IBM Systems Director Server, ensure that you allot an additional 1.2 GB of available space on the system to contain the agent packages that are copied from the DVD at the end of the server installation. The packages are copied to /opt/ibm/director/packaging/agent on the server.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Recommended hardware requirements for IBM Systems Director Server running on IBM® System z servers&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;IBM® Systems Director Server has certain hardware requirements to run on IBM® System z systems running Linux®. These requirements can vary depending on the size of your IBM Systems Director systems-management environment.&lt;br /&gt;The following recommendations are for three types of IBM Systems Director systems-management environments: &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Small configuration &lt;br /&gt;A systems-management environment that includes less than 500 Common-Agent managed systems. The database software is Apache Derby. &lt;br /&gt;Medium configuration &lt;br /&gt;A systems-management environment that includes between 500 and 1000 Common-Agent managed systems. The database software is IBM DB2® Universal Database™. &lt;br /&gt;Large configuration &lt;br /&gt;A systems-management environment that includes between 1000 and 2500 Common-Agent managed systems. &lt;br /&gt;Note: The maximum number of managed systems supported by IBM® System z systems running Linux is smaller than the maximum supported by Linux on other platforms because of the limitation imposed by the 31-bit Java Virtual Machine (JVM).&lt;br /&gt;The database software is IBM DB2 Universal Database. &lt;br /&gt;When reviewing these recommendations, consider the following information: &lt;br /&gt;• Disk sizes are arbitrary and indicative of disk requirements. &lt;br /&gt;• System performance depends on the nature of your requirements and system workload. &lt;br /&gt;• The IBM DB2 Universal Database software sizing should be comparable for Oracle® Database and Microsoft® SQL Server. The sizing presumes that IBM DB2 Universal Database is running on the same server as IBM Systems Director Server. &lt;br /&gt;The following recommendations are based on a 31–bit JVM running on a 64–bit version of SUSE Linux Enterprise Server 10 on IBM® System z systems. The recommendations are comparable for Red Hat Enterprise Linux on IBM® System z systems.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Table 1. IBM Systems Director Server recommended hardware requirements for different Linux configuration sizes on System z systems environments&lt;br /&gt;Configuration Recommended hardware requirements&lt;br /&gt; Processor Memory Disk storage2&lt;br /&gt;Small 1 processor, IBM® System z9 or above1 2 GB 3.5 GB (in /opt)&lt;br /&gt;1.0 GB (in /tmp)&lt;br /&gt;Medium 2 processors, IBM® System z9 or above1 4 GB 4.5 GB (in /opt)&lt;br /&gt;1.0 GB (in /tmp)&lt;br /&gt;Large 4 processors, IBM® System z9 or above1 8 GB 6.5 GB (in /opt)&lt;br /&gt;1.0 GB (in /tmp)&lt;br /&gt;1. The processor sizing is based on the IBM® System z9 EC processor, but is comparable for equivalent System z processors. The processor usage by IBM Systems Director Server is high during certain tasks. It is recommended that, if processors are shared, the partition that is used to run IBM Systems Director Server be given a lower partition weight than production partitions. &lt;br /&gt;2. Disk storage requirements are for running IBM Systems Director Server. For installing IBM Systems Director Server, space is required in /opt. This requirement includes Common Agent and Platform Agent, which are installed with IBM Systems Director Server. Also, during the installation, /tmp must have free space as specified. This space is only required during the installation and is freed after the installation is complete. &lt;br /&gt;Attention: If you use DVD media to install IBM Systems Director Server, ensure that you allot an additional 1.2 GB of available space on the system to contain the agent packages that are copied from the DVD at the end of the server installation. The packages are copied to /opt/ibm/director/packaging/agent on the server.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;!-- Begin BidVertiser code --&gt;&lt;br /&gt;&lt;SCRIPT LANGUAGE=&quot;JavaScript1.1&quot; SRC=&quot;http://bdv.bidvertiser.com/BidVertiser.dbm?pid=261149%26bid=636965&quot; type=&quot;text/javascript&quot;&gt;&lt;/SCRIPT&gt;&lt;br /&gt;&lt;noscript&gt;&lt;a href=&quot;http://www.bidvertiser.com&quot;&gt;advertising&lt;/a&gt;&lt;/noscript&gt;&lt;br /&gt;&lt;!-- End BidVertiser code --&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hardware requirements for systems running Common Agent or Platform Agent  (client  )&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Common Agent and Platform Agent have minimum processor speed, random access memory (RAM), and disk space requirements.&lt;br /&gt;Note: The disk space listed is the minimum requirement for an installation using the default selections.&lt;br /&gt;x86-compatible systems&lt;br /&gt;Notes: &lt;br /&gt;• The systems on which you install Common Agent must meet the Wired for Management (WfM), version 2.0, specifications. &lt;br /&gt;• System Management BIOS (SMBIOS) 2.1 or later is required for all systems in an IBM® Systems Director environment. &lt;br /&gt;Table 1. x86-compatible systems: Minimum hardware requirements&lt;br /&gt;Requirements Platform Agent Common Agent&lt;br /&gt;Processor speed Pentium 1.5 Ghz or equivalent Pentium 1.5 Ghz or equivalent&lt;br /&gt;Memory (RAM) 512 MB 512 MB&lt;br /&gt;Disk space 40 MB (for Windows®) &lt;br /&gt;100 MB (for Linux®) 110 MB (for Windows) &lt;br /&gt;170 MB (for Linux)&lt;br /&gt;IBM Power systems running IBM i&lt;br /&gt;Table 2. IBM Power systems running IBM i: Minimum hardware requirements&lt;br /&gt;Requirements Common Agent&lt;br /&gt;Relative system performance  150 commercial processing workload (CPW)&lt;br /&gt;Storage pool size 350 MB&lt;br /&gt;Disk space 300 MB&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;IBM Power systems running AIX®&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note: On systems that do not provide display capability, such as JS21 and JS22 blade servers, you must export IBM Systems Director Web interface using either the xhost command or SSH tunneling. The IBM Systems Director Web interface requirements apply to the receiving system.&lt;br /&gt;Table 3. Servers running AIX: Minimum hardware requirements&lt;br /&gt;Requirements Common Agent&lt;br /&gt;Processor speed POWER5™ or POWER6™ &lt;br /&gt;Memory (RAM) 512 MB (minimum)&lt;br /&gt;The following table provides information about disk storage requirements for installing Common Agent. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Table 4. Disk storage requirements for installing Common Agent&lt;br /&gt;File system Disk space required&lt;br /&gt;/ 10 MB&lt;br /&gt;/usr 110 MB&lt;br /&gt;/var 170 MB&lt;br /&gt;/tmp 12 MB&lt;br /&gt;/opt 190 MB&lt;br /&gt;Note: During the installation, /tmp must have 280 MB in free space. This space is only required during the installation and is freed after the installation is complete.&lt;br /&gt;If you are installing the Common Agent using the Agent Installation Wizard, the following disk space is required, in addition to the required installation disk space stated above: &lt;br /&gt;• 210 MB for the dir6.1.0.0_commonagent_aix.sh file &lt;br /&gt;• 210 MB for the extracted installation file sets &lt;br /&gt;IBM Power systems running Linux&lt;br /&gt;Note: &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;On systems that do not provide display capability, such as JS21, QS21, and QS22 blade servers, you must export the IBM Systems Director Web interface using either the xhost command or SSH. The IBM Systems Director Web interface requirements apply to the receiving system.&lt;br /&gt;Table 5. Servers running Linux on Power Systems™: Minimum hardware requirements&lt;br /&gt;Requirements Platform Agent Common Agent&lt;br /&gt;Processor speed POWER5 or POWER6  POWER5 or POWER6&lt;br /&gt;Memory (RAM) 128 MB (minimum) 512 MB (minimum)&lt;br /&gt;Disk space for installing the agent  145 MB &lt;br /&gt;210 MB for the temporary space 370 MB 1 &lt;br /&gt;490 MB for the temporary space&lt;br /&gt;Additional disk space required when installing the agent using the Agent Installation Wizard 120 MB 420 MB&lt;br /&gt;1 This requirement includes Platform Agent which is installed with Common Agent.&lt;br /&gt;System z servers&lt;br /&gt;Table 6. System z servers: Minimum hardware requirements&lt;br /&gt;Requirement Platform Agent Common Agent Common Agent with CIM instrumentation for z/VM® manageability access point&lt;br /&gt;Processor speed Processor speeds provided by IBM® System z and zSeries® servers are sufficient for IBM Systems Director agents. These models are: &lt;br /&gt;• IBM® System z (System z10™ Enterprise Class, System z9® Enterprise Class, and System z9 Business Class) &lt;br /&gt;• IBM® zSeries (IBM® zSeries 990, 900, 890 and 800) &lt;br /&gt;Memory 512 MB 512 MB 512 MB&lt;br /&gt;Disk space 200 MB 500 MB 200 MB&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;PORTS:&lt;br /&gt;&lt;br /&gt;Important port considerations&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;When preparing your ports for an IBM® Systems Director environment, there are some important considerations to remember or some IBM Systems Director functions might not work.&lt;br /&gt;Review the following considerations: &lt;br /&gt;• Depending on the system configuration, one of the following port pairings must be open in order to install IBM Systems Director: &lt;br /&gt;• (For Microsoft® Windows® and Red Hat Enterprise Linux®) 5988 and 5989 &lt;br /&gt;• (For SUSE Linux Enterprise Server) 15988 and 15989 &lt;br /&gt;Some firewalls might attempt to block these ports. Make sure that the IBM Systems Director software components can use these ports. If custom alternative ports are chosen for the CIM Server, then those ports must be opened. &lt;br /&gt;• (Windows only) For any CIM-related function of the Common Agent to work, the HTTP port must be turned on for the Pegasus CIMOM, regardless of whether HTTPS is turned on (SSL is enabled). &lt;br /&gt;• If the CIMOM ports for a Platform-Agent managed system are changed after IBM Systems Director Server discovers the system, the system will change to an Agentless-managed system in IBM Systems Director. To correct this change, you must complete the following steps: &lt;br /&gt;1. Delete the system in IBM Systems Director. &lt;br /&gt;2. Shut down and restart the system. &lt;br /&gt;3. Discover the system in IBM Systems Director. &lt;br /&gt;• Windows firewall can interfere with discovery of managed systems running Windows 2003, Windows 2008, Windows XP, and Windows Vista. &lt;br /&gt;• If a proxy server is required to access the Internet from the management server, make sure that the management server is configured to use the proxy. &lt;br /&gt;• Update manager cannot use Digest or NTLM authentication to access update packages from IBM®. If a proxy server is required, it must be configured to use Basic authentication. &lt;br /&gt;• IBM Systems Director Server can access the Internet through ports 80 (HTTP) and 443 (HTTPS). The firewall and proxy server must permit bi-directional communication through these ports. &lt;br /&gt;• By default, IBM Systems Director uses a random source port for SLP communication through a firewall to a Remote Supervisor Adapter. The random port causes problems when discovering the Remote Supervisor Adapter through a firewall because the Remote Supervisor Adapter responds using that random port. To resolve this problem, open any unused or private port. Then, edit the slp.prop file to use your selected port. The following example uses port 49150:&lt;br /&gt;• # Up to 10 parallel ports can be open at a time&lt;br /&gt;• # when opening firewall ports, configure the source port and open&lt;br /&gt;• # that port and the next 9 consecutive ports&lt;br /&gt;• # default: 0 - random port used&lt;br /&gt;source.port=49150&lt;br /&gt;• Neither z/VM® nor the MAP Agent add any additional ports to those already provided by IBM Systems Director for standard communication. Instead of TCP/IP, z/VM communication APIs are used to communicate with the servers that provide information to IBM Systems Director and to enact any changes to z/VM servers. The communication is by means of sockets and the AF_IUCV address family. &lt;br /&gt;• For the TCP ports listed, the initiator opens a random port in the 1024-65535 range and then connects to the listener on the port listed. The listener responds by connecting to the original random port opened by the initiator. &lt;br /&gt;• For the getfru command to run successfully, the managed system must have firewall access through a standard FTP port. &lt;br /&gt;• The Remote Control, Update Install, and the Agent Installation wizard tasks use session support to increase data transmission. Session support within TCP/IP causes data to flow through a nonreserved port that is different from the one that IBM Systems Director typically uses for communication. Most firewalls will not transmit the data through this other port. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ports for IBM Systems Director Server&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;IBM® Systems Director processes require access to a number of ports on the management server. If these ports are blocked by a firewall or used by another process, some IBM Systems Director functions might not work.&lt;br /&gt;Table 1. Ports used by IBM Systems Director Server for communication&lt;br /&gt;Port TCP or UDP Direction Communication description&lt;br /&gt;20 TCP Inbound FTP data communication with BladeCenter® I/O modules (switches and bridges)&lt;br /&gt;21 TCP Inbound FTP communication with BladeCenter I/O modules (switches and bridges)&lt;br /&gt;22 TCP Outbound SSH communication with: &lt;br /&gt;• Advanced management module and management module &lt;br /&gt;• BladeCenter I/O modules &lt;br /&gt;• Platform Agent installed on systems running Linux®, including systems managed by HMC and IVM &lt;br /&gt;• SSH used by IBM Power systems to communicate with HMC/IVM &lt;br /&gt;• Non-Windows Agentless-managed systems &lt;br /&gt;23 TCP, UDP Outbound Telnet communication with: &lt;br /&gt;• Advanced management module, management module, Remote Supervisor Adapter, and Remote Supervisor Adapter II &lt;br /&gt;• BladeCenter I/O modules &lt;br /&gt;• Updates &lt;br /&gt;69 TCP Inbound TFTP communication with BladeCenter I/O modules (switches and bridges)&lt;br /&gt;80 TCP Outbound HTTP communication with: &lt;br /&gt;• IBM Systems Director Web interface &lt;br /&gt;• Advanced management module, management module, Remote Supervisor Adapter, and Remote Supervisor Adapter II &lt;br /&gt;• BladeCenter I/O modules &lt;br /&gt;• IVM interface &lt;br /&gt;• Update manager &lt;br /&gt;81 TCP Outbound HTTPS communication with BladeCenter I/O modules (switches and bridges)&lt;br /&gt;135 TCP, UDP Outbound (Windows® only) Software installation and remote access communication with Platform Agent&lt;br /&gt;137 TCP, UDP Outbound (Windows only) Communication with Agentless-managed systems using Microsoft® Windows DCOM&lt;br /&gt;138 TCP, UDP Outbound (Windows only) Communication with Agentless-managed systems using Windows DCOM&lt;br /&gt;139 TCP, UDP Outbound (Windows only) Communication with Agentless-managed systems using Windows Server Message Block (SMB)&lt;br /&gt;161 UDP Outbound SNMP agent communication with: &lt;br /&gt;• Advanced management module, management module, Remote Supervisor Adapter, and Remote Supervisor Adapter II &lt;br /&gt;• BladeCenter I/O modules &lt;br /&gt;• Platform Agent &lt;br /&gt;Note: This port is used when the SNMP agent for the operating system is configured. &lt;br /&gt;• Agentless-managed systems &lt;br /&gt;Note: This port is used when the SNMP agent for the operating system is configured. &lt;br /&gt;162 TCP, UDP Outbound (TCP, UDP) &lt;br /&gt;Inbound (UDP) Simple Network Management Protocol (SNMP) trap communication with SNMP devices, including TCP for Tivoli® NetView® events. Examples of SNMP devices are advanced management module, management module, Remote Supervisor Adapter, and Remote Supervisor Adapter II.&lt;br /&gt;427 TCP, UDP Outbound and Inbound SLP communication with: &lt;br /&gt;• Advanced management module, management module, Remote Supervisor Adapter, and Remote Supervisor Adapter II &lt;br /&gt;• Common Agent &lt;br /&gt;• Platform Agent &lt;br /&gt;• IBM Director Agent 5.20 &lt;br /&gt;• Service Location Protocol (SLP) service agent or SLP directory agent &lt;br /&gt;443 TCP Outbound HTTPS communication with: &lt;br /&gt;• IBM Systems Director Web interface &lt;br /&gt;• Advanced management module and management module &lt;br /&gt;• HMC Web interface &lt;br /&gt;• Updates &lt;br /&gt;445 TCP, UDP Outbound (Windows only) Open on Agentless and Platform-Agent managed systems for the following features: &lt;br /&gt;• Software installation &lt;br /&gt;• Remote access communication &lt;br /&gt;• (Agentless-managed systems only) Inventory collection &lt;br /&gt;446 TCP Outbound Non-SSL communication with the IBM i DRDA/DDM server job&lt;br /&gt;448 TCP Outbound SSL communication with the IBM i DRDA/DDM server job&lt;br /&gt;449 TCP Outbound SSL communication with the IBM i server port mapper&lt;br /&gt;623 UDP Outbound Remote Management and Control Protocol (RMCP) unsecure communication with IPMI baseboard management controller (BMC) service processors&lt;br /&gt;664 UDP Outbound Remote Management and Control Protocol (RMCP) secure communication with IPMI BMC service processors&lt;br /&gt;Random port in the 1024-65535 range TCP Inbound • Random port range for communication between IBM Systems Director Server with Intelligent Platform Management Interface (IPMI) service processors &lt;br /&gt;Note: You can specify a fixed port by modifying the asmDefinitions.properties file in the data directory.&lt;br /&gt;• For the TCP ports listed, the initiator opens a random port in the 1024-65535 range and then connects to the listener on the port listed. The listener responds by connecting to the original random port opened by the initiator. &lt;br /&gt;1433 TCP Outbound and Inbound Microsoft SQL Server databases&lt;br /&gt;1521 TCP Outbound and Inbound Oracle® Database databases&lt;br /&gt;1527 TCP Outbound and Inbound Apache Derby databases&lt;br /&gt;2033 TCP Inbound Communication with the IBM Systems Director Launched Tasks program using IBM Systems Director interprocess communication (IPC)&lt;br /&gt;2044 TCP Outbound and Inbound smcli command-line interface &lt;br /&gt;Note: This port number can be changed. See &quot;Port configuration for smcli.&quot;&lt;br /&gt;3389 TCP Outbound and Inbound Remote Desktop Protocol, Remote Desktop Connection, or Remote Accessor for full screen access to systems running Windows&lt;br /&gt;4066 TCP Inbound Communication with the IBM Systems Director Launched Tasks program using IBM Systems Director interprocess communication (IPC) over SSL&lt;br /&gt;5901 TCP Outbound and Inbound Virtual Network Computing (VNC), used by Remote Access&lt;br /&gt;5988 TCP Inbound (Windows and Red Hat Enterprise Linux) CIM Server unsecure port&lt;br /&gt;5989 TCP Inbound • (Windows and Red Hat Enterprise Linux) CIM Server secure port &lt;br /&gt;• HMC/IVM CIMOM &lt;br /&gt;6641 TCP Inbound SAS switches&lt;br /&gt;6988 TCP Inbound CIM listener&lt;br /&gt;6989 TCP Inbound CIM listener&lt;br /&gt;6090 TCP Outbound TCP Command Mode communication between IBM Systems Director Server and advanced management module, management module, Remote Supervisor Adapter, and Remote Supervisor Adapter II&lt;br /&gt;8421 TCP Inbound • (All operating system platforms) HTTP communication between IBM Systems Director Server and the IBM Systems Director Web interface &lt;br /&gt;• HTTP used by IBM Power systems to communicate with CIM &lt;br /&gt;8422 TCP Inbound • (All operating system platforms) HTTPS communication between IBM Systems Director Server and the IBM Systems Director Web interface &lt;br /&gt;• HTTPS used by IBM Power systems to communicate with CIM &lt;br /&gt;8470 TCP Outbound Non-SSL communication with the IBM i central server job&lt;br /&gt;8471 TCP Outbound Non-SSL communication with the IBM i database server job&lt;br /&gt;8472 TCP Outbound Non-SSL communication with the IBM i data queue server job&lt;br /&gt;8473 TCP Outbound Non-SSL communication with the IBM i file server job&lt;br /&gt;8474 TCP Outbound Non-SSL communication with the IBM i network print server job&lt;br /&gt;8475 TCP Outbound Non-SSL communication with the IBM i remote command and distributed program call server job&lt;br /&gt;8476 TCP Outbound Non-SSL communication with the IBM i signon server job&lt;br /&gt;9000–9100 TCP   Communication Platform-Agent managed system running Xen&lt;br /&gt;9470 TCP Outbound SSL communication with the IBM i central server job&lt;br /&gt;9471 TCP Outbound SSL communication with the IBM i database server job&lt;br /&gt;9472 TCP Outbound SSL communication with the IBM i data queue server job&lt;br /&gt;9473 TCP Outbound SSL communication with the IBM i file server job&lt;br /&gt;9474 TCP Outbound SSL communication with the IBM i network print server job&lt;br /&gt;9475 TCP Outbound SSL communication with the IBM i remote command and distributed program call server job&lt;br /&gt;9476 TCP Outbound SSL communication with the IBM i signon server job&lt;br /&gt;9510 TCP Inbound, Outbound Communication with Common Agent and CAS Web services&lt;br /&gt;9511–9513 TCP Inbound Agent manager&lt;br /&gt;9514–9515 TCP   Nonstop ports that are used to make sure Common Agent is restarted automatically if it fails. &lt;br /&gt;Note: Ports must be available, but not firewall accessible.&lt;br /&gt;10000     Events from storage devices&lt;br /&gt;13991 UDP Inbound Receives events sent by advanced management module, management module, Remote Supervisor Adapter, and Remote Supervisor Adapter II&lt;br /&gt;14247 UDP Inbound IBM Systems Director interprocess communication (IPC) with IBM Director Agent 5.20&lt;br /&gt;14248 UDP Outbound IBM Systems Director interprocess communication (IPC) with IBM Director Agent 5.20&lt;br /&gt;14251 UDP Inbound IBM Systems Director Server interprocess communication (IPC) support&lt;br /&gt;20000 TCP Inbound • CAS events &lt;br /&gt;• Communication with VMware &lt;br /&gt;Note: If you plan to manage systems running VMware VirtualCenter, or VMware ESX Server, see the VMware documentation to make sure port requirements are met: www.vmware.com/support/pubs/&lt;br /&gt;&lt;br /&gt;50000 TCP Both IBM DB2® Universal Database™ databases&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ports for managed systems (Client )&lt;br /&gt;IBM® Systems Director processes require access to a number of ports on managed systems. Managed systems include Common-Agent managed systems, Platform-Agent managed systems, and Agentless-managed systems.&lt;br /&gt;Table 1. Ports on managed systems&lt;br /&gt;Port TCP or UDP Direction Communication description&lt;br /&gt;22 TCP Inbound SSH communication with: &lt;br /&gt;• Advanced management module and management module &lt;br /&gt;• BladeCenter® I/O modules &lt;br /&gt;• Platform Agent installed on systems running Linux®, including systems managed by HMC and IVM &lt;br /&gt;• SSH used by IBM Power systems to communicate with HMC/IVM &lt;br /&gt;• Non-Windows Agentless-managed systems &lt;br /&gt;135 TCP, UDP Inbound (Windows® only) Software installation and remote access communication with Platform Agent&lt;br /&gt;137 TCP, UDP Inbound (Windows only) Communication with Agentless-managed systems using Microsoft® Windows DCOM&lt;br /&gt;138 TCP, UDP Inbound (Windows only) Communication with Agentless-managed systems using Windows DCOM&lt;br /&gt;139 TCP, UDP Inbound (Windows only) Communication with Agentless-managed systems using Windows Server Message Block (SMB)&lt;br /&gt;161 UDP Inbound SNMP agent communication with: &lt;br /&gt;• Advanced management module, management module, Remote Supervisor Adapter, and Remote Supervisor Adapter II &lt;br /&gt;• BladeCenter I/O modules &lt;br /&gt;• Platform Agent &lt;br /&gt;Note: This port is used when the SNMP agent for the operating system is configured. &lt;br /&gt;• Agentless-managed systems &lt;br /&gt;Note: This port is used when the SNMP agent for the operating system is configured. &lt;br /&gt;427 TCP, UDP Outbound and Inbound SLP communication with: &lt;br /&gt;• Advanced management module, management module, Remote Supervisor Adapter, and Remote Supervisor Adapter II &lt;br /&gt;• Common Agent &lt;br /&gt;• Platform Agent &lt;br /&gt;• IBM Director Agent 5.20 &lt;br /&gt;• Service Location Protocol (SLP) service agent or SLP directory agent &lt;br /&gt;445 TCP, UDP Inbound (UDP)  (Windows only) Open on Agentless and Platform-Agent managed systems for the following features: &lt;br /&gt;• Software installation &lt;br /&gt;• Remote access communication &lt;br /&gt;• (Agentless-managed systems only) Inventory collection &lt;br /&gt;5988 TCP Inbound (Windows and Red Hat Enterprise Linux) CIM Server unsecure port&lt;br /&gt;5989 TCP Inbound • (Windows and Red Hat Enterprise Linux) CIM Server secure port &lt;br /&gt;• HMC/IVM CIMOM &lt;br /&gt;6988 TCP Inbound CIM listener&lt;br /&gt;6989 TCP Outbound CIM listener&lt;br /&gt;9510 TCP Inbound Communication with Common Agent and CAS Web services&lt;br /&gt;14247 UDP Inbound IBM Systems Director interprocess communication (IPC) with IBM Director Agent 5.20&lt;br /&gt;14248 UDP Outbound IBM Systems Director interprocess communication (IPC) with IBM Director Agent 5.20&lt;br /&gt;15988 TCP Inbound • (For SUSE Linux Enterprise Server) CIM Server (alternative secure port) communication with Platform-Agent managed system &lt;br /&gt;• Service processor communication with SUSE Linux Enterprise Server 10. &lt;br /&gt;• CIM Server (alternative unsecure port) communication with Platform-Agent managed system &lt;br /&gt;15989 TCP Inbound (For SUSE Linux Enterprise Server) CIM Server (alternative secure port) communication with Platform-Agent managed system&lt;br /&gt;20000 TCP Outbound • CAS events &lt;br /&gt;• Communication with VMware &lt;br /&gt;Note: If you plan to manage systems running VMware VirtualCenter, or VMware ESX Server, see the VMware documentation to make sure port requirements are met: www.vmware.com/support/pubs/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Network requirements&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;IBM® Systems Director requires certain ports to be available and certain network protocols to be installed in order to enable communication among IBM Systems Director components and between the management server and managed systems. In addition, network connectivity must exist between the management server and managed systems, and between the management server and the IBM Systems Director Web interface browser system.&lt;br /&gt;Nameserver (DNS) requirements&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ensure that the nameserver is configured correctly. If the nameserver is not configured correctly, you will encounter problems and potential failure during IBM Systems Director installation. &lt;br /&gt;The following conditions indicate that the nameserver is configured correctly: &lt;br /&gt;• The nameserver address or addresses are correct for your network environment. &lt;br /&gt;• You are able to connect to valid hosts on the network and validate that the connection occurs within a reasonable amount of time. &lt;br /&gt;• All available ports&lt;br /&gt;IBM Systems Director processes require access to a number of ports in the installation and systems-management environment. If these ports are blocked by a firewall or used by another process, some IBM Systems Director functions might not work. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Security requirements&lt;br /&gt;IBM® Systems Director Server supports several products to house the registry used for system security.&lt;br /&gt;User registry products and types&lt;br /&gt;One of the following locations must contain the registry that IBM Systems Director uses for user authentication:&lt;br /&gt;Operating system &lt;br /&gt;The local operating system user registry is the default registry used by IBM Systems Director security. &lt;br /&gt;LDAP &lt;br /&gt;IBM Systems Director includes Lightweight Directory Access Protocol (LDAP) authentication support. LDAP support is disabled by default. The following LDAP servers are supported: &lt;br /&gt;• IBM® Tivoli® Directory Server &lt;br /&gt;• Microsoft® Active Directory &lt;br /&gt;Active directory &lt;br /&gt;The active directory, which is the same as the Microsoft Active Directory, acts as an LDAP server or domain controller. It supports the following types of users and groups: &lt;br /&gt;• Global &lt;br /&gt;• Domain &lt;br /&gt;• Local &lt;br /&gt;• Trusted &lt;br /&gt;Ensure that the IBM Systems Director server is a member of the active directory domain. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;IBM Systems Director task support by operating system and agent levels&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Some IBM® Systems Director tasks are supported on certain operating systems or only on Platform-Agent managed systems or Common-Agent managed systems. For tasks whose support is not affected in this way, see &quot;IBM Systems Director task support not affected by operating systems.&quot;&lt;br /&gt;Support for IBM Systems Director tasks can vary depending on the following items: &lt;br /&gt;• The system or hardware device model (the resource) &lt;br /&gt;• The operating system that is installed on a resource &lt;br /&gt;• The service processor installed in the managed system &lt;br /&gt;• The level of the device drivers that are installed on the managed system &lt;br /&gt;Attention: The device drivers that are available for a managed system depend on the service processor and operating system that are installed on the managed system.&lt;br /&gt;• The level of IBM Systems Director support installed on the system or device. In Table 1, the following symbols are used: &lt;br /&gt;• IBM Systems Director Server indicates the task is supported by IBM Systems Director Server. &lt;br /&gt;• Level 0 indicates the task support is provided by the operating system. &lt;br /&gt;• Level 1 indicates the task is supported for managed resources with Platform Agent installed. &lt;br /&gt;• Level 2 indicates the task is supported for managed resources with Common Agent installed. &lt;br /&gt;Note: Typically, if a task is supported by Common Agent, it is also supported by IBM Director Agent version 5.20. However, support can vary for tasks that update systems or provide cross-platform support: &lt;br /&gt;• IBM i support is provided by IBM Director Agent 5.20 only. &lt;br /&gt;• The Agent Installation Wizard can be used to install subagents only on Common-Agent managed system. &lt;br /&gt;• (Configuration manager) Only operating system configuration plug-ins are supported by Common Agent and IBM Director Agent version 5.20. &lt;br /&gt;• (Update manager) Updates on System x and IBM BladeCenter® systems and the IBM i operating system are supported by Common Agent and IBM Director Agent version 5.20. All other types of updates are supported by Common Agent only. &lt;br /&gt;• (Update manager) Updates on AIX®, Linux® on Power Systems™, and Linux for System z are available only with Common Agent. The ability to distribute Linux updates is only available for Common Agent on Linux. &lt;br /&gt;• (Virtualization manager) IBM Director Agent version 5.20 requires a separate download and installation of the Virtualization Manager extension. &lt;br /&gt;Table 1. IBM Systems Director task support across operating systems&lt;br /&gt;Task Operating systems&lt;br /&gt; AIX IBM i Linux Microsoft® Virtual Server VMware Windows®&lt;br /&gt;Event Log IBM Systems Director Server, Level 2 Levels 1, 2 IBM Systems Director Server, Levels 1, 2 Levels 1, 2 Levels 01, 1, 2&lt;br /&gt;IBM Systems Director Server, Levels 1, 2&lt;br /&gt;File Transfer IBM Systems Director Server, Level 2 Level 2 IBM Systems Director Server, Level 2 Level 2 Level 22&lt;br /&gt;IBM Systems Director Server, Level 2&lt;br /&gt;Inventory (hardware)3&lt;br /&gt;IBM Systems Director Server, Level 2 Levels 1, 2  IBM Systems Director Server, Levels 0, 1, 24&lt;br /&gt;Levels 0, 1, 2 Levels 01, 1, 2&lt;br /&gt;IBM Systems Director Server, Levels 0, 1, 24&lt;br /&gt;&lt;br /&gt;Inventory (software) IBM Systems Director Server, Levels 0, 2 Levels 0, 1, 25&lt;br /&gt;IBM Systems Director Server, Levels 0, 1, 2 Levels 0, 1, 2 Levels 0, 1, 2 IBM Systems Director Server, Levels 0, 1, 2&lt;br /&gt;Problems (formerly Hardware Status)6&lt;br /&gt;Level 2 Level 2 7&lt;br /&gt;Levels 1, 2 8, 7&lt;br /&gt;Levels 1, 2 9&lt;br /&gt;Levels 1, 2 10&lt;br /&gt;Levels 1, 2&lt;br /&gt;Process Management IBM Systems Director Server, Level 2 Level 2 IBM Systems Director Server, Level 2 Level 2 11&lt;br /&gt;Level 2 11&lt;br /&gt;IBM Systems Director Server, Level 2&lt;br /&gt;Remote Control IBM Systems Director Server, Levels 0, 2   IBM Systems Director Server, Levels 0, 1, 2 Level 2 Levels 0, 1, 212&lt;br /&gt;IBM Systems Director Server, Levels 0, 1, 2&lt;br /&gt;Remote Command Line IBM Systems Director Server, Levels 0, 2 Levels 0, 1, 2 IBM Systems Director Server, Levels 013, 113, 2 Level 2 Levels 0, 1, 2 IBM Systems Director Server, Level 2&lt;br /&gt;Resource Monitors IBM Systems Director Server, Level 2 Levels 1, 2 IBM Systems Director Server, Levels 1, 2 Console only 14&lt;br /&gt;Console only 14&lt;br /&gt;IBM Systems Director Server, Levels 1, 2&lt;br /&gt;Storage Configuration Manager IBM Systems Director Server   IBM Systems Director Server, Levels 1, 28, 15&lt;br /&gt;Levels 1, 2 Levels 1, 2  IBM Systems Director Server, Levels 1, 2 16&lt;br /&gt;&lt;br /&gt;Update Manager IBM Systems Director Server, Levels 217&lt;br /&gt;Levels 1, 218&lt;br /&gt;IBM Systems Director Server, Levels 0, 1, 217&lt;br /&gt;Levels 1, 2 19&lt;br /&gt;Levels 1, 219&lt;br /&gt;IBM Systems Director Server, Levels 0, 1, 2 17&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;   &lt;!-- Begin BidVertiser code --&gt;&lt;br /&gt;&lt;SCRIPT LANGUAGE=&quot;JavaScript1.1&quot; SRC=&quot;http://bdv.bidvertiser.com/BidVertiser.dbm?pid=261149%26bid=636965&quot; type=&quot;text/javascript&quot;&gt;&lt;/SCRIPT&gt;&lt;br /&gt;&lt;noscript&gt;&lt;a href=&quot;http://www.bidvertiser.com&quot;&gt;advertising&lt;/a&gt;&lt;/noscript&gt;&lt;br /&gt;&lt;!-- End BidVertiser code --&gt;&lt;br /&gt;tes: &lt;br /&gt;1. Agentless-managed system support is available for VMware ESX Server 3i only. &lt;br /&gt;2. File systems that are displayed for the guest operating system are limited to file systems within its virtual disk. &lt;br /&gt;3. Inventory data provided can vary among Agentless, Platform-Agent, and Common-Agent managed systems. &lt;br /&gt;4. Hardware-platform-specific data is not available for hardware inventory. &lt;br /&gt;5. Software Catalog Signatures not supported &lt;br /&gt;6. Unless otherwise indicated, this task is supported (although the support might be limited) by: &lt;br /&gt;• Out-of-band notifications generated by the service processor &lt;br /&gt;• CIM indications generated by Platform Agent or Common Agent &lt;br /&gt;7. IBM BladeCenter JS21 and JS22 only: Out-of-band notifications generated by a service processor only. &lt;br /&gt;8. Not supported on System z systems. &lt;br /&gt;9. Limited support only. &lt;br /&gt;10. VMware support for the Problems task has the following limitations: &lt;br /&gt;• No support for Platform Agent or Common Agent on VMware ESX Server 3i (Embedded and Installable Editions) although enhanced Agentless support includes Problems support. &lt;br /&gt;• Support is limited for guest operating systems. &lt;br /&gt;• Support for console is limited to out-of-band notifications generated by a service processor or in-band events generated by CIM (CIM support is system specific). &lt;br /&gt;11. Supported on guest operating systems only. &lt;br /&gt;12. Supported on Windows guest operating systems only. &lt;br /&gt;13. Supported for Linux on Power Systems only. &lt;br /&gt;14. Limited support provided by virtualization manager. &lt;br /&gt;15. Not supported for Linux on Power Systems. &lt;br /&gt;16. The IBM BladeCenter SAS RAID Controller Module function is not supported on Windows Server 2008. &lt;br /&gt;17. For detailed information about hardware and operating system support provided by update manager, see &quot;Supported updates.&quot; &lt;br /&gt;18. On IBM i 5.4 or later, update manager support is provided for IBM Director Agent 5.20. &lt;br /&gt;19. On guest operating systems, support is provided for Linux updates and IBM Systems Director agent updates only. &lt;br /&gt;&lt;br /&gt;Preparing the management server&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Before installing IBM® Systems Director Server, make sure that the requirements that are applicable to your system have been met. &lt;br /&gt;&lt;br /&gt;Preparing firewalls and proxies for IBM Systems Director&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you have firewalls in your network, or if the management server must use a proxy server to access the internet, you must configure the firewalls and proxy server to enable installation and operation of IBM® Systems Director.&lt;br /&gt;IBM Systems Director must be able to access all the managed objects in the network, and if you will be using a remote management console, the management console and management server must have access to each other. In addition, some functions of IBM Systems Director require access to the internet. &lt;br /&gt;To enable this access, you must configure firewalls and proxies in your network to allow access by IBM Systems Director components.&lt;br /&gt;Complete the following steps to configure firewalls and proxies in your network:&lt;br /&gt;1. Identify the ports that you will use in your systems-management environment and ensure that those ports are open before you start installation. For example, you must ensure that the listener ports for IBM Systems Director Server and Common Agent are open. See &quot;All available ports&quot; for a complete list of the ports that IBM Systems Director components can use. &lt;br /&gt;2. Ensure that internet connections exist to the following internet addresses as they are required by IBM Systems Director and various plug-ins. &lt;br /&gt;Note: IP addresses are subject to change, so the use of DNS names is strongly recommended.&lt;br /&gt;Table 1. Required internet connections&lt;br /&gt;DNS name IP address Port(s) Protocol(s)&lt;br /&gt;Update manager&lt;br /&gt;www.ibm.com 129.42.56.216, 129.42.58.216, 129.42.60.216 443 or 80 https or http&lt;br /&gt;www-03.ibm.com 204.146.30.17 443 or 80 https or http&lt;br /&gt;download2.boulder.ibm.com 207.25.253.8 80 http&lt;br /&gt;download3.boulder.ibm.com 207.25.253.76 80 http&lt;br /&gt;Service and Support Manager&lt;br /&gt;eccgw01.boulder.ibm.com 207.25.252.197 443 https&lt;br /&gt;eccgw02.rochester.ibm.com 129.42.160.51 443 https&lt;br /&gt;www-945.ibm.com 129.42.26.224, 129.42.34.224, 129.42.42.224 443 https&lt;br /&gt;www6.software.ibm.com 207.25.253.41 443 https&lt;br /&gt;www.ecurep.ibm.com 192.109.81.20 443 https&lt;br /&gt;3. If a proxy server is required to access the Internet from the management server, complete the following steps to configure the management server to use the proxy when accessing the Internet. &lt;br /&gt;a. Configure the proxy server to use basic authentication if it is configured for digest or NTLM authentication. The update manager task supports only basic authentication with the proxy server. If digest or NTLM authentication are required, update manager will be unable to access update packages from IBM®. &lt;br /&gt;b. Configure the management server to use the proxy server, if a proxy is required to access the Internet. IBM Systems Director requires Internet access for some functions, including update manager. &lt;br /&gt;Parent topic: Preparing the management server&lt;br /&gt;Previous topic: Preparing the database application&lt;br /&gt;Next topic: Installing firmware and device drivers&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Installing firmware and device drivers&lt;br /&gt;Before installing IBM® Systems Director on Red Hat Enterprise Linux®, SUSE Linux, VMware ESX Server, Windows® Server 2003, or Windows Server 2008, you need to install the latest firmware and device drivers for IBM service processors and ServeRAID controllers. To accomplish this, you can either use the IBM UpdateXpress System Pack Installer (UXSPi) or you can install the files manually.&lt;br /&gt;Decide the level of agent management that is required for your system. See &quot;Choosing the management level for managed systems&quot; for information.&lt;br /&gt;RSA II notes for installing on Linux: &lt;br /&gt;• The RSA II daemon requires the libusb and libusb-devel packages, which are typically installed by default. If your distribution or installation does not include or install these packages, you must install them prior to installing the RSA II daemon. &lt;br /&gt;• If you are running Linux, the RSA II daemon requires that you configure RSA II for “Linux OS” prior to installation. Change this setting through the RSA II Web management interface or through a setting found in the system BIOS setup utility. &lt;br /&gt;To install the latest firmware and device drivers for IBM service processors and ServeRAID controllers and ServeRAID Manager plug-ins, it is recommended to use the IBM UpdateXpress System Pack Installer (UXSPi). The UXSPi will automatically install the latest BIOS, IPMI baseboard management controller (BMC), Remote Supervisor Adapter II (RSA II), ServeRAID, and other firmware as required for your server. It will also automatically install the required IPMI device drivers for the BMC and the RSA Server Software for the RSA II. See the IBM Systems support Web site at http://www.ibm.com/systems/support/ and select the appropriate UpdateXpress System Pack Library to download the recommended firmware and drivers for your system.&lt;br /&gt;If you choose to not use the UpdateXpress System Pack Installer, perform the following steps to download and install the latest firmware and device driver files for your Red Hat Enterprise Linux, SUSE Linux, or VMware ESX Server system.&lt;br /&gt;Notes: &lt;br /&gt;• These steps apply to only Red Hat Enterprise Linux, SUSE Linux, or VMware ESX Server systems, though the steps that are required for Windows systems are similar. &lt;br /&gt;• See &quot;Preparing to manage service processors with IBM Director&quot; for more information about service processors. &lt;br /&gt;• If your system contains an Integrated systems management processor (ISMP), you need to instead install LM78 and SMBus drivers. See &quot;Installing the IBM LM78 or SMBus device driver&quot; for information. &lt;br /&gt;1. Install the latest firmware for BMC service processors. &lt;br /&gt;a. Download into a temporary directory the ibm_fw_bmc_XXXXXXX_linux_i386.sh BMC firmware file from http://www.ibm.com/systems/support/. This file is available for all supported Red Hat Enterprise Linux, SUSE Linux, and VMware ESX operating systems, so download the version that applies to your system. &lt;br /&gt;b. Navigate to the temporary directory into which you downloaded the file. &lt;br /&gt;c. Use a console prompt from the temporary directory to run the following command: &lt;br /&gt;./ibm_fw_bmc_XXXXXXX_linux_i386.sh -s -a -s&lt;br /&gt;2. Install the latest daemon for the RSA II service processors. &lt;br /&gt;a. Download into a temporary directory the ibm_svc_rsa2_XXXXXXX_linux_32-64.tgz RSA II daemon file from http://www.ibm.com/systems/support/. This file is available for all supported Red Hat Enterprise Linux, SUSE Linux, and VMware ESX operating systems, so download the version that applies to your system. &lt;br /&gt;b. Navigate to the temporary directory into which you downloaded the file. &lt;br /&gt;c. Use a console prompt from the temporary directory to run the following commands: &lt;br /&gt;d. tar xzf ibm_svc_rsa2_XXXXXXX_linux_32-64.tgz&lt;br /&gt;export PATH=$PATH:/usr/local/bin;./install.sh --update&lt;br /&gt;3. Install the latest firmware for the RSA II service processors. &lt;br /&gt;a. Download into a temporary directory the ibm_fw_rsa2_XXXXXXX_linux_i386.sh RSA II firmware file from http://www.ibm.com/systems/support/. This file is available for all supported Red Hat Enterprise Linux, SUSE Linux, and VMware ESX operating systems, so download the version that applies to your system. &lt;br /&gt;b. Navigate to the temporary directory into which you downloaded the file. &lt;br /&gt;c. Use a console prompt from the temporary directory to run the following commands: &lt;br /&gt;d. tar xzf ibm_fw_rsa2_XXXXXXX_linux_i386.sh&lt;br /&gt;export PATH=$PATH:/usr/local/bin;./install.sh --update -force-if-overridden&lt;br /&gt;4. Install the latest firmware and device drivers for ServeRAID controllers. &lt;br /&gt;a. Download into a temporary directory the following individual files that are required for your servers from http://www.ibm.com/systems/support/. &lt;br /&gt;Note: The firmware packages apply to all Linux and VMware ESX distributions, but you must download the appropriate device driver for your particular distribution.&lt;br /&gt;Table 1. Required ServeRAID controller firmware and device driver files&lt;br /&gt;Item Files RHEL AS 4 U6 32-bit RHEL AS 4 U6 64-bit RHEL AS 5 U1 32-bit RHEL AS 5 U1 64-bit SLES 9 32-bit SLES 9 64-bit SLES 10 32-bit SLES 10 64-bit VMware ESX&lt;br /&gt;ServeRAID MR 10 Device driver (systems with ServeRAID 10 hardware) ibm_dd_sraidmr_XXXXXXXX_rhel4_32-64.tgz X X              &lt;br /&gt; ibm_dd_sraidmr_XXXXXXXX_rhel5_32-64.tgz     X X          &lt;br /&gt; ibm_dd_sraidmr_XXXXXXXX_sles9_32-64.tgz          X X      &lt;br /&gt; ibm_dd_sraidmr_XXXXXXXX_sles10_32-64.tgz             X X  &lt;br /&gt;ServeRAID MR 10 Firmware (systems with ServeRAID 10 hardware) ibm_fw_sraidmr_XXXXXXXXXXX_linux_32-64.bin X X X X X X X X X&lt;br /&gt;ServeRAID 8 Device driver (systems with ServeRAID 8 hardware) ibm_dd_aacraid_XXXXXXXXXXX_rhel4_32-64.tgz  X X              &lt;br /&gt; ibm_dd_aacraid_XXXXXXXXXXX_rhel5_32-64.tgz      X X          &lt;br /&gt; ibm_dd_aacraid_XXXXXXXXXXX_sles9_32-64.tgz          X X      &lt;br /&gt; ibm_dd_aacraid_XXXXXXXXXXX_sles10_32-64.tgz             X X  &lt;br /&gt;ServeRAID 8 Firmware (systems with ServeRAID 8 hardware) ibm_fw_aacraid_8k-8kl-X.X.X-XXXXX_linux_32-64.bin X X X X X X X X X&lt;br /&gt;b. Navigate to the temporary directory into which you downloaded the files. &lt;br /&gt;c. Use a console prompt from the temporary directory to run the installation command for each of the downloaded files. Use the following installation command examples as guides: &lt;br /&gt;Example: ServeRAID8 on RHEL5 &lt;br /&gt;tar xzf ibm_dd_aacraid_1.1.5.2434_sles10_32-64.tgz&lt;br /&gt;export PATH=/usr/local/bin:$PATH ; ./install.sh --update&lt;br /&gt;./ibm_XX_aacraid_XXXXXXXXXXX_XXXX_XXX.bin -s&lt;br /&gt;Example: ServeRAID10 on RHEL5 &lt;br /&gt;tar xzf ibm_dd_sraidmr_XXXXXXXX_rhel5_32-64.tgz&lt;br /&gt;export PATH=/usr/local/bin:$PATH ; ./install.sh --update&lt;br /&gt;./ibm_fw_sraidmr_XXXXXXXXXXX_linux_32-64.bin -s&lt;br /&gt;Preparing to install IBM Systems Director Server on AIX&lt;br /&gt;Before installing IBM® Systems Director Server on AIX®, make sure that your management server meets the applicable requirements.&lt;br /&gt;Complete the following preparatory steps before installing IBM Systems Director Server on AIX:&lt;br /&gt;1. Ensure that your system meets the hardware and software requirements (including those for databases, security, and networking) for installation, as described in &quot;Hardware and software requirements.&quot; To verify the AIX operating system level, run the following command:&lt;br /&gt;oslevel -s&lt;br /&gt;The command should return a value such as 5300-06-04-nnn, where nnn is irrelevant. &lt;br /&gt;2. Optional: Download updates for your system, if necessary. Download AIX operating system updates from the &quot;IBM® Fix Central&quot; Web site. &lt;br /&gt;Note: Select &quot;Power&quot; or &quot;System p®&quot; for the Product family and &quot;AIX&quot; for the Product.&lt;br /&gt;3. Ensure that the following required openssl and openssh versions are installed: &lt;br /&gt;• openssl.base 0.9.8.4 or higher &lt;br /&gt;• if installed, openssh.base.server 4.5.0.5301 or higher &lt;br /&gt;There is a dependency between openssl and openssh versions. If openssl is not installed, it is installed as part of the server installation. However, if this would create an inconsistency with the openssh version on the system, openssl is not installed and the server installation fails. &lt;br /&gt;Note: If you want to run the Agent Installation Wizard from the server, openssh is required. However, the server installation does not enforce openssh installation.&lt;br /&gt;4. Note the following list of required RPM files that are installed as part of the IBM Systems Director Server installation: &lt;br /&gt;• bash-3.2-1 &lt;br /&gt;• expect-5.42.1-1 &lt;br /&gt;• tcl-8.4.7-1 &lt;br /&gt;• tk-8.4.7-1 &lt;br /&gt;Note: The tk rpm requires that the X11.base.lib file set is also installed. You can find X11.base.lib, along with its X11 installation requisites, on the AIX base installation media.&lt;br /&gt;5. Ensure that the following file sets that are required for and installed with Common Agent on AIX will not conflict with any other applications that are installed on your system: &lt;br /&gt;• sysmgt.cim.providers 1.2.7.35 &lt;br /&gt;• sysmgt.cim.smisproviders 1.2.0.35 &lt;br /&gt;• sysmgt.cimserver.pegasus 2.6.1.35 &lt;br /&gt;• ICU4C.rte 5.3.0.60 (only AIX 5.3 systems) &lt;br /&gt;• xlC.aix50 9.0.0.0 (only AIX 5.3 systems) &lt;br /&gt;• xlC.rte 9.0.0.0 (only AIX 5.3 systems) &lt;br /&gt;6. Ensure that the installation is set to use ports that are not already in use. By default, Common Agent requires ports 9510, 9514, and 9515 during installation and at runtime. If these ports are already in use when you install the agent, the installation will fail. A situation where these ports will be already in use is if you have a different version of the CAS agent installed, for example as part of the Tivoli® Provisioning Manager agent. &lt;br /&gt;Complete the following steps to check for port use and, if any are in use, modify the Common Agent configuration to use different ports:&lt;br /&gt;a. Check if the ports are in use by running the following command: &lt;br /&gt;netstat -an | grep LISTEN | egrep &quot;951(0|4|5)&quot;&lt;br /&gt;b. On the agent system, modify the configuration to use different ports by running the following command: &lt;br /&gt;c. /var/opt/tivoli/ep/runtime/agent/toolkit/bin/configure.sh -unmanaged -port &lt;br /&gt;not_9510 -jport not_9514 -nport not_9515 -force &lt;br /&gt;where not_951x is any open port other than 951x. &lt;br /&gt;d. Rerun the installation script or install the Common Agent file set manually. &lt;br /&gt;7. Optional: If you want to use the FSP Proxy extension, which is necessary for the Power Management tasks for standalone and IVM-managed hosts, ensure that the following necessary file sets are installed. &lt;br /&gt;Note: IBM Systems Director Server no longer automatically installs these file sets to prevent possible installation inconsistencies with CSM.&lt;br /&gt;csm.hc_utils 1.7.0.0 or 1.7.0.10, and csm.hc_utils 1.7.0.13 or higher along with its CSM install requisites &lt;br /&gt;The CSM file set versions 1.7.0.0 and 1.7.0.10 are included on the AIX operating system media. Download the csm_hc.utils 1.7.0.13 file set, which is included in CSM 1.7.0.16, as part of the CSM package from the IBM Cluster Systems Management Web site at http://www14.software.ibm.com/webapp/set2/sas/f/csm/download/home.html. Install each file set with SMIT or the following command:&lt;br /&gt;installp -acgXYd fileset_location fileset_name&lt;br /&gt;where fileset_location is the location of the downloaded file sets and fileset_name is the name of the file set that you are installing. &lt;br /&gt;Director.Server.ext.FSPProxy.rte &lt;br /&gt;Obtain this file set from the IBM Systems Director DVD or the SysDir6_1_Server_AIX.tar.gz and SysDir6_1_Agent_Server_Installp_AIX.tar.gz files. Install the file set with SMIT or the following command:&lt;br /&gt;installp -acgXYd fileset_location Director.Server.ext.FSPProxy.rte&lt;br /&gt;where fileset_location is the location of the downloaded file set. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Preparing to install IBM Systems Director Server on Linux on Power Systems&lt;br /&gt;Before installing IBM® Systems Director Server on Linux® on Power Systems™, make sure that your platform meets the applicable requirements.&lt;br /&gt;Review the following information and complete the necessary steps to prepare your system for installation:&lt;br /&gt;• Ensure that your system meets the hardware and software requirements (including those for databases, security, and networking) for installation, as described in &quot;Hardware and software requirements.&quot; &lt;br /&gt;• SUSE Linux Enterprise Server 9 on IBM Power Systems and SUSE Linux Enterprise Server 10 on IBM Power Systems only: Disable the Service Location Protocol daemon (SLPD) before installing Platform Agent. IBM Systems Director Server does not discover a managed system with Platform Agent installed when the managed system is running SLPD. &lt;br /&gt;• Ensure that the required RPM files (or later versions) are installed. To check for the fileset, type the following command and press Enter: &lt;br /&gt;rpm -qa | grep &lt;filesetname&gt;&lt;br /&gt;where &lt;filesetname&gt; is the value in the &quot;Required RPMs&quot; column but without the ppc.rpm or ppc64.rpm extension. &lt;br /&gt;Table 1. Required RPMs for Linux on Power Systems&lt;br /&gt;Installation scenario Required RPMs&lt;br /&gt;Red Hat Enterprise Linux AS, version 4.0 for IBM Power compat-libstdc++-&lt;version&gt;.ppc.rpm1&lt;br /&gt;diagela-2.2.2-0.ppc64.rpm2&lt;br /&gt;librtas-1.3.3-0.ppc64.rpm2&lt;br /&gt;lsvpd-0.15.1-1.ppc.rpm2, 3&lt;br /&gt;powerpc-utils-papr-1.0.3-1.ppc64.rpm2&lt;br /&gt;servicelog-0.2.9-0.ppc64.rpm2&lt;br /&gt;expect-5.42*.rpm&lt;br /&gt;Red Hat Enterprise Linux AS, version 5.0 on IBM Power systems compat-libstdc++-&lt;version&gt;.ppc.rpm1&lt;br /&gt;diagela-2.2.2-0.ppc64.rpm2&lt;br /&gt;librtas-1.3.3-0.ppc64.rpm2&lt;br /&gt;lsvpd-0.15.1-1.ppc.rpm2, 3&lt;br /&gt;ppc64-utils-&lt;version&gt;.ppc64.rpm1&lt;br /&gt;servicelog-0.2.9-0.ppc64.rpm2&lt;br /&gt;expect-5.42*.rpm&lt;br /&gt;SUSE Linux Enterprise Server 9 on IBM Power Systems and SUSE Linux Enterprise Server 10 on IBM Power Systems compat-libstdc++-&lt;version&gt;.ppc.rpm1&lt;br /&gt;diagela-2.2.2-0.ppc64.rpm2&lt;br /&gt;librtas-1.3.3-0.ppc64.rpm2&lt;br /&gt;lsvpd-0.15.1-1.ppc.rpm2, 3&lt;br /&gt;powerpc-utils-&lt;version&gt;.ppc64.rpm1&lt;br /&gt;servicelog-0.2.9-0.ppc64.rpm2&lt;br /&gt;expect-5.42*.rpm&lt;br /&gt;• 1 Obtain this RPM from the operating system distribution media. &lt;br /&gt;• 2 Obtain this RPM from the IBM® Service and productivity tools for Linux on Power Systems Web site at www14.software.ibm.com/webapp/set2/sas/f/lopdiags/home.html. Select the appropriate tab for your Linux distribution and follow any special instructions for each RPM. &lt;br /&gt;• 3 If the lsvpd RPM installed on the managed system is at level lsvpd-0.15.1-1, some inventory tables might not show inventory data. To resolve this issue, install lsvpd-1.3 or higher. &lt;br /&gt;Note: Obtain the lsvpd RPM level lsvpd-1.3 or higher from the &quot;SourceForge.net&quot; Web site.&lt;br /&gt;• Obtain the SUSE/Novell Expect RPM from the SUSE/Novell updates Web site at https://ftp3.linux.ibm.com/suse_updates.html. Obtain the Red Hat Enterprise Linux Expect RPM from the Red Hat Enterprise Linux Updates Web site at https://ftp3.linux.ibm.com/redhat_updates.html. &lt;br /&gt;• If you plan to run the Agent Installation Wizard from the server, ensure that openssh is installed. &lt;br /&gt;Note: The server installation does not enforce openssh installation.&lt;br /&gt;• Ensure that SELinux is not set to enforce security policies prior to installing IBM Systems Director. &lt;br /&gt;If your server runs Red Hat Enterprise Linux version 4 or 5, SELinux might be enabled and enforcing security policies on your system. IBM Systems Director Common Agent might have trouble if SELINUX is set to enforcing. Therefore, before you install IBM Systems Director Common Agent, you must set the SELinux policy to permissive.&lt;br /&gt;SELinux runs in any of the following states: &lt;br /&gt;Disabled &lt;br /&gt;SELinux is disabled. You can tell that SELinux is in the disabled state by determining if any of the following conditions are true: &lt;br /&gt;• No files exist in the /selinux/ directory. &lt;br /&gt;• The SELINUX variable in /etc/selinux/config is set to disabled. &lt;br /&gt;Permissive (enabled) &lt;br /&gt;SELinux is enabled but not enforcing any security policies. You can tell that SELinux is in the permissive state by determining if any of the following conditions are true: &lt;br /&gt;• The SELINUX variable in /etc/selinux/config is set to permissive. &lt;br /&gt;• When you run the cat /selinux/enforce; echo command, it outputs a 0. &lt;br /&gt;Note: The echo after the cat command is required so you can read what is printed out by /selinux/enforce.&lt;br /&gt;Enforcing (enabled) &lt;br /&gt;SELinux is enabled and enforcing security policies. You can tell that SELinux is in the enforcing state by determining if any of the following conditions are true: &lt;br /&gt;• The SELINUX variable in /etc/selinux/config is set to enforcing. &lt;br /&gt;• When you run the cat /selinux/enforce; echo command, it outputs a 1. &lt;br /&gt;Note: The echo after the cat command is required so you can read what is printed out by /selinux/enforce.&lt;br /&gt;To set SELinux to permissive, run the following command before you install IBM Systems Director Common Agent:&lt;br /&gt;/usr/sbin/setenforce Permissive&lt;br /&gt;• Optional: If you want to use the FSP Proxy extension, which is necessary for the Power Management tasks for standalone and IVM-managed hosts, ensure that the following necessary file sets are installed. &lt;br /&gt;Note: IBM Systems Director Server no longer automatically installs these file sets to prevent possible installation inconsistencies with CSM.&lt;br /&gt;csm.hc_utils-1.7.0.16-nnn.rpm or higher &lt;br /&gt;Download this file set as part of the CSM package from the IBM Cluster Systems Management Web site at http://www14.software.ibm.com/webapp/set2/sas/f/csm/download/home.html. Install the file set with the following command:&lt;br /&gt;rpm -Uvh csm.hc_utils-1.7.0.16-nnn.rpm&lt;br /&gt;where nnn represents the build number. &lt;br /&gt;src-1.3.0.4-08nnn.ppc.rpm &lt;br /&gt;Download this file set as part of the CSM package from the IBM Cluster Systems Management Web site at http://www14.software.ibm.com/webapp/set2/sas/f/csm/download/home.html. Install the file set with the following command:&lt;br /&gt;rpm -Uvh src-1.3.0.4-08nnn.ppc.rpm&lt;br /&gt;where nnn represents the build number. &lt;br /&gt;FSPProxyServerExt-5.20.3-1_platform.rpm &lt;br /&gt;Obtain this file set from the IBM Systems Director DVD or the SysDir6_1_Server_Linux_Power.tar.gz file. Install the file set with the following command:&lt;br /&gt;rpm -Uvh FSPProxyServerExt-5.20.3-1_platform.rpm&lt;br /&gt;where platform represents the platform. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Operating systems supported by IBM Systems Director 6.1.0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;IBM® Systems Director 6.1.0 provides support for many operating systems. However, support varies depending on the selected hardware and IBM Systems Director component.&lt;br /&gt;Purpose&lt;br /&gt;&lt;br /&gt;This little command copies things.&lt;br /&gt;&lt;br /&gt;DITA&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Starting in version 6.1, IBM Systems Director provides a Web interface for use with IBM Systems Director Server. IBM Director Console is no longer required. However, some tasks in the Web interface require the IBM Systems Director Launched Tasks program. For information about the IBM Systems Director Launched Tasks program and the tasks that require it, see &quot;Launched tasks and the IBM Systems Director Launched Tasks program.&quot; For operating-system support, see &quot;Operating systems supported by the IBM Systems Director Launched Tasks program.&quot;&lt;br /&gt;When preparing to install IBM Systems Director, consider the following information: &lt;br /&gt;• Platform Agent, version 6.1.0 and IBM Director Core Services version 5.20.3 are the same agent. &lt;br /&gt;• Unless stated otherwise, IBM Systems Director provides agentless support for all operating systems listed in this topic. &lt;br /&gt;Table 1. Windows versions supported by IBM Systems Director on System x systems; IBM® and third-party x86-based systems&lt;br /&gt;Operating system IBM Systems Director Server Common Agent Platform Agent&lt;br /&gt;Editions of Windows® for 32-bit systems:&lt;br /&gt;Windows Server 2003 Datacenter Edition, Release 2   X X&lt;br /&gt;Windows Server 2003, Enterprise and Standard Editions, Release 2 X X X&lt;br /&gt;Windows Server 2003 Datacenter Edition (supports Service Pack 2)   X X&lt;br /&gt;Windows Server 2003, Enterprise and Standard Editions (supports Service Pack 2) X X X&lt;br /&gt;Windows Server 2008 Datacenter Edition (supports Service Pack 1)   X X&lt;br /&gt;Windows Server 2008, Enterprise and Standard Editions (supports Service Pack 1) X X X&lt;br /&gt;Windows Vista, Business, Enterprise, and Ultimate Editions   X X&lt;br /&gt;Windows XP Professional Edition (supports Service Packs 1 and 2)   X X&lt;br /&gt;Editions of Windows for 64-bit systems:&lt;br /&gt;Windows Server 2003 Datacenter x64 Edition, Release 2 (supports Service Pack 2)   X X&lt;br /&gt;Windows Server 2003, Enterprise and Standard x64 Editions, Release 2 (supports Service Pack 2) X X X&lt;br /&gt;Windows Server 2003 Datacenter x64 Edition (supports Service Pack 2)   X X&lt;br /&gt;Windows Server 2003, Enterprise and Standard x64 Editions (supports Service Pack 2) X X X&lt;br /&gt;Windows Server 2008 Datacenter x64 Edition (supports Service Pack 1)   X X&lt;br /&gt;Windows Server 2008, Enterprise and Standard x64 Editions (supports Service Pack 1) X X X&lt;br /&gt;Windows Vista, Business, Enterprise, and Ultimate x64 Editions   X X&lt;br /&gt;Windows XP Professional x64 Edition (supports Service Packs 1 and 2)   X X&lt;br /&gt;Other editions of Windows operating systems:&lt;br /&gt;Microsoft® Virtual Server (guest operating system) (Release 2 required, supports Service Pack 1) &lt;br /&gt;Note: Supported guest operating systems are those that are supported by both IBM Systems Director and the specified version of Microsoft. See the Microsoft product documentation for a list of supported operating systems.   X X&lt;br /&gt;Table 2. Linux versions supported by IBM Systems Director on System x systems; IBM® and third-party x86-based systems&lt;br /&gt;Operating system IBM Systems Director Server Common Agent Platform Agent&lt;br /&gt;Versions of Linux® for 32-bit systems:&lt;br /&gt;Red Hat Enterprise Linux AS, version 4.0 (supports Updates 5, 6, and 7) X X X&lt;br /&gt;Red Hat Enterprise Linux ES and WS, version 4.0 (supports Updates 5, 6, and 7)   X X&lt;br /&gt;Red Hat Enterprise Linux AS, version 5.0 (supports Updates 1 and 2) X X X&lt;br /&gt;Red Hat Enterprise Linux ES and WS, version 5.0 (supports Updates 1 and 2)   X X&lt;br /&gt;Red Hat Enterprise Linux AS, ES, and WS, version 5.0, with Xen Kernel (supports Updates 1 and 2)     X&lt;br /&gt;SUSE Linux Enterprise Server 9 for x86 (supports Service Packs 3 and 4) X X X&lt;br /&gt;SUSE Linux Enterprise Server 10 for x86 (supports Service Packs 1 and 2) X X X&lt;br /&gt;SUSE Linux Enterprise Server 10, with Xen Kernel (supports Service Packs 1 and 2)     X&lt;br /&gt;VMware ESX Server, versions 3.0, 3.0.1, 3.0.2, 3.5, 3.5.1, and 3.5.2, Console   X X&lt;br /&gt;VMware ESX Server, versions 3.0, 3.0.1, 3.0.2, 3.5, 3.5.1, and 3.5.2, guest operating systems &lt;br /&gt;Notes: &lt;br /&gt;1. Supported guest operating systems are those that are supported by both IBM Systems Director and the specified version of VMware. See the VMware product documentation for a list of supported operating systems. &lt;br /&gt;2. IBM Systems Director Server is supported on VMware ESX Server if IBM Systems Director Server is supported on the selected guest operating system.  X X X&lt;br /&gt;Versions of Linux for 64-bit systems:&lt;br /&gt;Red Hat Enterprise Linux AS, version 4.0, for AMD64 and EM64T (supports Updates 5, 6, and 7) X X X&lt;br /&gt;Red Hat Enterprise Linux ES and WS, version 4.0, for AMD64 and EM64T (supports Updates 5, 6, and 7)   X X&lt;br /&gt;Red Hat Enterprise Linux AS, version 5.0, for AMD64 and EM64T (supports Updates 1 and 2) X X X&lt;br /&gt;Red Hat Enterprise Linux ES and WS, version 5.0, for AMD64 and EM64T (supports Updates 1 and 2)   X X&lt;br /&gt;Red Hat Enterprise Linux AS, ES, and WS, version 5.0, for AMD64 and EM64T, with Xen Kernel (supports Updates 1 and 2)     X&lt;br /&gt;SUSE Linux Enterprise Server 9 for AMD64 and EM64T (supports Service Packs 3 and 4) X X X&lt;br /&gt;SUSE Linux Enterprise Server 10 for AMD64 and EM64T (supports Service Packs 1 and 2) X X X&lt;br /&gt;SUSE Linux Enterprise Server 10, for AMD64 and EM64T, with Xen Kernel (supports Service Packs 1 and 2)     X&lt;br /&gt;Table 3. AIX versions supported by IBM Systems Director on IBM Power systems&lt;br /&gt;Operating system IBM Systems Director Server Common Agent Platform Agent&lt;br /&gt;IBM AIX® Version 5.3 (supports TL06 Service Pack 4 or later) &lt;br /&gt;Note: Agentless support includes only discovery, limited remote access, a limited subset of the Agent Installation Wizard task, and the ability to launch the AIX Management Console for IBM AIX Version 6.1 agents. X X  &lt;br /&gt;IBM AIX Version 6.1 (supports TL01 Service Pack 1, or later) &lt;br /&gt;Note: Agentless support includes only discovery, limited remote access, a limited subset of the Agent Installation Wizard task, and the ability to launch the AIX Management Console for IBM AIX Version 6.1 agents. X X  &lt;br /&gt;Table 4. IBM i versions supported by IBM Systems Director on IBM Power systems&lt;br /&gt;Operating system IBM Systems Director Server Common Agent Platform Agent&lt;br /&gt;IBM i 6.1 (formerly i5/OS®, Version 6 Release 1) &lt;br /&gt;Notes: &lt;br /&gt;1. Platform-Agent managed system support is not provided by the Platform Agent but by the 5722UME product. &lt;br /&gt;2. Agentless support includes only Discovery, Remote Session and a limited subset of the Agent Installation Wizard task. &lt;br /&gt;3. The richer set of features and subagent tasks provided by Common Agent is supported with the IBM Director Agent 5.20 for IBM i that is currently available.      X&lt;br /&gt;IBM i 5.4 (formerly i5/OS, Version 5 Release 4) &lt;br /&gt;Notes: &lt;br /&gt;1. Platform-Agent managed system support is not provided by the Platform Agent but by the 5722UME product. &lt;br /&gt;2. Agentless support includes only Discovery, Remote Session and a limited subset of the Agent Installation Wizard task. &lt;br /&gt;3. The richer set of features and subagent tasks provided by Common Agent is supported with the IBM Director Agent 5.20 for IBM i that is currently available.      X&lt;br /&gt;Unless otherwise stated, the following table includes IBM Power systems and IBM Power Blade Servers, but excludes Cell Blade Servers.&lt;br /&gt;Table 5. Linux versions supported by IBM Systems Director on IBM Power systems&lt;br /&gt;Operating system IBM Systems Director Server Common Agent Platform Agent&lt;br /&gt;Red Hat Enterprise Linux AS, versions 4.6 and 4.7, on IBM Power Systems™ X X X&lt;br /&gt;Red Hat Enterprise Linux AS, versions 5.1 and 5.2, on IBM Power Systems X X X&lt;br /&gt;Red Hat Enterprise Linux AS, version 5.2, on IBM Power systems (on IBM BladeCenter® QS21 and QS22 Blade Servers)   X X&lt;br /&gt;SUSE Linux Enterprise Server 9 on IBM Power Systems (supports Service Packs 3 and 4) X X X&lt;br /&gt;SUSE Linux Enterprise Server 10 on IBM Power Systems (supports Service Packs 1 and 2) X X X&lt;br /&gt;Table 6. Linux versions supported by IBM Systems Director on System z systems&lt;br /&gt;Operating system IBM Systems Director Server Common Agent Platform Agent IBM® z/VM® MAP Agent1&lt;br /&gt;Versions for 31-bit systems:&lt;br /&gt;Red Hat Enterprise Linux AS, version 4.0, for IBM System z (supports Update 7 and earlier)   X X  &lt;br /&gt;SUSE Linux Enterprise Server 9 for IBM System z (supports Service Pack 4 and earlier)   X X  &lt;br /&gt;Versions for 64-bit2 systems:&lt;br /&gt;Red Hat Enterprise Linux AS, version 4.0, for IBM System z (64-bit Edition) (supports Update 7 and earlier) X X X  &lt;br /&gt;Red Hat Enterprise Linux AS, version 5.0, for IBM System z (64-bit Edition) (supports Update 2 and earlier) X X X X3&lt;br /&gt;SUSE Linux Enterprise Server 9 for IBM System z (64-bit Edition) (supports Service Pack 4 and earlier) X X X X4&lt;br /&gt;SUSE Linux Enterprise Server 10 for IBM System z (64-bit Edition) (supports Service Pack 2 and earlier) X X X X5&lt;br /&gt;• 1 The IBM z/VM Manageability Access Point Agent (MAP Agent) is used by IBM Systems Director 6.1.0 to monitor the virtual machines and associated resources known as a z/VM system. The agent must be running in a virtual machine within the IBM® z/VM, version 5.4 system that is to be monitored. &lt;br /&gt;• 2 64-bit support is by way of 31-bit compatibility mode only. &lt;br /&gt;• 3 IBM z/VM Manageability Access Point Agent requires Red Hat Enterprise Linux AS, version 5.0, for IBM System z (64-bit Edition), Update 2. &lt;br /&gt;• 4 IBM z/VM Manageability Access Point Agent requires SUSE Linux Enterprise Server 9 for IBM System z (64-bit Edition), Service Pack 4. &lt;br /&gt;• 5 IBM z/VM Manageability Access Point Agent requires SUSE Linux Enterprise Server 10 for IBM System z (64-bit Edition), Service Pack 2. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Installing IBM Systems Director on the management server&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;After preparing your system, use the IBM® Systems Director Server installation procedure for the operating system on which you plan install IBM Systems Director Server.&lt;br /&gt;Prerequisites &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Installing IBM Systems Director Server on AIX&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;After preparing your system, you can install IBM® Systems Director Server on AIX® by downloading the AIX installation file or using the IBM Systems Director for AIX, V6.1.0 DVD. You can perform a standard installation, install using installp or NIM, or you can use a response file to customize the features that are installed.&lt;br /&gt;Important: &lt;br /&gt;• Installation of IBM Systems Director installs IBM Systems Director Server, Common Agent (when applicable), and Platform Agent all together. Therefore, it is not necessary to separately install Common Agent or Platform Agent on the management server after installing IBM Systems Director Server. In most cases, any IBM Systems Director tasks requiring Common Agent or Platform Agent will be performed for systems with IBM Systems Director Server installed. &lt;br /&gt;• Before installing IBM Systems Director Server on a system that has IBM Storage Configuration Manager installed, you must first uninstall IBM Storage Configuration Manager. After installing IBM Systems Director Server, you can re-install IBM Storage Configuration Manager. &lt;br /&gt;• IBM Systems Director Server is not supported to run on a system with workload partitions (WPARs) enabled. &lt;br /&gt;Prerequisites &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Preparing to install IBM Systems Director Server on AIX &lt;br /&gt;You can install IBM Systems Director Server on AIX from either installation media or from a downloaded installation package. &lt;br /&gt;Important: The IBM Systems Director Server and Common Agent installation packages for AIX are provided in English only.&lt;br /&gt;Table 1. Installation options for IBM Systems Director Server on AIX&lt;br /&gt;Installation method Title or file name&lt;br /&gt;DVD media IBM Systems Director for AIX, V6.1.0 DVD &lt;br /&gt;Note: To obtain an image of the IBM Systems Director for AIX, V6.1.0 DVD, download the SysDir6_1_DVD_AIX.iso file.&lt;br /&gt;Attention: If you use DVD media to install IBM Systems Director Server, ensure that you allot an additional 1.2 GB of available space in the /opt file system to contain the agent packages that are copied from the DVD at the end of the server installation. The packages are copied to /opt/ibm/director/packaging/agent on the server.&lt;br /&gt;Downloaded installation package • SysDir6_1_Server_AIX.tar.gz (for script installation, as described here) &lt;br /&gt;• SysDir6_1_Server_Agent_Installp_AIX.tar.gz (for installp or NIM installation) &lt;br /&gt;Note: For more information about using installp or NIM to install IBM Systems Director Server, see the IBM Systems Director Best Practices Redwiki. Installing with installp or NIM does not allow the use of a response file.&lt;br /&gt;At the end of the installation process, you can configure a database to use with IBM Systems Director and change security settings. &lt;br /&gt;Note: If you plan to use the default Apache Derby database, you can choose either the basic installation path, which configures Apache Derby by default, or the custom installation path.&lt;br /&gt;To install IBM Systems Director Server, log in as the root user and complete the following steps:&lt;br /&gt;1. Start the installation from the installation source: &lt;br /&gt;Downloaded installation files: To start the installation from a Web download, complete the following steps:&lt;br /&gt;a. Download the installation package from the IBM Systems Director Downloads Web Site at www.ibm.com/systems/management/director/downloads/. &lt;br /&gt;Note: When you download the IBM Systems Director Server installation package from the Web, the agent packages are not included. You need to download and install them separately as described in &quot;Installing agents&quot;.&lt;br /&gt;b. To unzip and extract the contents of the installation package, type the following command: &lt;br /&gt;gzip -cd &lt;package_name&gt; | tar -xvf -&lt;br /&gt;where &lt;package_name&gt; is the file name of the download package. &lt;br /&gt;c. Change to the directory in which the installation script is located. Type the following command and press Enter: &lt;br /&gt;cd /install_files/&lt;br /&gt;where install_files is the path to the extracted installation files. &lt;br /&gt;DVD media: To start the installation from the DVD, complete the following steps:&lt;br /&gt;d. Insert the DVD into the DVD-ROM drive. &lt;br /&gt;e. If the DVD does not automount, type the following command and press Enter: &lt;br /&gt;mount -v cdrfs -o ro /dev /mnt&lt;br /&gt;where dev is the specific device file for the block device and mnt is the mount point of the drive. &lt;br /&gt;f. To change to the directory in which IBM Systems Director Server is located, type the following command and press Enter: &lt;br /&gt;cd /mnt/server&lt;br /&gt;where mnt is the mount point of the drive. &lt;br /&gt;2. Optional: To customize the installation, for example to select a nondefault database, copy the response file (dirserver.rsp) to a local directory and modify the installation settings in your local copy. &lt;br /&gt;a. Type the following command and press Enter: &lt;br /&gt;cp dirserv.rsp /directory/&lt;br /&gt;where directory is a local directory. &lt;br /&gt;b. Open an ASCII text editor and modify the installation settings in the copy of the dirserver.rsp file. This file is fully commented. &lt;br /&gt;You can specify the following items in the server response file: &lt;br /&gt;• Specify the log file options &lt;br /&gt;• Specify the Web console port numbers &lt;br /&gt;• Specify the TPM hostname and IP address &lt;br /&gt;• Enable or disable the nonstop service, which keeps the server continuously running &lt;br /&gt;Note: In the response file, &quot;1&quot; indicates that an item is to be installed and &quot;0&quot; indicates that an item is not to be installed.&lt;br /&gt;c. Save the modified response file with a new name. &lt;br /&gt;Note: For more information about the dirserver.rsp file, see the IBM Systems Director Best Practices Redwiki.&lt;br /&gt;Tip: After installation, keep the response file for future use and reference.&lt;br /&gt;3. To install IBM Systems Director Server, type one of the following commands and press Enter: &lt;br /&gt;• To accept the default settings:&lt;br /&gt;server/dirinstall.server&lt;br /&gt;• To use the response file:&lt;br /&gt;server/dirinstall.server -r /directory/response.rsp&lt;br /&gt;4. where directory is the local directory to which you copied the response file, and response.rsp is the name of the response file. &lt;br /&gt;5. Optional: Configure IBM Systems Director for use with a database application other than that which is supplied by default. For more information, see &quot;Configuring the database application after IBM Systems Director installation&quot;. &lt;br /&gt;Important: You can configure IBM Systems Director for use with your database application at any point after the installation of IBM Systems Director Server, but you must not start the management server until it is completed. Starting the management server before configuring IBM Systems Director to use a database application might result in a loss of function.&lt;br /&gt;6. Complete the following steps to start IBM Systems Director Server: &lt;br /&gt; . Type the following command and press Enter: &lt;br /&gt;/opt/ibm/director/bin/configAgtMgr.sh&lt;br /&gt;a. Use the following information to respond to the configAgtMgr.sh script prompts: &lt;br /&gt;Enter the Resource Manager user ID that you would like to set for your Agent Manager &lt;br /&gt;If you want to register with an existing agent manager, enter the same resource manager user ID as that of the agent manager. If you want to create a new agent manager, enter in any user ID that will then be defined as the resource manager user ID for that new agent manager. &lt;br /&gt;Note: The resource manager user ID is an identifier that is used by IBM Systems Director or other resource managers to communicate with the agent manager; it is not a user ID on the operating system or an LDAP server.&lt;br /&gt;Enter the Resource Manager password to set for your Agent Manager &lt;br /&gt;If you want to register with an existing agent manager, enter the same resource manager password as that of the agent manager. If you want to create a new agent manager, enter in any password that will then be defined as the resource manager password for that new agent manager. &lt;br /&gt;Verify the Resource Manager password to set for your Agent Manager &lt;br /&gt;Reenter the password you entered for Enter the Resource Manager password to set for your Agent Manager. &lt;br /&gt;Enter the Agent Registration password to set for your Agent Manager &lt;br /&gt;If you want to register with an existing agent manager, enter the same agent registration password as that of the agent manager. If you want to create a new agent manager, enter in any password that will then be defined as the agent registration password for that new agent manager. &lt;br /&gt;Verify the Agent Registration password to set for your Agent Manager &lt;br /&gt;Reenter the password you entered for Enter the Agent Registration password to set for your Agent Manager. &lt;br /&gt;Would you like to use an existing Agent Manager (yes or no)? &lt;br /&gt;If you answer yes, ensure that the user ID and passwords that you previously entered match the user ID and passwords of the existing agent manager. &lt;br /&gt;If you answer no, you are done and the configuration will start.&lt;br /&gt;Enter the IP address for the existing Agent Manager &lt;br /&gt;If you answered yes to Would you like to use an existing Agent Manager (yes or no)?, you must provide the IP address of the existing agent manager. &lt;br /&gt;Enter the port number for the existing Agent Manager &lt;br /&gt;If you answered yes to Would you like to use an existing Agent Manager (yes or no)?, you must provide the port number of the existing agent manager. The port number must be a valid number between 0 and 65535. &lt;br /&gt;After you have provided all the requested information, the agent manager configuration script runs and displays a series of status messages. &lt;br /&gt;b. Start IBM Systems Director processes on the management servers by running the smstart command: &lt;br /&gt;/opt/ibm/director/bin/smstart &lt;br /&gt;See the &quot;smstart command&quot; topic for instructions. &lt;br /&gt;c. Type the following command and press Enter: &lt;br /&gt;install_root/bin/smstatus -r&lt;br /&gt;When this command returns a value of Active, the server is started. &lt;br /&gt;7. If you used the DVD for installation, complete the following steps to unmount the drive and remove the DVD: &lt;br /&gt; . Type cd / and press Enter. &lt;br /&gt;a. Type the following command and press Enter: &lt;br /&gt;umount /mnt&lt;br /&gt;where mnt is the mount point of the drive. &lt;br /&gt;b. Remove the DVD from the drive. &lt;br /&gt;The following files and directories remain in the /tmp directory after installation completes: &lt;br /&gt;• /tmp/47 directory &lt;br /&gt;• /tmp/temp.con file &lt;br /&gt;• /tmp/.oslevel.datafiles directory &lt;br /&gt;The following CAS agent runtime files are created by cimserver during runtime: &lt;br /&gt;• /tmp/cimserver_start.conf &lt;br /&gt;Note: This file is deleted when cimserver shuts down. This does not affect cimserver.&lt;br /&gt;• /tmp/cimlistener_start.conf &lt;br /&gt;Note: This file is deleted when cimlistener shuts down. This does not affect cimlistener.&lt;br /&gt;• /tmp/elasocket_cimv2 &lt;br /&gt;• /tmp/dpi_socket&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;!-- Begin BidVertiser code --&gt;&lt;br /&gt;&lt;SCRIPT LANGUAGE=&quot;JavaScript1.1&quot; SRC=&quot;http://bdv.bidvertiser.com/BidVertiser.dbm?pid=261149%26bid=636965&quot; type=&quot;text/javascript&quot;&gt;&lt;/SCRIPT&gt;&lt;br /&gt;&lt;noscript&gt;&lt;a href=&quot;http://www.bidvertiser.com&quot;&gt;advertising&lt;/a&gt;&lt;/noscript&gt;&lt;br /&gt;&lt;!-- End BidVertiser code --&gt; &lt;br /&gt;&lt;br /&gt;Number of hits : &lt;a href=&quot;http://www.digits.com&quot; target=&quot;_blank&quot;&gt;&lt;br /&gt;    &lt;img src=&quot;http://counter.digits.com/?counter={52905d19-48cf-9d14-493d-5f04e7267976}&amp;template=simple&quot; &lt;br /&gt;     alt=&quot;Hit Counter by Digits&quot; border=&quot;0&quot;  /&gt;&lt;br /&gt;  &lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://systemadmineasy.blogspot.com/feeds/2979784902707188341/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://systemadmineasy.blogspot.com/2009/05/ibm-director-installation-prerequisites.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/2979784902707188341'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4656915886004082122/posts/default/2979784902707188341'/><link rel='alternate' type='text/html' href='http://systemadmineasy.blogspot.com/2009/05/ibm-director-installation-prerequisites.html' title='IBM Director Installation Prerequisites'/><author><name>sreekar</name><uri>http://www.blogger.com/profile/18265178104016369608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry></feed>