IBM Support

Changing the session timeout for the Openstack and Self-service user interfaces

Question & Answer


Question

How do you change the inactive session timeout for the Openstack and Self-service user interfaces in IBM Cloud Orchestrator?

Cause

You might need this information to address your security policy.

Answer

To configure the inactive session timeout interval for the OpenStack user interface, complete the following steps:

  1. Add the following code to your openstack_dashboard/local_settings.py file:
    SESSION_TIMEOUT = NOS*


    Note: NOS* is the number of seconds. The default value is 1800.

  2. Restart the Apache HTTP server using the following command for the change to take effect:
    service httpd restart

To configure the inactive session timeout interval for the Self-service user interface, complete the following steps:
  1. Modify the token_expiration value in the /opt/ibm/ccs/scui/etc/config.json file. For example:
    "token_expiration": NOM*


    Note: NOM* is the number of minutes. The default value is 240.

  2. Restart the swi component using the following commands for the change to take effect:
    ./SCOrchestrator.py --stop -p swi
    ./SCOrchestrator.py --start -p swi

[{"Product":{"code":"SS4KMC","label":"IBM SmartCloud Orchestrator"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"User Interface","Platform":[{"code":"PF016","label":"Linux"}],"Version":"2.4;2.4.0.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 June 2018

UID

swg21903119