Skip to content

Instantly share code, notes, and snippets.

View iversond's full-sized avatar

Dan Iverson iversond

  • Oracle PeopleSoft
  • Minneapolis, MN
  • X @iversond
View GitHub Profile
@iversond
iversond / .bashrc
Last active May 12, 2026 22:15
Cloud Manager profile
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
@iversond
iversond / psft_customizations.yaml
Last active December 18, 2025 09:15
Sample psft_customizations.yaml File
---
region: DEV
application: HR
server_type: webApp
ensure: present
env_type: midtier
tools_version: 8.55.13
domain_type: all
peoplesoft_base: e:/psoft
@iversond
iversond / applyPTPatch.ps1
Last active May 21, 2025 18:22
Sample script to apply PATCH861 to database silently
#$env:PS_HOME='c:\PT8.61.02_Client_ORA'
$env:PS_HOME='c:\PT8.61.03_Client_ORA'
$env:PT_REL='8'
$env:PT_VER='61'
$env:ORACLE_HOME='C:\psft\pt\oracle-client\19.3.0.0'
$env:DB="FSCMCON"
# $env:PSCADBG="true"
$env:PATH="${env:PS_HOME}\bin\client\winx86;${env:PATH}"
<#PSScriptInfo
.SYNOPSIS
Apply the PeopleTools 8.60 Upgrade Project
.DESCRIPTION
Automate the Change Assistant job that applies the PTU860 project to a database.
.PARAMETER DATABASE
Which database to encrypt the password
.PARAMETER PT_VERSION
PeopleTools version to apply
.PARAMETER CA_BASE
@iversond
iversond / ps-hide-signon.js
Created March 20, 2023 18:11
Update to PeopleSoft Signon Maintenance Mode for 8.60 (https://psadmin.io/2015/11/23/maintenance-page-with-backdoor-login/)
/* Toggle Login */
function hideLogin(isHidden) {
if (isHidden) {
document.getElementsByClassName('ps_signinentry')[0].style.display = "none";
document.getElementById('maint-mode').style.display = "block";
} else {
document.getElementsByClassName('ps_signinentry')[0].style.display = "block";
document.getElementById('maint-mode').style.display = "none";
}
}
@iversond
iversond / conf.html
Last active May 17, 2024 15:59
psadmin.conf Lab Environment Homepage
<html>
<style>
@import url('https://fonts.googleapis.com/css?family=Inconsolata|Lato|Roboto');
@font-face {
font-family: 'Interstate';
src: url('_images/interstate-black.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@iversond
iversond / prepareOSKresponse.sh
Last active May 3, 2024 15:20
Script to prepare a pt_osk.config file and encrypt passwords
start_loc=$(pwd)
echo "Copy OSK zip file to /tmp"
cp OSK*.zip /tmp/
cd /tmp && unzip -o OSK*.zip > /dev/null 2>&1
echo "Extract JDK and OS archives to encrypt password"
cd archives
if [[ -f jdk/README.* ]]; then
@iversond
iversond / preparePodman.sh
Last active May 2, 2024 13:07
Prepare a host server to run PeopleSoft Containers with Podman
# Configure current user for rootless containers
echo "${USER}:231072:65536" | sudo tee -a "/etc/subuid"
echo "${USER}:231072:65536" | sudo tee -a "/etc/subgid"
/bin/systemctl --user daemon-reload
podman system migrate
# Configure container.conf
sudo cp "/usr/share/containers/containers.conf" "/etc/containers"
sudo sed -i 's/network_backend = "cni"/network_backend = "netavark"/g' "/etc/containers/containers.conf"
sudo sed -i 's/#stop_timeout = 10/stop_timeout = 90/g' "/etc/containers/containers.conf"
@iversond
iversond / renameIBnodes.sql
Last active April 24, 2024 15:00
Rename IB nodes from production. Examples show both HR Production and Finance Production nodes renamed.
-- -------------------------
-- Rename Default Local Node
-- -------------------------
-- Rename IB Nodes
UPDATE sysadm.psmsgnodedefn
SET
msgnodename = 'HNONPROD',
authoptn = 'P',
@iversond
iversond / installPodman.sh
Created October 31, 2023 12:57
Script to install and configure rootless Podman on OEL 8
#! /bin/bash
function echoinfo() {
local GC="\033[1;32m"
local EC="\033[0m"
printf "${GC} ☆ INFO${EC}: %s${GC}\n${EC}" "$@";
}
function echoerror() {
local RC="\033[1;31m"