You can set session inactivity timeout values for OpenPages application servers.
Procedure
-
Log in to your Red Hat®
OpenShift® cluster as an
instance administrator:
oc login OpenShift_URL:port
- Change to the project where OpenPages is installed:
oc project ${PROJECT_CPD_INST_OPERANDS}
- If you use multiple replicas for the application server,
scale down to a single replica.
oc scale --replicas=1 sts/openpages-<instance_name>-sts
To find the name of the instance, run oc get sts and look for a name that starts
with openpages-.
For example,
openpages-instance_name-sts
- Go to the overrides directory.
/opt/ibm/wlp/usr/servers/defaultServer/configDropins/overrides
- In a text editor, open the
op-apps.xml file and look for
the following line:
<httpSession cookieSecure="true" invalidationTimeout="90m"/>
- Set the
invalidationTimeout parameter to the value in
minutes. Save and close the file.
- Do steps 5 and 6 in Configuring OpenPages.