- How to enable & disable quorum? …
- What are the error levels severity? …
- What is the command to see the error log? …
- What is the command to clear the error log? …
- What is the command to increase the size of the error log when it is full?
AIX is a series of proprietary Unix operating systems developed and sold by IBM for several of its computer platforms.It is typically used for enterprise servers and comes with a robust set of security options such as Kerberos V5 network authentication and dynamic secure tunnel authentication. AIX allows the system administrator to divide memory, CPU, and disk access between various jobs.
Run the lsvg command on the volume group and look at the value for MAX PVs. The value is 32 for normal, 128 for big and 1,024 for scalable volume group.
Use the following command, where s partition_size sets the number of megabytes (MB) in each physical partition where the partition_size is expressed in units of MB from one through 1,024. (It’s one through 131,072 for AIX 5.3.)
The partition_size variable must be equal to a power of two (for example: one, two, four or eight). The default value for standard and big volume groups is the lowest value to remain within the limitation of 1,016 physical partitions per physical volume. The default value for scalable volume groups is the lowest value to accommodate 2,040 physical partitions per physical volume.
To increase the size of the logical volume represented by the lv05 directory by three logical partitions, for example, type extendlv lv05 3.
6. How Do I Display All Logical Volumes That Are Part Of A Volume Group (e,g, Rootvg)?
You can display all logical volumes that are part of rootvg by typing the following command: #lsvg -l rootvg/
You can run the alt_disk_copy command to copy the current rootvg to an alternate disk. The following example shows how to clone the rootvg to hdisk1: alt_disk_copy -d hdisk1.]
Either of the following two commands will display the network interfaces: lsdev -Cc if or ifconfig -a. To get information about one specific network interface, for example tr0, run the command ifconfig tr0.
To display routing table information for an Internet interface, type netstat -r -f inet. To display interface information for an Internet interface, type netstat -i -f inet. To display statistics for each protocol, type netstat -s -f inet.
PP size can be changed using a T-factor. If not then add a partition in VG by adding one disk.
T – factor means that it will change the pp size to increase the efficiency of vg
Cal-if suppose that datavg pp size is 1016 we can take t factor is 16 then it comes to 2048 and pv contains in vg is 2.
A major number refers to a type of device. A device number is a major number, and a minor number specifies a particular device of that type or sometimes the operation mode of that device type.
2014 11 24 10 02 Unix AIX Interview Questions by Sr Interview Panelist
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.
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.
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 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 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:
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
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.
#passwd
chvg -Qn
After login into the HMC on the top we can see the
From the mksysb file we can restore file by using the below command:
#restore -xvf
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
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=
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
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
-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 -p
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
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/
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
If you want to activate particular subsystem you can activate using below command
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 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
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_diks_install,s 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.spot Q39) How to recreate /etc/niminfo file or server side and client side?
in nim server we can recreate using below.
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
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.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 –Qs vgname Q74) What are the types of error?
The path name of the 64-bit kernel is /usr/lib/boot/unix_64, and the path name of the multiprocessor versions of the 32-bit kernel is /usr/lib/boot/unix_mp. # ln -sf /usr/lib/boot/unix_mp /unix # ln -sf /usr/lib/boot/unix_mp /usr/lib/boot/unix # lslv -m hd5 # bosboot -ad /dev/ipldevice # shutdown -Fr # bootinfo -K (should now be 32)
Check disk size belong to vg , take two same size disk to mirror # bootinfo –s hdisk2 #lsvg –p rootvg Add one more disk of same size of already have disk having rootvg. # extendvg rootvg hdisk2 # lsvg –p rootvg Now mirror vg with background sync LV. It sync LVs in background with new LVs # mirrorvg –s rootvg Create a boot # bosboot –ad /dev/hdisk2 #bosboot –ad /dev/hdisk1 Add a blv record of newly added disk, first check and then add. # bootlist –m normal -o
TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills .
AIX(Advanced Interactive eXecutive) is a series of proprietary Unix operating systems developed and sold by IBM for several of its computer platforms. Originally released for the IBM 6150 RISC workstation, AIX now supports or has supported a wide variety of hardware platforms, including the IBM RS/6000 series and later IBM POWER and PowerPC-based systems, IBM API Bangalore System i, System/370 mainframes, PS/2 personal computers, and the Apple Network Server. AIX is based on UNIX System V with 4.3BSD-compatible extensions. It is one of four commercial operating systems that are presently certified to The Open Groups UNIX 03 standard (The others are Mac OS X, Solaris and HP-UX.)
First check the blv record using, # bootlist –m normal –o Remove the old blv record, using # chpv –c hdisk2 # bootlist –m normal hdisk1 # bootlist –m normal hdisk2 Now unmirrorvg # unmirrorvg rootvg hdisk2 # reducevg rootvg hdisk2 #lsvg –p rootvg # lspv # bootlist –m normal –o
If you are an IBM Product Expert then this is for you. Let us know if you looking for a job change? Then do not worry, we’ve a right answer for your job interview preparation. If you are preparing for IBM AIX job interview and don’t know how to crack interview then go through Wisdomjobs interview questions and answers page to crack your job interview. IBM AIX job requires the candidates to understand the structure of AIX and its functionalities. AIX is based on UNIX System developed by IBM. There are several versions in AIX. Mainframe guys use this mostly for their work Below are the IBM AIX interview questions and answers which makes you comfortable to face the interviews:
We help you to choose the right Python career Path at myTectra. Here are the top courses in Python one can select. Learn More →
FAQ
Is AIX a operating system?
Is IBM AIX an operating system?
What is AIX server used for?