Reviewing the Customization File for a Single PIA Domain

This sample shows a psft_customizations.yaml file for a single PIA domain with the domain name PIAHR1. Be sure to retain the indentation as given in the delivered psft_configuration.yaml file when you copy the sections into the psft_customizations.yaml file. This sample includes annotations (marked by ###) for the purposes of this explanation.

Note:

Do not use the reserved names PIA, PIA1, PIA2, or weblogic for the PIA (web server) domain.

If you want to create PeopleSoft domains in a non-default PS_CFG_HOME location, you must specify the desired value for the scalar parameter ps_config_home outside the pia_domain_list section.

Note:

Specify the same value for ps_config_home and for the ps_cfg_home_dir parameter in the appserver_domain_list section. They both must reference the same location.

See Preparing the Customization File for the PS_CFG_HOME Location.

This sample starts with scalar parameters for pia_domain_name, pia_http_port, and pia_https_port. Interpolation functions that reference these scalar parameters will also use the non-default values. This applies to the interpolation function in psft_customizations.yaml as well as those used by the ACM plug-ins in psft_configuration.yaml.

The pia_domain_name scalar parameter replaces the default value, peoplesoft, with PIAHR1. This sets the value for the domain name in the pia_domain_list collection parameter to the non-default PIAHR1.

The pia_http_port and pia_https_port scalar parameters replace the default port 8000 and 8443 with 8050 and 8943, respectively. This sets the values for webserver_admin_port, webserver_http_port, and webserver_https_port to the non–default values.

---
### Custom port numbers and PIA domain name in scalar parameters ###
pia_http_port: 8050
pia_https_port: 8943
pia_domain_name:       PIAHR1

pia_domain_list:

  ## PIA domain name refers to scalar parameter ###
  "%{lookup('pia_domain_name')}":
    os_user:                "%{lookup('domain_user')}"

    ### Do not change the ps_cfg_home_dir parameter. ###
    ps_cfg_home_dir:        "%{lookup('ps_config_home')}"
    gateway_user:           "%{lookup('pia_gateway_user')}"
    gateway_user_pwd:       "%{lookup('pia_gateway_user_pwd')}"
    auth_token_domain:      ".%{::domain}"
    webserver_install_type: "%{lookup('webserver_install_type')}"

    webserver_settings:
      webserver_type:           "%{lookup('webserver_type')}"
      webserver_home:           "%{lookup('weblogic_location')}"
      webserver_admin_user:     system
      webserver_admin_user_pwd: ENC[xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
      webserver_admin_port:     "%{lookup('pia_http_port')}"  ###Custom###
      webserver_http_port:      "%{lookup('pia_http_port')}"  ###Custom###
      webserver_https_port:     "%{lookup('pia_https_port')}"  ###Custom###

    site_list:
      "%{lookup('pia_site_name')}":
        appserver_connections: "%{lookup('pia_psserver_list')}"
        domain_conn_pwd:       "%{lookup('domain_conn_pwd')}"

        webprofile_settings:
          profile_name:        "%{lookup('pia_webprofile_name')}"
          profile_user:        PTWEBSERVER
          profile_user_pwd:    ENC[xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]

        report_repository_dir: "%{lookup('report_repository_dir')}"