Ibm Aix 7 Administration Placement Papers - Ibm Aix 7 Administration Interview Questions and Answers updated on 23.Jul.2024

Q1. How Do I Mirror A Logical Volume?

mklvcopy LogicalVolumeName Numberofcopies

syncvg VolumeGroupName

Q2. How Will U Append A File To A Previous Archive Take By Tar?

#tar -cvf /dev/rmt0

Q3. How To Unlock User Account?

chuser –a account=true username

Q4. What Are The Two States Of Installation?

Applied and commit state

In applied state if want to do any changes on installed software then we can do

But in commit the changes are not allowed to do. Once did installation.

A committed fileset update cannot be rejected.

Output from the installp -s command, which is used to get a list of applied software fileset updates and updates that are available to be either committed or rejected.

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

# lsvg vg name

Q6. What Is Vgda, Vgsa?

VGDA: Volume Group Descriptor Area. It contains the information about volume group to which the physical volume belongs to. It also contains the information about physical partitions, logical partitions and logical volumes.

VGSA: Volume Group Status Area it contains the information about physical partition from all physical volumes of the same volume group. It contains the status of VG.

Q7. How Can I Clone The 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.]

Q8. How Will You Check Whether Software Is Installed Or Not?

# lslpp -L |grep -i   (software_name)

Q9. What Is The Default Pp Size In Aix?

128MB

Q10. Types Of Installation?

  1. New and complete overwrite
  2. Migration
  3. Preservation

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

# cplv -v <new vm name> <sourcel name>

Q12. What Is Major Number?

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.

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

# errclear

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

Type one of the following: ifconfig -a or host Fully_Qualified_Host_Name. For example, host cyclop.austin.ibm.com.

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

To increase the size of the logical volume represented by the lv05 directory by three logical partitions, for example, type extendlv lv05 3.

Q16. How Do U Take Backup Of File Systems?

#backup -f /dev/rmt0

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

255 any no. of vg can create.

Q18. How Will You Change Ltg Size?

#rmdev -l hdiskx

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

#mkdev -l hdiskx

Q19. How Do I Create A 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,02@(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.

Q20. What Are The Error Levels Severity?

@permanent

@Temporary

@Informational

@Unknown.

Q21. What Are The Types Of Error?

1.H/W error

@S/W error

@Operator error

@Unknown error.

Q22. How Do I Create A Logical Volume?

#mklv -y name_of_logical_volume name_of_volume_group number_of_partition

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

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

Q24. What Are The Types Of Odm Database ?

Pre-defined database PdDv, PdAt
Customised database CuDv, CuAt

Q25. How Will U Restore A File From Already Take Backup Using Backup?

#restore -xvqf /dev/rmt0

Q26. Odm Commands.

odmcreate: To customize Odm

To remove ODM: odmdrop

odmdelete: To remove object from ODM

To see info in ODM  odmget

To change the fields in object class  odmchange

To add object to ODM odmadd

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

  1. Modify the /usr/lib/boot/unix directory and the /unix directory to be   a symbolic link to the binary for the desired kernel.
  2. Run the bosboot command to write a new system boot image.
  3. Reboot the system.

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)

Q28. What Is The Command To Increase The Size Of Error Log When It Is Full?

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

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

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

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

Q31. How Will You Rename A Vg?

Unmount all filesystems in VG.

# umount /test (mount point name)

#varyoffvg datavg

#exportvg datavg0

Importvg with new name

# importvg –y newvg hdisk4

Q32. Two States Of Device Availability And Explain Them?

Available state and defined state. When device is in defined state it me it cannot use. Not in ready state. Run cfgmgr try to make available known in the system that device. Available state me that device is ready to use

# lsdev –Cc disk

It displays which disks are available

Q33. Where Does Log Files Resides?

AIX logs messages as specified in /etc/syslog.conf file.

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

# errpt –a

# errpt –d H [H/W]

# errpt –d S [S/W]

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

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

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

To truly change the kernel to 64-bit from 32-bit, the system must be at the AIX® 5.1 or AIX 5.2levels.

# bootinfo –y

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

To truly change the kernel to 64-bit from 32-bit, the system must be at the AIX® 5.1 or AIX 5.2levels.

# bootinfo –y

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

To change to a 64-bit kernel, enter the following 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

Q37. Difference Between Jfs & Jfs2?

JFS:

JFS is normal filesystem. We cannot create large files in JFS.

Files can be access dynamically.

Max file system size=1TB
Max file size=64GB
Inode size=128b

JFS2:-

Can create a large size filesystems.

Files can be access accordingly as required. (not randomly or sequentially)

Max files system size=4PB
Max file size=4PB
Inode size=512

Q38. How To Enable & Disable Quorum?

  1. # chvg –vy pv_name
  2. # chvg –vn pv_name
  3. #chvg –Qn vgname
  4. #chvg –Qs vgname

Q39. How Will You Find The Inode Number?

# ls –li

# istat /etc/passwd

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

diag command

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

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 eaxample tr0, run the command ifconfig tr0.

Q42. How Will You Reject A Committed Fileset?

# installp –r –g fileset name

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

Q44. How Do I List Information About Logical Volumes?

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

Q45. How Do I Activate A Network Interface?

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

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

#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

Q47. How Will You Change A Pp Size?

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

# chvg –t3 rootvg

Q48. Mirroring Concept?

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 image
# 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
#bootlist –m normal hdisk2 hdisk1

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

#chvg –B vgname      /big vg

# chvg –S/-G vgname  /scale vg

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

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.