Posts Tagged ‘led’
Additional Information On AIX System Administration – IV
# lsfs command gives the following output:
Hd1 – home
Hd2 – USR
HD3 – TMP
HD4 – Root
HD5 – BLV
HD6 – Paging Space (2 types: primary, secondary)
HD7 – Not Found
HD8 – JFS
HD9 – VAR
HD10 – MNT
HD11 – admin (available in AIX V 6.1)
LED code 0c0 means successful completion of dump.
To view extended permissions, command used is:
# ls –e <filename>
Command used to set tty port for bidirectional mode:
# share <port attributes>
Commands used to setup quota for file system for end users are:
# vi /etc/<file system>
# edquota /<file system> <username>
# quotaon <file system>
# quotaon /<file system>
To initiate system dump, command used is:
# sysdumpstart –P (for primary)
# sysdumpstart –S (for secondary)
SNAP is generally used to gather system information.
Some of the SNAP commands are:
# snap –a
# snap –g
# snap –D
Image.data contains information about VG’s and LV’s.
Bosinst.data contains information about installation flow control.
To view mksysb tape and to restore particular file from mksysb tape, commands used are:
# tctl –f /dev/<tape drive name>
# restore –tvf /dev/<tape drive name>
# restore –xvf /dev/<tape drive name>
For eg:
# tctl –f /dev/rmt0
# restore – tvf /dev/rmt0
# restore – xvf /dev/rmt0
Tctl command is basically used to rewind the tape drive.
To list NIM objects, command used:
# lsnim
NIM stands for network installation management.
To see NIM log, command used is:
# nim –o showlog –a full_log = yes –a log_type = logtype NIMclient
Logtype can be boot, script etc.
NIMClient is the hostname / ip address of the client machine.
Sources of this command : IBM AIX Forum
# smit system command is used to change the server time.
# smit date command is used to change system date.
Time synchronization is either done by running time demon or ntp demon.
P5 family:
- Entry :
i. P5 510
ii. P5 520
iii. P5 550
- Mind Range :
i. P5 570
- High End :
i. P5 575
ii. P5 590
iii. P5 595
Physical Volume (PV) id can be found in Cuat ODM class.
Device in defined state means there is an entry in ODM class CuDV.
Procedure to change bootlist from hdisk0 to hdisk1:
Go to SMS mode by pressing F1 and change the bootlist by running the following command:
# bootlist –m normal hdisk0 hdisk1
If a machine keeps rebooting and repeating POST, it means either there is invalid bootlist or corrupted BLV or hardware failure of boot device.
More we will discuss about AIX System Administration in the coming posts.
Till then,
Happy Learning !
Additional Information On AIX System Administration – III
- To check block size of a tape drive, command used is tcopy. Tcopy command is used to copy a magnetic tape.
- ‘No Virtual printer defined’ error message means there is no space left in /tmp directory.
- Tall command is basically used for cron command diagnostics.
- While creating a new user account with mkuser command, /etc/security/mkuser.default will setup the attributes without any flags for the new user.
- chsec command is used to reset the failed login count. Command used is:
# chsec –f /etc/security/lastlog –s <username> -a unsuccessful_login_count = 0
- diag command is used to log hardware repair entry in errorlog. To run this command, administrator needs to shutdown (# shutdown -m) the system and reboot in single user maintenance mode and then run the diag command.
- Kdb command will debug the AIX kernel. It basically display system images for examining a dump.
- LED code 0c54 means AIX installation is still in progress.
- With mkvg command we can make use of –d flag to limit VG spacing across number of PVs.
- Dynamic kernel means devices can be added / deleted without rebooting the server.
- Command to create a boot logical volume:
# bosboot –ad /dev/hdisk0
- # smit update_all command will update to next modification level. Other commands are :
# smit update_by_fix
# smit disk_install_all
- To increase size of errorlog file, command used is:
# errdemon –s ‘size in bytes’
- Syntax to hold and release a print job:
# qhld -# (job number)
# qhld –r (job number)
- Command to move job to another queue:
#qmov –m queuename -# (job number)
- Command to change priority of a print job and listing of priority:
# qpri -# (job number) –a (priority value)
- To enable / disable a printer, command used is:
# enable
# disable
Happy Learning!

