Info
Content

PSAdmin


PSAdmin is used to administer PeopleSoft servers such as the application server, process scheduler and search server through a command line interface.

The PSAdmin command lives in PS_HOME\appserv and allows for a number of very useful parameters. To get a full list with examples, type psadmin -h.

The commands are broken down into the various servers:

  • Process scheduler: psadmin -p <command> -d <database>
  • Search server: psadmin -s <command> -d <domain>
  • Application server: psadmin -c <command> -d <domain>
I'm not sure why the application server command is -c instead of the more logical -a ?

To get environment variables set by psadmin:

psadmin -env

Process Scheduler Administration

Check the status of a process scheduler database (option 8):

psadmin -p status -d YOURDB

If you see a list of the servers great. If you see a message like:

TMADMIN_CAT:111: ERROR: No such command

This suggests the process scheduler is down.

Start (option 1), stop (Option 2), kill a process scheduler server (Option 9) and clean IPC resources (option 10) on a process scheduler database:

  • psadmin -p start -d YOURDB
  • psadmin -p stop -d YOURDB
  • psadmin -p kill -d YOURDB
  • psadmin -p cleanipc -d YOURDB

Application Server Administration

Check the server status of the an application server domain (is it up or down):

psadmin -c sstatus -d YOURDOMAIN

If you see a list of the servers great. If you see a message like:

TMADMIN_CAT:111: ERROR: No such command. 

This suggests the domain is down.

Perform a boot (option 1), domain shutdown (option 2, 1), forced domain shutdown (option 2, 2), purge the cache without archiving and log some comments (option 8) and clean IPC resources (option 10) on the application server domain:

  • psadmin -c boot -d YOURDOMAIN
  • psadmin -c shutdown -d YOURDOMAIN
  • psadmin -c shutdown! -d YOURDOMAIN
  • psadmin -c purge -d YOURDOMAIN -noarch -log "Manual Cache Purge"
  • psadmin -c cleanipc -d YOURDOMAIN
No Comments
Back to top