Creating and Configuring a Process Scheduler Server

This section describes how to create and configure a Process Scheduler server.

You can set Process Scheduler configuration parameters either by using PSADMIN, which provides an interactive dialog, or by editing the configuration file psprcs.cfg located in the PS_CFG_HOME\appserv\prcs\database name directory. The following steps assume you are using PSADMIN to specify parameter settings.

Note:

For Cube Builder users, if Essbase Server is installed on a different machine than the Process Scheduler, you must install Essbase Client 11.1.2.1 on the process scheduler server machine. You must also ensure that the %ESSBASEPATH% and %ARBORPATH% environmental variables are properly set in the Process Scheduler.

Note:

If you use the configuration file psprcs.cfg, be aware that the section [Output Dest Exceptions] is written to trap metastring exceptions not only in the output destination but in other process parameters as well. In this section the entry OUTDEST_EXCEPT01=%ANYMETASTRING% that was used in older releases has been changed to PARAMETER_EXCEPT01=%ANYMETASTRING%.

To create and configure a Process Scheduler Server:

  1. From PS_HOME\appserv on the batch server, type psadmin.

    You see the PeopleSoft Server Administration menu, as in this example:

    ----------------------------------------------
    PeopleSoft Server Administration
    ---------------------------------
    PS_CFG_HOME          C:\User\JSMITH\psft\pt\8.63
    PS_HOME              C:\psft\pt\ps_home8.63
    PS_APP_HOME          C:\psft\pt\hcm_app_home
    
    1) Application Server
    2) Process Scheduler
    3) Web (PIA) Server
    4) Switch Config Home
    5) Service Setup
    6) Replicate Config Home
    7) Refresh Config Home
    q) Quit
    
    Command to execute (1-7 q): 
  2. Depending on your environment, you may see a message after the menu selection, which indicates that PSADMIN has modified the PS_CFG_HOME/peopletools.properties file with the current PS_HOME location:

    ************************************************************
    PS_CFG_HOME/peopletools.properties file has been updated.
    You should use the Config Home Refresh feature in PSAdmin 
    to ensure that all of your domains are current.
    Alternatively, you may recreate all of your domains.
    Please press any key to continue...
    *************************************************************

    This indicates that one of these situations exists:

    • The PS_CFG_HOME that you are working with was used previously from a different PS_HOME. In this case, you should recreate any existing Application Server, Process Scheduler, Search, or PIA domains in this PS_CFG_HOME.

    • You configured your environment such that PS_CFG_HOME is the same as PS_HOME. The first time you use PSADMIN to create a domain, it updates the PS_CFG_HOME/peopletools.properties file. Continue with the next step.

  3. Select 2 to access the Process Scheduler submenus.

  4. Select 2 for Create a domain from the PeopleSoft Process Scheduler Administration menu.

    -------------------------------------------
    PeopleSoft Process Scheduler Administration
    -------------------------------------------
    1) Administer a domain
    2) Create a domain
    3) Delete a domain
    4) Import domain configuration
    q) Quit
    
    Command to execute (1-4, q) : 2
                   
  5. Enter the name of the domain at the following prompt, such as HRDMO in this example, and press ENTER:

    Please enter name of domain to create : HRDMO
                   
  6. Specify 2 for windows for the configuration templates.

    The nt configuration is based on the operating system Process Scheduler server will be booted from.

     Process Scheduler Configuration templates:
    
     1) os390
    
     2) windows
    
     Select config template number:
  7. After the system creates the domain, the Quick-configure menu appears:

    ------------------------------------------------------------
    Quick-configure menu -- domain: HRDMO
    ------------------------------------------------------------
         Features                      Settings
        ==========                    ==========
      1) App Engine Server : Yes   10) DBNAME     :[HRDMO]   
      2) Master Scheduler  : Yes   11) DBTYPE     :[MICROSFT]  
      3) Perf Collator     : No    12) PrcsServer :[PSNT]
      4) Domains Gateway   : No    13) UserId     :[PS]
      5) Push Notifications: No    14) UserPswd   :[]
      6) Real Time Indexing: Yes   15) ConnectID  :[people]
                                   16) ConnectPswd:[]    
                                   17) Log/Output Dir:[%PS_SERVDIR%\log_output]
                                   18) SQRBIN     :[%PS_HOME%\bin\sqr\MSS\binw]   
                                   19) AddToPATH  :[%WINDIR%;%WINDIR%\SYSTEM32]
                                   20) DBBIN      :[C:\<connectivity directory>]
                                   21) PHC Remote Admin Settings:[]
         Actions
        =========
      7) Load config as shown
      8) Custom configuration
      9) Edit environment settings
      h) Help for this menu
      q) Return to previous menu
    
    HINT: Enter 10 to edit DBNAME, then 7 to load
    
    Enter selection (1-20, h, or q):
    ------------------------------------------------------------
    Quick-configure menu -- domain: HRDMO
    ------------------------------------------------------------
         Features                      Settings
        ==========                    ==========
      1) App Engine Server : Yes   10) DBNAME     :[HRDMO]   
      2) Master Scheduler  : Yes   11) DBTYPE     :[DB2ODBC]  
      3) Perf Collator     : No    12) PrcsServer :[PSNT]
      4) Domains Gateway   : No    13) UserId     :[PS]
      5) Push Notifications: No    14) UserPswd   :[]
      6) Real Time Indexing: Yes   15) ConnectID  :[people]
                                   16) ConnectPswd:[]    
                                   17) Log/Output Dir:[%PS_SERVDIR%\log_output]
                                   18) SQRBIN     :[%PS_HOME%\bin\sqr\ODB\binw]   
                                   19) AddToPATH  :[%WINDIR%;%WINDIR%\SYSTEM32]
                                   20) DBBIN      :[C:\<connectivity directory>]
                                   21) PHC Remote Admin Settings:[]
         Actions
        =========
      7) Load config as shown
      8) Custom configuration
      9) Edit environment settings
      h) Help for this menu
      q) Return to previous menu
    
    HINT: Enter 10 to edit DBNAME, then 7 to load
    
    Enter selection (1-20, h, or q):
  8. If you need to modify any of these settings, enter the number next to the parameter name, type the new value, and press ENTER. This table lists the parameters and gives brief descriptions.

    Parameter Description

    Master Scheduler

    Select this option to enable the Master Scheduler Server (PSMSTPRC). The default is to enable the server.

    See PeopleTools: Process Scheduler.

    App Engine

    Select this option to initiate Application Engine programs through the AE Tuxedo Server (PSAESRV). The default is set to run AE using PSAESRV.

    See PeopleTools: Process Scheduler.

    Perf Collator

    Select this option to enable the PSPPMSRV server process.

    See PeopleTools: Performance Monitor, "Enabling the Required Elements on the Monitoring System."

    Domain Gateways

    Select this option to enables inter domain communication, for example between Application Server and Process Scheduler domains.

    See PeopleTools: Fluid User Interface Developer’s Guide, "Configuring the System for Push Notifications."

    Push Notifications

    Select this option to enables pushing server events from PeopleSoft PeopleTools server runtime, such as Application Server and Process Scheduler, to browser clients and other PeopleSoft PeopleTools server runtime components.

    See PeopleTools: Fluid User Interface Developer’s Guide, "Configuring the System for Push Notifications."

    Real Time Indexing

    Select this option to enable the process for Real Time Indexing (PSRTISRV). With real-time indexing, data is indexed as it is added, updated, or deleted to ensure up-to-date data in PeopleSoft Search. The default is to enable real-time indexing.

    See PeopleTools: Search Technology.

    See PeopleTools: Process Scheduler, "Editing the PeopleSoft Process Scheduler Configuration File"

    Load config as shown

    Load the selections you made in the Quick Configure menu.

    Custom configuration

    Make custom selections in PSADMIN, using options that are not available in the Quick Configure menu.

    Edit environment settings

    Edit, add, remove, comment out, and review domain-level environment variables.

    DBNAME

    Specify the database name that is associated with a PeopleSoft Process Scheduler Server Agent, such as HRDMO, FSDMO, CSDMO, and so on.

    DBTYPE

    Specify the database type: MICROSFT.

    PrcsServer

    Specify the process server name. This must match the name defined in the Server Definition table, such as PSNT or PSUNX.

    UserId

    Enter the user ID, such as VP1 or PS.

    UserPswd

    Enter the password for the user ID, as you specified during the database configuration.

    The password is hidden by masking characters as you type, in the Quick-configure menu after entry.

    ConnectID

    Enter the connect ID. This value is required.

    ConnectPswd

    Enter the connect password, as you specified during the database configuration. This value is required.

    The password is hidden by masking characters as you type, in the Quick-configure menu after entry.

    Log/Output Dir

    Specify the directory in which files that are generated by the program are written. When PeopleSoft Process Scheduler initiates a process request, it creates a subdirectory in the format <Process Type ID>_<Program Name>_<Process Instance> that contains the generated files. For instance, the SQR program XRFWIN that ran with process instance 20 has all reports, trace, and log files in the subdirectory SQR_XRFWIN_20. It is also the optional directory used with the Output Destination field when scheduling a request. This variable (%%OutputDirectory%%) can be used in the File/Printer field of the Process Scheduler Request dialog box.

    SQRBIN

    Enter the path to the SQR executables.

    AddToPATH

    (Optional for Tuxedo) Specify an additional directory that is appended to the PATH environment variable.

    For a Microsoft SQL Server installation, specify the 64-bit connectivity software. The location of the connectivity software varies depending upon the version of Microsoft SQL Server that you are using. The location may also vary depending on the options chosen during installation.

    Note: For the supported Microsoft SQL Server versions, the default path is C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn.

    Note: If the PATH environment variable already includes the database connectivity location, you do not need to change the setting for AddToPATH.

    DBBIN

    Enter the path to the database drivers; that is, your connectivity software.

    PHC Remote Admin Settings

    Use this setting to enable embedded JMX Agents for use with PeopleSoft Health Center (PHC).

    The setting is enabled by default. Enter 1 to enable, and 0 to disable.

    Note: If you do not disable the setting and you do not supply any information, you see a message when you configure the Process Scheduler domain, such as “Enable PS JMX is not 0, but some of PS JMX parameters (userId, userPwd) are empty. PHC will not be able to work.”

    When you enter 1 to enable Remote Administration, you must supply the port, user ID, and password. You may also set up SSL. You see prompts for:

    • Remote Administration Port

    • Remote Administration UserID

    • Remote Administration Password

    • Remote Administration SSL Enabled

      Enter 1 to enable SSL for JMX agents, or 0 to disable it. You see prompts for other SSL parameters.

      The default is 0, disabled.

    • Remote Administration SSL Keystore — Specify the keystore location.

    • Remote Administration SSL Keystore Password

    • Remote Administration SSL Keystore Type — Specify PKCS12 or JKS.

    • Remote Administration SSL Truststore — Specify the truststore location.

    • Remote Administration SSL Truststore Password

    • Remote Administration SSL Truststore Type — Specify PKCS12 or JKS.

    For descriptions of the PSADMIN options that do not appear in the Quick-configure menu, see the information on using PSADMIN in the PeopleTools: Process Scheduler product documentation. For a basic installation, in most cases you can accept the defaults.

  9. When you have updated the settings as needed, choose 5, Load config as shown, from the Quick-Configure menu to save your settings to the Process Scheduler configuration file, pstuxcfg.

  10. To start Process Scheduler, choose 1, for Administer Domain.

  11. On the PeopleSoft Process Scheduler Administration menu, choose 1 for Boot this domain.

    --------------------------------
    PeopleSoft Process Scheduler Administration
    ---------------------------------
    
    Domain Name: HRDMO
    
    1) Boot this domain
    2) Domain shutdown menu
    3) Domain status menu
    4) Configure this domain
    5) TUXEDO command line (tmadmin)
    6) Edit configuration/log files menu
    7) Clean IPC resources of this domain
    q) Quit
    
    Command to execute (1-7, q) :
  12. Choose 1, Boot (Serial Boot), or 2, Parallel Boot, from the PeopleSoft Domain Boot Menu.

    Note:

    The messages you see and the number of processes started will depend on the options you chose during configuration.

  13. If you want to stop Process Scheduler Server, from the PeopleSoft Domain Administration menu, choose 2, for Domain Shutdown menu, and then enter the number corresponding to the name of the appropriate database.

    Note:

    If you see the following message, then the server is already down:

    Command to execute (1-2, q) [q]: 1 Loading command line administration utility ... tmadmin - Copyright (c) 2007-2008, Oracle. Portions * Copyright 1986-1997 RSA Data Security, Inc. All Rights Reserved. Distributed under license by Oracle. Tuxedo is a registered trademark. No bulletin board exists. Entering boot mode. > TMADMIN_CAT:111: ERROR: No such command.