InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What Command To Restore Backup Of Non – Rootvg? |
|
Answer» # restvg –x –d –f /dev/rmt0 # restvg –x –d –f /dev/rmt0 |
|
| 2. |
What Command To Take Backup Other Vg’s? |
|
Answer» # savevg –if /dev/rmt0 /VGNAME # savevg –if /dev/rmt0 /vgname |
|
| 3. |
How Will U Append A File To A Previous Archive Take By Tar? |
|
Answer» #tar -cvf /dev/rmt0 |
|
| 4. |
How Will U Restore A File From Already Take Backup Using Backup? |
|
Answer» #RESTORE -xvqf /dev/rmt0 #restore -xvqf /dev/rmt0 |
|
| 6. |
How To Lock A User’s Account? |
|
Answer» #chuser account_lock=true USERNAME #chuser account_lock=true username |
|
| 7. |
How To Unlock User Account? |
|
Answer» chuser –a account=true USERNAME chuser –a account=true username |
|
| 8. |
Where Does Log Files Resides? |
|
Answer» AIX LOGS MESSAGES as SPECIFIED in /etc/syslog.conf FILE. AIX logs messages as specified in /etc/syslog.conf file. |
|
| 9. |
Types Of Installation? |
| Answer» | |
| 10. |
Odm Commands. |
|
Answer»
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 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 |
|
| 11. |
What Are The Types Of Odm Database ? |
|
Answer» Pre-defined DATABASE PdDv, PdAt Pre-defined database PdDv, PdAt |
|
| 12. |
How Will You Check Whether Software Is Installed Or Not? |
|
Answer» # lslpp -L |GREP -i (software_name) # lslpp -L |grep -i (software_name) |
|
| 13. |
How Will You Reject A Committed Fileset? |
|
Answer» # installp –r –g fileset name |
|
| 14. |
What Are The Two States Of Installation? |
|
Answer» 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. 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. |
|
| 15. |
What Is Vgda, Vgsa? |
|
Answer» 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. 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. |
|
| 16. |
How To Convert A Normal Vg To Big & Scalable Vg And Also Big To Scalable Vg? |
|
Answer»
# chvg –S/-G vgname /SCALE vg #chvg –B vgname /big vg # chvg –S/-G vgname /scale vg |
|
| 17. |
Types Of Vg & Explain About Them? |
|
Answer»
# 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 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 |
|
| 18. |
How Many Vgs Can Be Created In A Lvm? |
|
Answer» 255 any no. of vg can create. |
|
| 19. |
How To Change A 32 Bit Kernel To 64 Bit Kernel? |
|
Answer» 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 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 |
|
| 20. |
How To Change A 64 Bit Kernel To 32 Bit Kernel? |
Answer»
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. 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. |
|
| 21. |
How Will You Check Whether A Device Is Installed Or Not? |
|
Answer» # lsdev –Cc DISK # lsdev –Cc disk |
|
| 22. |
Two States Of Device Availability And Explain Them? |
|
Answer» Available state and defined state. When device is in defined state it means it cannot use. Not in ready state. Run CFGMGR TRY to make available known in the system that device. Available state means that device is ready to use # lsdev –Cc DISK It DISPLAYS which DISKS are available Available state and defined state. When device is in defined state it means it cannot use. Not in ready state. Run cfgmgr try to make available known in the system that device. Available state means that device is ready to use # lsdev –Cc disk It displays which disks are available |
|
| 23. |
Which File That Error Daemon Stay? |
|
Answer» /usr/lib/errdemon /usr/lib/errdemon |
|
| 25. |
What Is The Command To Start , Stop, Restart And List A Demon? |
|
Answer»
# stopsrc [DAEMON name ] # REFRESH [Demon name ] # lssrc –al # startsrc –g [ Demon name ] # stopsrc [Daemon name ] # refresh [Demon name ] # lssrc –al |
|
| 26. |
What Is The Command To Increase The Size Of Error Log When It Is Full? |
|
Answer» #usr/lib/errdemon –s ____ [ SIZE ] #usr/lib/errdemon –s ____ [ size ] |
|
| 27. |
What Is The Command To Clear The Error Log? |
|
Answer» # errclear # errclear |
|
| 28. |
What Is The Command To See The Error Log? |
|
Answer» # errpt –a # errpt –d H [H/W] # errpt –d S [S/W] # errpt –a # errpt –d H [H/W] # errpt –d S [S/W] |
|
| 29. |
What Are The Error Levels Severity? |
|
Answer» 1. permanent 4. Unknown. 1. permanent 2. Temporary 3. Informational 4. Unknown. |
|
| 30. |
What Are The Types Of Error? |
|
Answer» 1.H/W error 2. S/W error 3. OPERATOR error 4. Unknown error. 1.H/W error 2. S/W error 3. Operator error 4. Unknown error. |
|
| 31. |
How To Enable & Disable Quorum? |
Answer»
|
|
| 33. |
What Is Major Number? |
|
Answer» 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. 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. |
|
| 34. |
How Will You Rename A Vg? |
|
Answer» UNMOUNT all FILESYSTEMS in VG. # UMOUNT /test (mount POINT name) #varyoffvg datavg #exportvg datavg0 Importvg with new name # importvg –y newvg hdisk4 Unmount all filesystems in VG. # umount /test (mount point name) #varyoffvg datavg #exportvg datavg0 Importvg with new name # importvg –y newvg hdisk4 |
|
| 35. |
What Is The Default Pp Size In Aix? |
|
Answer» 128MB 128MB |
|
| 36. |
T – Factor? |
|
Answer» 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. 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. |
|
| 37. |
How Will You Change A Pp Size? |
|
Answer» PP size can be CHANGED using a T-factor. If not then add a partitions in VG by ADDING one disk. # chvg –t3 rootvg PP size can be changed using a T-factor. If not then add a partitions in VG by adding one disk. # chvg –t3 rootvg |
|
| 38. |
How Will You Unmirror A Vg If A Pv Gets Failed? |
|
Answer» First check the blv record USING, # bootlist –m NORMAL –o Now unmirrorvg # unmirrorvg rootvg hdisk2 First check the blv record using, # bootlist –m normal –o Now unmirrorvg # unmirrorvg rootvg hdisk2 |
|
| 39. |
Mirroring Concept? |
|
Answer» Check disk size belong to vg , take two same size disk to mirror # bootinfo –s hdisk2 Add ONE more disk of same size of already have disk having rootvg. # extendvg rootvg hdisk2 Now mirror vg with background sync LV. It sync LVs in background with new LVs # mirrorvg –s rootvg Add a blv record of NEWLY ADDED disk, first check and then add. # bootlist –m normal -o Check disk size belong to vg , take two same size disk to mirror # bootinfo –s hdisk2 Add one more disk of same size of already have disk having rootvg. # extendvg rootvg hdisk2 Now mirror vg with background sync LV. It sync LVs in background with new LVs # mirrorvg –s rootvg Add a blv record of newly added disk, first check and then add. # bootlist –m normal -o |
|
| 40. |
How To Copy A Lv From One Vg To Another? |
|
Answer» # cplv -v <new vm NAME> <sourcel name> # cplv -v <new vm name> <sourcel name> |
|
| 42. |
How Will You Change Ltg Size? |
|
Answer» #rmdev -L hdiskx #chdev -l hdiskx -a max_transfer=0*80000 #mkdev -l hdiskx #rmdev -l hdiskx #chdev -l hdiskx -a max_transfer=0*80000 #mkdev -l hdiskx |
|
| 43. |
How Will You Find Ltg Size? |
|
Answer»
#lquerypv –M hdiskname
#lsvg vgname #lquerypv –M hdiskname
|
|
| 44. |
How Will You Find The Inode Number? |
|
Answer» # LS –li # ISTAT /etc/passwd # ls –li # istat /etc/passwd |
|
| 45. |
Difference Between Jfs & Jfs2? |
|
Answer» JFS: JFS is normal FILESYSTEM. We cannot create large FILES in JFS. Files can be access dynamically. Max file system SIZE=1TB JFS2:- Can create a large size filesystems. Files can be access ACCORDINGLY as required. (not randomly or sequentially) Max files system size=4PB JFS: JFS is normal filesystem. We cannot create large files in JFS. Files can be access dynamically. Max file system size=1TB JFS2:- Can create a large size filesystems. Files can be access accordingly as required. (not randomly or sequentially) Max files system size=4PB |
|
| 46. |
How Will You Create A File If A Disk Is Given To You? |
|
Answer» #mkvg –y datavg –s 128 hdisk1 (PV NAME) #mkvg –y datavg –s 128 hdisk1 (pv name) |
|
| 47. |
How Do I Display Routing Table, Interface And Protocol Information? |
|
Answer» 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. 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. |
|
| 48. |
How Do I Activate A Network Interface? |
|
Answer» To activate the NETWORK INTERFACE tr0, RUN the COMMAND ifconfig tr0 up. To activate the network interface tr0, run the command ifconfig tr0 up. |
|
| 49. |
How Do I Identify The Network Interfaces On My Server? |
|
Answer» 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. 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. |
|
| 50. |
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 example, host cyclop.austin.ibm.com. Type one of the following: ifconfig -a or host Fully_Qualified_Host_Name. For example, host cyclop.austin.ibm.com. |
|