Working with Server Domain Configurations

Working with Server Domain Configurations

This chapter provides an overview and discusses how to:

  • Work with the default PS_CFG_HOME.

  • Work with alternate PS_CFG_HOME locations.

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:

  • PeopleSoft Application Server.

  • PeopleSoft Process Scheduler Server.

  • PeopleSoft Search Server.

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:

  • Streamline and provide more flexible PeopleSoft server installations.

  • Apply unique security restrictions to the binary file and configuration file locations.

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:

  • Install the PS_HOME binaries a single time.

  • Incorporate additional server machines for additional domains per demand and performance requirements.

  • Apply updates and upgrades to a single PS_HOME, reducing the time required for upgrading your system.

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:

  • Locate the default PS_CFG_HOME.

  • Use PSADMIN with the default PS_CFG_HOME.

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.50 peopletools.properties /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.50 peopletools.properties /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.

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:

  • PS_CFG_HOME must be a valid location. That is, the base directory must exist (UNIX), or the drive must exist (Windows).

  • The PS_CFG_HOME must be writeable, and the user running PSADMIN must have write access to the PS_CFG_HOME location.

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:

  • Specify alternate PS_CFG_HOME locations.

  • Configure domains in alternate locations of PS_CFG_HOME.

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:

  • Set the PS_CFG_HOME environment variable in the psconfig.sh file. However, if you hard code the PS_CFG_HOME environment variable in psconfig.sh other users will not be able to use the same PS_HOME for different PS_CFG_HOMEs. All users of the same PS_HOME would invoke the same psconfig.sh, and therefore see their domains in the same PS_CFG_HOME.

  • Set PS_CFG_HOME in the startup script for the platform/shell, resulting in the automatic inheritance of the environment variable when a user signs on.

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:

  • The network location to where PS_HOME resides must be mapped to from the machine where PS_CFG_HOME resides.

  • If a domain references a PS_HOME on a mapped drive, problems may arise if the drive letter or path is changed after initially creating the domain. If a drive mapping changes, the domain definitions may reference invalid path information. In the event of mapped drive changes, shut down the existing domains and reconfigure (or recreate) the domains.

  • If PS_HOME resides on a remote server, the operating system of the PS_HOME server and the PS_CFG_HOME server must match. PeopleTools binaries are native to a platform.

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:

  • N:/psftdomains/appserv

  • M:/psftfomains/appserv

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:

  • Use distinct PS_CFG_HOME locations for each PeopleTools version.

  • A domain configured on one machine cannot be copied and run on another machine.

  • The Windows service configuration file (PSWINSRV.CFG) will be invalid if it is shared between multiple PS_CFG_HOMES on different network drives.

  • As you maintain your system and upgrade domains, keep in mind that dormant domains will consume disk space. Make sure to keep track of where your retired domains reside and take action to remove them when no longer required. It is generally recommended to remove old log files and trace files for both efficiency and security purposes.

 

 

 


 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值