To take advantage of patchsvr make sure you have at least patch 119788-11 / 119789-11.
IMPORTANT
Don't ever install patch 148150-03 or newer on the patchsvr host!
The patch will remove Tomcat 4 which will break patchsvr.
Optionally, point the repository cache to a different location:
# zfs create -o mountpoint=/patchsvr data/patchsvr
# patchsvr setup -c /patchsvr
Make sure the patch source URL is up-to-date:
# patchsvr setup -p https://updates.oracle.com/
If behind a proxy/firewall:
# patchsvr setup -x proxy-1:8080
# (umask 77; vi /tmp/proxy_password)
# patchsvr setup -u proxy_user -s /tmp/proxy_password
# rm /tmp/proxy_passwordCheck configurations:
# patchsvr setup -l
Start and enable boot-time startup:
# patchsvr start
# patchsvr enable Check that only one instance is running, otherwise kill them all and start over.
# /usr/ucb/ps -auxwww | grep java | grep ccr
... On the patchsvr machine, also configure smpatch to point directly to Oracle.
That is, use patchpro.patch.source=https://updates.oracle.com/
If you ever need to clear the cache due to client reconfiguration:
# patchsvr stop
# cd /var/sadm/spool
# rm patchsvr/* (or the actual path to repository cache, if changed)
# rm cache/xml/*
# rm cache/updatemanager/analysis.results/*
# rm cache/entitlement/*
# rm cache/Database/*
# rm cache/collection/*
# rm cache/category/*
# rm cache/*detectors*