Skip to content

Instantly share code, notes, and snippets.

@iversond
Last active November 21, 2021 00:57
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save iversond/77bc299cac77f2aef6f6ed0a3f3d1b7a to your computer and use it in GitHub Desktop.
Save iversond/77bc299cac77f2aef6f6ed0a3f3d1b7a to your computer and use it in GitHub Desktop.
Default domain configuration for the DPK. Used with Hiera Hashing to allow environments to overrride/add to the defaults
---
# TNSnames.ora
tns_admin_list:
"%{hiera('db_name')}":
db_host: "%{hiera('db_server')}"
db_port: "%{hiera('db_port')}"
db_protocol: TCP
db_service_name: "%{hiera('db_name')}.psadmin.io"
# Application Servers
appserver_domain_list:
"%{hiera('db_name')}":
os_user: "%{hiera('domain_user')}"
ps_cfg_home_dir: "%{hiera('ps_config_home')}"
ps_cust_home_dir: "%{hiera('ps_cust_home_location')}"
ps_app_home_dir: "%{hiera('ps_app_home_location')}"
template_type: "%{hiera('appserver_template')}"
# Custom - used to build a scheduled task
# "once" or "daily"
nightly_cache_clear: once
nightly_cache_clear_enabled: true
nightly_cache_clear_time: '04:00'
nightly_cache_clear_date: '2017-01-31'
db_settings:
db_name: "%{hiera('db_name')}"
db_type: "%{hiera('db_platform')}"
db_opr_id: "%{hiera('db_user')}"
db_opr_pwd: "%{hiera('db_user_pwd')}"
db_connect_id: "%{hiera('connect_id')}"
db_connect_pwd: "%{hiera('connect_pwd')}"
config_settings:
Domain Settings/Domain ID: "%{hiera('db_name')}"
PSAPPSRV/Min Instances: 4
PSAPPSRV/Max Instances: 6
PSAPPSRV/Service Timeout: 300
PSAPPSRV/ProcessRestartMemoryLimit: 512
PSAPPSRV/Max Fetch Size: 15000
PSAPPSRV/Allowed Consec Service Failures: 2
PSSAMSRV/Recycle Count: 100000
PSSAMSRV/Allowed Consec Service Failures: 2
PSQRYSRV/Min Instances: 2
PSQRYSRV/Max Instances: 2
PSQRYSRV/Service Timeout: 1200
PSQRYSRV/Max Fetch Size: 20000
PSQRYSRV/Recycle Count: 100
PSQRYSRV/Allowed Consec Service Failures: 2
PSQRYSRV/ProcessRestartMemoryLimit: 512
PSQRYSRV/JavaVM Options: '-Dxdo.ConfigFile=%PS_CFG_HOME%/appserv/xdo.cfg -Xms128m -Xmx256m'
PSBRKHND_dflt/Min Instances: 3
PSBRKHND_dflt/Max Instances: 3
PSSUBHND_dflt/Min Instances: 3
PSSUBHND_dflt/Max Instances: 3
PSPUBHND_dflt/Min Instances: 3
PSPUBHND_dflt/Max Instances: 3
Trace/TraceSqlMask: 31
Trace/TracePCMask: 4044
Trace/TracePPRMask: 0
Trace/TracePIAMask: 0
Trace/TraceAnalytic: 0
Trace/TraceAnalyticMask: 0
Security/DomainConnectionPwd: "%{hiera('domain_conn_pwd')}"
Workstation Listener/Address: "%{::ipaddress}"
Workstation Listener/Port: "%{hiera('wsl_port')}"
JOLT Listener/Port: "%{hiera('jolt_port')}"
JOLT Listener/Address: 0.0.0.0
JOLT Listener/Min Handlers: 2
JOLT Listener/Max Handlers: 3
Workstation Listener/Port: "%{hiera('wsl_port')}"
Domain Settings/Allow Dynamic Changes: Y
Domain Settings/ProcessRestartMemoryLimit: 512
Domain Settings/Add to PATH: "%{hiera('oracle_client_location')}/bin"
Domain Settings/LogFence: 4
SMTP Settings/SMTPServer: stmp.psadmin.io
SMTP Settings/SMTPPort: 25
SMTP Settings/SMTPServer1: stmp.psadmin.io
SMTP Settings/SMTPPort1: 25
SMTP Settings/SMTPSourceMachine: '%PS_MACH%'
SMTP Settings/SMTPSender: "%{hiera('db_name')}@psadmin.io"
PSTOOLS/JavaVM Options: '-Dxdo.ConfigFile=%PS_CFG_HOME%/appserv/xdo.cfg -Xms32m -Xmx128m'
PSTOOLS/Enable Remote Administration: 0 #Disabled
PSTOOLS/Remote Administration Port: "%{hiera('remote_admin_port')}"
PSTOOLS/EnablePPM Agent: 0
PSTOOLS/Add to CLASSPATH: '%PS_CUST_HOME%\class'
PSRENSRV/default_http_port: "%{hiera('ren_http_port')}"
PSRENSRV/default_https_port: "%{hiera('ren_https_port')}"
PSRENSRV/default_auth_token: 'psadmin.io'
Cache Settings/EnableServerCaching: 2
Cache Settings/ServerCacheMode: 0
Cache Settings/EnableCacheRepair: Y
Cache Settings/CacheBaseDir: "%PS_CFG_HOME%/appserv/%{hiera('db_name')}"
# ;------------------------------------------------------------------------
# ; Doc ID: 2175273.1
# ; BUG 23214026 - MGR UPDATE PROTOCOL TRIGGERS UPDATE OF ALL USER PROFILES
# ;------------------------------------------------------------------------
Cache Settings/MgrAutoLock: N
feature_settings:
PUBSUB: "Yes"
QUICKSRV: "No"
QUERYSRV: "Yes"
JOLT: "Yes"
JRAD: "No"
WSL: "Yes"
DBGSRV: "No"
RENSRV: "No"
MCF: "No"
PPM: "No"
PSPPMSRV: "No"
ANALYTICSRV: "No"
SERVER_EVENTS: "No"
DOMAIN_GW: "No"
env_settings:
PS_HOME: "%{hiera('peoplesoft_base_norm')}\\pt-%{hiera('tools_version')}"
PS_APP_HOME: "%{hiera('peoplesoft_base_norm')}\\%{hiera('application')}-%{hiera('app_version')}"
PS_APP_PATCH_HOME: "%{hiera('peoplesoft_base_norm')}\\%{hiera('db_name')}-patch"
PS_CUST_HOME: "%{hiera('peoplesoft_base_norm')}\\%{hiera('db_name')}"
PS_CFG_HOME: "%{hiera('peoplesoft_base_norm')}\\cfg\\%{hiera('db_name')}"
PS_FILEDIR: "%{hiera('peoplesoft_base_norm')}\\%{hiera('db_name')}\\files"
PS_SERVDIR: "%{hiera('peoplesoft_base_norm')}\\cfg\\%{hiera('db_name')}\\files"
TEMP: "%{hiera('peoplesoft_base_norm')}\\%{hiera('db_name')}\\temp"
TMP: "%{hiera('peoplesoft_base_norm')}\\%{hiera('db_name')}\\temp"
# Web Servers
pia_domain_list:
"%{hiera('db_name')}":
os_user: "%{hiera('domain_user')}"
ps_cfg_home_dir: "%{hiera('ps_config_home')}"
gateway_user: "%{hiera('pia_gateway_user')}"
gateway_user_pwd: "%{hiera('pia_gateway_pwd')}"
auth_token_domain: "%{hiera('pia_auth_token_domain')}"
# Custom
cookie_name: "%{hiera('db_name')}-PORTAL-JSESSIONID"
root_signon_url: "%{hiera('protocol')}://%{hiera('pia_host_name')}%{hiera('pia_auth_token_domain')}:%{hiera('pia_http_port')}/%{hiera('pia_site_name')}/signon.html"
webserver_settings:
webserver_type: "%{hiera('webserver_type')}"
webserver_home: "%{hiera('weblogic_location')}"
webserver_admin_user: system
webserver_admin_user_pwd: "%{hiera('webserver_admin_user_pwd')}"
webserver_admin_port: "%{hiera('pia_http_port')}"
webserver_http_port: "%{hiera('pia_http_port')}"
webserver_https_port: "%{hiera('pia_https_port')}"
config_settings:
"SecurityConfiguration/%{hiera('db_name')}":
EnforceValidBasicAuthCredentials: false
Servers/PIA:
ListenAddress: 0.0.0.0
WeblogicPluginEnabled: true
Servers/PIA/WebServer/PIA/WebServerLog/PIA:
LoggingEnabled: true
LogTimeInGMT: false
RotationType: byTime
FileName: './logs/PIA_access.log'
FileTimeSpan: 24
NumberOfFilesLimited: true
FileCount: 30
RotateLogOnStartup: false
RotationTime: '00:00'
LogFileFormat: extended
ELFFields: 'date time cs-method cs-uri sc-status cs-username cs(user-agent) s-ip c-ip cs(X-Forwarded-For) time-taken bytes sc(X-PS-APPSERVER) sc(X-PS-DB) sc(X-PS-USERID) sc(X-PS-SESSION-COOKIE) sc(X-PS-SESSION-COUNT) sc(X-PS-SRID)'
# Custom - used to enable Dan R's X-PS headers
portal_servlet_filter_logging:
appserver: true
authtoken: false
clientip: false
cookie: false
database: true
menu: false
pwddaysleft: false
roles: false
sessioncookie: true
userid: true
sessioncount: true
srid: true
site_list:
"%{hiera('pia_site_name')}":
appserver_connections: "%{hiera('pia_psserver_list')}"
domain_conn_pwd: "%{hiera('domain_conn_pwd')}"
webprofile_settings:
profile_name: "%{hiera('pia_webprofile_name')}"
profile_user: PTWEBSERVER
profile_user_pwd: "%{hiera('profile_user_pwd')}"
# Custom
web_profile_name: "%{hiera('custom_webprofile_name')}"
report_repository_dir: "%{hiera('report_repository_dir')}"
# Custom - Set up URLs on login page
text_properties:
138: "%{hiera('env_title')}"
8998: "%{hiera('bootstrap_style')}"
8999: "%{hiera('env_title')}"
9000: "%{hiera('protocol')}://%{hiera('hr_hostname')}%{hiera('pia_auth_token_domain')}:%{hiera('hr_port')}/psp/%{hiera('hr_pia_domain')}/?&cmd=login"
9001: "%{hiera('protocol')}://%{hiera('fs_hostname')}%{hiera('pia_auth_token_domain')}:%{hiera('fs_port')}/psp/%{hiera('fs_pia_domain')}/?&cmd=login"
9010: "%{hiera('protocol')}://%{hiera('hr_hostname')}%{hiera('pia_auth_token_domain')}:%{hiera('hr_port')}/psp/%{hiera('hr_pia_domain')}_fp/EMPLOYEE/HRMS/c/MAINTAIN_SECURITY.EMAIL_PSWD.GBL"
9011: "%{hiera('protocol')}://%{hiera('fs_hostname')}%{hiera('pia_auth_token_domain')}:%{hiera('fs_port')}/psp/%{hiera('fs_pia_domain')}_fp/EMPLOYEE/ERP/c/MAINTAIN_SECURITY.EMAIL_PSWD.GBL"
"%{hiera('pia_site_name')}_fp":
appserver_connections: "%{hiera('pia_psserver_list')}"
domain_conn_pwd: "%{hiera('domain_conn_pwd')}"
webprofile_settings:
profile_name: "%{hiera('pia_webprofile_name')}"
profile_user: PTWEBSERVER
profile_user_pwd: "%{hiera('profile_user_pwd')}"
# Custom
web_profile_name: FORGOTPASSWORD
report_repository_dir: "%{hiera('report_repository_dir')}"
# Custom - Set up URLs on login page
text_properties:
138: "%{hiera('env_title')}"
8998: "%{hiera('bootstrap_style')}"
8999: "%{hiera('env_title')}"
9000: "%{hiera('protocol')}://%{hiera('hr_hostname')}%{hiera('pia_auth_token_domain')}:%{hiera('hr_http_port')}/psp/%{hiera('hr_pia_domain')}/?&cmd=login"
9001: "%{hiera('protocol')}://%{hiera('fs_hostname')}%{hiera('pia_auth_token_domain')}:%{hiera('fs_http_port')}/psp/%{hiera('fs_pia_domain')}/?&cmd=login"
9010: "%{hiera('protocol')}://%{hiera('hr_hostname')}%{hiera('pia_auth_token_domain')}:%{hiera('hr_http_port')}/psp/%{hiera('hr_pia_domain')}_fp/EMPLOYEE/HRMS/c/MAINTAIN_SECURITY.EMAIL_PSWD.GBL"
9011: "%{hiera('protocol')}://%{hiera('fs_hostname')}%{hiera('pia_auth_token_domain')}:%{hiera('fs_http_port')}/psp/%{hiera('fs_pia_domain')}_fp/EMPLOYEE/ERP/c/MAINTAIN_SECURITY.EMAIL_PSWD.GBL"
"%{hiera('pia_site_name')}status":
appserver_connections: "%{::hostname}:%{hiera('jolt_port')}"
domain_conn_pwd: "%{hiera('domain_conn_pwd')}"
webprofile_settings:
profile_name: "%{hiera('pia_webprofile_name')}"
profile_user: PTWEBSERVER
profile_user_pwd: "%{hiera('profile_user_pwd')}"
web_profile_name: DEV
report_repository_dir: "%{hiera('report_repository_dir')}"
# Process Schedulers
prcs_domain_list:
"%{hiera('db_name')}":
os_user: "%{hiera('domain_user')}"
ps_cfg_home_dir: "%{hiera('ps_config_home')}"
ps_cust_home_dir: "%{hiera('ps_cust_home_location')}"
ps_app_home_dir: "%{hiera('ps_app_home_location')}"
db_settings:
db_name: "%{hiera('db_name')}"
db_type: "%{hiera('db_platform')}"
db_opr_id: "%{hiera('db_user')}"
db_opr_pwd: "%{hiera('db_user_pwd')}"
db_connect_id: "%{hiera('connect_id')}"
db_connect_pwd: "%{hiera('connect_pwd')}"
config_settings:
Security/DomainConnectionPwd: "%{hiera('domain_conn_pwd')}"
Process Scheduler/PrcsServerName: "%{hiera('prcs_domain_id')}"
Process Scheduler/DBBIN: "%{hiera('oracle_client_location')}/bin"
Process Scheduler/Allow Dynamic Changes: Y
PSTOOLS/EnablePPM Agent: 0
PSTOOLS/Enable Remote Administration: 0 #Disabled
PSTOOLS/JavaVM Options: '-Dxdo.ConfigFile=%PS_CFG_HOME%/appserv/xdo.cfg -Xms32m -Xmx128m'
PSTOOLS/AppLogFence: 0
PSTOOLS/Add to CLASSPATH: "%{hiera('ps_config_home')}/custom"
Trace/TraceSQL: 0
Trace/TracePC: 0
Trace/TraceAE: 1024
# Bug fix until 8.57 - PSSQR path is truncated, workaround it to use static paths per 2330592.1
SQR/PSSQR: "%{hiera('ps_cust_home_location')\\sqr;%{hiera('ps_app_patch_home')}\\sqr;%{hiera('ps_app_home_location')}\\sqr;%{hiera('ps_home_location')}\\sqr"
RemoteCall/RCCBL Redirect: 1
nVision/UseExcelAutomation: 0
SMTP Settings/SMTPServer: stmp.psadmin.io
SMTP Settings/SMTPPort: 25
SMTP Settings/SMTPSourceMachine: '%PS_MACH%'
SMTP Settings/SMTPSender: "%{hiera('db_name')}@psadmin.io"
Cache Settings/CacheBaseDir: "%PS_CFG_HOME%/appserv/%{hiera('db_name')}"
# ;------------------------------------------------------------------------
# ; Doc ID: 2175273.1
# ; BUG 23214026 - MGR UPDATE PROTOCOL TRIGGERS UPDATE OF ALL USER PROFILES
# ;------------------------------------------------------------------------
Cache Settings/MgrAutoLock: N
feature_settings:
MSTRSRV: "Yes"
APPENG: "No"
PPM: "No"
DOMAIN_GW: "No"
SERVER_EVENTS: "No"
env_settings:
PS_HOME: "%{hiera('peoplesoft_base_norm')}\\pt-%{hiera('tools_version')}"
PS_APP_HOME: "%{hiera('peoplesoft_base_norm')}\\%{hiera('application')}-%{hiera('app_version')}"
PS_APP_PATCH_HOME: "%{hiera('peoplesoft_base_norm')}\\%{hiera('db_name')}-patch"
PS_CUST_HOME: "%{hiera('peoplesoft_base_norm')}\\%{hiera('db_name')}"
PS_CFG_HOME: "%{hiera('peoplesoft_base_norm')}\\cfg\\%{hiera('db_name')}"
PS_FILEDIR: "%{hiera('peoplesoft_base_norm')}\\%{hiera('db_name')}\\files"
PS_SERVDIR: "%{hiera('peoplesoft_base_norm')}\\cfg\\%{hiera('db_name')}\\files"
TEMP: "%{hiera('peoplesoft_base_norm')}\\%{hiera('db_name')}\\temp"
TMP: "%{hiera('peoplesoft_base_norm')}\\%{hiera('db_name')}\\temp"
# IB Gateway Configuration
# Custom
igw_prop_list:
"%{hiera('db_name')}":
'':
"ig.isc.%{hiera('hr_db_name')}.serverURL": "%{hiera('hr_ib_servers')}"
"ig.isc.%{hiera('hr_db_name')}.userid": "%{hiera('hr_ib_user')}"
"ig.isc.%{hiera('hr_db_name')}.password": "%{hiera('hr_ib_pwd_encr')}"
"ig.isc.%{hiera('hr_db_name')}.toolsRel": "%{hiera('hr_tools_version')}"
"ig.isc.%{hiera('hr_db_name')}.DomainConnectionPwd": "%{hiera('hr_domain_pwd_encr')}"
"ig.isc.%{hiera('elm_db_name')}.serverURL": "%{hiera('elm_ib_servers')}"
"ig.isc.%{hiera('elm_db_name')}.userid": "%{hiera('elm_ib_user')}"
"ig.isc.%{hiera('elm_db_name')}.password": "%{hiera('elm_ib_pwd_encr')}"
"ig.isc.%{hiera('elm_db_name')}.toolsRel": "%{hiera('elm_tools_version')}"
"ig.isc.%{hiera('elm_db_name')}.DomainConnectionPwd": "%{hiera('elm_domain_pwd_encr')}"
"ig.isc.%{hiera('fs_db_name')}.serverURL": "%{hiera('fs_ib_servers')}"
"ig.isc.%{hiera('fs_db_name')}.userid": "%{hiera('fs_ib_user')}"
"ig.isc.%{hiera('fs_db_name')}.password": "%{hiera('fs_ib_pwd_encr')}"
"ig.isc.%{hiera('fs_db_name')}.toolsRel": "%{hiera('fs_tools_version')}"
"ig.isc.%{hiera('fs_db_name')}.DomainConnectionPwd": "%{hiera('fs_domain_pwd_encr')}"
secureFileKeystorePasswd: "%{hiera('keystore_pwd_encr')}"
# psadmin.io DPK Module configuration
io_appserver::desktop_folder: true
io_weblogic::java_options:
"%{hiera('db_name')}":
-Xms: '512m'
-Xmx: '512m'
-Dweblogic.threadpool.MinPoolSize: '=50'
-Dweblogic.security.SSL.protocolVersion: '=TLSv1.2'
-Dtuxedo.jolt.LLEDeprecationWarnLevel: 'NONE'
io_portalwar::rename_pia_cookie: true
io_portalwar::pia_cookie_name: "%{hiera('db_name')}-PORTAL-PSJSESSIONID"
io_portalwar::source: 'puppet:///modules/io_deploy'
io_portalwar::signon_page:
"%{hiera('db_name')}":
root:
- robots.txt
portal:
- bootstrap.min.css
- bootstrap.min.js
- bootstrap-theme.min.css
- jquery-1.11.3.min.js
- Placeholders.min.js
psftdocs:
- signon.html
- exception.html
- expire.html
- logout.html
- pwdexpired.html
- pwdwarning.html
- supplier-logout.html
io_portalwar::index_redirect: true
io_portalwar::redirect_target: "./%{hiera('pia_site_name')}/signon.html"
io_filebeat::major_version: '5'
io_filebeat::config_dir: 'C:/Program Files/filebeat/conf.d'
io_filebeat::fields:
domain: "%{hiera('db_name')}"
server_type: "%{::ps_role}"
region: "%{::region}"
io_filebeat::exclude_lines:
- "'/PSIGW/HttpListeningConnector 200'"
io_filebeat::output:
logstash:
hosts:
- elk.psadmin.io:5044
io_filebeat::weblogic: true
io_filebeat::pia_access: true
io_filebeat::pis_servlet: true
io_filebeat::appserv: true
io_filebeat::gh_activity: true
io_filebeat::gh_unmask: true
io_erpfirewall::library_base: 'puppet:///modules/io_deploy/erpfirewall/'
io_erpfirewall::appserver: true
io_erpfirewall::pia: true
# For app_deploy_location, set PS_HOME, PS_CUST_HOME, or PS_CFG_HOME
io_erpfirewall::app_deploy_location: "%{hiera('ps_cust_home_location')}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment