Professional Documents
Culture Documents
Glossary
Boot Process
Disks
Dump Space
Filesystems
Kernel
Networking
Paging and Swap Space
Password/Account Reset
Processes
Software Installation and Patches
System Information
System Monitoring
Tapeutil
Terminal Configuration
Troubleshooting --> see aix-troubleshooting.html
Users
Glossary
Term Definition
Advanced Interactive Executive RS/6000 Unix Operating System
(AIX)
Authorized Program Analysis Used to identify a fix for a PMR.
Report (APAR)
Base Operating System (BOS)
Fileset
Fragments Allows disk space to be divided into units that are smaller than the size of a
logical block
High Availability Cluster AIX Clustering
Multiprocessor ?? (HACMP)
I-Node 128 bit structure that contains information about the file or directory such as
ownership, permissions, file type, number of links to the file, etc.
Logical Block Disk block that contains file or directory data
Maintenance Level (ML) Service updates necessary to upgrade the BOS to the current release level
ODN
Page 4KB unit of virtual memory than can be transferred between physical ram and
disk paging space
Paging Space Special logical volume used for holding inactive data that has been temporarily
transferred out of physical ram.
Phsysical Volume ID (PVID) Unique id that consists of a hash of the CPUID and the date.
Problem Management Record Tracking record used for customer problems.
(PMR)
Program Temporary Fix (PTF) Temporary fix that will be incorporated into the next release of the product.
May be a single fix or multiple fixes associated with a single fileset.
Service Boot Server is started with the key in the service position (as opposed to the key
being in the normal position).
Superblock Disk block that contains information about the entire file system. It starts at byte
offset 4096 and is 4096 bytes in size.
Swap Space See Paging Space above.
System Management Interface Menu driven system administration interface for AIX
Tool (SMIT)
Vpath Similar to HP LUN?
Boot Process
Commands
Choose Option 2: System Power Control menu, then select option to Power On
Boot normally
Interrupt the boot when the systems displays memory and cpu information
<1> on Ascii terminals
<F1> on Graphics terminals
If you want to update firmware then you need to choose option 3, then put software in diskette drive and
choose:
Option 6 for Update System Software
Option 7 for Update Service Processor
Startup Scripts
/etc/inittab
Indentifier:RunLevel:Action:Command
Inittab Commands
lsitab --> lists records in /etc/inittab
mkitab --> makes a new entry in /etc/inittab
chitab --> changes an existing entry in /etc/inittab
rmitab --> removes an entry from /etc/inittab
Disks
lsfs <-- show the filesystems on the server and their characteristics
lspv - shows disks and their LVM information or "none" if not part of LVM
dumpfs <disk> - shows superblock, i-node map and disk map information for the file system specified.
df -v - shows the number of i-nodes used and free.
istat - shows the last updated, last modified and last accessed times of a file.
bootlist -m normal -o hdisk0 hdisk1 --> puts hdisk0 and hdisk1 on the bootlist
Dump Space
The system dump facility copies critical information to the dump device when a system crash occurs. This information
is critical for determing the cause of the crash.
sysdumpdev -l <-- shows where the system dump location currently is located.
Using Commands
sysdumpstart
smit dump
Using special key sequence
Key in SERVICE mode
<CTRL><ALT><NUMPAD1> or K<CTRL><ALT><NUMPAD2>
Using the reset button
Key in SERVICE mode
Press the reset button once
Filesystems
mount -t <type> --> mounts all filesystems in /etc/filesystems containing the t=type attribute
Copying files
cp
tar - limited to files smaller than 2 GB
cpio - limited to files smaller than 2 GB
pax
Kernel
Networking
entstat -d en0 <-- this will display configuration and statistics for the network card "en0" - useful for displaying
speed/duplex configuration
vmstat
topas
Files
/etc/inetd.conf
/etc/services
Using smit - daemon is recycled automatically upon exit
Using vi
restart the inetd daemon so that the new configuration is read:
refresh -s inetd
Using chservices to edit /etc/services
chservices -c --> changes entries
chservices -a --> adds entries
chservices -d --> deactivates entries
rebuild .toc file - "inutoc" <-- This rebuilds the toc where the bff's are located. Needed if something is added to an
existing fileset or new file will not be found.
oslevel
oslevel -q
oslevel -r <-- Shows the maintenance release that you are running
instfix -i | grep ML <-- Shows what filesets are found for maintenance releases on your system and whether
they are complete
instfix -ik <FIX_IX> <-- Shows whether a particular fix has been installed on your system
lppchk -v <-- Shows filesets that are incompletely installed or need to be corrected
lscfg -vp | grep alterable <-- shows firmware level
System Information
Tapeutil
"tapeutil -f /dev/smc0 move 5 82" --> will move tape from slot 5 to the tape drive
Terminal Configuration
Autocompletion: <esc>\
Troubleshooting
See aix-troubleshooting.html
Users
Commands:
mkuser --> utility the creates a new user
passwd --> change the user's password
chuser --> change the user's attributes
chuser minother=# <user> --> changes minother atttribute for a user
luser <user> --> lists the attributes for a specific user account
lsuser -f <user> --> lists each attribute on it's own line
rmuser --> utility that removes a user
chsec --> change the user's security attributes
login
who --> lists who is currently logged into the system
whoami (who am i) --> displays information about yourself
dtconfig
Files:
/etc/security/environ --> lists environment attributes for each user
/etc/security/lastlog --> lists last login attributes for each user
/etc/security/limits --> lists process resource limits for each user
/etc/security/user --> lists extended user attributes for each user
/usr/lib/security/mkuser.default --> lists default attributes for new users
/usr/lib/security/mkuser.sys --> script that sets up the user's environment
/etc/passwd --> lists basic user attributes for each user
/etc/security/passwd --> contains password information for each user
/etc/security/login.cfg --> lists login security information for each user
/etc/utmp --> contains users that are logged into the system, used by the "who" command
/var/adm/wtmp --> contains connect time information for users
/etc/security/failedlogin --> contains unsuccessful login attempts
/etc/motd --> message of the day that is displayed when the user logs in.
/etc/environment --> lists the default environment that new processes will use.
/etc/profile --> environment settings for all users
$HOME/.profile --> environment settings for a specific user
/etc/group --> lists attributes for each group
/etc/security/group --> lists extended attributes for each group
mkuser <user_id> or
smitty mkuser
passwd <User>
Note: The account needs to be reset if when trying to log in the following message is received:
3004-303 There have been too many unsuccessful login attempts; please see
the system administrator.
Prompts
PS1 - normal system prompt
PS2 - prompt when system expects more input
PS3 - super-user prompt
export PS1="newprompt>"