Here, we highlight some typical inquiries you might encounter during a job interview for an IBM-related position. Top IBM AIX Interview Questions and Answers All the best for your interview Preparation.
- How will you convert the jfs filesystem to jfs2 filesystem?
- What procedure do you follow while migration?
- Nimadm consist of how many steps?
- What is difference between Etherchannel and link aggregation?
- In Ether channel one switch goes bad, what happen?
2014 11 24 10 02 Unix AIX Interview Questions by Sr Interview Panelist
AIX L2 and L3 Interview Questions
Top 10 Frequently Asked IBM AIX Interview Questions
If you want to enrich your career and become a professional in IBM AIX, then visit Mindmajix – a global online training platform: “IBM AIX Training” This course will help you to achieve excellence in this domain. |
AIX Interview Questions and answers
AIX Interview Questions and answers for beginners and experts. Frequently Asked AIX Interview Questions and Besant Technologies’s responses We sincerely hope that these AIX Interview Questions and Answers will be helpful and assist you in obtaining the best job in the networking industry. Based on the expectations of MNC Companies, this AIX Interview Questions and Answers were created by AIX Professionals. Keep checking back as we frequently update New AIX Interview questions and answers. If you want to learn Practical AIX Training.
For job placement and employment purposes, Besant Technologies supports students by providing AIX Interview Questions and Answers. Because there are more job openings for this course, it pays well, and there are more jobs related to it, AIX is currently the most important course. Through the Gangboard platform, we also offer all students worldwide AIX online training. These are the best AIX Interview Questions and Answers, created by the knowledgeable trainers at our institute.
Here is a list of the questions and answers to the most common AIX interview questions. These inquiries and responses are appropriate for all levels of learners, including beginners and seasoned professionals. Although the questions are intended for intermediate to somewhat advanced AIX professionals, even a beginner or fresher should be able to understand the explanations and answers provided here. Q1) How to do the TL/SP upgradation of a server?.
There are two techniques we can use to upgrade a server’s TL/SP. Method: I select the appropriate OS level and download the TL/SP package from IBM’s Fix Central website. Keep it in a shared directory. So that it can be accessible by all the LPARs. Collect the necessary prechecks and a good OS copy ie. mksysb of the server. Alternately, we can use “smit alt_clone” to copy the main disk to a rootvg secondary alternate disk. So that if there is a problem after patching, it can be fixed quickly by starting the server from a backup disk. Reset the root password. Go to the location where you kept the packages now. And run “smitty update_all”. It will take few minutes to patch the server. Once you get the “OK” prompt, Reboot the server. Once the server is operational, check the OS level and perform the required post check verifications. Method: II This follows the whole activity through NIM server. Download the OS from the IBM website. Keep it in NIM server. Create the lpp_source and spot resources in the NIM Server. After that, use “smitty nim_update_all” to choose the client or lpar you want to patch. Once you get the “OK” prompt reboot the client server. Check the OS level once the server has started, then perform the required 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 execute alt_disk_install, it also secretly executes alt_disk_copy. Q3) Which fundamental file sets are required for the alt_clone operation?
We must confirm that the file sets listed below are present on the server for the alt_clone operation before moving forward with it:
bos. alt_disk_install. rte 7. 2. 3. Q4) How do we fix a broken disk in rootvg? 0 COMMITTED Alternate Disk Installation
For this, we must obtain a new luns from the Storage team that is either larger than or equal in size to the good copy currently present on the rootVG disk. If we have two rootvg disks and one disk fails, we can then proceed as follows:
Q5) A vulnerability has been reported for a package that is installed on the server. #cfgmgr #lspv #extendvg rootvg #migratepv #reducevg -d rootvg #mirrorvg -S What action do we need to take? .
We must look for the IBM APAR that was made available for the software product. If so, download it and install it on the server using the “emgr” command. Q6) How to recover the root password?.
The server must be started from a bootable CD or DVD. From there, we can select to start it in system recovery mode by going to the Installation & Maintenance Menu option. From there we can reset the root password.
#passwd Q7) For a mirrored volume group, the administrator wants to make sure that even if one disk fails, the group will still be operational. What command should they run to verify this?
chvg -Qn
Once logged in to the HMC, we can see the Q9) How do we recover just one file from the mksysb file?
The following command can be used to restore a file from the mksysb file:
#restore -xvf . // Q10: How can we determine which processes are using the most resources?
The following AIX procedures can be used to determine which processes use the most resources:
From the “nmon analyzer,” we can learn the specifics of the processes. #top: command that provides a live update of the processes and their resource usage How do I rename a vgname? #ps -ef #svmon -Put 5.
To re-name a VG here is the procedure:
Disks will display as allocated to a VG in the following ways: #lspv #varyoff #exportvg #lspv -> Here the disks will display as none, meaning they are not allocated to any VG; #importvg -y hdisk* #lspv -> Here the new VG name will be displayed.
VG had to be offline for this operation to be performed Q12: How can a client server interact with the NIM server?
The “niminfo” file enables communication between the client server and the master NIM server.
In the client server generate the NIMINFO file:
Q13) How do I determine a server’s MAC address? #niminit -a master= -a name=’uname -n’
The MAC address can be found in the “Address” column of the “netstat -ia” command. Q14) What command do we use when an IBM engineer asks about collecting the logs?
To collect the system log “snap -gc” command. Q15) How can we do OS Upgradation?.
The “nimadm” command can be used to upgrade the operating system.
#nimadm -j nimadmvg -c
After completing its 12 steps, the OS is successfully upgraded. What steps are involved in changing the Network card speed on AIX?
The steps listed below can be used to change the network card speed:
#chdev -l en0 -a state=detach –> Detach the interface
#chdev -l ent0 -a media_speed=1000_Full_Duplex –> Make appropriate changes
Change the step to UP using the command: #chdev -l en0 -a state=up [NOTE: Ifconfig enX up will result in an IP address of 0]. 0. 0. 0] #mkdev -l inet0 -> to enable all routes Q17) Command to determine a server’s true memory?
Here is the command to determine a server’s actual memory:
Q18) How can we obtain the specific details of my server? #lsattr -EL sys0 -a realmem
The commands listed below can be used to obtain a server’s detailed information:
#prtconf #lscfg -vpl
-v: Shows the essential product information (VPD) located in the specialized VPD object class.
-p : Displays platform-specific device information. How can I determine my hard drive’s maximum supported logical track group (LTG) size?
You can use the “lquerypv” command with the -M flag. The output gives the LTG size in KB.
Q20) How can I determine whether or not my file system is corrupted? #/usr/sbin/lquerypv -M hdisk*
If so, how can it be restored to its most recent state?
Here is the procedure to recover a currupted file system:
#fsck -p
We can online allocate more CPU, memory, IO, and adapters for a server by using DLPAR operation. Navigate to HMC, Frame, LPAR, Right-click, DLPAR operation, and then (pick your desired operation).
DLPAR operation won’t function if the Maximum resources limit set for a LPAR is reached, and a server downtime is required. How can a LPARS FC adapter be mapped to the VIO physical adapter?
Here is the procedure of mapping:
Execute the command on both VIOs with $vfcmap -vadpater vfchost* -fcp fcs*. To check whether the mapping for the corresponding client lapar is accurate or not, run the “lsmap -all -npiv” command. Run “cfgmgr” on the LPAR and then “lsdev -Cc adapter” to check the status. Q23) What is quorum?
LVM uses the validation technique known as quorum to address data corruption. Quorum checking is conducted using the VGDA data that is available in VG. For a quorum check to be considered valid, more than 51% of votes must be cast.
The command “lsvg Q24” can be used to check the quorum information. How do we change the file size limit to unlimited?
The steps to change the file size limit to unlimited are as follows:
#unlimit -f -> To check the current file size limit
Q25) How do I enable the paging space? #vi /etc/security/limits: set the “fsize=-1” in the default option.
Here is the procedure to activate the paging space:
Q26) What is the difference between TL and ML? #lsps -a -> Current paging space size #smitty mkps -> To add paging space #swapon /dev/
TL: technology level
Ml: Maintenance level Q27) Would you kindly explain the entire NFS configuration scenario?
NFS stands for network filesystem, and it allows us to compare files between servers.
We need to configure NFS using below
If the nfs subsystem is not active, the command below must be used to make it active: lssrc -g nfs
You can use the following command to activate a specific subsystem.
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
If the failed disk is mirrored, we must unmirror it and lower the volume from rootvg.
and file a PMR with the site engineer. He will replace the disk, extend the new disk to the existing root volume group, and mirror the root volume group. Question 29) When I try to add a new disk to an existing volume group, it appears to have conflicts. What could be the cause? ?.
Q30) How do you rename a volume group? That new disk’s PVID conflicts with another disk.
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
Following that, we must mount the filesystem and varyon vg. Q31) What are the different types of volume groups in Aix?
What is the difference between normal, big, and scalable graphics?
32 disks, 256 LVs, maximum pps per VG, 32 512
Bigvg :128 disks 512 lvs 130048
Scalablevg: 1024 disks, 4096 virtual machines, and 2097152 Q33) How do you check the complete filesystem information?
Lsfs -q Q34) Oracle team is requesting the root cause of an unexpected reboot of one of the database servers.
You need to check the logs in /etc/syslog. errpt | more conf, typically all aix logs are stored in this file, if not, you can check in
Q35) When I am trying to increase the filesytem but am unable to do so, what could be the cause? You can still raise a PMR with the IBM team if you want more information.
Q36) What is paging space? There are no free pp’s in the volume group, so we need to extend the lp’s per lv.
When ram memory is ever insufficient to load new programs, waiting processes that are already running in paging space move in. Q37) How do you perform TL upgradation in your environment and describe the process?
TL upgaradation performing in 3 ways
We need an additional disk for the altdisk method that is at least as large as the rootvg disk.
Some filesets also need to install
Bos. Alt_diks_install,s Q38) How do you configure NIM server?
The nim server filesets listed below must be installed before the nim server can be configured.
Bos. sysmgt. nim. How do I recreate the server and client sides of the /etc/niminfo file?
in nim server we can recreate using below.
On client side we can create like below
What are the subsystems for the nim server? Niminit -v -a master=server -a client=hostname -a nimsh
We can check how to configure the client machine from the nim server using the command lssrc -g nim Q41) by using the instructions below.
perform nim administration tasks by going to the smitty nim path Q42) What are the TL versions in your current environment?
aix 7. What is the difference between jfs and jfs2? (2 tl02 sp02 Q43)
we can decrease filesytem in jfs2
We are unable to reduce the filesystem in FS Q44; why is the user unable to log in to the server?
Q45) How do you add ip aliasing and del alias? account got expired, or need to check if the account is locked or not, need to check unsuccessful login account in lsuser -f username.
Q46) How do you set up ASM disks for ORACLE? chdev -l eno -a alias4=ip,subnetbask
After retrieving the disk from storage, the server must run cfgmgr.
Next, we must locate the disk’s major and minor numbers in /dev.
Mknoc –C majorno. Minor no. Q47) Have you ever moved an operating system 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
Q48) When I’m Trying To Login Server, It Showing As Fork Error Or System Got Hung What May Be The Reason? Aix Migration Is Happening In 12 Steps.
We must log in to the console and use the command lsps -s to check the server’s paging space.
And in order to prevent a houg or fork error, we need to increase the paging. Q49) What is the syntax for oslevel -s?
What is a DLPAR operation, and how can you tell whether a server is supporting DLPAR operations or not? osversion, tl version, sp version, week, and year of release Q50)
We can add, remove, and move the resource from one server to another using DLPAR.
We can determine whether a server has dlpar capability using the command below.
Lspartition –dlpar Q51) What are the port no. for ftp, ssh, telnet, smtp, nfs, pop3?.
How do you change from regular vg to bigvg using ftp-21, ssh-22, telnet-23, smtp-25, ns-2049, pop3-110, and question 52?
Using the below algorithm, you can convert regular video to big video online.
How do I manually install the missing filesets using Chvg -B vgname Q53?
Q54) What is the difference between applied and committed? Installp -acgxy fileset name filesetpath name
Application means it will continue to support both the old and new versions.
It will only maintain the most recent version if it is committed. Q55) How to apply commited filesets?
Q56) How do you check the cluster version in power ha? Install -C all
What are the cluster states in power HA? Lssrc -ls clstrmgrES
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 is aware of Aix’s potential, but what about Q59? How do you move a resource group from one node to another?
How do I list the RG information in a cluster? /usr/es/sbin/cluster/bin/clRGmove -G rgname -n node -m Q60)
/usr/es/sbin/cluster/bin/clRGinfo Q61) What is init tab stanza?
What is the default run level in aix? identifier: runlevel: action: command Q62)
2 Q63) How to check the run level in aix?
cat /etc/init. state Q64) How do I check the user’s CPU and paging usage?
topas, svmon -G Q65) How do you find the server’s hmc IP address?
lsrsrc “IBM.Management server” Q66) How to mirror an lv?
mklvcopy lvname no. how to take rootvg mkssyb back up of copies pvname Q67)?
What is the minimum size needed to take a rootvg backup? mksysb -iepmx /filesytemname/filename Q68)
3GB Q69) what is capped and uncapped partition?
capped: processing capacity can never exceed the entitled capacity
Uncapped: Processing capacity may exceed the entitled capacity of Question 70.
smtctl -m on -w now
Q71) What is T-Factor? smtctl -m off -w now
T-factor denotes that it will alter the pp size in order to boost vg efficiency.
By using the t-factor, the pp’ per vg and pp’s per pv are increased and decreased, respectively. Q72) What will you do if a disk fails?
diag command Q73) How to enable & disable quorum?
chvg –Qs vgname Q74) What are the types of error?