Tanti Technology

My photo
Bangalore, karnataka, India
Multi-platform UNIX systems consultant and administrator in mutualized and virtualized environments I have 4.5+ years experience in AIX system Administration field. This site will be helpful for system administrator in their day to day activities.Your comments on posts are welcome.This blog is all about IBM AIX Unix flavour. This blog will be used by System admins who will be using AIX in their work life. It can also be used for those newbies who want to get certifications in AIX Administration. This blog will be updated frequently to help the system admins and other new learners. DISCLAIMER: Please note that blog owner takes no responsibility of any kind for any type of data loss or damage by trying any of the command/method mentioned in this blog. You may use the commands/method/scripts on your own responsibility. If you find something useful, a comment would be appreciated to let other viewers also know that the solution/method work(ed) for you.

Sunday, 2 March 2014

Virtual SCSI


Introduction

This is a short howto on configuring virtual SCSI on a virtual IO server on an AIX managed system. The steps are pretty easy:
  1. Login
  2. Create a mapping to map disks to the virtual SCSI server adapter
  3. Check
So to clearify, if you look to the overview below the step taken here is the mapping from the virtual SCSI server adapter to the physical storage:

Login

You login to the virtual IO server as padmin, which has a limited set of tools and commands. To become root type:
$ oem_setup_env
#
Notice that the prompt has changed into #, the standard prompt for root. You only have to do this when necessary, for example, you want to do something in smitty.

The Mapping

Overview Disks in Virtual IO Server

To know which disks are available for ~LPARs to connect to you have to know which hard disks are available in your virtual IO server.
$ lspv
NAME            PVID                                VG              STATUS
hdisk0          000bf7e12866eaf1                    rootvg          active
hdisk1          000bf7e1288405d5                    None

Create Mapping For SCSI Disks For the LPAR to the First Virtual SCSI Server Adapter

In this example you map the complete hard disk hdisk1 to the virtual server adapter vhost0. This is the adapter to which the LPAR connects
$ mkvdev -vdev hdisk1 -vadapter vhost0
vtscsi0 Available
In case you don't want to map the entire disk you'll first have to create logical volumes. After you've done so you can map the logical volume to the virtual server adapter.

Show All Mappings For Virtual SCSI Adapters

As you can see is the hdisk1 now mapped to the vhost0 adapter.
$ lsmap -all
SVSA            Physloc                                      Client Partition ID
--------------- -------------------------------------------- ------------------
vhost0          U8204.E8A.65BF7E1-V3-C12                     0x00000017

VTD                   vtscsi0
Status                Available
LUN                   0x8100000000000000
Backing device        hdisk1
Physloc               U7311.D20.650442C-P1-C04-T2-L9-L0

SVSA            Physloc                                      Client Partition ID
--------------- -------------------------------------------- ------------------
vhost1          U8204.E8A.65BF7E1-V3-C13                     0x00000000

VTD                   NO VIRTUAL TARGET DEVICE FOUND

SVSA            Physloc                                      Client Partition ID
--------------- -------------------------------------------- ------------------
vhost2          U8204.E8A.65BF7E1-V3-C14                     0x00000000

VTD                   NO VIRTUAL TARGET DEVICE FOUND

View All Virtual Devices

Check all your virtual devices including the newly created vtscsi0:
$ lsdev -virtual
name            status     description
ent3            Available  Virtual I/O Ethernet Adapter (l-lan)
vasi0           Available  Virtual Asynchronous Services Interface (VASI)
vhost0          Available  Virtual SCSI Server Adapter
vhost1          Available  Virtual SCSI Server Adapter
vhost2          Available  Virtual SCSI Server Adapter
vsa0            Available  LPAR Virtual Serial Adapter
vtscsi0         Available  Virtual Target Device - Disk

The LPAR

You should have connected the virtual SCSI client adapter to the virtual SCSI server adapter already in the virtual adapter configurations in the HMC itself. This is done in the profile of the virtual IO server and the LPAR. If you've done so the LPAR should now have a hdisk0 so it can be installed.

Extra Information

Map a CDrom

  • mkvdev -vdev cd0 -vadapter vhost0
This will create a virtual target 'vtopt0'

Remove a Mapping

  • rmvdev -vtd vtopt0
Note that vtd stands for virtual target device.

Sources

Tivoli Directory Server Installation AIX Prerequisites


Kernel Mode

To check if your kernel is in 64bit mode, as well as your hardware: run the command below:
bootinfo -K
bootinfo -y
Both commands should return 64.

OS Level and Filesets

ITDS 6.x requires at least maintenance level 5300-01:
oslevel -r
The command should return at least a level of 5300-01

Required Filesets

You should have these filesets at a minimum level as displayed:
xlC.aix50rte 6.0.0.0
X11.adt.lib 5.1.0.0
Install missing filesets through nim:
nimclient -o cust -a lpp_source=lpp_5300_06_07 -a filesets=X11.adt.lib

Users and Groups

Groups

Both the LDAP server instance as the DB2 instance need a user and a group associated with it.
Make a local user group:
mkgroup ldapgrp

Users

Make a local user:
mkuser pgrp='ldapgrp' groups="ldapgrp" rlogin='false' sugroups='ALL' su='true' SYSTEM="COMPAT" loginretries='10' maxage='0' maxrepeats='8' minlen='5' minother='1' maxexpired='-1' minalpha='3' minage='0' histsize='0' histexpire='0' fsize='-1' cpu='-1' data='-1' stack='-1' home=/var/data/ldapusr ldapusr

Root

Make sure the root user is using the korn shell by default and is member of the ldapgrp group:
  • smitty chuser
  • Select root user
  • Set login shell ro /usr/bin/ksh
  • Add the ldapgrp group to the list of groups

Memory

The following amounts of RAM are recommended for each directory server instance:
  • 512 MB for each directory server instance
  • 256 MB for each database instance

Storage

IBM Tivoli Directory Server (including the client, server and the database) requires about 2 GB of disk space. 
/usr: 512 MB 
/opt: 512 MB
/var/data: 1 GB

/tmp 1 GB for temporary access

Asynchronous I/O

To turn on asynchronous I/O:
  • Run smitty chgaio and set STATE to be configured at system restart from defined to available.
  • Press Enter.
  • Run smitty aio
  • Select Configure defined Asynchronous I/O
  • Press Enter.

Installation

Installation consists of 2 parts:
  • db2
  • directory server

DB2

Go into the db2 directory and issue db2_install:
root@tds:/tmp/IBM_APPS/db2/db2>cd ..
root@tds:/tmp/IBM_APPS/db2>./db2_install


Specify one or more of the following keywords,
separated by spaces, to install DB2 products.
 Keyword        Product Description
 DB2.ESE        DB2 Enterprise Server Edition for AIX

Enter "help" to redisplay product names.
Enter "quit" to exit.
***********************************************************
DB2.ESE
   db2_08_01.msg.en_US.iso88591...
+-----------------------------------------------------------------------------+
                    Pre-installation Verification...
+-----------------------------------------------------------------------------+
Verifying selections...done
Verifying requisites...done
Results...

SUCCESSES
---------
  Filesets listed in this section passed pre-installation verification
  and will be installed.

  .......

The installation logfile can be found in /tmp/db2_install_log.155976.
db2_install program completed successfully.
Now check if db2 is installed correctly:
root@tds:/tmp/IBM_APPS/db2>lslpp -L | grep db2
  db2_08_01.cj              8.1.1.80    C     F    Java Common files
  db2_08_01.client          8.1.1.80    C     F    Base Client Support
  db2_08_01.cnvucs          8.1.1.80    C     F    Code Page Conversion Tables -
  db2_08_01.conn            8.1.1.80    C     F    Connect Support
  db2_08_01.conv            8.1.1.80    C     F    Code Page Conversion Tables
  db2_08_01.cs.rte          8.1.1.80    C     F    Communication Support - TCP/IP
  db2_08_01.das             8.1.1.80    C     F    Administration Server
  db2_08_01.db2.engn        8.1.1.80    C     F    Base DB2 UDB Support
  db2_08_01.db2.rte         8.1.1.80    C     F    Run-time Environment
  db2_08_01.db2.samples     8.1.1.80    C     F    Sample Database Source
  db2_08_01.essg            8.1.1.80    C     F    Product Signature for DB2 UDB
  db2_08_01.icuc            8.1.1.80    C     F    ICU Collation
  db2_08_01.icut            8.1.1.80    C     F    ICU Utilities
  db2_08_01.jdbc            8.1.1.80    C     F    Java Support
  db2_08_01.jhlp.en_US.iso88591
  db2_08_01.ldap            8.1.1.80    C     F    DB2 LDAP Support
  db2_08_01.msg.en_US.iso88591
  db2_08_01.pext            8.1.1.80    C     F    Parallel Extension
  db2_08_01.repl            8.1.1.80    C     F    Replication
  db2_08_01.sqlproc         8.1.1.80    C     F    SQL Procedures

Directory Server

Go into the itds directory and start smitty install and select this fileset:
  • idsldap.srv64bit60
+-----------------------------------------------------------------------------+
                                Summaries:
+-----------------------------------------------------------------------------+

Installation Summary
--------------------
Name                        Level           Part        Event       Result
-------------------------------------------------------------------------------
idsldap.cltbase60.rte       6.0.0.0         USR         APPLY       SUCCESS
idsldap.cltbase60.adt       6.0.0.0         USR         APPLY       SUCCESS
idsldap.cltbase60.rte       6.0.0.0         ROOT        APPLY       SUCCESS
idsldap.clt64bit60.rte      6.0.0.0         USR         APPLY       SUCCESS
idsldap.clt64bit60.rte      6.0.0.0         ROOT        APPLY       SUCCESS
idsldap.srvproxy64bit60.rte 6.0.0.0         USR         APPLY       SUCCESS
idsldap.srvproxy64bit60.rte 6.0.0.0         ROOT        APPLY       SUCCESS
idsldap.srv64bit60.rte      6.0.0.0         USR         APPLY       SUCCESS

FIXPACKS

There are two fixpacks that need to be installed, one for directory server and one for db2:

Directory Server

root@tds:/tmp/IBM_APPS/Fixpacks/6.0.0-TIV-ITDS-AIX-FP0004>./idsinstall -u

  Updating package=idsldap.cltbase60 to version=06.00.0000.0033

  Updating package=idsldap.clt32bit60 to version=06.00.0000.0033

  Updating package=idsldap.clt64bit60 to version=06.00.0000.0033

  Updating package=idsldap.srvproxy64bit60 to version=06.00.0000.0033

  Updating package=idsldap.srv64bit60 to version=06.00.0000.0033

All packages were installed successfully!
See the log file: /tmp/idsinstall_09-17-10_16-21-16.log for more details

DB2

First unpack the update:
>tar -xf FP16_U811269.tar
root@tds:/tmp/IBM_APPS/Fixpacks>ll
total 3956088
drwxr-xr-x   4 root     system        12288 Jan 22 2008  fixpak.s080111
-rw-r--r--   1 sjoerd   LDAPuser 1280215040 Sep 17 13:35 FP16_U811269.tar
Go into this directory and start the update:
root@tds:/tmp/IBM_APPS/Fixpacks/fixpak.s080111>./installFixPak -y
Checking level of DB2 V8 installation...
Running update all
geninstall -I "a -cgNqwX -J"  -Z   -d . -f File 2>&1

........

Installation Summary
--------------------
Name                        Level           Part        Event       Result
-------------------------------------------------------------------------------
db2_08_01.sqlproc           8.1.1.144       USR         APPLY       SUCCESS
db2_08_01.repl              8.1.1.144       USR         APPLY       SUCCESS
db2_08_01.pext              8.1.1.144       USR         APPLY       SUCCESS
db2_08_01.msg.en_US.iso8859 8.1.1.144       USR         APPLY       SUCCESS
db2_08_01.ldap              8.1.1.144       USR         APPLY       SUCCESS
db2_08_01.jhlp.en_US.iso885 8.1.1.144       USR         APPLY       SUCCESS
db2_08_01.jdbc              8.1.1.144       USR         APPLY       SUCCESS
db2_08_01.icut              8.1.1.144       USR         APPLY       SUCCESS
db2_08_01.icuc              8.1.1.144       USR         APPLY       SUCCESS
db2_08_01.essg              8.1.1.144       USR         APPLY       SUCCESS
db2_08_01.db2.samples       8.1.1.144       USR         APPLY       SUCCESS
db2_08_01.db2.rte           8.1.1.144       USR         APPLY       SUCCESS
db2_08_01.das               8.1.1.144       USR         APPLY       SUCCESS
db2_08_01.cs.rte            8.1.1.144       USR         APPLY       SUCCESS
db2_08_01.conv              8.1.1.144       USR         APPLY       SUCCESS
db2_08_01.conn              8.1.1.144       USR         APPLY       SUCCESS
db2_08_01.cnvucs            8.1.1.144       USR         APPLY       SUCCESS
db2_08_01.client            8.1.1.144       USR         APPLY       SUCCESS
db2_08_01.cj                8.1.1.144       USR         APPLY       SUCCESS
db2_08_01.db2.engn          8.1.1.144       USR         APPLY       SUCCESS
db2_08_01.db2.samples       8.1.1.144       USR         COMMIT      SUCCESS
db2_08_01.icuc              8.1.1.144       USR         COMMIT      SUCCESS
db2_08_01.icut              8.1.1.144       USR         COMMIT      SUCCESS
db2_08_01.jhlp.en_US.iso885 8.1.1.144       USR         COMMIT      SUCCESS
db2_08_01.msg.en_US.iso8859 8.1.1.144       USR         COMMIT      SUCCESS
db2_08_01.pext              8.1.1.144       USR         COMMIT      SUCCESS
db2_08_01.client            8.1.1.144       USR         COMMIT      SUCCESS
db2_08_01.cj                8.1.1.144       USR         COMMIT      SUCCESS
db2_08_01.cnvucs            8.1.1.144       USR         COMMIT      SUCCESS
db2_08_01.conv              8.1.1.144       USR         COMMIT      SUCCESS
db2_08_01.db2.rte           8.1.1.144       USR         COMMIT      SUCCESS
db2_08_01.jdbc              8.1.1.144       USR         COMMIT      SUCCESS
db2_08_01.ldap              8.1.1.144       USR         COMMIT      SUCCESS
db2_08_01.repl              8.1.1.144       USR         COMMIT      SUCCESS
db2_08_01.sqlproc           8.1.1.144       USR         COMMIT      SUCCESS
db2_08_01.conn              8.1.1.144       USR         COMMIT      SUCCESS
db2_08_01.cs.rte            8.1.1.144       USR         COMMIT      SUCCESS
db2_08_01.das               8.1.1.144       USR         COMMIT      SUCCESS
db2_08_01.db2.engn          8.1.1.144       USR         COMMIT      SUCCESS
db2_08_01.essg              8.1.1.144       USR         COMMIT      SUCCESS

Log saved in /tmp/installFixPak.log.8.1.1.144

Tivoli AIX Client


Introduction

Installing and configuring the tsm client software on AIX.

Download

Download the latest software from the IBM website

Install software :

mkdir /tmp/tivoli
cp /exports/install/ibm/Tivoli\ Storage\ Manager/5.5.1.0-TIV-TSMBAC-AIX.tar.Z /tmp/tivoli
cd /tmp/tivoli
uncompress 5.5.1.0-TIV-TSMBAC-AIX.tar.Z
tar -xvf 5.5.1.0-TIV-TSMBAC-AIX.tar 
smit install
  • install :
    • tivoli.tsm.client.api.32bit
    • tivoli.tsm.client.ba
      • select the complete product

Config files :

  • /usr/tivoli/tsm/client/ba/bin/dsm.sys:
************************************************************************
* IBM Tivoli Storage Manager                                           *
************************************************************************

DEFAULTServer   company-backup

SErvername      company-backup
   NodeName             
   COMMmethod           TCPip
   TCPServeraddress     
   TCPPort              1500
   PAsswordAccess       generate
   ENcryptKey           save
   errorlogname         /var/log/backuperrors.log
   schedlogname         /var/log/backupsched.log
  • /usr/tivoli/tsm/client/ba/bin/dsm.opt:
************************************************************************
* IBM Tivoli Storage Manager                                           *
************************************************************************

* Which server to use by default.
DEFAULTServer   company-backup

* Mischellaneous client options.
COMPRESSAlways  no
  • Add these lines to /etc/inittab:
itsm::once:/usr/bin/dsmc schedule >/dev/null 2>&1 #TSM scheduler
itsm2::once:/usr/bin/dsmcad >/dev/null 2>&1 #TSM web client

Check

Check the client and see it's schedule:
dsmc
tsm> q sched
Check when the latest backup was:
dsmc
tsm> q fi
N.B. Note that you need the correct username and password for this the first time you start the program.

Manual startup

Start the scheduler in the background with the command :
nohup dsmc schedule 2>/dev/null & 
nohup dsmcad 2>/dev/null &

Restore

To restore a backup you need to go to the following adress using your webbrowser: http://:1581/BACLIENT
Note that in case you don't see anything or receive error messages the dsmcad has probably failed. Restart the service using the command above. Choose the option restore from backup from the menu and a popup will appear to ask for your credentials. After filling in your credentials a new screen will popup and you'll have access to the restore function.
Also note that you need to have a java runtime environment installed on your local machine to access the web client.
Click on the File level folder. In the file level folder you can see which filesystems are currently being backed up. If you push the point of time button you can change the backup date. You can browse through the filesystems in the right panel where you can select the files to be restored by putting a mark for it. When you're done with your selection you can click the restore button. The files can be restored to another directory if needed. You can specify so after clicking the restore button.

Troubleshooting

  • If an AIX server loses network connectivity for a period longer then one hour it's possible that the TSM client will get in an error state. In this state the client cannot connect to the TSM server to poll its schedule. Even when networkconnectivity is restored the TSM client will stay in an error state until the process has been killed and restarted. Type ps -ef | grep -i dsmc to see the schedulers process then kill it with -9. Afterwards run the nohup command from above to start the service.
  • If you get errormessages when trying to log in into dsmc remove the /etc/security/adsm/TSM.PWD file and restart dsmc. You can now enter the correct password.

Remove / Uninstall the Tivoli AIX Client

  • Smitty install
    • Software Maintenance and Utilities
      • Remove Installed Software
Expand the 'SOFTWARE name' list and select: (with F7)
  • tivoli.tsm.client.api.32bit
  • tivoli.tsm.client.ba.32bit.base
  • tivoli.tsm.client.ba.32bit.common
  • tivoli.tsm.client.ba.32bit.image
  • tivoli.tsm.client.ba.32bit.nas
  • tivoli.tsm.client.ba.32bit.web
SUCCESSES
---------
  Filesets listed in this section passed pre-deinstall verification
  and will be removed.
    -- Filesets are listed in the order in which they will be removed.
    -- The reason for deinstalling each fileset is indicated with a keyword
       in parentheses and explained by a "Success Key" following this list.

  tivoli.tsm.client.ba.32bit.base 5.5.1.0 (Selected)
    TSM Client - Backup/Archive Base Files

  tivoli.tsm.client.ba.32bit.image 5.5.1.0 (Selected)
    TSM Client - IMAGE Backup Client

  tivoli.tsm.client.ba.32bit.nas 5.5.1.0 (Selected)
    TSM Client - NAS Backup Client

  tivoli.tsm.client.ba.32bit.web 5.5.1.0 (Selected)
    TSM Client - Backup/Archive WEB Client

  tivoli.tsm.client.ba.32bit.common 5.5.1.0 (Selected)
    TSM Client - Backup/Archive Common Files

  tivoli.tsm.client.api.32bit 5.5.1.0 (Selected)
    TSM Client - Application Programming Interface
Cleanup Files:
rm -rf /usr/tivoli/
rm /var/log/dsmwebcl.log
rm /var/log/dsmsched.log
rm /var/log/backuperrors.log
Remove these lines from /etc/inittab:
itsm::once:/usr/bin/dsmc schedule >/dev/null 2>&1 #TSM scheduler
itsm2::once:/usr/bin/dsmcad >/dev/null 2>&1 #TSM web client

SSH Login Without Password


Goal

The goal is to have an automatic login for ssh so my script doens't need any passwords in it's configuration files. Automatic login through SSH works with PKI (public key infrastructure). We want to create a public key which can be placed on the remote server user's .ssh directory.

Source Host

As the user who is going to start the script issue this command (do not enter a passphrase):
bash-3.00$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/dbuser/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/dbuser/.ssh/id_rsa.
Your public key has been saved in /home/dbuser/.ssh/id_rsa.pub.
The key fingerprint is:
52:45:7a:ca:85:70:7b:cb:f8:1f:33:7a:50:14:73:83 dbuser@dbserver.company.local

Target Host

You can add the public key to the authorized_keys file manually:
syncuser@syncserver:~/.ssh> ll
total 8
-rw-r--r-- 1 repluser users 1472 2009-01-05 17:12 authorized_keys
-rw-r--r-- 1 repluser users  250 2008-10-10 12:24 known_hosts
 
syncuser@syncserver:~/.ssh> vi authorized_keys
Or you can use this command to ssh from the source host:
cat .ssh/id_rsa.pub | ssh syncuser@swyncserver 'cat >> .ssh/authorized_keys'

Known Hosts

When you try to connect now you get a one time warning if the server is not yet in your list of known hosts:
The authenticity of host 'syncserver,10.10.10.10' can't be established.
RSA key fingerprint is 84:17:4c:27:21:53:ef:fc:6f:57:9d:48:03:c6:17:6b.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'syncserver,10.10.10.10' (RSA) to the list of known hosts.

Authorized Key Is Ignored

If the key is ignored, as in, you still have to enter your password, it could be that the .ssh directory and or authorized key is readable/writable to others than yourself. Fix that by setting the permissions to allow only yourself (chmod 700 .ssh)

Smitty Fast Paths


System Management Interface Tool.
Application/TaskFast Path
Software Installation and Maintenance
Install and Update Software
     Install Software
     Update Installed Software to Latest Level (Update All)
     Install Software Bundle
     Update Software by Fix (APAR)
     Install and Update from ALL Available Software
List Software and Related Information
     List Installed Software and Related Information
           List Installed Software
           List Applied but Not Committed Software Updates
           Show Software Installation History
           Show Fix (APAR) Installation Status
           List Fileset Requisites
           List Fileset Dependents
           List Files Included in a Fileset
           List Fileset Containing File
           Show Installed License Agreements
      List Software on Media and Related Information
           List Filesets in a Bundle
           List Software on Installation Media
           List Software Fixes (APARs) on Installation Media
           List Supplemental Fileset Information on Installation Media
           Show License Agreements on Installation Media
Software Maintenance and Utilities
     Commit Applied Software Updates (Remove Saved Files)
     Reject Applied Software Updates (Use Previous Version)
     Remove Installed Software
     Copy Software to Hard Disk for Future Installation
     Check Software File Sizes After Installation
     Verify Software Installation and Requisites
Network Installation Management
     Configure Network Installation Management Client Fileset
     Install and Update Software
     List Software on Media and Related Information
           List Filesets in a Bundle
           List Software on Installation Media
           List Software Fixes (APARs) on Installation Media
     Manage Network Install Permissions
     Manage Network Install Resource Allocation
System Backup Manager
     Back Up the System
           Back Up This System to Tape/File
           Create a Generic Backup CD
     List Files in a System Image
     Restore Files in a System Image
install
install_update
install_latest
update_all
install_bundle
update_by_fix
install_all
list_software
list_installed
list_installed_sw
list_applied_sw
show_history
show_apar_stat
list_requisites
list_dependents
list_files
what_fileset
installed_license
list_media
list_bundle
list_media_sw
list_media_fixes
list_media_info
license_on_media
maintain_software
commit
reject
remove
bffcreate
check_files
verify_install
nim_client
niminit
nim_client_inst
nim_client_list
nim_c_list_bundle
nim_c_list_sw
nim_c_list_fixes
nim_perms
nim_c_mac_res
backsys
sysbackup
mksysb
mkcdgeneric
lsmksysb
restmksysb
Software License Management
Manage Nodelocked Licenses
     Add Nodelocked License from a File
     Add Nodelocked License from the Keyboard
     Delete a Nodelocked License
Manage License Servers and License Databases
     Show Server Characteristics
     Manage Concurrent Use and Use Once Licenses
     Manage Vendor Information in License Databases
Show License Usage on Servers
     Show License Usage Summary
     Show Licenses Currently Being Used
     Show License Information by Server
     Show Licenses Held by a Specific User
Show License Agreements
     Show Installed License Agreements
     Show License Agreements on Installation Media
licenses
manage_nodelocked
add_nodelocked_from_file
add_nodelocked_from_keyboard
delete_nodelocked
manage_servers
show_server_characteristics
manage_prod_licenses
manage_vendors
show_server_status
show_total_license_usage
show_current_license_usage
show_installed_licenses
show_user_license_held
show_license_agree
installed_license
license_on_media
Devices
Install/Configure Devices Added After IPL
Printer/Plotter
TTY
PTY
Console
Fixed Disk
CD ROM Drive
Read/Write Optical Drive
Diskette Drive
Tape Drive
Communication
Graphic Displays
Graphic Input Devices
Low Function Terminal (LFT)
SCSI Initiator Device
SCSI Adapter
Asynchronous I/O
Multimedia
List Devices
Configure/Unconfigure Devices
     Unconfigure a Device
     Configure a Defined Device
Install Additional Device Software
PCI Hot Plug Manager
     Unconfigure a Device
     Configure a Defined Device
     Install/Configure Devices Added After IPL
ISA Adapters
dev
cfgmgr
printer
tty
pty
console
disk
cdrom
rwopt
diskette
tape
commodev
g_display
input
lft
scsiid
scsia
aio
mm
lsattr
devcfg
devcfg_ucfg
devcfg_cfg
devinst
devdrpci
rmdev
mkdev
cfgmgr
devisa
System Storage Management (Physical & Logical Storage)Logical Volume Manager
      Volume Groups
           List All Volume Groups
           Add a Volume Groups
           Set Characteristics of a Volume Group
           List Contents of a Volume Group
           Remove a Volume Group
           Activate a Volume Group
           Deactivate a Volume Group
           Import a Volume Group
           Export a Volume Group
           Mirror a Volume Group
           Unmirror a Volume Group
           Synchronize LVM Mirrors
           Back Up a Volume Group
           Remake a Volume Group
           List Files in a Volume Group Backup
           Restore Files in a Volume Group Backup
      Logical Volumes
           List All Logical Volumes by Volume Group
           Add a Logical Volume
           Set Characteristics of a Logical Volume
           Show Characteristics of a Logical Volume
           Remove a Logical Volume
           Copy a Logical Volume
      Physical Volumes
           Add a Disk
           Change Characteristics of a Physical Volume
           List Contents of a Physical Volume
           Move Contents of a Physical Volume
      Paging Space
           Add Another Paging Space
           Change/Show Characteristics of a Paging Space
           Remove a Paging Space
           Activate a Paging Space
           Deactivate a Paging Space
File Systems
     List All File Systems
     List All Mounted File Systems
     Add/Change/Show/Delete File Systems
     Mount a File System
     Mount a Group of File Systems
     Unmount a File System
     Unmount a Group of File Systems
     Verify a File System
     Backup a File System
     Restore a File System
     List Contents of a Backup
Files & Directories
     Backup a File or Directory
     Restore a File or Directory
     List Contents of a Backup
Removable Disk Management
     List All Mounted File Systems on a Disk
     Unmount File Systems on a Disk
     Remove a Disk from the Operating System
     Remove a Disk
     Open Door
System Backup Manager
     Back Up the System
     List Files in a System Image
     Restore Files in a System Image
storage
lvm
vg
lsvg2
mkvg
vgsc
lsvg1
reducevg2
varyonvg
varyoffvg
importvg
exportvg
mirrorvg
unmirrorvg
syncvg
vgbackup
restvg
lsbackvg
restsavevg
lv
lsvg
mklv
lvsc
lslv
rmlv
cplv
pv
makdsk
chpv
lspv
migratepv
pgsp
mkps
chps
rmps
swapon
swapoff
fs
lsfs
mount
manfs
mountfs
mountg
umountfs
umountg
fsck
backfilesys
restfilesys
listtoc
filemgr
backfile
restfile
listtoc
rds
lsmntdsk
umntdsk
removedsk
rmvdsk1
open_door
backsys
sysbackup
lsmksysb
restmksysb
Security and UsersUsers
     Add a User
     Change a User's Password
     Change/Show Characteristics of a User
     Lock/Unlock a User's Account
     Reset User's Failed Login Count
     Remove a User
     List All Users
Groups
     List All Groups
     Add a Group
     Change/Show Characteristics of a Group
     Remove a Group
Passwords
     Change a User's Password
     Change/Show Password Attributes for a User
Login Controls
     Change/Show Login Attributes for a User
     Change/Show Login Attributes for a Port
Roles
     Add a Role
     Change/Show Characteristics of a Role
     Remove a Role
     List All Roles
security
users
mkuser
passwd
chuser
lockuser
failed_logins
rmuser
lsuser
groups
lsgroup
mkgroup
chgroup
rmgroup
passwords
passwd
passwdattrs
logins
login_user
login_port
roles
mkrole
chrole
rmrole
lsrole
Communications Applications and ServicesTCP/IP
      Minimum Configuration & Startup
      Further Configuration
           Hostname
           Static Routes
           Network Interfaces
           Name Resolution
           Client Network Services
           Server Network Services
           Manage Print Server
           Select BSD style rc Configuration
           Authentication Configuration
      Use DHCP for TCPIP Configuration & Startup
      IPV6 Configuration
           IPV6 Static Routes
           IPV6 Network Interfaces
           IPV6 Daemon/Process Configuration
      Quality of Service Configuration & Startup
           Start Using the QoS Subsystem
           Stop Using the QoS Subsystem
NFS
      Configure TCP/IP (If Not Already Configured)
      Network File System (NFS)
           Configure NFS on This System
           Add a Directory to Exports List
           Change/Show Attributes of an Exported Directory
           Remove a Directory from Exports List
           Add a File System for Mounting
           Change/Show Attributes of an NFS File System
           Remove Remove an NFS File System
commo
tcpip
mktcpip
configtcp
hostname
route
netinterface
namerslv
clientnet
ruser
server
setbootup_option
auth_config
usedhcp
configtcp6
route6
inet6
daemon6
configqos
startqos
stopqos
nfs_menus
tcpip
nfs
nfsconfigure
mknfsexp
chnfsexp
rmnfsexp
mknfsmnt
chnfsmnt
rmnfsmnt
Print SpoolingStart a Print Job
Manage Print Jobs
     Cancel a Print Job
     Show the Status of Print Jobs
     Prioritize a Print Job
     Hold/Release a Print Job
     Move a Job Between Print Queues
Manage Print Queues
     Show Status of Print Queues
     Stop a Print Queue
     Start a Print Queue
     Set the System's Default Print Queue
Add a Print Queue
Add an Additional Printer to an Existing Print Queue
Change/Show Print Queue Characteristics
Remove a Print Queue
Manage Print Server
Programming Tools
spooler
qprt
jobs
qcan
qchk
qpri
qhld
qmove
pqmanage
qstatus
qstop
qstart
qdefault
mkpq
mkqprt
chpq
rmpq
server
pqtools
Problem DeterminationError Log
     Generate Error Report
     Change/Show Characteristics of the Error Log
     Clean the Error Log
System Dump
     Change the Primary Dump Device
     Change the Secondary Dump Device
     Change the Directory to which Dump is Copied on Boot
     Copy a System Dump from a Dump Device to a File
     Copy a System Dump from a Dump Device to Diskette
     Always Allow System Dump
     System Dump Compression
     Check Dump Resources Utility
Alog
     Show an Alog file
     Change/Show Characteristics of an Alog File
Hardware Diagnostics
Verify Software Installation and Requisites
problem
error
errpt
errdemon
errclear
dump
dumpchgp
dumpchgs
dumpchgd
dump_copy_file
dump_copy_dskt
dump_allow
dump_comprs
dump_checkr
alog
alog_show
alog_change
diag
verify_install
Performance and Resource SchedulingResource Status & Monitors
Analysis Tools
Resource Controls
     Remove a Process
     Set Initial Priority of a Process
     Change Initial Priority of a Process
     Set System Run Level
Schedule Jobs
Power Management
     Configure/Unconfigure Power Management
     System State Transition from Enable State
     Display Power Management
     Battery
Workload Management
      Work on alternate configurations
           Copy a configuration
           Create a configuration
           Select a configuration
           Enter configuration description
           Remove a configuration
      Work on a set of Subclasses
      Add a class
      Change/Show Characteristics of a class
           General characteristics of a class
           CPU resource management
           Memory resource management
           diskIO resource management
      Remove a class
      Class assignment rules
           Create a new Rule
           Change/Show Characteristics of a Rule
      Start/Stop/Update WLM
           Start Workload Management
           Update Workload Management
           Stop Workload Management
      Assign/Unassign processes to a class/subclass
performance
monitors
analysis
controls
kill
nice
renice
telinit
at
pm
pmConfig
pmState
pmDisplaySelect
pmBattery
wlm
wlmconfig
wlmconfig_copy
wlmconfig_create
wlmconfig_select
wlmconfig_enter
wlmconfig_delete
wlmsubclass
wlmaddclass
wlmchclass
wlmclass_gal
wlmclass_cpu
wlmclass_mem
wlmclass_bio
wlmrmclass
wlmrs
crewlmrs
chgwlmrs
wlmmanage
wlmstart
wlmupdate
wlmoff
wlmassign
System EnvironmentsStop the System
Assign the Console
Change/Show Date and Time
     Change/Show Date & Time
     Change Time Zone Using System Defined Values
     Change Time Zone Using User Inputted Values
Manage Language Environment
     Change/Show Primary Language Environment
     Add Additional Language Environments
     Remove Language Environments
     Change/Show Language Hierarchy
     Set User Languages
     Change/Show Applications for a Language
     Convert System Messages and Flat Files
Change/Show Characteristics of Operating System
Change/Show Number of Licensed Users
Manage AIX Floating User Licenses for this Server
Broadcast Message to all Users
Manage System Logs
Change/Show Characteristics of System Dump
Internet and Documentation Services
     Change/Show Default Browser
     Change Documentation and Search Server
     Change/Show Default Documentation Language
     Web-based System Manager
Change System User Interface
Change/Show Default Documentation Language
Manage Remote Reboot Facility
Manage System Hang Detection
system
shutdown
chcons
chtz_date
date
chtz
chtz_user
mlang
chlang
mle_add_lang
mle_rm_lang_hdr
mle_hier_cmd_hdr
chlang_user
mle_chapp_menu
nu_iconv
chgsys
chlicense
netls_server
wall
logs
dump
web_configure
change_default_browser
change_doc_search_server
chdoclang
web_based_system_manager
dt_config
chdoclang
rrbtty
shd
Processes and SubsystemsProcesses
     Remove a Process
     Bind a Process to a Processor
     Unbind a Process
Subsystems
     Query a Subsystem
     Start a Subsystem
     Stop a Subsystem
           Stop a Single Subsystem
           Stop All Subsystems
     Refresh a Subsystem
     Trace Subsystem
           Start Trace
           Stop Trace
Subservers
     Query a Subserver
     Start a Subserver
     Stop a Subserver
     Trace Subserver
           Start Trace
           Stop Trace
src
process
kill
bindproc
unbindproc
subsys
qssys
startssys
stopssys
stopassys
stopallssys
refresh
tracessys
tracessyson
tracessysoff
subserver
qserver
startserver
stopserver
traceserver
startserver.trace
stopserver.trace