Working with Server Domain Configurations

This chapter provides an overview and discusses how to:

Click to jump to parent topicUnderstanding PS_HOME and PS_CFG_HOME

On any server that you install the PeopleSoft software, the installation program installs the required files for that server into one high-level directory structure, referred to as PS_HOME. After creating a domain, the configuration files associated with that domain reside in a directory structure referred to as "PS_CFG_HOME".

By default, the system separates the binary files (executables and libraries) stored in PS_HOME from the ASCII files (configuration and log files) associated with a domain stored in PS_CFG_HOME. This separation of the binary and ASCII files applies only to these servers:

Note. Decoupling binary files from ASCII files does not apply to any other PeopleSoft servers, such as file servers, database servers, or web servers.

The following table describes the two file types and provides examples of these types within the PeopleSoft server.

Location

File Type

Description

PeopleSoft Examples

PS_HOME

Binary

Compiled, non-modifiable executables and libraries.

PSADMIN.EXE

PSAPPSRV.EXE

PSAESRV.EXE

PSAPPENG.DLL

PSODBC.DLL

PS_CFG_HOME

ASCII

Text files associated with the configuration and administration of a domain that can be viewed, modified, or generated by the system.

PSAPPSRV.CFG

PSAPPSRV.CFX

PSTUXCFG

APPSRV_<DATE>.LOG

TUXLUG.<DATE>

The decoupling of these file types enables system administrators to:

Note. Although domains always contain their base template, the CFX and UBX templates (such as small, medium, and large) remain in PS_HOME. This means that when you create a new domain the template that you choose comes from PS_HOME\appserv, not PS_CFG_HOME\appserv.

Click to jump to top of pageClick to jump to parent topicImplementing Flexible Server Installations

With the binary files separate from the domain configuration, you have the option of installing multiple domains on multiple separate servers all leveraging the binary files of a single PS_HOME.

Multiple PS_CFG_HOME locations, containing multiple domains, all referencing the same PS_HOME installation on a remote server

Installing domains on separate servers enables you to:

Click to jump to top of pageClick to jump to parent topicApplying Security Restrictions

With the server binary files and configuration files in separate locations, you can now apply uniform restrictions per file type. For example, some sites might prefer to have the binary files under read-only security, while providing write access to the configuration files to specific users for administrative tasks and certain server processes, such as logging.

See Securing PS_HOME and PS_CFG_HOME.

Click to jump to parent topicWorking with the Default PS_CFG_HOME

This section discusses how to:

Click to jump to top of pageClick to jump to parent topicLocating the Default PS_CFG_HOME

When you launch PSADMIN, if a PS_CFG_HOME does not exist, the system creates the PS_CFG_HOME directory in the “user” directory of the current user (the owner of the domain). The system assumes the presence of the following environment variables:

Operating System

Required Environment Variable

UNIX/Linux

HOME

Windows

USERPROFILE

For example, depending on the operating system of the server, the system creates PS_CFG_HOME in the following location on the same drive as PS_HOME.

Operating System

PS_CFG_HOME Location

UNIX/Linux

$HOME/psft/pt/<version>

Windows

%USERPROFILE%\psft\pt\<version>

After you create a domain, the domain exists under $PS_CFG_HOME\appserv\<domain>.

With a user of tsawyer, on UNIX/Linux this would appear as:

/home/tsawyer/peopletools/8.51 /appserv /CRM /HR /PRCS /CRM_PRCS /HR_PCRS /Search /ver_dom

With a user of tsawyer, on Windows this would appear as:

C:\Documents and Settings\tsawyer\psft\pt\8.51 \appserv \CRM \HR \PRCS \CRM_PRCS \HR_PCRS \Search pswinsrv.cfg

Note. The previous examples show a situation in which CRM, HR, CRM_PRCS, HR_PRCS and ver_dom are all domain directories. They are not in PS_CFG_HOME by default, and appear only after the domains are created.

Note. A peopletools.properties file resides in each PS_CFG_HOME location in the high-level directory, such as /home/tsawyer/peopletools/8.51/peopletools.properties.

To display the default PS_CFG_HOME location, you can submit the following command to PSADMIN:

psadmin -defaultPS_CFG_HOME

Note. These commands are not case sensitive.

Click to jump to top of pageClick to jump to parent topicUsing PSADMIN with the Default PS_CFG_HOME

Launching PSADMIN requires no extra steps or variables defined when domains exist on the same machine as PS_HOME in the default PS_CFG_HOME location.

When you launch PSADMIN, it will either create (if one doesn’t exist) PS_CFG_HOME or search for PS_CFG_HOME, based on the current environment settings.

To start PSADMIN, the following conditions need to be fulfilled:

Click to jump to parent topicWorking with Alternate PS_CFG_HOME Locations

Domains can exist on the same physical machine or a different physical machine than where the PS_HOME directory resides. That is, multiple domains on different machines can leverage a single installation of the PeopleSoft binary files (PS_HOME) installed on a location accessible through your network.

This section discusses how to:

Click to jump to top of pageClick to jump to parent topicSpecifying Alternate PS_CFG_HOME Locations

The value of the PS_CFG_HOME environment variable determines where PSADMIN installs a domain. If you accept the default location of PS_CFG_HOME, this environment variable does not need to be specified. However, if you intend to install your domains in a different location, you need to override the default by setting the PS_CFG_HOME environment variable prior to launching PSADMIN.

For UNIX and Linux, you can:

For Windows, you can set PS_CFG_HOME through the Control Panel in the user variables interface, or issue a SET command prior to starting PSADMIN. For example,

C:\>SET PS_CFG_HOME=n:\psftdomains C:\>cd pt850\appserv C:\pt850\appserv>psadmin

In this case, any domains created during this PSADMIN session would be created in n:\psftdomains\appserv.

Note. If you elect to operate in the same fashion as previous PeopleTools releases (where the configuration files and the binary files exist within the same directory structure) set PS_CFG_HOME = PS_HOME.

Click to jump to top of pageClick to jump to parent topicUsing the %V Meta Variable

Use the %V meta variable if you wish to keep all of your PS_CFG_HOMEs together without needing to set PS_CFG_HOME each time you install a new PeopleTools version.

For example, you could set the PS_CFG_HOME environment variable as follows:

PS_CFG_HOME=C:\PeopleTools\installs\%V

If using the %V meta variable, assume you have installed two versions of PeopleTools: PT8.50 and PT8.51. In this case, PSADMIN automatically maps the %V to the PeopleTools version, creating the following PS_CFG_HOME locations:

C:\PT\installs\8.50-00 C:\PT\installs\8.51-00

Click to jump to top of pageClick to jump to parent topicConfiguring Domains in Alternate Locations of PS_CFG_HOME

When using PSADMIN with alternate locations of PS_CFG_HOME, make note of the requirements discussed in this section.

Working with Remote PS_HOME Locations

If you intend to install your domains on a separate machine from where PS_HOME resides, keep these items in mind:

Installing Necessary Components

While you can leverage a single, remote installation of PeopleTools, the server on which PS_CFG_HOME resides must have any additional components installed locally, such as Tuxedo, database drivers, ODBC connectivity information, and so on, depending on your implementation.

Ensuring that PS_CFG_HOME is Set Appropriately

Only domains installed within the current PS_CFG_HOME directory can be administered by PSADMIN. That is, the list of domains to administer that PSADMIN displays depends on the value of the PS_CFG_HOME variable. PSADMIN does not aggregate a domain list across multiple locations.

Assume that you have domains installed under these two PS_CFG_HOME directories:

Assume also that on server N domain 1 and domain 2 are installed, and on server M domain 3 and domain 4 are installed.

If you launch PSADMIN from server N, where PS_CFG_HOME, by default, is set to N:\psftdomains\appserv, you will only be able to view and administer domain 1 and domain 2.

Domains created on machine N, can only be configured on machine N. There are settings in the domain PSTUXCFG file that bind a domain to its host. You can not boot or configure a domain from a different machine.

Note. The user creating and configuring domains in PSADMIN must have write access to the PS_CFG_HOME location.

Click to jump to parent topicManaging Domains

When working with decoupled PS_HOME and PS_CFG_HOME directory structures, keep these recommendations in mind: