IBM AIX scenario based and troubleshooting interview questions

Latest IBM AIX scenario based interview questions
  • 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?

AIX L2 and L3 Interview Questions

  • What is the configuration file for paging device ?
  • What is Audit file and location ?
  • How to activate the paging ?
  • How to configure the primary dump ?
  • How to delete the sysdump ?
  • If one Ethernet adapter fails, How do you replace it in vios server ?
  • In NPIV, 4 port adapter are there and one port fails, how do you replace the adapter ?
  • What are the policy in HACMP ?
  • In HACMP the node is working fine, Did some changes in cluster and synchronized it but it fails and i dont have previous snapshot, How do you get back to normal or previous configuration ?
  • In HACMP synchronisation fails but it was locked with synchronisation how to release the lock ?
  • Auto mount file which file read ?
  • How to set password which never expire ?
  • How to move I/O adapter which is in desired mode from one lpar to another lpar ?
  • What are the deamons for DLPAR ?
  • How to check if the DLPAR is working or not ?
  • What is capped & uncapped ?
  • What is virtual processor ?
  • How to create hmc user ?
  • How to login into pesh shell in hmc ?
  • What is hscpe in hmc ?
  • How to do offline with snapshot migration ?
  • When try to Synchronising HACMP i got error , after i rectify that again ill try to Synchronize but again i get error , How do you troubleshoot this ?
  • How to rollback to my pervious configuration without snapshot ?
  • One file system mounted in nfs , one client can read and another client cant write anything what is the reason ?
  • How will your datavgname ?
  • Course Offer Triple Bonanza Offer – Upto 20% Off + 15% Cashback Course Free | OFFER ENDING IN :

    aix scenario based interview questions

    aix scenario based interview questions

    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.

    1. How Do I Know If My Volume Group Is Normal, Big, Or Scalable?

    Ans:

    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.

    2. How Do I Create A Volume Group?

    Ans:

    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.)

  • mkvg -y name_of_volume_group -s partition_size list_of_hard_disks
  • 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.

    3. How Can I Change The Characteristics Of A Volume Group?

    Ans:

    You use the chvg command to change the characteristics of a volume group.

    4. How Do I Create A Logical Volume?

    Ans:

  • #mklv -y name_of_logical_volume name_of_volume_group number_of_partition
  • 5. How Do I Increase The Size Of A Logical Volume?

    Ans:

    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)?

    Ans:

    You can display all logical volumes that are part of rootvg by typing the following command: #lsvg -l rootvg/

    7. How Do I List Information About Logical Volumes?

    Ans:

    Run the following command to display information about the logical volume #lv1: lslv lv1.

    8. How Can I Clone The Rootvg?

    Ans:

    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.]

    9. How Do I Replace A Disk?

    Ans:

  • extendvg VolumeGroupName hdisk_new
  • migratepv hdisk_bad hdisk_new
  • reducevg -d VolumeGroupName hdisk_bad
  • 10. How Do I Mirror A Logical Volume?

    Ans:

    mklvcopy LogicalVolumeName Number Of Copies

    11. How Can I Display Or Set Values For Network Parameters?

    Ans:

    The no command sets or displays current or next boot values for network tuning parameters

    12. How Do I Get The Ip Address Of My Machine?

    Ans:

    Type one of the following:

  • ifconfig -a or host Fully_Qualified_Host_Name. For example, host cyclop.austin.ibm.com.
  • 13. How Do I Identify The Network Interfaces On My Server?

    Ans:

    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.

    14. How Do I Activate A Network Interface?

    Ans:

    To activate the network interface tr0, run the command ifconfig tr0 up.

    15. How Do I Display Routing Table, Interface And Protocol Information?

    Ans:

    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.

    16. How Will You Create A File If A Disk Is Given To You?

    Ans:

  • #mkvg –y datavg –s 128 hdisk1 (pv name)
  • #mklv -y datalv –t jfs2 datavg 1
  • #crfs –v jfs2 –d datalv –g datavg –a size=10M –m /fs1
  • 17. Difference Between Jfs & Jfs2?

    Ans:

    JFS:

  • JFS is a normal filesystem. We cannot create large files in JFS.
  • Files can be accessed dynamically.
  • Max file system size=1TB
  • Max file size=64GB
  • Inode size=128b
  • JFS2:-

  • Can create a large size filesystems.
  • Files can be accessed accordingly as required. (not randomly or sequentially)
  • Max files system size=4PB
  • Max file size=4PB
  • Inode size=512
  • 18. How Will You Find The Inode Number?

    Ans:

  • # ls –li
  • # istat /etc/passwd
  • 19. How Will You Find Ltg Size?

    Ans:

    20. How Will You Change Ltg Size?

    Ans:

  • #rmdev -l hdiskx
  • #chdev -l hdiskx -a max_transfer=0*80000
  • #mkdev -l hdiskx
  • 21. How Will You Find Whether A Quorum Is Up Or Not?

    Ans:

    22. How To Copy A Lv From One Vg To Another?

    Ans:

  • # cplv -v
  • 23. Explain Mirroring Concept?

    Ans:

    Check disk size belong to vg , take two same size disk to mirror

  • # bootinfo –s hdisk2
  • #lsvg –p rootvg
  • Add one more disk of the same size or already have a disk having rootvg.

  • # extendvg rootvg hdisk2
  • # lsvg –p rootvg
  • Now mirror vg with background sync LV. It sync LVs in background with new LVs

  • # bosboot –ad /dev/hdisk2
  • #bosboot –ad /dev/hdisk1
  • record of newly added disk, first check and then add.

  • # bootlist –m normal -o
  • #bootlist –m normal hdisk2 hdisk1
  • 24. How Will You Unmirror A Vg If A Pv Gets Failed?

    Ans:

    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
  • # unmirrorvg rootvg hdisk2
  • # reducevg rootvg hdisk2
  • #lsvg –p rootvg
  • # lspv
  • # bootlist –m normal –o
  • 25. How Will You Change A Pp Size?

    Ans:

    PP size can be changed using a T-factor. If not then add a partition in VG by adding one disk.

    26. T – Factor?

    Ans:

    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.

    27. What Is The Default Pp Size In Aix?

    Ans:

    28. How Will You Rename A Vg?

    Ans:

    Unmount all filesystems in VG.

  • # umount /test (mount point name)
  • #varyoffvg datavg
  • #exportvg datavg0
  • # importvg –y newvg hdisk4
  • 29. What Is the Major Number?

    Ans:

    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.

    30. What Will You Do If A Disk Gets Failed?

    Ans:

    aix scenario based interview questions

    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 #migratepv #reducevg -d rootvg #mirrorvg -S 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.

    #passwd 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 Q8) How to check the HMC version?

    After login into the HMC on the top we can see the . Q9) How can we restore a single file from the mksysb file?

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

    #restore -xvf .// 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 #exportvg #lspv -> Here the disks will be showing none means not allocated to any VG #importvg -y 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= -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 -s -l -d -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 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 -p 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 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/ 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

    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?

    Formats disponiblesDOCX, PDF, TXT ou lisez en ligne sur Scribd

    aix scenario based interview questions

    Related Posts

    Leave a Reply

    Your email address will not be published.