Common IBM AIX Interview Preparation Guide
Download PDF

AIX job preparation guide for freshers and experienced candidates. Number of IBM AIX frequently asked questions(FAQs) asked in many interviews

116 AIX Questions and Answers:

Table of Contents:

Common  AIX Job Interview Questions and Answers
Common AIX Job Interview Questions and Answers

1 :: How to expand rootvg size from storage end when there is no free pp available?

We can get a disk from Storage team with the bigger size then the current available rootvg disk in the OS. Then mirror the lv/pv. Once the data is mirrored then we can remove the older rootvg disk.
NOTE: we can't user chvg -g in the rootvg disks for the older OS versions. For the new OS version we need to check it out in "man" page whether the option is available or not.
OR
For extending rootvg better to use alt_disk_install to bigger disk.
For eg:
hdisk0 is of 50GB.
Storage team allocated 80GB new disk to the server as per our requirement.
Then mirror the rootvg
Reduce the the older disk and then remove it from the rootvg.

2 :: What is VGDA?

Volume Group Descriptor Area. It contains the information about volume group to which the physical volume belongs to. It also contains the information about physical partitions, logical partitions and logical volumes.

3 :: What is the login process to the AIX system?

★ AIX is a multi-user system
★ When the user login he needs to provide the user name and password for authentication purposes.
★ After the successful login, AIX starts the SHELL program.

4 :: What is SHELL program?

☆ As the user login to the AIX server, the AIX starts the SHELL program.
☆ The SHELL is a command interpreter.
☆ It takes the inputs from the users and executes it.
☆ SHELL is not only the command interpreter it also provide great flexibility to the user.
☆ SHELL not only read and execute the commands it also read the files written in the form of programs and executes them, these shell program files are known as SHELL scripts. The extension of SHELL script is .sh.

5 :: List the advantages of Bourne Again Shell or bash?

☛ Bash is the GNU shell
☛ Bash is an sh-compatible shell that incorporates useful features from the Korn shell (ksh) and C shell (csh).
☛ It is intended to conform to the IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard.
☛ It offers functional improvements over sh for both programming and interactive uses.
☛ Interactive usage includes command line editing, unlimited size command history, job control, shell functions and aliases, indexed arrays of unlimited size, and integer arithmetic in any base from two to sixty-four. Bash can run most sh scripts without modification.

6 :: Explain the various SHELL types?

☷ sh or Bourne Shell
☷ bash or Bourne Again shell
☷ csh or C shell
☷ tcsh or Turbo C shell
☷ ksh or the Korn shell

7 :: What is VGSA in AIX?

Volume Group Status Area it contains the information about physical partition from all physical volumes of the same volume group. It contains the status of VG.

8 :: How to lock a user's account?

#chuser account_lock=true username

9 :: How do u take backup of file systems?

#backup -f /dev/rmt0

11 :: What command to take backup other vg's?

# savevg -if /dev/rmt0 /vgname

14 :: How to unlock user account?

chuser -a account=true username

15 :: What are the types of installation in AIX?

❁ New and complete overwrite
❁ Migration
❁ Preservation

16 :: What are the types of ODM Database?

Pre-defined database PdDv, PdAt
Customised database CuDv, CuAt

22 :: What are the two states of installation?

❀ Applied and commit state
❀ In applied state if want to do any changes on installed software then we can do.
❀ But in commit the changes are not allowed to do. Once did installation.
❀ A committed fileset update cannot be rejected.
❀ Output from the installp -s command, which is used to get a list of applied software fileset updates and updates that are available to be either committed or rejected.

23 :: Types of VG & explain about them?

☰ Normal vg -32 pv, 256 lv
☰ # mkvg -y normvg -s 128 hdisk4
☰ Big vg :- 128pv,512lv
☰ # mkvg -B -y bigvg -s 128 hdisk9
☰ Scalable vg: -1024pv, 4096 lv
☰ # mkvg -S -y scalvg -s 512 hdisk1

24 :: How many VGs can be created in a LVM?

255 any no. of vg can create.

25 :: How to change a 32 bit kernel to 64 bit kernel?

To truly change the kernel to 64-bit from 32-bit, the system must be at the AIX® 5.1 or AIX 5.2levels.
# bootinfo -y
It shows a kernel is either 32-bit or 64-bit.
To truly change the kernel to 64-bit from 32-bit, the system must be at the AIX® 5.1 or AIX 5.2levels.
# bootinfo -y
It shows a kernel is either 32-bit or 64-bit.
To change to a 64-bit kernel, enter the following commands:
# ln -sf /usr/lib/boot/unix_64 /unix
# ln -sf /usr/lib/boot/unix_64 /usr/lib/boot/unix
# lslv -m hd5
# bosboot -ad /dev/ipldevice
# shutdown -Fr
AIX Interview Questions and Answers
116 AIX Interview Questions and Answers