If you're looking for IBM AIX Interview Questions for Experienced or Freshers, you are in right place. There are a lot of opportunities from many reputed companies in the world. According to research IBM AIX has a market share of about 0.7%. So, You still have the opportunity to move ahead in your career in IBM AIX Administration. Mindmajix offers Advanced IBM AIX Interview Questions 2024 that help you in cracking your interview & acquire a dream career as an IBM AIX Administrator.
We have categorized IBM AIX Interview Questions into 2 levels they are:
If you want to enrich your career and become a professional in IBM AIX, then visit Mindmajix - a global online training platform: "IBM AIX Training" This course will help you to achieve excellence in this domain. |
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 the scalable volume group.
Use the following command, where 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.
You use the chvg command to change the characteristics of a volume group.
To increase the size of the logical volume represented by the lv05 directory by three logical partitions, for example, type extendlv lv05 3.
You can display all logical volumes that are part of rootvg by typing the following command: #lsvg -l rootvg/
Run the following command to display information about the logical volume #lv1: lslv lv1.
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.
extendvg VolumeGroupName hdisk_new
migratepv hdisk_bad hdisk_new
reducevg -d VolumeGroupName hdisk_bad
mklvcopy LogicalVolumeName Numberofcopies
syncvg VolumeGroupName
The no command sets or displays current or next boot values for network tuning parameters
Type one of the following: ifconfig -a or host Fully_Qualified_Host_Name. For example, host cyclop.austin.ibm.com.
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.
To activate the network interface tr0, run the command ifconfig tr0 up.
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.
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
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 filesystem.
Files can be accessed accordingly as required. (not randomly or sequentially)
Max files system size=4PB
Max file size=4PB
Inode size=512
ls –li
istat /etc/passwd
lsvg vgname
lquerypv –M hdiskname
rmdev -l hdiskx
chdev -l hdiskx -a max_transfer=0*80000
mkdev -l hdiskx
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 of already have disk having rootvg.
extendvg rootvg hdisk2
lsvg –p rootvg
Now mirror vg with background sync LV. It sync LVs in the background with new LVs
mirrorvg –s rootvg
Create a boot image
bosboot –ad /dev/hdisk2
bosboot –ad /dev/hdisk1
Add a blv
record of the newly added disk first checks and then add.
bootlist –m normal -o
bootlist –m normal hdisk2 hdisk1
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
PP size can be changed using a T-factor. If not then add partitions in VG by adding one disk.
T – factor means that it will change the pp size to increase the efficiency of vg
chvg –t16 datavg
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.
Unmount all filesystems in VG.
umount /test (mount point name)
varyoffvg datavg
exportvg datavg0
Importvg with new name
importvg –y newvg hdisk4
chvg –vy pv_name
chvg –vn pv_name
chvg –Qn vgname
chvg –Qs vgname
permanent
Temporary
Informational
Unknown.
errpt –a
errpt –d H [H/W]
errpt –d S [S/W]
startsrc –g [ Demon name ]
stopsrc [Demon name ]
refrest [Demon name ]
lssrc –al.
Available state and defined state. When the device is in a defined state it means it cannot use. Not in a ready state. Run cfgmgr try to make available known in the system that device. Available state means that device is ready to use
It displays which disks are available
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).
To truly change the kernel to 64-bit from 32-bit, the system must be at the AIX® 5.1 or AIX 5.2levels.
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.
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
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.
chvg –B vgname/big vg
chvg –S/-G vgname/scale vg.
VGDA: Volume Group Descriptor Area. It contains information about the volume group to which the physical volume belongs to. It also contains information about physical partitions, logical partitions, and logical volumes.
VGSA: Volume Group Status Area contains the information about physical partition from all physical volumes of the same volume group. It contains the status of VG
Applied and commit state.
In the applied state, if want to do any changes to installed software then we can do
But in the commit, the changes are not allowed to do. Once did the installation.
A committed fileset update cannot be rejected.
The output from the install -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.
Pre-defined database PdDv, PdAt.
Customised database CuDv, CuAt.
odmcreate: To customize ODM.
To remove ODM: odmdrop.
odmdelete: To remove the object from ODM.
To see info in ODM odmget.
To change the fields in object class odmchange.
To add the object to ODM odmadd.
New and complete overwrite
Migration
Preservation.
Explore IBM AIX Sample Resumes Download & Edit, Get Noticed by Top Employers! |
Our work-support plans provide precise options as per your project tasks. Whether you are a newbie or an experienced professional seeking assistance in completing project tasks, we are here with the following plans to meet your custom needs:
Name | Dates | |
---|---|---|
IBM AIX Training | Dec 24 to Jan 08 | View Details |
IBM AIX Training | Dec 28 to Jan 12 | View Details |
IBM AIX Training | Dec 31 to Jan 15 | View Details |
IBM AIX Training | Jan 04 to Jan 19 | View Details |
Ravindra Savaram is a Technical Lead at Mindmajix.com. His passion lies in writing articles on the most popular IT platforms including Machine learning, DevOps, Data Science, Artificial Intelligence, RPA, Deep Learning, and so on. You can stay up to date on all these technologies by following him on LinkedIn and Twitter.