Thursday, February 25, 2010

AIX tools for SAP Administrators Set 2

List subsystem, this shows the subsystems that are active and inactive along with their PIDs
lssrc -a

This starts sendmail
startsrc -s sendmail -a "-bd -q30m"


lsps is used to list the characteristics of paging space

Turning off ip forwarding:
/usr/sbin/no -o ipforwarding=0

Detailed info about a specific error (errors are stored in NVRAM on AIX)
errpt -a -jE85C5C4C


Checking the fileset installation
lslpp -l

show LPAR configuration
lparstat -i or prtconf

Run the ssadiag against the drive and the adapter and it will tell you if it fails or not. Then if its a hot plugable it can be replaced online.

Backup to tape:
env - /usr/bin/mksysb '-m' '-i' '-X' /dev/rmt0
The "env -" is because some sort of environment variable can confuse
mksysb, making it error out instead of doing your backup
There's also "smitty mksysb"

You can create an image using the savevg command i.e.
savevg -v -n -9 / _rootvg.img rootvg

No comments:

Post a Comment