-
Notifications
You must be signed in to change notification settings - Fork 51
Enable single sign on on zOSMF HA servers
z/OSMF uses the Lightweight Third Party Authentication (LTPA) security protocol to enable a secure single sign-on environment among z/OSMF instances. The LTPA protocol uses an LTPA token to authenticate a user with the z/OSMF servers that are enabled for single sign-on. The requirements to establish a single sign-on environment for z/OSMF can be found in https://www.ibm.com/support/knowledgecenter/SSLTBW_2.4.0/com.ibm.zos.v2r4.izua300/IZUHPINFO_SSOSetup.htm
Single Sign-On (SSO) must be configured for all z/OSMF instances running in your Sysplex. Please follow the link below to enable SSO: https://www.ibm.com/support/knowledgecenter/SSLTBW_2.4.0/com.ibm.zosmfcore.multisysplex.help.doc/izuG00hpActEnableSSO.html
Note:
- All z/OSMF servers must use the same SAF prefix. By default, the z/OSMF SAF prefix is IZUDFLT.
- The servers must share the same LTPA key.
Test Scenario: Check the validity of LTPA token generated by z/OSMF preferred server when failover occurs
For example, suppose a Sysplex consists of two z/OS systems (SYSA, SYSB). z/OSMF server A (IZUSVRA) is autostarted on SYSA and similarly, z/OSMF server B (IZUSVRB) is autostarted on SYSB. IZUSVRA as preferred receives all incoming requests.
- Generate LTPA token by making a request to a z/OSMF REST Service:
curl -k -v https://x.x.x.V/zosmf/services/authenticate -H 'X-CSRF-ZOSMF-HEADER: *' -u userid -X POST
- Make sure that the generated LTPA token works properly:
curl -k -v https://x.x.x.V/zosmf/restjobs/jobs?owner=* -H "Cookie: LtpaToken2=ltpa token value"
-
Stop z/OSMF server A (IZUSVRA) on SYSA, P IZUSVRA or remove SYSA from the Sysplex so that the failover happens
-
Make a request to a z/OSMF REST Service to validate LTPA token you got in step 2:
curl -k -v https://x.x.x.V/zosmf/restjobs/jobs?owner=* -H "Cookie: LtpaToken2=ltpa token value"
Expected result:
- Dynamic VIPA takeover will happen, z/OSMF server B (IZUSVTB) becomes the preferred server and accepts all new incoming requests.
- The successful response for your request (step 4) which indicates the LTPA token is still valid.
- Configure zOSMF HA for Zowe in Sysplex
- Enable JWT function on zOSMF HA servers
- Enable single sign-on on zOSMF HA servers
- Enable Zowe to generate and evaluate PassTickets for APIML Services Zowe HA
- Deploy Zowe in Sysplex
- Test Zowe in Sysplex
- List of changes to the current documentation
- Additions to the current documentation