Sunteți pe pagina 1din 4

What is the command to view the active vg?

A) lsvg -o
How do u configure the Disk? A) cfgmgr

automatic detecting the disk after that #chdev -l hdisk1 -a pv=yes #lspv hdisk0 hdisk1 4)List all the LV in system
ans:lslv -L

Tell me Steps to configure the VG? A) #cfgmgr

#lspv hdisk0 hdisk1 #chdev -l hdisk1 -a pv=yes #mkvg -s 32 dtavg hdisk1 What are the Attibutes of LVM? vgdisplay - display attributes of volume groups SYNOPSIS vgdisplay [-A|--activevolumegroups] [-c|--colon] [-d|--debug] [-D|--disk] [-h|--help] [-s|--short] [-v[v]|-verbose [--verbose]] [--version] [VolumeGroupName...]
DESCRIPTION vgdisplay allows you to see the attributes of VolumeGroupName (or all volume groups if none is given) with it's physical and logical volumes and their sizes etc. OPTIONS -A, --activevolumegroups Only select the active volume groups. -c, --colon Generate colon seperated output for easier parsing in scripts or programs

How do u add a new disk in VG? A) extendvg -f vgname hdisk5 What are the Attibutes of LVM? Describe about LVM Adva/Dis.Adv? How do u find the fix is installed?

How to u extend the FS? A) chfs -a size=+10M filesystemname Attributes of FS? List all the LV in system? A) lsvg -l vgname How do u find the PP size of the VG? A) lsvg vgname How do u create the pp size of 32 MB in VG? A)mkvg -s 32 -y vgname hdisk3 hdisk4 .. What is the Limitation of VG? A) Vg have normal VG-- 32 Pvs Big VG-- 128pvs scalabe VG -- 1024pvs A system can have 255VG max How do u disable the paging space? A) swapoff pagingspacename What is LPAR?

1. Why is the . not included in the path? 2. How will you mirror a volume and how will you find if a volume is mirrored ? 3. A system is echoing the ping but not able to login via telnet why ?
4. what is the migration path from 4.3 to 5.1 ? (or any versions) 5. A system is able to ping within the network but not outside why ? 6. What are the components of a HACMP ? 7. What are the resource groups in HACMP? 8. What are the apar install if so for what ? 9. How will you log in or start the system in what mode if you dont know the root password? 10. What is ip address and subnet means ? 11. what types of san or nas devices were used ? 12. Were the storage on the hard drive or any tape used ? 13. how will you check the if a system is paging excessively ? 14. There is too much of processor utilization what could be possible reason? 15. How is paging space is allocated? 16. How will you configure sendmail ? 17. How will you assign superuser privilege to an ordinary user temporarily 18. Based on what one will choose to use shell or perl scripting ? 19. Difference between telnet or ssh . 20. How will you truncate a log file ? 21. What is a sticky bit what is the effect on file and directory ?

1) . represents current working directory. A reference directory path is not required to call anything from current working directory until your filename starts a . itself. (.profile)
2) To mirror a volume group, you need 2 disk drives of same capacity else the available raid size would be the one from the minimum disk. "mirrorvg rootvg" command with arguments would mirror supplied disks for rootvg. To check rootvg mirror, simply run the command "lsvg -l rootvg" and check ratio of LP's to the PP's (should be 1:2 for all LV's)

3) Telnetd daemon is down and telnet service is not active. 4) migration install using NIM or AIX CD. 5) Default gateway is wither not defined properly or not configured. "check using lsattr -El sys0 | grep default" 6) Components of HACMP : - Nodes - Networks - Sites - Topology - Resource Groups - RSCT components (group services, topology services and RMC) - Events and Notifications - Recovery scripts 7) Resource goups comprises all the components in an environment which are required to be highly available using power HA cluster.(Includes VG, FS, NFS mounts, Service IP labels, Persistent IP labels and hardware address in some cases where IPAt via HWAT is used. 8) Apar is interim fix for fixing identified issues between the release of various SP levels. SP level is often consists of collection of various apars. check for installed apar using command "instfix -ik 9) System has to be rebooted in "single user mode" and maintenance shell has to be initiated to change root password. - reboot system in single user mode (service boot) - start a meintenance shell - mount rootvg filesystems ( / and /usr) - change the password using "passwd " command - reboot the system in multi user mode. 10) IP address is used to communicate to any device connected to a network of other devices using defined and configured communication paths. Subnet defines a collection of hosts within a larger organized network. 11) Dont understand the question? what san and nas devices were used?? 12) Dont understand the question? Were the storage on the hard drive or any tape used? 13) There are many ways to check if a system is paging excessively. - check the configured paging space and its usage using command "lsps -a" - Check the the snapshot of system resource usage using command "topaS" - check detailed paging space utilization using command "vmstat" 14) too much processor utilization could be because of defunct processes, respawning process and high processor utilizing applications. 15) Paging space is allocated in form of a paging LV configured either on a rootvg, secondary devices or both. 16) Configuration of sendmail is a long procedure. Refer here http://www.tek-tips.com/viewthread.cfm? qid=174579

17) Superuser powers to an ordinary user is provided using a 3rd party utility known as "sudo". Configure sudo access : http://it.toolbox.com/wiki/index.php/Install_and_configure_sudo_in_AIX 18) Some complex functions cannot be executed with generic shell so a special program code is used in another language which could be perl. 19) - Ssh provides certified secured point to point communication using a secured shell protocol (ssh) whereas telne provides unsecured communication path. - Security is provided in terms of encryption, access restrictions, keystore and network bodies when ssh is used however telned doesnt provide any user defined controls. - ssh could be configured as server or client however no such possibilities with telnet. 20) to truncate a logfile, nullify the logfle using command "cat /dev/null >> " 21) Sticky bit allows to set up a control where a user cannot delete files belonging to other users in a world writable directories). 22) how to get root passwd

1.Insert the product media for the same version and level as the current installation into the appropriate drive. 2.Power on the machine. 3.When the screen of icons appears, or when you hear a double beep, press the F1 key repeatedly until the System Management Services menu appears. 4.Select Multiboot. 5.Select Install From. 6.Select the device that holds the product media and then select Install. 7.Select the AIX version icon. 8.Define your current system as the system console by pressing the F1 key and then press Enter. 9.Select the number of your preferred language and press Enter. 10.Choose Start Maintenance Mode for System Recovery by typing 3 and press Enter. 11.Select Access a Root Volume Group. A message displays explaining that you will not be able to return to the Installation menus without rebooting if you change the root volume group at this point. 12.Type 0 and press Enter. 13.Type the number of the appropriate volume group from the list and press Enter. 14.Select Access this Volume Group and start a shell by typing 1 and press Enter. 15.At the # (number sign) prompt, type the passwd command at the command line prompt to reset the root password. For example: # passwd Changing password for "root" root's New password: Enter the new password again:16.To write everything from the buffer to the hard disk and reboot the system, type the following: sync;sync;sync;rebootWhen the login screen appears, the password you set in step 15 should now permit access to root privileges.

S-ar putea să vă placă și