Upload
sharmapradeep2014
View
44
Download
0
Embed Size (px)
DESCRIPTION
PSAdmin
Citation preview
5/28/2018 Ps Admin
1/6
1.Step followed to bounce appserver on window
a)Go C://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 theapplication server (rather than the entire application server).
Here's how:
Start psadmin 1) Application Server
1) Administer a domain
5) Tuxedo command line (tmadmin) - this may varydepending 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 areboot 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
5/28/2018 Ps Admin
2/6
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 areavailable on the application server. For example, you use PSADMIN to configure application serverdomains, 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:
5/28/2018 Ps Admin
3/6
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 ofcarrying out certain server administration tasks
To use the PSADMIN command-line interface, first change at a command prompt to thePS_HOME\appserv directory on the application server or PeopleSoft Process Scheduler machine.
psadmin -h Displays command help and syntax.
psadmin -v Displays the PSADMIN version number, as in Version 8.50.
psadmin -env Displays your current environment variables.
PSAdmin Command ReferenceThe PSAdmin command line application under PS_HOME\appservallows for a number of veryuseful parameters. To get a full list with examples, type psadmin -h.
The commands are broken down into the various servers:
5/28/2018 Ps Admin
4/6
Process scheduler:psadmin -p -d Search server: psadmin -s -d Application server: psadmin -c -d
I'm not sure why the application server command is -cinstead 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: ERROR: Nosuch command.it 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
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: Nosuch command.it suggests the domain is down.
Perform a boot (option 1), domain shutdown (option 2, 1), forced domain shutdown (option 2, 2), purgethe cache without archiving and log some comments (option 8) and clean IPC resources (option 10) on theapplication 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"
5/28/2018 Ps Admin
5/6
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 [-noarch | -arch ] [-log
]
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 throughits 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.
5/28/2018 Ps Admin
6/6
TMSHUTDOWN.EXE
This Tuxedo executable resides in TUXDIR\bin.
The configuration and data files on which the executables rely all reside inPS_CFG_HOME\appserv\domain_name.Each domain has its own set of these files:
PSAPPSRV.CFGThis is the catch-all configuration file that contains the entire collection of configuration values fora 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 invalidvalues.
PSTUXCFG
This contains PeopleSoft and Tuxedo information regarding the location of executables, files, andcommand 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 usesthe information that resides in the PSAPPSRV.ENV and PSTUXCFG files to boot the appropriatedomain.
Stopping a Domain
When you select Domain shutdown menu and select one of the shutdown
http://docs.oracle.com/cd/E15645_01/pt850pbr0/eng/psbooks/tsvt/htm/tsvt05.htmhttp://docs.oracle.com/cd/E15645_01/pt850pbr0/eng/psbooks/tsvt/htm/tsvt05.htmhttp://docs.oracle.com/cd/E15645_01/pt850pbr0/eng/psbooks/tsvt/htm/tsvt05.htmhttp://docs.oracle.com/cd/E15645_01/pt850pbr0/eng/psbooks/tsvt/htm/tsvt05.htm