Complete Guide to IBM AIX Operating System

AIX Operating System is Unix based Operating System designed and licensed by IBM. AIX stands for Advanced Interactive eXecutive its highly secure, robust and reliable Operating System used for running  Enterprise Businesses. 

This article answers simple queries like AIX Operating System version command, AIX Operating System commands, AIX Operating System version, AIX Operating System full form, AIX Operating System latest version, AIX Operating System end of support, AIX Operating System iso, AIX Operating System download, AIX Operating System tutorial etc.

AIX Operating System is designed to run only on IBM Power Systems. IBM Power Systems is family of Server that are designed based on Power Core Technology. These Power Systems Microprocessor Cores are fabricated very smaller as much as possible based on seven nano meters and beyond technology.

Below are some of the questions related to AIX Operating System that are answered

AIX Operating System version command or How do I find my AIX version?

The command to find AIX Operating System version is 

# oslevel
5.1.0.0

Another command to find the build version of AIX is 

# what /unix | grep build
         _kdb_buildinfo unix_64 1212A_51c
#

 

AIX Operating System version or Command to get AIX Operating System version

To get the AIX Operating Power System Version 

# lsconf | head
System Model: IBM,1234-ZV9
Machine Serial Number: 123456
Processor Type: PowerPC_POWER5
#

AIX Operating System commands.

The list of commands you can use to check the memory, cpu units is lparstat

# lparstat

System configuration: type=Dedicated mode=Capped smt=4 lcpu=16 mem=12544MB

%user  %sys  %wait  %idle
----- ----- ------ ------
  0.2   0.2    0.0   99.6

AIX Operating System commands to find the list of disks, network details and their device details use lsattr

# lspv
hdisk0          00fb3c296ae0cc19                    rootvg          active
hdisk1          00fb3c292aa6889b                    None
#
# lsattr -El hdisk0
#
# lsdev | grep ent
ent0       Available             Virtual I/O Ethernet Adapter (l-lan)
# lsattr -El ent0
#

AIX Operating System full form or What does AIX stand for?

AIX stands for Advanced Interactive eXecutive the name has been derived from software company Interactive Systems Corporation (ISC) that had partnered with IBM to develop software

AIX Operating System latest version

As per IBM latest AIX press release the current released Operating System to customers is AIX 7.2 Build

AIX Operating System end of support

IBM releases its operating system every year with the new features that matches to the latest market needs of customers. In order to get the details about AIX Operating System end of support please check IBM AIX Press Release details direct from IBM website 


AIX Operating System iso download or Where will I get AIX for downloading?

As AIX Operating System is not Open Source you cannot download the iso. AIX Operating System can be downloaded only if you have purchased license to download AIX version you can visit "IBM Entitled Systems Support"

AIX Operating System tutorial or AIX Operating System commands pdf

IBM has rich set of website and e-book series (named Redbooks) that can train you efficiently in IBM AIX Operating System, IBM Power System, PowerVC, Virtualization Input Output Servers (VIOS) and Other IBM Products. Its good to refer them.

What is AIX used for or Who uses AIX or What is IBM AIX used for?

AIX is an Operating System, Operating Systems can be used for computing, processing transactions etc. As AIX is highly used on large scale basis its used where ever user requires computing at large scale and processing large set of transactions

Can AIX run on Intel?

No, AIX Operating System is designed to run on IBM Power System bases Server (ppc64) and cannot run on Intel based Microprocessors (x86)

How do AIX and Linux compare or Is AIX free?

AIX Operating System is robust, reliable, offers secure environment for the user and runs only on IBM Power System hardware where as Linux is lightweight can be designed to run on your smartphone

AIX is Unix Operating System licensed by IBM not freely available to download, where as Linux is an Opensource code and iso images are freely available to download.

 What is the high level difference between AIX and Linux?

AIX is License UNIX Operating System - Linux is Opensource Operating System
AIX comes with guarantee related to security - Linux does not guarantee you
AIX Operating System only runs on IBM Power Systems Hardware - Linux can run on any hardware
AIX Operating System cannot be customized - Linux code can be downloaded and customized if you are developer

What is the difference between IBM AIX LPAR and VIO Server?


There are four requirement that an Operating System needs to run they are CPU, Memory, Network and Storage. CPU and Memory is virtualized by Power Hypervisor. Network and Storage are virtualized with the help of VIO Server. AIX LPAR is actual Operating System that gets disks and network from VIO Servers. VIO servers also AIX LPAR with virtualization service running on top of it.

What are the top 7 skills required for a UNIX (LINUX/IBM AIX) system Admin?


The top 7 skills required for AIX Administrator are Knowledge of IBM Power System Rack, Hardware Management Console (HMC), Fiber Channel (FC) and Ethernet adapter cabling, Knowledge of Live Partition Mobility(LPM), Knowledge of Live Kernel Update(LKU), HMC Update, AIX Operating System and VIO Server Installation

Can AIX be installed on X86/intel architecture?


No we cannot install AIX Operating System on x86 Architecture we need ppc64 Architecture

I want to study to be an IBM AIX System Admin, how would I start? or How do I learn IBM aix?

IBM Website and e-books (Redbooks) are rich set of knowledge for becoming IBM AIX System Admin

Can AIX run on VMware?


No AIX cannot run on VMWare Workstation or VMWare EXSI Servers that are based on x86 architecture AIX Operating System requires ppc64 architecture.

What are the top 5 Operating System available in Market?


The Operating Systems that are highly used currently are Windows (developed by Microsoft), MacOS (Unix by Apple Inc), Red Hat Enterprise Linux (Linux), Ubuntu (Debian Linux), Sun OS (Unix by Oracle), and AIX Operating System (Unix by IBM). There are other operating system as well such as HP-UX (Unix by HP), CentOS (Linux), OpenSuSe (Linux), Android (Linux by Google) these are some of the popular categories of Windows and Non Windows, Unix and Linux based Operating System.







AIX Console Terminal and Connecting AIX Remotely using SSH or Telnet


AIX Console Terminal

Hardware Management Console offers vterm console to connect AIX terminal. Connecting to AIX vterm requires one needs to login to HMC as admin user for that logical partition.

Command to Connect AIX VTERM

hscroot@temphmc:~> mkvterm -m system -p lparname
A terminal session is already open for this partition.
 Only one open session is allowed for a partition.
 Exiting....


If you get this error message already another user is connected to the vterm console, so in that case you should wait for old console to close. Else if you want to connect AIX vterm console forcefully then execute Remove VTERM command.

 

Command to Remove AIX VTERM

hscroot@temphmc:~> rmvterm -m system -p lparname
Close command sent
hscroot@temphmc:~> mkvterm -m system -p lparname
 Open in progress  
 Open Completed.


After forcefully removing the existing connection to console we can again run mkvterm and you should be able to login to AIX OS

Connecting AIX Remotely using SSH /Telnet


Connecting AIX remotely using SSH requires the below packages to be installed. AIX Operating System should have active network connection to connect using ssh server. Also in the file /etc/ssh/sshd_config the PermitRootLogin should be set to yes for root login.

# lslpp -l | grep -i ssh
  openssh.base.client   
  openssh.base.server   
  openssh.license

# cat /etc/ssh/sshd_config | grep PermitRootLogin
PermitRootLogin yes


Connecting AIX using Telnet
requires the set of file sets that need be be installed, as above stated to connect machine remotely we require the active network connection.

# lslpp -l | grep telnet
  bos.net.tcp.telnet
  bos.net.tcp.telnetd

# cat /etc/inetd.conf | grep telnet
telnet    /usr/sbin/telnetd      telnetd -a

# refresh -s inetd
The request for subsystem refresh was completed successfully.


By default, telnet daemon is disabled by adding comment in config. Telnet protocol uses plain text type data transfer without any encryption technique so its disabled due to security reasons. After uncommenting the telnet configuration as above in the config file /etc/inetd.conf then restart the inetd daemon after refreshing the inetd we should be able to telnet to AIX Operating System.
 
 
 
 
 
 
 
 

Configuring Remote Shell rsh in AIX


Remote Shell is running the shell command based on trusted host, user and port number. Remote Shell rsh program execution does not require user to prompt the password during the time of command execution. Just provide the command rsh with hostname and its done the command gets executed and result will be displayed.

Below is example to configure machinea root user to run the commands on machineb root user on AIX we need to configure below

Step 1: Go to machineb and enable the rsh service in /etc/inetd.conf

[root@machineb] # cat /etc/inetd.conf | grep rshd
shell   stream  tcp6    nowait  root    /usr/sbin/rshd         rshd

Step 2: Edit machineb .rhosts file and add an entry of fully qualified domain name of machinea with user type. Change the .rhosts permission to 600 else you get error message rshd: Permission is denied

[root@machineb] # cat .rhosts
machinea.fully.qualified.domain.name root
+ +
[root@machineb] #
[root@machineb] # chmod 600 .rhosts
[root@machineb] #

Step 3: Enable the login of root via rsh in /etc/security/user root stanza of machineb. Set it to true

[root@machineb] #
[root@machineb] #  root:
        login = true
        rlogin = true
        su = true
        admin = true
[root@machineb] #
[root@machineb] #


Step 4: Refresh the inetd deamon to reload the configuration

[root@machineb] #  refresh -s inetd
The request for subsystem refresh was completed successfully.


Step 5: Now login to machinea as root and run the following command

[root@machinea] # rsh machineb -l root ls
file1
file2
file3
file4


With these steps we configure the remote shell command execution successfully







Post a Comment

0 Comments