YouTube Icon

Interview Questions.

Top 100+ Ibm Aix Interview Questions And Answers - May 31, 2020

fluid

Top 100+ Ibm Aix Interview Questions And Answers

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

Answer :

Run the lsvg command on the extent institution and examine the fee for MAX PVs. The price is 32 for everyday, 128 for massive and 1,024 for scalable quantity organization.

Question 2. How Do I Create A Volume Group?

Answer :

Use the following command, in which s partition_size sets the quantity of megabytes (MB) in every bodily partition wherein the partition_size is expressed in units of MB from one thru 1,024. (It’s one thru 131,072 for AIX 5.3.)

mkvg -y name_of_volume_group -s partition_size list_of_hard_disks

The partition_size variable should be equal to a energy of two (for example: one, two, four or eight). The default fee for widespread and big quantity businesses is the lowest price to remain in the quandary of 1,016 bodily partitions per bodily extent. The default price for scalable extent businesses is the bottom cost to house 2,040 physical walls according to physical quantity.

UNIX/XENIX Interview Questions
Question three. How Can I Change The Characteristics Of A Volume Group?

Answer :

You use the chvg command to trade the traits of a volume group.

Question 4. How Do I Create A Logical Volume?

Answer :

#mklv -y name_of_logical_volume name_of_volume_group number_of_partition

Unix/Linux Tutorial
Question five. How Do I Increase The Size Of A Logical Volume?

Answer :

To boom the size of the logical quantity represented by the lv05 directory with the aid of 3 logical partitions, for instance, type extendlv lv05 three.

LINUX/UNIX/SOLARIS Interview Questions
Question 6. How Do I Display All Logical Volumes That Are Part Of A Volume Group (e,g, Rootvg)?

Answer :

You can show all logical volumes which might be part of rootvg through typing the following command: #lsvg -l rootvg/

Question 7. How Do I List Information About Logical Volumes?

Answer :

Run the subsequent command to show information approximately the logical volume #lv1: lslv lv1.

Unix socket Tutorial Unix Inter-Process Communication (IPC) Interview Questions
Question eight. How Can I Clone The Rootvg?

Answer :

You can run the alt_disk_copy command to copy the present day rootvg to an trade disk. The following instance shows a way to clone the rootvg to hdisk1: alt_disk_copy -d hdisk1.]

Question 9. How Do I Replace A Disk?

Answer :

extendvg VolumeGroupName hdisk_new
migratepv hdisk_bad hdisk_new
reducevg -d VolumeGroupName hdisk_bad

Unix/Linux Interview Questions
Question 10. How Do I Mirror A Logical Volume?

Answer :

mklvcopy LogicalVolumeName Numberofcopies
syncvg VolumeGroupName
Unix makefile Tutorial
Question 11. How Can I Display Or Set Values For Network Parameters?

Answer :

The no command units or displays modern-day or subsequent boot values for community tuning parameters.

Unix socket Interview Questions
Question 12. How Do I Get The Ip Address Of My Machine?

Answer :

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

UNIX/XENIX Interview Questions
Question thirteen. How Do I Identify The Network Interfaces On My Server?

Answer :

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

Question 14. How Do I Activate A Network Interface?

Answer :

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

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

Answer :

To show routing table information for an Internet interface, kind netstat -r -f inet. To show interface records for an Internet interface, kind netstat -i -f inet. To show records for each protocol, kind netstat -s -f inet.

Unix Shell Scripting Interview Questions
Question sixteen. How Will You Create A File If A Disk Is Given To You?

Answer :

#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

Question 17. Difference Between Jfs & Jfs2?

Answer :

JFS: JFS is regular filesystem. We cannot create massive documents in JFS.

Files can be get right of entry to dynamically.
Max record system size=1TB
Max record size=64GB
Inode size=128b

JFS2: Can create a massive length filesystems.

Files can be access accordingly as required. (not randomly or sequentially)
Max documents machine length=4PB
Max file length=4PB
Inode size=512

Question 18. How Will You Find The Inode Number?

Answer :

# ls –li
# istat /and many others/passwd

LINUX/UNIX/SOLARIS Interview Questions
Question 19. How Will You Find Ltg Size?

Answer :

#lsvg vgname
#lquerypv –M hdiskname

Question 20. How Will You Change Ltg Size?

Answer :

#rmdev -l hdiskx
#chdev -l hdiskx -a max_transfer=zero*80000
#mkdev -l hdiskx

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

Answer :

# lsvg vg call

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

Answer :

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

Question 23. Mirroring Concept?

Answer :

Check disk size belong to vg , take two identical size disk to reflect

# bootinfo –s hdisk2
#lsvg –p rootvg

Add one more disk of equal size of have already got disk having rootvg.

# extendvg rootvg hdisk2
# lsvg –p rootvg

Now mirror vg with background sync LV. It sync LVs in historical past with new LVs

# mirrorvg –s rootvg

Create a boot photograph

# bosboot –advert /dev/hdisk2
#bosboot –advert /dev/hdisk1

Add a blv

report of newly brought disk, first check and then upload.

# bootlist –m ordinary -o
#bootlist –m everyday hdisk2 hdisk1

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

Answer :

First test the blv record the usage of,

# bootlist –m everyday –o

Remove the antique blv record, using

# chpv –c hdisk2
# bootlist –m normal hdisk1
# bootlist –m regular hdisk2

Now unmirrorvg

# unmirrorvg rootvg hdisk2
# reducevg rootvg hdisk2
#lsvg –p rootvg
# lspv
# bootlist –m normal –o

Unix Inter-Process Communication (IPC) Interview Questions
Question 25. How Will You Change A Pp Size?

Answer :

PP length can be modified the use of a T-issue. If no longer then add a walls in VG via including one disk.

# chvg –t3 rootvg

Question 26. T – Factor?

Answer :

T – aspect method that it'll exchange the pp size to boom the efficiency of vg

#chvg –t16 datavg

Cal-if suppose that datavg pp size is 1016 we are able to take t issue is 16 then it involves 2048 and pv consists of in vg is two.

Question 27. What Is The Default Pp Size In Aix?

Answer :

128MB

Unix/Linux Interview Questions
Question 28. How Will You Rename A Vg?

Answer :

Unmount all filesystems in VG.

# umount /test (mount factor name)
#varyoffvg datavg
#exportvg datavg0

Importvg with new call

# importvg –y newvg hdisk4

Question 29. What Is Major Number?

Answer :

A fundamental number refers to a kind of tool. A tool variety is a primary wide variety, and a minor wide variety specifies a specific device of that type or from time to time the operation mode of that tool kind.

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

Answer :

diag command

Question 31. How To Enable & Disable Quorum?

Answer :

# chvg –vy pv_name
# chvg –vn pv_name
#chvg –Qn vgname
#chvg –Qs vgname

Question 32. What Are The Types Of Error?

Answer :

H/W error
S/W blunders
Operator mistakes
Unknown error.
Question 33. What Are The Error Levels Severity?

Answer :

everlasting
Temporary
Informational
Unknown.
Unix socket Interview Questions
Question 34. What Is The Command To See The Error Log?

Answer :

# errpt –a
# errpt –d H [H/W]
# errpt –d S [S/W]

Question 35. What Is The Command To Clear The Errorlog?

Answer :

# errclear

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

Answer :

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

Unix Shell Scripting Interview Questions
Question 37. What Is The Command To Start , Stop, Restart And List A Demon?

Answer :

# startsrc –g [ Demon name ]
# stopsrc [Demon name ]
# refrest [Demon name ]
# lssrc –al

Question 38. When Does Error Demon Start In Boot Process?

Answer :

rc.Boot section three

Question 39. Which File That Error Daemon Stay?

Answer :

/usr/lib/errdemon

Question forty. Two States Of Device Availability And Explain Them?

Answer :

Available state and defined nation. When tool is in defined nation it means it can't use. Not in equipped kingdom. Run cfgmgr attempt to make available acknowledged within the gadget that tool. Available state way that tool is prepared to apply

# lsdev –Cc disk

It displays which disks are to be had

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

Answer :

# lsdev –Cc disk

Question 42. How To Change A 64 Bit Kernel To 32 Bit Kernel?

Answer :

Modify the /usr/lib/boot/unix directory and the /unix listing to be   a symbolic hyperlink to the binary for the desired kernel.
Run the bosboot command to put in writing a brand new machine boot picture.
Reboot the system.
The direction call of the 64-bit kernel is /usr/lib/boot/unix_64, and the route 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 (have to now be 32)

Question 43. How To Change A 32 Bit Kernel To sixty four Bit Kernel?

Answer :

To really alternate the kernel to 64-bit from 32-bit, the gadget ought to be on the AIX® 5.1 or AIX five.2levels.

# bootinfo –y

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

To surely trade the kernel to sixty four-bit from 32-bit, the system must be at the AIX® five.1 or AIX 5.2levels.

# bootinfo –y

It suggests a kernel is either 32-bit or sixty four-bit.

To trade to a 64-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 -advert /dev/ipldevice
# shutdown -Fr

Question forty four. How Many Vgs Can Be Created In A Lvm?

Answer :

255 any no. Of vg can create.

Question forty five. Types Of Vg & Explain About Them?

Answer :

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

Question forty six. How To Convert A Normal Vg To Big & Scalable Vg And Also Big To Scalable Vg?

Answer :

#chvg –B vgname    /big vg
# chvg –S/-G vgname  /scale vg

Question forty seven. What Is Vgda, Vgsa?

Answer :

VGDA: Volume Group Descriptor Area. It incorporates the records approximately extent institution to which the physical extent belongs to. It also consists of the facts about physical walls, logical partitions and logical volumes.

VGSA: Volume Group Status Area it contains the facts about bodily partition from all bodily volumes of the equal extent group. It carries the status of VG

Question forty eight. Default Dump Device?

Answer :

hd6

Question 49. Default Secondary Dump Device?

Answer :

/dev/sysdumpdevnull

Question 50. How Find A System Dump?

Answer :

#sysdumpdev -L




CFG