We Offer 100% Job Guarantee Courses (Any Degree / Diploma Candidates / Year GAP / Non-IT / Any Passed Outs). Placement Records
Hire Talent (HR):+91-9707 240 250

Interview Questions

AIX Interview Questions and Answers

AIX Interview Questions and Answers

AIX Interview Questions and answers

AIX Interview Questions and answers for beginners and experts. List of frequently asked AIX Interview Questions with answers by Besant Technologies. We hope these AIX Interview Questions and answers are useful and will help you to get the best job in the networking industry. This AIX Interview Questions and answers are prepared by AIX Professionals based on MNC Companies expectation. Stay tuned we will update New AIX Interview questions with Answers Frequently. If you want to learn Practical AIX Training.

Best AIX Interview Questions and answers

Besant Technologies supports the students by providing AIX Interview Questions and answers for the job placements and job purposes. AIX is the leading important course in the present situation because more job openings and the high salary pay for this AIX and more related jobs. We provide the AIX online training also for all students around the world through the Gangboard medium. These are top AIX Interview Questions and answers, prepared by our institute experienced trainers.

AIX Interview Questions and answers for the job placements

Here is the list of most frequently asked AIX Interview Questions and answers in technical interviews. These questions and answers are suitable for both freshers and experienced professionals at any level. The questions are for intermediate to somewhat advanced AIX professionals, but even if you are just a beginner or fresher you should be able to understand the answers and explanations here we give.

Q1) How to do the TL/SP upgradation of a server?

There are 2 methods by using which we can upgrade the TL/SP of a server.
Method: I
Download the TL/SP package from the Fix Central website of IBM by choosing the correct OS level.
Keep it in a shared directory. So that it can be accessible by all the LPARs.
Collect the necessary prechecks and a good OS image copy ie. mksysb of the server.
Or else we can clone the primary disk in a secondary alternate disk of rootvg by using “smit alt_clone”. So that incase if there’s any issue post patching activity can be restored easily by booting the server from the secondary/alternate disk.
Reset the root password.
Now go to the location where have you stored the packages. And run “smitty update_all”.
It will take few minutes to patch the server. Once you get the “OK” prompt, Reboot the server.
Then check the OS level once the server is up and do the necessary post check verifications.
Method: II
This follows the whole activity through NIM server.
Download the OS image from the IBM website. Keep it in NIM server.
Create the lpp_source and spot resources in the NIM Server.
Then use “smitty nim_update_all” select the client/lpar which do you want to patch.
Once you get the “OK” prompt reboot the client server.
Once the server is up check the oslevel and do the necessary post check operations.

Q2) What is the difference between alt_disk_install and alt_disk_copy?

alt_disk_copy command is just a subset of alt_disk_install. When we run the alt_disk_install it actually runs the alt_disk_copy as well under cover.

Q3) What all are the basic file sets needed for the alt_clone operation to perform?

Before proceeding with the alt_clone operation we have to verify the below mentioned file sets available on the server for the alt_clone operation:

#lslpp -l|grep -I alt_disk

bos.alt_disk_install.boot_images

bos.alt_disk_install.rte 7.2.3.0 COMMITTED Alternate Disk Installation

Q4) How can we replace a failed disk in rootvg?

For this we need to get a new luns from the Storage team of equal the size of the good copy existing the rootvg disk or greater than that in size. Then we can follow the below procedure if we have 2 rootvg disks and one disk failed:

#cfgmgr
#lspv
#extendvg rootvg <new_disk_name>
#migratepv <failed_disk> <new_disk>
#reducevg -d rootvg <failed_disk>
#mirrorvg -S <hdisk_old> <hdisk_new>

Q5) There’s a vulnerability reported for a package installed on the server. What action do we need to take?

We need to check for the APAR released by IBM for the software product. If yes, then download it and by using the “emgr” command install it on the server.

Q6) How to recover the root password?

We need to boot the server from a bootable media either cd-rom. From there we can go to the option Installation & Maintenance Menu and can choose to start it in a system recovery mode. From there we can reset the root password.

#shutdown -r

#Option 3

#passwd <Enter new password>

Q7) For a mirrored volume group the administrator would like to ensure if one disk fails the vg stays online What’s the command to check that?

chvg -Qn <vgname>

Q8) How to check the HMC version?

After login into the HMC on the top we can see the <HMC version>.

Q9) How can we restore a single file from the mksysb image file?

From the mksysb image file we can restore file by using the below command:

#restore -xvf <mksysb filename> ./<Path of the file to need to restore>/<file_name>

Q10) How can we check the maximum resources consumed processes?

In AIX we have below procedures to find out the maximum resources consumed processes details:

#top: command which provides the live update of the processes and their utilization of resources
From the “nmon analyzer” we can find out the detailed details of the processes.
#ps -ef
#svmon -Put 5

Q11) How to rename a vgname?

To re-name a VG here is the procedure:

#lspv -> Here disks will show allocated to a VG
#varyoff <vgname_old>
#exportvg <vgname_old>
#lspv -> Here the disks will be showing none means not allocated to any VG
#importvg -y <vgname_new> hdisk*
#lspv -> Here it will show the new vg name

A downtime of VG required for this operation to be done.

Q12) How a client server can be able to communicate with the NIM server?

With the help of “niminfo” file the client server can communicate with the Master NIM server.

In the client server generate the NIMINFO file:

#niminit -a master=<nim_servername> -a name=`uname -n`

Q13) How to find out the MAC address of a server?

In the “netstat -ia” command from the “Address” column you can find the MAC address.

Q14) When an IBM engineer asks about to collect the logs what command do we use?

To collect the system log “snap -gc” command.

Q15) How can we do OS Upgradation?

By using the “nimadm” command we can do the OS Upgradation.

#nimadm -j nimadmvg -c <lpar_name> -s <spot_name> -l <lpp_source_name> -d <hdisk*> -Y

It has 12 steps post which the OS get successfully upgradaed.

Q16) What is the procedure to change the Network card speed on AIX?

We can change the network card speed by using the following steps:

#chdev -l en0 -a state=detach –> Detach the interface

#chdev -l ent0 -a media_speed=1000_Full_Duplex –> Make appropriate changes

#chdev -l en0 -a state=up –> Change the step to UP

[NOTE: Don’t do ifconfig enX up – this will put an IP address of 0.0.0.0] #mkdev -l inet0 –> to activate all routes

Q17) Command to find the real memory of a server?

Here is the command to find the real memory of a server:

#lsattr -EL sys0 -a realmem

Q18) How can we get the detailed information of my server?

We can find the detailed information of a server using the below commands:

#prtconf
#lscfg -vpl <devicename>
Whereas,

-v : Displays the vital product data (VPD) found in the customized VPD object class

-p : Displays platform-specific device information.

Q19) How to find out the maximum supported logical track group (LTG) size of my hard disk?

You can use the “lquerypv” command with the -M flag. The output gives the LTG size in KB.

#/usr/sbin/lquerypv -M hdisk*

Q20) How can I check whether my file system is corrupted or not?

If yes how to recover it to it’s previous most recent state?

Here is the procedure to recover a currupted file system:

#fsck -y <lv_name>

#fsck -p <lv_name>

Q21) What is DLPAR operation?

By using DLPAR operation we can online allocate additional CPU/Memory/IO and adapters of a server.
Go to HMC-> Frame-> LPAR-> Right click-> DLPAR operation-> (Choose your respective operation).

If the Maximum resources limit set for a LPAR is reached then DLPAR operation won’t work in that case and a downtime is needed of the server.

Q22) How to map a LPARS FC adapter to the physical adapter of VIO?

Here is the procedure of mapping:

$vfcmap –vadpater vfchost* –fcp fcs* -> Perform the operation on both the VIOs.
Run the “lsmap -all -npiv” command to verify if the mapping for the corresponding client lapar is correct or not.
Run “cfgmgr” on the LPAR
Then to verify the status -> “lsdev -Cc adapter”

Q23) What is Quorum?

Quorum is a validation technique done by LVM to resolve data corruption. Quorum checking is done on the basis of VGDA information available in VG. Greater than 51% votes are needed to allow valid quorum checking.

#we can check the quorum details using the command “lsvg <vg_name>

Q24) How can we set the file size limit to unlimited?

Here is the process to set the file size limit to unlimited:

#unlimit -f -> To check the current file size limit

#vi /etc/security/limits : set the “fsize=-1” in the default option

Q25) How to activate the paging space?

Here is the procedure to activate the paging space:

#lsps -a -> Current paging space size
#smitty mkps -> To add paging space
#swapon /dev/<paging space_name>

Q26) What is the diference b/w TL and ML?

TL: technology level

Ml: Maintance level

Q27) Could you please explain the complete scenario of NFS configuration?

NFS means network filesystem, we can asses the filestem from one server to another server through NFS

We need to configure NFS using below

Lssrc –g nfs it will list nfs subsystems are in active or not, if it is not active we have to activate with below command

Startsrc –g nfs

If you want to activate particular  subsystem you can activate using below command

Startsrc –s nfs

Need to check NFS port no. 2049

Q28) How do you replace rootvg faulty disk?

We need to find the failed disk using below commands

Lsdev –Cc disk

Lsvg –p rootvg

Errpt –a

If the failed disk is mirrored with disk,  we need to unmirror and reduce that vg from rootvg

And raise a PMR with site engineer  and he wil replace the disk and we will extend that new disk to  existing rootvg and we will  mirror the rootvg

Q29) When I am trying to add new disk to existing volumge group, it showing as conflicts what may be the reason.?

That new disk PVID is conflicts with other disk

Q30) How do you rename volume group?

For this activity we need to perform with outage

We need to unmount filesytems under the volume group

We need to varyoff volumge group

We need to  exporr the volume group

We need to import the volume group with new name

After that we need to varyon vg and mount the filesystem

Q31) What are the types of volume groups in aix?

Normal vg, bigvg , scalable vg

Q32) What is diff b/w normal , big and scalable vg?

Normal vg     : 32 disks 256lvs max pps per vg   32512

Bigvg             :128 disks 512 lvs 130048

Scalablevg    : 1024 disks 4096lvs 2097152

Q33) How do you check the complete information of filesystem?

Lsfs -q

Q34) One of Data base server got rebooted unexpectedly, oracle team is asking ROOT CAUSE for this?

You need to check the logs in /etc/syslog.conf, ususally all aix logs are stored in this file , otherwise you can check in errpt | more

Still if you want more info you can raise a PMR with IBM team

Q35) When Iam trying to increase the filesytem, but iam unable incrase what may be the reason?

There is no free pp’s in volume group and we need to extend the  lp’s per lv

Q36) What is paging space?

When ever ram memory is not enough to load new programs , that time is there any waiting process , those are moving to paging space

Q37) How do you perform TL upgradation in your environement and explain the process?

TL upgaradation performing in  3 ways

Direct method

Multibos method

Alt disk method

For altdisk method we need to one extra disk which is equal or higher than rootvg disk

Some filesets also need to install

Bos. Alt_disk_install.rte

Bos. Alt_diks_install,images

Q38) How do you configure NIM server?

We need to install  below filesets of nim server, once we install those filesets then only NIM Server configured

Bos.sysmgt.nim.clinet

Bos.sysmgt.nim.maste

Bos.sysmgt.nim.spot

Q39) How to recreate /etc/niminfo file or server side and client side?

in nim server we can recreate using below.

Niminfo –r

On client side we can create like below

Niminit –v –a master=server –a client=hostname –a nimsh

Q40) what are the subsystems for nim server

nimesis and nimd

we can verify using lssrc –g nim

Q41) how to configure the client machine from nim server using below we can configure client machine in nim server

goto the path smitty nim perform nim administration tasks

Q42) what are the TL version in your current environment?

aix 7.1 tl05 sp01

aix 7.2 tl02 sp02

Q43) what is the difference b/w jfs and jfs2?

we can decrease filesytem in jfs2

we can’t decrease filesytem in fs

Q44) user unable to login server, what may be the issue

account got expired, or need to account is locked or not,need to check unsuccessful login account in lsuser –f username

Q45) How do you add ip aliasing and del alias?

chdev –l eno –a alias4=ip,subnetbask

Q46) How do you configure ASM disks for ORACLE?

Once we got the disk from storage we need to run cfgmgr from server end

After that we need to find major and minor number for the disk in /dev

Mknoc –C majorno. Minor no. /dev/disk

Q47) Have you ever done OS migration in your environment?

I have aix migration from 6.1 to 7.1 using nimadm method

We need one free disk to perform migration using nimadm

Aix migration is happeing in 12 steps

Q48) When iam trying to login server, it showing as fork error or system got hung what may be the reason?

We need to login to console, check the paging space of the server using lsps –s

And we need to increase the paging to avoid houg or fork error

Q49) What is the syntax for oslevel –s?

Osversion, tl version, sp version , week and year of release

Q50) What is DL par operation, how do you know that server is supporing DLPAR operations or not?

By using DLPAR we can add remove move the resource from one server to another

Using below command to we wil get to know the server having dlpar capability or not

Lspartition –dlpar

Q51) What are the port no. for ftp, ssh, telnet, smtp, nfs, pop3?

ftp-21,ssh-22,telnet-23,smtp-25,ns-2049,pop3-110,

Q52) How do you convert from normal vg to bigvg?

Its an online activity to convert normal vg to bigvg using below ommand

Chvg –B vgname

Q53) How to install the missing filesets manuaaly?

Installp –acgxy fileset name filesetpath name

Q54) What is difference b/w applied and commited?

Applied means it will maintain moth old verion and new version

Commited means it will maintain only new version

Q55) How to commited filesets from applied?

Install –C all

Q56) How do you check the cluster version in power ha?

Lssrc –ls clstrmgrES

Q57) What are the cluster states in power HA?

Stable, init,

Q58) What is difference b/w power ha 6.1 and 7.1?

In 6.1 capacity upgrade on demand is there

In 7.1 IBM aware of aix future is there

Q59) How to move the resource group from one node to another node?

/usr/es/sbin/cluster/bin/clRGmove –G rgname –n node –m

Q60) How to list the RG info in cluster?

/usr/es/sbin/cluster/bin/clRGinfo

Q61) What is init tab stanza?

identifier : runlevel: action: command

Q62) What is the default run level in aix?

2

Q63) How to check the run level in aix?

cat /etc/init.state

Q64) How to check the user utilization of cpu, paging?

topas, svmon -G

Q65) How do you check the hmc ipaddress in server?

lsrsrc “IBM.Management server”

Q66) How to mirror an lv?

mklvcopy lvname no.of copies pvname

Q67) how to take rootvg mkssyb back up?

mksysb -iepmx /filesytemname/filename

Q68) what is the minimum size required to take rootvg backup?

3GB

Q69) what is capped and uncapped partition?

capped: processing capacity can never exceed the entitled capacity

uncapped: processing capacity can exceed entitled capacity

Q70) how to enable/disable smt?

smtctl -m on -w now

smtctl -m off -w now

Q71) what is T – Factor?

T – factor means that it will change the pp size to increase the efficiency of vg

by using t-factor incrases the pp’ per vg decrase the pp’s per pv

Q72) What will you do if a disk gets failed?

diag command

Q73) How to enable & disable quorum?

chvg –Qn vgname

chvg –Qs vgname

Q74) What are the types of error?

-H/W error -S/W error

-Operator error

-Unknown error.

Besant Technologies WhatsApp