Ps Admin

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 6
At a glance
Powered by AI
The key steps are to use the psadmin tool and tmadmin commands to shutdown and restart application server domains and processes.

The steps provided on page 1 describe how to bounce an application server on Windows using the psadmin tool: a) Go to the PeopleTools folder, b) Run psadmin.exe, c) Choose the application server option, d) Choose the administrator domain, e) Choose the database to bounce, f) Choose the shutdown option, g) Choose the normal shutdown option.

As described on page 1, you use the tmadmin shutdown command to shutdown the PUBSUB group processes, followed by the tmadmin boot command to restart just those PUBSUB processes.

1.

Step followed to bounce appserver on window a)Go C:/<PeopleTools Folder>/appserv/ b)just click on psadmin executable c)Command window will open that will show you first option as Application server d)Choose first option on command window e)Next Command window will appear that will show you first option as administrator domain.choose administrator option f)Next window,you can see Tuxedo domain list .choose the database which you want to bounce. g)Next window will appear that will show you second option as domain shutdown menu.here choose second option . g)Next window show you normal shutdown/force shutdown..Choose first option then it will bounce Ur app server.

Restarting PUBSUB For integration broker configuration changes, it is possible just to restart the PUBSUB group of processes on the application server (rather than the entire application server). Here's how:

Start psadmin 1) Application Server 1) Administer a domain <Pick the appropriate domain> 5) Tuxedo command line (tmadmin) - this may vary depending on your PeopleTools version

In the tuxedo command line, use the help or h command to show a list of commands. The two you'll need to know are boot or b and shutdown or stop. First you'll need to shutdown all processes in the PUBSUB group: > shutdown -g PUBSUB

Shutting down server processes ...

Server Id = 300 Group Id = PUBSUB Machine = server.domain.com: shutdown succeeded Server Id = 301 Group Id = PUBSUB Machine = server.domain.com: shutdown succeeded Server Id = 200 Group Id = PUBSUB Machine = server.domain.com: shutdown succeeded Server Id = 201 Group Id = PUBSUB Machine = server.domain.com: shutdown succeeded Server Id = 100 Group Id = PUBSUB Machine = server.domain.com: shutdown succeeded Server Id = 101 Group Id = PUBSUB Machine = server.domain.com: shutdown succeeded 6 processes stopped. Then boot up the PUBSUB group again: > boot -g PUBSUB

INFO: Oracle Tuxedo, Version 10.3.0.0, 64-bit, Patch Level (none)

Booting server processes ...

exec PSBRKHND -o ./LOGS/stdout -e ./LOGS/stderr -s PSBRKHND_dflt:BrkProcess -- -D DBNAME -S PSBRKHND_dflt : process id=18265 ... Started. exec PSBRKDSP -o ./LOGS/stdout -e ./LOGS/stderr -s PSBRKDSP_dflt:Dispatch -- -D DBNAME -S PSBRKDSP_dflt : process id=18268 ... Started. exec PSPUBHND -o ./LOGS/stdout -e ./LOGS/stderr -s PSPUBHND_dflt:PubConProcess -- -D DBNAME -S PSPUBHND_dflt : process id=18271 ... Started. exec PSPUBDSP -o ./LOGS/stdout -e ./LOGS/stderr -s PSPUBDSP_dflt:Dispatch -- -D DBNAME -S PSPUBDSP_dflt : process id=18275 ... Started. exec PSSUBHND -o ./LOGS/stdout -e ./LOGS/stderr -s PSSUBHND_dflt:SubConProcess -- -D DBNAME -S PSSUBHND_dflt : process id=18287 ... Started. exec PSSUBDSP -o ./LOGS/stdout -e ./LOGS/stderr -s PSSUBDSP_dflt:Dispatch -- -D DBNAME -S PSSUBDSP_dflt : process id=18290 ... Started. 6 processes started. To quit out of the tuxedo command line, type quit or just q.

PSADMIN simplifies the process of configuring and administering all of the servers and features that are available on the application server. For example, you use PSADMIN to configure application server domains, Process Scheduler servers, and search servers.

This section assumes that you have already installed and configured the PeopleSoft application server. See PeopleTools Installation for your database platform. To start the PSADMIN utility:

1. At a command prompt, change to the following directory on the application server machine: PS_HOME\appserv 2. Enter the following command:
psadmin

3. Select the server that you want to configure, administer, or monitor from the PSADMIN menu.
4. -------------------------------5. PeopleSoft Server Administration 6. -------------------------------7. 1) Application Server 8. 2) Process Scheduler 9. 3) Search Server 10. 4) Service Setup 11. q) Quit Command to execute (1-4, q):

This section provides an overview of the PSADMIN command-line interface and discusses how to: Use the miscellaneous commands. Use the application server commands. Use the Process Scheduler commands. Use the Search Server commands.

Understanding the PSADMIN Command-Line Interface


In some cases, you might want to use the PSADMIN command-line interface rather than starting the PSADMIN interface and navigating to a particular menu. The command line offers a direct method of carrying out certain server administration tasks To use the PSADMIN command-line interface, first change at a command prompt to the PS_HOME\appserv directory on the application server or PeopleSoft Process Scheduler machine.
psadmin -h psadmin -v psadmin -env

Displays command help and syntax. Displays the PSADMIN version number, as in Version 8.50. Displays your current environment variables.

PSAdmin Command Reference


The PSAdmin command line application under PS_HOME\appserv 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. Here's some of the most commonly used command line options: Get environment variable information set by psadmin: psadmin -env

Process Scheduler
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: such command. it suggests the process scheduler is down.

ERROR: No

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
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: such command. it suggests the domain is down.

ERROR: No

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

How to Clear the Application Server Cache Without Shutting it Down Normally, you would shut down the application server, delete the physical cache directories and restart the application server.

This can also be invoked from the command line


psadmin -c purge -d <domain> [-noarch | -arch <archive_directory>] [-log <"log_comments">] where 'domain' specifies domain name in PS_HOME and 'archive_directory' specifies location to which to quarantine the purged cache, 'log_comments' specifies any comments to be added to the purge cache log entry

Understanding PSADMIN Executables and Configuration Files


You can create, configure, and boot an application server domain from the PSADMIN interface or through its command-line options. The executables are: PSADMIN.EXE This PeopleSoft executable resides in PS_HOME\appserv. UBBGEN.EXE This PeopleSoft executable resides in PS_HOME\bin\server\winx86. TMLOADCF.EXE This Tuxedo executable resides in TUXDIR\bin. Note. TUXDIR is the directory where you install Tuxedo. TMBOOT.EXE This Tuxedo executable resides in TUXDIR\bin.

TMSHUTDOWN.EXE This Tuxedo executable resides in TUXDIR\bin.

The configuration and data files on which the executables rely all reside in PS_CFG_HOME\appserv\domain_name. Each domain has its own set of these files: PSAPPSRV.CFG This is the catch-all configuration file that contains the entire collection of configuration values for a given application server domain. PSAPPSRV.UBX This is the template or model file for the PSAPPSRV.UBB file. PSAPPSRV.UBB This file stores and passes all of the domain values to the Tuxedo load configuration program (tmloadcf.exe). PSAPPSRV.PSX This is the template or model file specifically for the messaging server configuration sections. PSAPPSRV.ENV This contains environment information, such as the PS_HOME referenced by a domain. PSAPPSRV.VAL This contains the format specification for the configuration parameters and, for some parameters, a set of valid values that can assigned. This helps to prevent administrators from entering invalid values. PSTUXCFG This contains PeopleSoft and Tuxedo information regarding the location of executables, files, and command lines for server processes. This file is required to boot a domain. JREPOSITORY This file contains a list of the services handled by the application server on behalf of Jolt.

Booting a Domain
When you select Boot this domain, PSADMIN calls the Tuxedo executable, TMBOOT.EXE, which uses the information that resides in the PSAPPSRV.ENV and PSTUXCFG files to boot the appropriate domain.

Stopping a Domain
When you select Domain shutdown menu and select one of the shutdown

You might also like