YouTube Icon

Interview Questions.

Ibm Aix Placement Papers - Ibm Aix Interview Questions and Answers - Jul 28, 2022

fluid

Ibm Aix Placement Papers - Ibm Aix Interview Questions and Answers

Q1. How Do I Identify The Network Interfaces On My Server?

Either of the subsequent  commands will display the community interfaces: lsdev -Cc if or ifconfig -a. To get facts approximately one precise community interface, for eaxample tr0, run the command ifconfig tr0.

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

The no command sets or presentations modern-day or subsequent boot values for network tuning parameters.

Q3. How To Change A 64 Bit Kernel To 32 Bit Kernel?

Modify the /usr/lib/boot/unix directory and the /unix directory to be   a symbolic hyperlink to the binary for the preferred kernel.

Run the bosboot command to jot down a brand new device boot picture.

Reboot the gadget.

The course call 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 -advert /dev/ipldevice

# shutdown -Fr

# bootinfo -K (should now be 32)

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

Diag command

Q5. Default Secondary Dump Device?

/dev/sysdumpdevnull

Q6. What Are The Types Of Error?

H/W error

S/W error

Operator mistakes

Unknown mistakes.

Q7. Difference Between Jfs & Jfs2?

JFS: JFS is regular filesystem. We can not create big files in JFS.

Files may be get right of entry to dynamically.

Max report gadget length=1TB

Max report length=64GB

Inode size=128b

JFS2: Can create a big size filesystems.

Files can be get entry to as a result as required. (now not randomly or sequentially)

Max files machine size=4PB

Max file size=4PB

Inode size=512

Q8. What Is The Command To Start , Stop, Restart And List A Demon?

# startsrc –g [ Demon name ]

# stopsrc [Demon name ]

# refrest [Demon name ]

# lssrc –al

Q9. How Will You Find Whether A Quorum Is Up Or Not?

# lsvg vg call

Q10. Mirroring Concept?

Check disk length belong to vg , take  same length disk to mirror

# bootinfo –s hdisk2

#lsvg –p rootvg

Add one extra disk of equal length of have already got disk having rootvg.

# extendvg rootvg hdisk2

# lsvg –p rootvg

Now replicate vg with historical past sync LV. It sync LVs in heritage with new LVs

# mirrorvg –s rootvg

Create a boot picture

# bosboot –advert /dev/hdisk2

#bosboot –advert /dev/hdisk1

Add a blv

file of newly delivered disk, first check and then upload.

# bootlist –m normal -o

#bootlist –m everyday hdisk2 hdisk1

Q11. How Do I Increase The Size Of A Logical Volume?

To growth the scale of the logical quantity represented by way of the lv05 listing by means of three logical walls, for instance, type extendlv lv05 3.

Q12. How Will You Find The Inode Number?

# ls –li

# istat /etc/passwd

Q13. What Is The Command To See The Error Log?

# errpt –a

# errpt –d H [H/W]

# errpt –d S [S/W]

Q14. Default Dump Device?

Hd6

Q15. How Do I Mirror A Logical Volume?

Mklvcopy LogicalVolumeName Numberofcopies

syncvg VolumeGroupName

Q16. How To Change A 32 Bit Kernel To sixty four Bit Kernel?

To truly trade the kernel to 64-bit from 32-bit, the system must be on the AIX® 5.1 or AIX five.2levels.

# bootinfo –y

It suggests a kernel is both 32-bit or 64-bit.

To certainly exchange the kernel to 64-bit from 32-bit, the machine ought to be at the AIX® five.1 or AIX 5.2levels.

# bootinfo –y

It indicates a kernel is both 32-bit or 64-bit.

To exchange to a sixty four-bit kernel, enter the subsequent 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

Q17. Which File That Error Daemon Stay?

/usr/lib/errdemon

Q18. How To Convert A Normal Vg To Big & Scalable Vg And Also Big To Scalable Vg?

#chvg –B vgname    /huge vg

# chvg –S/-G vgname  /scale vg

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

You use the chvg command to exchange the characteristics of a extent institution.

Q20. How Will You Check Whether A Device Is Installed Or Not?

# lsdev –Cc disk

Q21. How Many Vgs Can Be Created In A Lvm?

255 any no. Of vg can create.

Q22. What Are The Error Levels Severity?

Everlasting

Temporary

Informational

Unknown.

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

#mkvg –y datavg –s 128 hdisk1 (pv call)

#mklv -y datalv –t jfs2 datavg 1

#crfs –v jfs2 –d datalv –g datavg –a length=10M –m /fs1

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

# cplv -v <new vg name> <sourcelvname>

Q25. How Will You Rename A Vg?

Unmount all filesystems in VG.

# umount /test (mount factor call)

#varyoffvg datavg

#exportvg datavg0

Importvg with new call

# importvg –y newvg hdisk4

Q26. How Will You Find Ltg Size?

#lsvg vgname

#lquerypv –M hdiskname

Q27. What Is Major Number?

A essential variety refers to a sort of device. A tool variety is a primary variety, and a minor number specifies a particular device of that type or occasionally the operation mode of that device kind.

Q28. How Do I Activate A Network Interface?

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

Q29. What Is The Default Pp Size In Aix?

128MB

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

Q31. What Is Vgda, Vgsa?

VGDA: Volume Group Descriptor Area. It contains the statistics about volume organization to which the physical volume belongs to. It additionally includes the statistics about physical walls, logical walls and logical volumes.

VGSA: Volume Group Status Area it carries the data about bodily partition from all bodily volumes of the same volume group. It includes the reputation of VG

Q32. How Will You Change A Pp Size?

PP size can be modified the use of a T-factor. If no longer then upload a partitions in VG through adding one disk.

# chvg –t3 rootvg

Q33. How Can I Clone The Rootvg?

You can run the alt_disk_copy command to duplicate the present day rootvg to an change disk. The following example shows the way to clone the rootvg to hdisk1: alt_disk_copy -d hdisk1.]

Q34. How Do I Display All Logical Volumes That Are Part Of A Volume Group (e,g, Rootvg)?

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

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

Type one of the following: ifconfig -a or host Fully_Qualified_Host_Name. For instance, host cyclop.Austin.Ibm.Com.

Q36. How To Enable & Disable Quorum?

# chvg –vy pv_name

# chvg –vn pv_name

#chvg –Qn vgname

#chvg –Qs vgname

Q37. How Will You Change Ltg Size?

#rmdev -l hdiskx

#chdev -l hdiskx -a max_trfer=0*80000

#mkdev -l hdiskx

Q38. How Do I Replace A Disk?

Extendvg VolumeGroupName hdisk_new

migratepv hdisk_bad hdisk_new

reducevg -d VolumeGroupName hdisk_bad

Q39. How Find A System Dump?

#sysdumpdev -L

Q40. How Do I Create A Logical Volume?

#mklv -y name_of_logical_volume name_of_volume_group number_of_partition

Q41. When Does Error Demon Start In Boot Process?

Rc.Boot section three

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

To show routing table records for an Internet interface, type netstat -r -f inet. To display interface statistics for an Internet interface, type netstat -i -f inet. To display information for every protocol, type netstat -s -f inet.

Q43. What Is The Command To Clear The Errorlog?

# errclear

Q44. How Do I List Information About Logical Volumes?

Run the following command to display information approximately the logical quantity #lv1: lslv lv1.

Q45. How Will You Unmirror A Vg If A Pv Gets Failed?

First test the blv record using,

# bootlist –m everyday –o

Remove the antique blv file, the use of

# chpv –c hdisk2

# bootlist –m normal hdisk1

# bootlist –m ordinary hdisk2

Now unmirrorvg

# unmirrorvg rootvg hdisk2

# reducevg rootvg hdisk2

#lsvg –p rootvg

# lspv

# bootlist –m regular –o

Q46. How Do I Create A Volume Group?

Use the following command, in which s partition_size units the variety of megabytes (MB) in every physical partition wherein the partition_size is expressed in units of MB from one via 1,02@(It’s one via 131,072 for AIX 5.3.)

mkvg -y name_of_volume_group -s partition_size list_of_hard_disks

The partition_size variable need to be same to a power of  (as an example: one, two, four or eight). The default price for fashionable and massive quantity agencies is the bottom value to stay within the quandary of 1,016 bodily partitions in line with physical quantity. The default cost for scalable extent organizations is the lowest price to house 2,040 physical partitions according to physical extent.

Q47. Two States Of Device Availability And Explain Them?

Available kingdom and described state. When tool is in defined country it me it cannot use. Not in prepared state. Run cfgmgr try to make available recognized inside the device that tool. Available kingdom me that tool is ready to use

# lsdev –Cc disk

It shows which disks are to be had

Q48. What Is The Command To Increase The Size Of Error Log When It Is Ful?

#usr/lib/errdemon –s ____ [ size ]

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

Run the lsvg command at the quantity organization and have a look at the cost for MAX PVs. The value is 32 for normal, 128 for massive and 1,024 for scalable extent institution.




CFG