<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>AIX Commands, Tools, Scripts and Explanations</title>
	<atom:link href="http://icancompute.ca/aix/feed/" rel="self" type="application/rss+xml" />
	<link>http://icancompute.ca/aix</link>
	<description>Everything I have learnt and used while being an AIX systems adminstrator.  Custom scripts, commands and projects used to maintain a virtualized AIX server environment</description>
	<lastBuildDate>Tue, 05 Jun 2012 19:25:14 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>VIO and HMC Levels</title>
		<link>http://icancompute.ca/aix/commands/vio-hmc-levels/</link>
		<comments>http://icancompute.ca/aix/commands/vio-hmc-levels/#comments</comments>
		<pubDate>Tue, 05 Jun 2012 19:25:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AIX Commands]]></category>
		<category><![CDATA[HMC]]></category>
		<category><![CDATA[ioslevel]]></category>
		<category><![CDATA[level]]></category>
		<category><![CDATA[lshmc]]></category>
		<category><![CDATA[version]]></category>
		<category><![CDATA[VIO]]></category>

		<guid isPermaLink="false">http://icancompute.ca/aix/?p=439</guid>
		<description><![CDATA[It is important to maintain proper levels of your VIO (Virtual I/O) servers and HMC (Hardware Management Console).  IBM is constantly providing fixes and updates, and it is integral that you keep a keen eye on these levels when implementing new technology or you are experiencing issues with new applications or practices. &#160; VIO: ioslevel [...]]]></description>
				<content:encoded><![CDATA[<p>It is important to maintain proper levels of your VIO (Virtual I/O) servers and HMC (Hardware Management Console).  IBM is constantly providing fixes and updates, and it is integral that you keep a keen eye on these levels when implementing new technology or you are experiencing issues with new applications or practices.</p>
<p>&nbsp;</p>
<p>VIO:</p>
<p>ioslevel &#8211;&gt; VIO version</p>
<p>oem_platform_level &#8211;&gt; AIX version of VIO server</p>
<p>&nbsp;</p>
<p>HMC:</p>
<p>lshmc -V &#8211;&gt; list the version of your HMC</p>
]]></content:encoded>
			<wfw:commentRss>http://icancompute.ca/aix/commands/vio-hmc-levels/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Install GIT on AIX</title>
		<link>http://icancompute.ca/aix/config/software/install-git-aix/</link>
		<comments>http://icancompute.ca/aix/config/software/install-git-aix/#comments</comments>
		<pubDate>Fri, 25 May 2012 16:56:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[version control]]></category>

		<guid isPermaLink="false">http://icancompute.ca/aix/?p=431</guid>
		<description><![CDATA[After a grueling battle trying to compile GIT from source on an AIX (6.1) machine, I thought I would try to save you some trouble and outline clearly what I had to do.  Please note I initially followed this guide, which gave me a good base, but I had to throw in a few extra [...]]]></description>
				<content:encoded><![CDATA[<p>After a grueling battle trying to compile GIT from source on an AIX (6.1) machine, I thought I would try to save you some trouble and outline clearly what I had to do.  Please note I initially followed <a href="http://blog.boreas.ro/2008/03/porting-git-to-hp-ux-pa-risc-and-aix.html" target="_blank">this guide</a>, which gave me a good base, but I had to throw in a few extra tweaks.</p>
<p>First off, you will need to get the following dependencies.  I was able to get most of them from the IBM Linux Toolbox <a href="http://www-03.ibm.com/systems/power/software/aix/linux/toolbox/alpha.html" target="_blank">here</a>, and the rest I got from the great people at <a href="http://www.perzl.org/aix/index.php" target="_blank">Perzl.org</a></p>
<p>Dependencies:</p>
<p>bison-1.875-3.aix5.1.ppc.rpm<br />
coreutils-5.2.1-2.aix5.1.ppc.rpm<br />
expect-5.45-1.aix5.1.ppc.rpm<br />
flex-2.5.4a-6.aix4.3.ppc.rpm<br />
gcc-4.2.0-3.aix6.1.ppc.rpm<br />
gcc-cplusplus-4.2.0-3.aix6.1.ppc.rpm<br />
gdbm-1.8.3-5.aix5.2.ppc.rpm<br />
gettext-0.10.40-8.aix5.2.ppc.rpm<br />
git-git-5bc2dc2<br />
git-git-v1.7.10.2-569-g5bc2dc2.zip<br />
libXft-2.2.0-1.aix5.1.ppc.rpm<br />
libgcc-4.2.0-3.aix6.1.ppc.rpm<br />
libstdcplusplus-4.2.0-3.aix5.3.ppc.rpm<br />
libstdcplusplus-devel-4.2.0-3.aix6.1.ppc.rpm<br />
make-3.80-1.aix5.1.ppc.rpm<br />
popt-1.7-2.aix5.1.ppc.rpm<br />
python-2.6.2-1.aix5.3.ppc.rpm<br />
python-devel-2.6.2-1.aix5.3.ppc.rpm<br />
readline-4.3-2.aix5.1.ppc.rpm<br />
readline-devel-4.3-2.aix5.1.ppc.rpm<br />
unzip-5.51-1.aix5.1.ppc.rpm<br />
zlib-1.2.3-4.aix5.2.ppc.rpm<br />
zlib-devel-1.2.3-4.aix5.2.ppc.rpm</p>
<p>My suggestion, just put them all in a folder and run &#8220;rpm -i -v *&#8221; in the directory.</p>
<p>Now that all dependencies are met (hopefully), we can go ahead and grab the GIT source from <a href="https://github.com/git/git/zipball/master" target="_blank">here</a>.  I simply downloaded this, SCP-ed it to my machine and ran &#8220;unzip *.zip&#8221; on the file.</p>
<p>cd into the git directory and &#8220;vi Makefile&#8221; in order to change a few things in the make instructions.  Here are the changes I made:</p>
<p><strong>CC = /opt/freeware/bin/gcc</strong><br />
AR = ar<br />
RM = rm -f<br />
DIFF = diff<br />
<strong>TAR = /usr/bin/tar</strong><br />
FIND = find<br />
<strong>INSTALL = /usr/linux/bin/install</strong></p>
<p>Please don&#8217;t blindly follow these changes.  Change these values to the corresponding directory.  You can get this information by running &#8220;whereis&#8221; or &#8220;which&#8221; on each utility.</p>
<p>The final step is the command.  Since I don&#8217;t have X installed and don&#8217;t want any GUI options, I modified my install command to eleviate some of the extra dependencies that I didn&#8217;t want to install.</p>
<p>&#8220;gmake NO_CURL=1 NO_FNMATCH_CASEFOLD=1 NO_MSGFMT=1 NO_TCLTK=1 install prefix=/opt/freeware&#8221;</p>
<p>This turns off things like curl, fixes my issues with fnmatch and turns off tc.  It also installs GIT to /opt/freeware.</p>
<p>Hope you all enjoy and things go smoothly.  If not, post any problems or questions here.</p>
]]></content:encoded>
			<wfw:commentRss>http://icancompute.ca/aix/config/software/install-git-aix/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Prometric Top 10 IT Cert Myths</title>
		<link>http://icancompute.ca/aix/cert/prometric-top-10-cert-myths/</link>
		<comments>http://icancompute.ca/aix/cert/prometric-top-10-cert-myths/#comments</comments>
		<pubDate>Sun, 29 Jan 2012 22:16:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Certification]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[ibm]]></category>
		<category><![CDATA[prometric]]></category>

		<guid isPermaLink="false">http://icancompute.ca/aix/?p=428</guid>
		<description><![CDATA[Judy Katz, the Communcations Manager over at Prometric released a document named &#8220;The Top 10 IT Certification Myths. Addressing the top 10 Myths About IT Certification: A Counterpoint Position to Misinterpretation&#8221; (read here).  In case you aren&#8217;t aware, Prometric handles the IBM certifications and many other certifications for big name IT leaders. Let&#8217;s take a quick look [...]]]></description>
				<content:encoded><![CDATA[<p>Judy Katz, the Communcations Manager over at Prometric released a document named &#8220;<em>The Top 10 IT Certification Myths. Addressing the top 10 Myths About IT Certification: A Counterpoint Position to Misinterpretation</em>&#8221; (read <a title="Certification Myths" href="https://www.prometric.com/reference/VOC3.htm" target="_blank">here</a>).  In case you aren&#8217;t aware, Prometric handles the IBM certifications and many other certifications for big name IT leaders. Let&#8217;s take a quick look at what she talks about here.</p>
<p>&nbsp;</p>
<p>Myths:</p>
<p><strong>Certifications are Vendor-centric</strong></p>
<ul>
<li>While this is true, the negative outlook on this truth is unwarranted.  Most technologies are developed by specific vendors, and certain vendors are the best to oversee certification over the technology.  This means that while a certification may be vendor specific, that vendor&#8217;s certification will prove a highly technical mastery of the subject at hand.</li>
</ul>
<p><strong>Certification&#8217;s Life Cycle Is Short</strong></p>
<ul>
<li>This is a benefit of the changing times and increasingly powerful IT innovations.  The ability to prove mastery over a current, cutting edge technology has many benefits and employers do see a difference between those certified in archaic technologies and those keeping up with innovation and trends</li>
</ul>
<p><strong>Certifications Are Not Real-World Oriented</strong></p>
<ul>
<li>This criticism has holes in it, being that real world changes and is different from place to place.  Holding certifications in multiple technologies at different levels shows your ability to understand multiple aspects of a technology.  Many certifications also provide real world simulations or environments as a part of the process, and therefore this myth loses truth between vendors and technologies</li>
</ul>
<p><strong>Certifications Have Been Devalued</strong></p>
<ul>
<li>It has been proven that those holding certifications have higher than average salaries, and that cheating is becoming increasingly difficult if not impossible for many certifications.</li>
</ul>
<p><strong>No Oversight Body</strong></p>
<ul>
<li>The Information Technology Certification Council (ITCC) was formed to oversee the certification process and is comprised of many IT leaders such as IBM, HP and Microsoft</li>
</ul>
<p><strong>Degree vs. Certification vs. Experience</strong></p>
<ul>
<li>Certifications prove a deeper understanding and knowledge of specific technologies that degrees cannot match.  Also, certifications speak volumes to those holding them.  Certifications are often seen as tie breakers when other credentials are equal</li>
</ul>
<p><strong>HR People Are Not In Touch with the Real World</strong></p>
<ul>
<li>Certifications stand as a clear delimiter of in depth knowledge over a subject and therefore are an obvious benefit to HR execs.</li>
</ul>
<p><strong>Budget Cuts</strong></p>
<ul>
<li>Studies have shown that companies supporting tuition and certification reimbursement attract higher attention and therefore these remain to be values of top competitor companies.</li>
</ul>
<p><strong>Glut of Certified People</strong></p>
<ul>
<li>A gap exists between the required knowledge and the available skilled professionals.  Certifications help bridge that gap by providing the market with skilled employees.</li>
</ul>
<p><strong>No One Knows Which Certs Matter</strong></p>
<ul>
<li>Certifications add a widely accepted benefit to any professional.  An employer needn&#8217;t know the specifics of the certification to understand the benefit of hiring certified professionals.</li>
</ul>
<p>&nbsp;</p>
<p>Overall I found this write up to be beneficial and to provide further justification for seeking certifications whether you are currently employed with an organization that provides reimbursement, or if you are on the job market and looking for an edge over your competition</p>
]]></content:encoded>
			<wfw:commentRss>http://icancompute.ca/aix/cert/prometric-top-10-cert-myths/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IBM Certification Format</title>
		<link>http://icancompute.ca/aix/cert/ibm-certification-format/</link>
		<comments>http://icancompute.ca/aix/cert/ibm-certification-format/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 18:51:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Certification]]></category>
		<category><![CDATA[aix]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[format]]></category>

		<guid isPermaLink="false">http://icancompute.ca/aix/?p=424</guid>
		<description><![CDATA[Many of you may be curious on the formatting of the certifications.  I know I was.  The certification tests are offered throughout the world, many of them at small business colleges.  Based on my experience, this is what you can expect: Multiple choice Video recording Computer based Timed Given a scrap of paper for notes [...]]]></description>
				<content:encoded><![CDATA[<p>Many of you may be curious on the formatting of the certifications.  I know I was.  The certification tests are offered throughout the world, many of them at small business colleges.  Based on my experience, this is what you can expect:</p>
<ul>
<li>Multiple choice</li>
<li>Video recording</li>
<li>Computer based</li>
<li>Timed</li>
<li>Given a scrap of paper for notes</li>
<li>Cannot bring cell phone&#8217;s into room</li>
</ul>
<p>If you go to the IBM website you will see that most tests are broken down into categories.  These breakdowns are very accurate as you also get a print out at the end of how you did in each category. If you aren&#8217;t strong in a subject, LEARN IT.  It won&#8217;t be like in highschool where the teacher says something might be on the exam and it isn&#8217;t.  Each category listed is in fact on the exam, with weighting how it is outlined.</p>
]]></content:encoded>
			<wfw:commentRss>http://icancompute.ca/aix/cert/ibm-certification-format/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>File System Full</title>
		<link>http://icancompute.ca/aix/problem-determination/file-system-full/</link>
		<comments>http://icancompute.ca/aix/problem-determination/file-system-full/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 20:07:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Problem Determination]]></category>
		<category><![CDATA[aix]]></category>
		<category><![CDATA[file system]]></category>
		<category><![CDATA[full]]></category>
		<category><![CDATA[problem determination]]></category>

		<guid isPermaLink="false">http://icancompute.ca/aix/?p=414</guid>
		<description><![CDATA[Often times when a file system fills up you will see one of two things: Because you have a well monitored system, you will get an email alert that a threshold has been reached and the file system is filling up Users are screaming because their applications are breaking and files aren&#8217;t being saved&#8230; Regardless [...]]]></description>
				<content:encoded><![CDATA[<p>Often times when a file system fills up you will see one of two things:</p>
<ol>
<li>Because you have a well monitored system, you will get an email alert that a threshold has been reached and the file system is filling up</li>
<li>Users are screaming because their applications are breaking and files aren&#8217;t being saved&#8230;</li>
</ol>
<p>Regardless of which is happening to you, first thing to do is figure out WHY the file systems are filling up.</p>
<p>Nine times out of ten you&#8217;ll see that users are putting files where they shouldn&#8217;t.  Storing files or logs in the /home directory, saving stuff to /tmp and not deleting it, these are things you&#8217;ll see everyday.  Here&#8217;s how to figure out what&#8217;s going on.</p>
<p>$ df -m -&gt; display the free space, in megabytes, on all file systems</p>
<p>$ who -&gt; always good to see who is on the lpar (if the problem just started, you&#8217;ll see a list of possible culprits)</p>
<p>$ last -&gt; see description for &#8220;who&#8221;</p>
<p>$ du -m | sort -nr | more -&gt; this is my favourite.  This will tell you the disk usage in megabytes, sorting it by the largest files. Go to the file system that is receiving errors, or that is full as per &#8220;df&#8221;, and complete this command.  You will see right away what files are taking up the most space.  Often times you will be able to pick out things like log files for runaway processes, installation files that have not been deleted, misplaced data files&#8230;</p>
<p>&nbsp;</p>
<p>I hope these tips help you in the future to determine where your space went when a file system fills up</p>
]]></content:encoded>
			<wfw:commentRss>http://icancompute.ca/aix/problem-determination/file-system-full/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Who&#8217;s been logging into my AIX system?</title>
		<link>http://icancompute.ca/aix/problem-determination/logging-aix-system/</link>
		<comments>http://icancompute.ca/aix/problem-determination/logging-aix-system/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 19:01:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Problem Determination]]></category>
		<category><![CDATA[aix]]></category>
		<category><![CDATA[history]]></category>
		<category><![CDATA[last]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[problem determination]]></category>
		<category><![CDATA[who]]></category>

		<guid isPermaLink="false">http://icancompute.ca/aix/?p=412</guid>
		<description><![CDATA[In AIX there are a number of ways to check up on who has touched your server.  If something has been done and you aren&#8217;t sure who has been poking around, this will help you figure out. **NOTE: this is made much simpler by disabling root SSH capabilities.  If you have not done this, please [...]]]></description>
				<content:encoded><![CDATA[<p>In AIX there are a number of ways to check up on who has touched your server.  If something has been done and you aren&#8217;t sure who has been poking around, this will help you figure out.</p>
<p>**NOTE: this is made much simpler by disabling root SSH capabilities.  If you have not done this, please not that it is recommended to disallow SSH directly for root user as this will mask who has been logging into the system (as well as cause other security holes)</p>
<p>&nbsp;</p>
<p>$ who -&gt; This will tell you who is currently logged into the system, from where and when they logged on</p>
<p>$ last -&gt; This will give you a list of previous logins, the source and time, both in and out</p>
<p>$ who /etc/security/failedlogin -&gt; List all of the failed logins with the same details as above</p>
<p>$ history -1000 -&gt; If you use shared user ids, or you believe someone using root did something, simply check the history using &#8220;history -&#8221;<em>number</em><em>_of_lines</em>&#8221;</p>
<p>&nbsp;</p>
<p>I will include a script to view the history of users.  Check back soon.</p>
<p>&nbsp;</p>
<p>I hope this problem determination guide helps you keep track of users logged in and tracing back who did what</p>
]]></content:encoded>
			<wfw:commentRss>http://icancompute.ca/aix/problem-determination/logging-aix-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Test 000-221: AIX 7 Administration Overview</title>
		<link>http://icancompute.ca/aix/cert/overview-test-000221-aix-7-administration-ibm-aix-certification/</link>
		<comments>http://icancompute.ca/aix/cert/overview-test-000221-aix-7-administration-ibm-aix-certification/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 17:58:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Certification]]></category>
		<category><![CDATA[000-221]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[aix]]></category>
		<category><![CDATA[certification]]></category>

		<guid isPermaLink="false">http://icancompute.ca/aix/?p=409</guid>
		<description><![CDATA[System Availability (10%) Identify resources used by Cluster Aware AIX Configure dump devices and analyze output Determine elements necessary to reduce single points of failure Understand geographical logical volume manager (GLVM) Maintain hardware (CEC/Blade Hardware), deferred or concurrent firmware, AMM firmware (for Power Blades), whether an adapter replacement or new installation. Storage Management (21%) Create [...]]]></description>
				<content:encoded><![CDATA[<p><strong>System Availability (10%)</strong></p>
<ol type="1">
<li>Identify resources used by Cluster Aware AIX</li>
<li>Configure dump devices and analyze output</li>
<li>Determine elements necessary to reduce single points of failure</li>
<li>Understand geographical logical volume manager (GLVM)</li>
<li>Maintain hardware (CEC/Blade Hardware), deferred or concurrent firmware, AMM firmware (for Power Blades), whether an adapter replacement or new installation.</li>
</ol>
<p><strong>Storage Management (21%)</strong></p>
<ol type="1">
<li>Create and manage filesystems</li>
<li>Create and manage logical volumes</li>
<li>Create and manage volume groups</li>
<li>Manage physical and virtual devices</li>
<li>Manage storage devices (traditional disk, Solid State Drives, and tape) including redundancy</li>
</ol>
<p><strong>System and Network Security (4%)</strong></p>
<ol type="1">
<li>Configure Role Based Access Control</li>
<li>Configure and Manage remote access</li>
</ol>
<p><strong>Partition Management (11%)</strong></p>
<ol type="1">
<li>Configure and manage Logical Partitions (LPARs), including DLPAR operations</li>
<li>Create and manage Workload Partitions (WPAR), including Versioned WPARs and planning for Live Application Mobility</li>
<li>Understand HMC, SDMC and IVM interfaces</li>
<li>Create and Manage VIO Server partitions (including working with virtual repositories)</li>
<li>Understand and explain LPAR and WPAR migration and mobility at a basic level</li>
</ol>
<p><strong>Performance Management and Tuning</strong></p>
<ol type="1">
<li>Use performance monitoring tools, and plan for future growth</li>
<li>Analyze output from performance monitoring tools</li>
<li>Configure system tunables to support optimal application performance</li>
</ol>
<p><strong>Network Management (11%)</strong></p>
<ol type="1">
<li>Configure network devices (including Etherchannel, IPv4, and IPv6)</li>
<li>Troubleshoot network issues</li>
<li>Configure TCP/IP, with and without VLAN support</li>
</ol>
<p><strong>System Management (18%)</strong></p>
<ol type="1">
<li>Create, maintain and modify user accounts</li>
<li>Manage services and subsystems (using chtcp, etc)</li>
<li>Configure Electronic Service Agent</li>
<li>Configure the system and device attributes</li>
<li>Use AIX system management tools (for example: DSM, Director, NIM)</li>
<li>Install, apply, commit, or reject software</li>
<li>Create and manage paging space</li>
<li>Use Cron and At functions</li>
</ol>
<p><strong>Install and Manage AIX (11%)</strong></p>
<ol type="1">
<li>Understand and manage AIX instance startup</li>
<li>Backup and restore AIX</li>
<li>Migrate WPARs from AIX 6 to AIX 7</li>
<li>Install AIX and use NIM environments</li>
<li>Install Versioned WPARs</li>
</ol>
<p><strong>General administrative tasks (7%)</strong></p>
<ol type="1">
<li>Create and use ksh and Perl scripts at a basic level</li>
<li>Use AIX commands such as TAR, CPIO, DD, RPM, SAVEVGSTRUC, and explain their use</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://icancompute.ca/aix/cert/overview-test-000221-aix-7-administration-ibm-aix-certification/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WPAR &#124; Workload Partitions</title>
		<link>http://icancompute.ca/aix/config/maintenance/wpar-workload-partition-overview-aix-tools/</link>
		<comments>http://icancompute.ca/aix/config/maintenance/wpar-workload-partition-overview-aix-tools/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 17:42:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General Maintenance]]></category>
		<category><![CDATA[aix]]></category>
		<category><![CDATA[lpar]]></category>
		<category><![CDATA[mkwpar]]></category>
		<category><![CDATA[workload partition]]></category>
		<category><![CDATA[wpar]]></category>

		<guid isPermaLink="false">http://icancompute.ca/aix/?p=406</guid>
		<description><![CDATA[Workload Partitions are a form of compacting down your environment into something more manageable and faster/easier to deploy or destroy.  The idea of a WPAR is that you can run the work of multiple LPARs within a single LPAR.  By creating an LPAR with WPAR capabilities, you can fill it with images running multiple instances [...]]]></description>
				<content:encoded><![CDATA[<p><strong>Workload Partitions</strong> are a form of compacting down your environment into something <strong>more manageable</strong> and <strong>faster/easier to deploy</strong> or destroy.  The idea of a <strong>WPAR</strong> is that you can run the work of multiple LPARs within a <strong>single LPAR</strong>.  By creating an LPAR with WPAR capabilities, you can fill it with images running multiple instances of AIX workloads.</p>
<p>By consolidating your LPAR environment, you can create more easily manageable servers for environments with multiple development, sandbox and testing deployments.  Often times with the increase in virtualization, we treat LPARs as though they are <strong>disposable machines</strong> (which technically they are).  By creating a WPAR, you <strong>increase the ease of set up</strong>, tie up<strong> less physical resources</strong>, and keep your environment breadth steady.  You will also only need to use <strong>one OS image</strong>, rather than maintaining and purchasing multiple AIX licences.</p>
<p>The downside to WPARs is the <strong>single point of failure</strong>.  Performing general maintenance on an LPAR which results in an outage will <strong>create outages for all running WPARs on the LPAR</strong>.  This means that upgrades etc. on an LPAR become the equivalent of those on a frame.  If it goes down, you might be bringing down several LPARs at a time.</p>
<p>&nbsp;</p>
<p>Two types of LPARs exist: <strong>System</strong> and <strong>Application</strong>. System WPARs are the most similar to a fully functioning LPAR.  It has inetd and cron daemons and consists of file systems etc.  Application WPARs are WPARs created solely for a single application.  Once the application completes and closes, the WPAR disappears.  Application WPARs don&#8217;t run daemons and do not contain file systems.</p>
<p>&nbsp;</p>
<p>Some commands you might want to familiarize yourself with are:</p>
<p>mkwpar -n <em>wpar_name</em> -&gt; create a new WPAR with the specified name</p>
<p>lswpar -&gt; list existing WPARs and distinguish those that are active from those that are not</p>
<p>startwpar <em>wpar_name </em>-&gt; start the specified WPAR</p>
<p>clogin <em>wpar_name</em> -&gt; login to the WPAR (will login to an AIX environment)</p>
<p>savewpar -&gt; create backup of WPAR</p>
<p>restwpar -&gt; restore the WPAR</p>
<p>** Creating File Systems -&gt; You will have to create file systems from the global environment under the /wpar file system and then mount the file system in the WPAR</p>
<p>**Creating Users -&gt; Users can be managed within the WPAR and those created in the WPAR will be restricted to the WPAR (will not affect the global environment)</p>
<p>&nbsp;</p>
<p>I hope this explanation of WPARs and their place in your environment has helped, and that the included commands will help get you started.</p>
]]></content:encoded>
			<wfw:commentRss>http://icancompute.ca/aix/config/maintenance/wpar-workload-partition-overview-aix-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Edit /etc/inittab</title>
		<link>http://icancompute.ca/aix/commands/edit-etcinittab-aix-commands/</link>
		<comments>http://icancompute.ca/aix/commands/edit-etcinittab-aix-commands/#comments</comments>
		<pubDate>Mon, 16 Jan 2012 17:57:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AIX Commands]]></category>
		<category><![CDATA[aix]]></category>
		<category><![CDATA[chitab]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[inittab]]></category>
		<category><![CDATA[lsitab]]></category>
		<category><![CDATA[mkitab]]></category>
		<category><![CDATA[rmitab]]></category>

		<guid isPermaLink="false">http://icancompute.ca/aix/?p=380</guid>
		<description><![CDATA[vi /etc/inittab = BAD IDEA We all know that vi (or any other text editor) can easily edit a text file such as the inittab.  We also know that nobody is perfect, and that mistakes do happen (escape characters, wrong formatting etc.)  The problem is, when editing the inittab, if you make an error in the wrong [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.sdsc.edu/~sherwint/AIXWeb/AIX/AIX4_hints.html">v</a>i /etc/inittab = BAD IDEA</p>
<p>We all know that vi (or any other text editor) can easily edit a text file such as the inittab.  We also know that <strong>nobody is perfect</strong>, and that mistakes do happen (escape characters, wrong formatting etc.)  The problem is, <strong>when editing the inittab</strong>, if you make an <strong>error in the wrong place</strong>, you can render the system <strong>unbootable</strong>.  This is because the inittab is an important part of the boot sequence for an lpar, and once the boot sequence get mucked up, bad things start to happen.</p>
<p>This guide will go over the <strong>correct</strong> ways to edit the inittab without the risk of breaking the lpar altogether. (The only way to recover from some inittab errors are to network boot and fix from there&#8230;)</p>
<p>lsitab -a -&gt; list contents of the inittab</p>
<p>lsitab <em>identifier</em> -&gt; find specified identifier in inittab and display entry</p>
<p>chitab i<em>dentifier:run_level:action:command</em> -&gt; change the run level, action and command of the specified identifier</p>
<p>mkitab i<em>dentifier:run_level:action:command </em>-&gt; create new entry in the inittab</p>
<p>mkitab -i <em>search_term </em>i<em>dentifier:run_level:action:command </em>-&gt; create new entry in the inittab after specified identifier</p>
<p>rmitab <em>identifier</em> -&gt; remove specified entry from the inittab</p>
]]></content:encoded>
			<wfw:commentRss>http://icancompute.ca/aix/commands/edit-etcinittab-aix-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AWK vs CUT</title>
		<link>http://icancompute.ca/aix/commands/awk-cut/</link>
		<comments>http://icancompute.ca/aix/commands/awk-cut/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 21:00:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AIX Commands]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[aix]]></category>
		<category><![CDATA[awk]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[cut]]></category>
		<category><![CDATA[delimiter]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://icancompute.ca/aix/?p=397</guid>
		<description><![CDATA[Well, not really.  But I assume I&#8217;ll get lots of attention with that name alone.  When I thought about writing this it was for one very specific thing only. Often times in a script I&#8217;ll want to strip output based on a delimiter or columns.  I found myself constantly fighting with IFS and trying to [...]]]></description>
				<content:encoded><![CDATA[<p>Well, not really.  But I assume I&#8217;ll get lots of attention with that name alone.  When I thought about writing this it was for one very specific thing only.</p>
<p>Often times in a script I&#8217;ll want to strip output based on a delimiter or columns.  I found myself constantly fighting with IFS and trying to make sense of delimiters that don&#8217;t follow a common pattern.  My two ways of extracting columns from a file/variable are as follows:</p>
<p>&nbsp;</p>
<p>echo $variable | cut -f 2 -d &#8220;:&#8221; &#8211;&gt; (-f to select column, -d to select delimiter)</p>
<p>echo $variable | awk &#8216;{ print $2 }&#8217;</p>
<p>Believe it or not, for someone that started off with no formal shell training or anything, this took me awhile to figure out.  Cut has its ups and downs but I will say this, awk is without a doubt worth learning.  In its entirety.</p>
<p>Anyways, this was just a quick update on how to extract columns from data using cut and awk</p>
]]></content:encoded>
			<wfw:commentRss>http://icancompute.ca/aix/commands/awk-cut/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 1.471 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2013-05-18 01:38:26 -->
