Upgrading from Zowe Vx to Zowe V3.6
Upgrading from Zowe Vx to Zowe V3.6
Review the procedure outlined in this article to upgrade from Zowe v2 to Zowe v3.6. If you are using Zowe v1, the article describes a clean installation of Zowe v3.6 instead of an upgrade.
Zowe v3.6 includes breaking changes made to address security risks. Review these changes before you upgrade. For details about all breaking changes including security upgrades introduced in Zowe v3.6, see Breaking Changes in Zowe V2 and Zowe V3.
Follow the steps described in this article to ensure a smooth upgrade to Zowe v3.6. The procedure applies to upgrades from previous supported Zowe versions and has three phases:
- Preparing your current Zowe instance.
- Upgrading the runtime to Zowe v3.6.
- Verify the upgrade with the post-upgrade checklist.
The workspace directory should be re-created only if you are using the app-server component.
Prerequisites for Zowe v3.6
Before starting the upgrade, ensure the following base system requirements are met:
- z/OSMF
Version V2R5 or V3R1 is required. JWT support for z/OSMF is highly recommended. For more information, see Enabling JSON Web Token support in the IBM documentation. If you do not have JWT support in z/OSMF, make sure to setcomponents.gateway.apiml.security.auth.zosmf.jwtAutoconfigurationtoltpa. - Java
Java 17 or Java 21 is required. At startup, Zowe does not start if the Java version is lower than 17. The Zowe YAML parameterjava.homevalue must be a Java 17 or Java 21 home location. If an administrator useszwe initto set up Zowe, ensure thejavafor that user is v17 or v21 by including it in thePATHenvironment variable. Java 8 and Java 11, which are supported in Zowe v2, are not supported in Zowe v3. - Node.js
Node.js 18, 20, 22, or 24 is required. The Zowe YAML parameternode.homevalue must be a Node.js 18, Node.js 20, Node.js 22, or Node.js 24 home location. Node.js 16 and earlier versions are not supported.
Preparing Your Current Zowe Instance
To ensure a smooth transition to Zowe v3.6, you must first resolve any configuration changes required by your current version. If you are running an earlier v2 version of Zowe, open the section for your version below. Each section lists all of the tasks required from that version up to v2.18.x, so you do not need to complete the sections for later v2 versions. After you complete these tasks and upgrade to v2.18.x, continue with Upgrading from Zowe v2.18.x to v3.6. Apply the necessary configurations before proceeding with the v3.6 upgrade.
All v2.x installations must first upgrade to v2.18.x before upgrading to the latest Zowe v3 version (currently v3.6). For v2.x versions, upgrade instructions up to v2.18 are provided within the following collapsable sections.
Upgrading from Zowe v2.18.x to v3.6
To upgrade from Zowe v2.18.x, perform the following procedure before you install Zowe v3.6.
-
Set the authentication provider.
Setcomponents.gateway.apiml.security.auth.providerexplicitly tozosmforsafinzowe.yaml, so that the behavior does not depend on version-dependent defaults. The provider default is not changed when you upgrade:zosmfis preserved for upgraded configurations, whilesafis the default inexample-zowe.yamlfor new installations.components:gateway:apiml:security:auth:provider: zosmf # or saf -
Verify runtime levels.
Confirm that the Java version (17 or 21) and the Node.js version (18, 20, 22, or 24) meet the prerequisites. Updatejava.homeandnode.homeinzowe.yamlif the versions have changed from those in your 2.18.x installation. -
Verify z/OSMF JWT support.
Confirm that z/OSMF JWT support is available, as described in the prerequisites. If z/OSMF JWT support is not available, choose one of the following actions:-
Apply or enable JWT support. For more information, see Enabling JSON Web Token support in the IBM documentation.
-
Set
jwtAutoconfigurationtoltpa(not usable with hardware-accelerated ICSF keyrings).components:gateway:apiml:security:auth:zosmf:jwtAutoconfiguration: ltpa # jwt (default) | ltpa
noteIf z/OSMF is not used for login, no JWT setup is needed.
-
-
Identify consumers of unauthenticated operational endpoints.
Identify any monitoring probes, readiness checks, and automation that call the following endpoints without credentials:/application/info/application/version/application/health/gateway/version/gateway/api/v1/version
Update the identified clients to send credentials (Basic authentication or a Bearer JWT). Alternatively, if you choose to accept the exposure, set
components.gateway.apiml.health.protectedtofalse. -
Add registration metadata hosts to the allowlist.
Zowe v3.6 validates the hosts in service registration metadata againstzowe.network.allowedDomains. The defaults coverexternalDomainsand high availability (HA) hostnames only. Add services that register URL metadata (such asinstanceBaseUrls, API documentation or Swagger URLs, orcorsAllowedOrigins) from other hosts tozowe.network.allowedDomainsbefore you upgrade.
For users who install using SMP/E, be aware that there is a HOLD(ACTION) setting regarding zowe.network.allowedDomains in the v3.6 PTF.
- Apply the v2 to v3 breaking changes.
Review the System and Security Changes and Configuration changes sections of this article. The following breaking changes affect the upgrade:- The authentication route
/api/v1/gatewayis now/gateway/api/v1. zaasis a separate component that uses port 7558 unlessapiml.enabled=true.jobs-api,files-api,metrics-service, andcloud-gatewayare removed.metrics-serviceis replaced by the OpenTelemetry implementation.- Keyring URIs use exactly two slashes (
safkeyring://). - Keyring
keystoreandtruststorepasswords use the literal valuepassword. zowe.useConfigmgr=falseand the gateway internal server are no longer supported.
- The authentication route
In Zowe v3, the Caching Service defaults to Infinispan storage instead of VSAM. If you plan to enable single-service deployment of API ML (recommended from Zowe v3.4.0), you must use Infinispan. The single-service deployment of API ML does not support other storage modes. For more information, see:
You can now proceed to the Upgrading the runtime and Configuration changes sections to complete your upgrade to v3.6.
Upgrading from Zowe v2.17.x
There are no version-specific configuration tasks for upgrading from Zowe v2.17.x to v2.18.x. Perform a standard upgrade to v2.18.x, as described in Upgrading Zowe, and then proceed to upgrading to Zowe v3.6.
Upgrading from Zowe v2.16.x
To upgrade from Zowe v2.16.x to v2.18.x, perform the following tasks:
- Update TLS configurations.
Ensure the followingzowe.networksection is added to yourzowe.yamlfile:network:server:tls:attls: false# TLS settings only apply when attls=false# Else you must use AT-TLS configuration for TLS customization.minTls: "TLSv1.2"maxTls: "TLSv1.3"client:tls:attls: false - Update PROCLIB entries.
Enhancements and default parameters have changed throughout Zowe v2. This can be performed with the UNIX commandzwe init stc, by running the jobZWEISTC, or by copying theSZWESAMPmembersZWESLSTC,ZWESISTC, andZWESASTCinto your desired PROCLIB. - Verify keyring slashes.
If you use keyrings, verify that Zowe YAML references tosafkeyring. Use two forward slashes (safkeyring://). Do not use four forward slashes (safkeyring:////).
You can now proceed to upgrading to Zowe v3.6.
Upgrading from Zowe v2.11.x through v2.15.x
To upgrade from any version between v2.11.x and v2.15.x to v2.18.x, perform the following tasks:
- Remove PEM references.
Ensure that Zowe configurations using keyrings do not have the sectionzowe.certificate.pem. This section is no longer needed and can cause a start-up error in newer versions of Zowe. - Update TLS configurations.
Ensure the followingzowe.networksection is added to yourzowe.yamlfile:network:server:tls:attls: falseminTls: "TLSv1.2"maxTls: "TLSv1.3"client:tls:attls: false - Update PROCLIB entries.
Update your PROCLIB entries for Zowe usingzwe init stc, theZWEISTCjob, or by copying theSZWESAMPmembers into your PROCLIB. - Verify keyring slashes.
If using keyrings, ensure Zowe YAML references use exactly two forward slashes (safkeyring://).
You can now proceed to upgrading to Zowe v3.6.
Upgrading from Zowe v2.10.x
To upgrade from Zowe v2.10.x to v2.18.x, perform the following tasks:
- (Optional) Enable sysMessages duplication.
You can now use the new arrayzowe.sysMessagesto select messages that, when found by the launcher, are duplicated into the system's log. - Remove PEM references.
Ensure that Zowe configurations using keyrings do not have the sectionzowe.certificate.pem. - Update TLS configurations.
Add the followingzowe.networksection to yourzowe.yamlfile:network:server:tls:attls: falseminTls: "TLSv1.2"maxTls: "TLSv1.3"client:tls:attls: false - Update PROCLIB entries.
Update your PROCLIB entries for Zowe usingzwe init stc, theZWEISTCjob, or by copying theSZWESAMPmembers into your PROCLIB. - Verify keyring slashes.
If using keyrings, ensure Zowe YAML references use exactly two forward slashes (safkeyring://).
You can now proceed to upgrading to Zowe v3.6.
Upgrading from Zowe v2.4.x through v2.9.x
To upgrade from any version between v2.4.x and v2.9.x to v2.18.x, perform the following tasks:
- Clean up application framework plug-ins.
Delete the<zowe.workspaceDirectory>/app-server/pluginsdirectory so that it can be regenerated on the next run of Zowe. Old plug-ins left here will complicate logs with harmless errors. - (Optional) Enable sysMessages duplication.
You can use the new arrayzowe.sysMessagesto select messages that, when found by the launcher, are duplicated into the system's log. - Remove PEM references.
Ensure that Zowe configurations using keyrings do not have the sectionzowe.certificate.pem. - Update TLS configurations
Add the followingzowe.networksection to yourzowe.yamlfile:network:server:tls:attls: falseminTls: "TLSv1.2"maxTls: "TLSv1.3"client:tls:attls: false - Update PROCLIB entries.
Update your PROCLIB entries for Zowe usingzwe init stc, theZWEISTCjob, or by copying theSZWESAMPmembers into your PROCLIB. - Verify keyring slashes.
If using keyrings, ensure Zowe YAML references use exactly two forward slashes (safkeyring://).
You can now proceed to upgrading to Zowe v3.6.
Upgrading from Zowe v2.3.x or earlier
If your current version is v2.3.x or earlier, a clean install of Zowe v3.6 is highly recommended to avoid potential issues during the upgrade process, rather than attempting to manually patch the configuration forward.
Please proceed with a fresh installation of Zowe v3.6.
Upgrading from Zowe v1.x
If you are using v1, you must perform a clean install of Zowe v3.6 rather than performing an upgrading, as there is not a clear upgrade path from v1 to v2 or v3. Any extensions or products built upon Zowe v1 are unlikely to work in v2 or v3 without upgrading them.
If you are using v1.27 or a later version of Zowe v1, you can retain your keyring or keystore. During v3.6 installation, once your Zowe YAML configuration file is created, you can define the section zowe.certificate to re-use your certificates:
zowe:
certificate:
keystore:
type: "<your v1 KEYSTORE_TYPE value>"
file: "<your v1 KEYSTORE value>"
alias: "<your v1 KEY_ALIAS value>"
password: "<your v1 KEYSTORE_PASSWORD value>"
truststore:
type: "<your v1 KEYSTORE_TYPE value>"
file: "<your v1 TRUSTSTORE value>"
password: "<your v1 KEYSTORE_PASSWORD value>"
pem: # DELETE THIS PEM SECTION AND THE LINES BELOW IF USING KEYRINGS (type=JCERACFKS)
key: "<your v1 KEYSTORE_KEY value>"
certificate: "<your v1 KEYSTORE_CERTIFICATE value>"
certificateAuthorities: "<your v1 KEYSTORE_CERTIFICATE_AUTHORITY value>"
Upgrading the runtime
After you prepare your current Zowe instance, upgrade the Zowe runtime to v3.6. Complete the following steps in order.
Stop your running Zowe instance before you replace the runtime files, data sets, or PROCLIB members. For more information about stopping Zowe, see Starting and Stopping Zowe.
-
Install the Zowe v3.6 build.
For information about the available installation methods, see Installing Overview. The installation places theSZWESAMPandSZWEAUTHdata sets under the data set prefix thatzowe.setup.dataset.prefixdefines in yourzowe.yaml. The next step creates or updates your custom data sets.infoClick here for an example of how to install with SMP/E.
If you install with SMP/E, the sample JCL jobs create the runtime directory for you. You do not run
paxorzwe install. Instead, you edit the sample jobs and submit them in order.- Edit and submit the sample jobs that Zowe supplies in the
ZOWE.AZWE003.F1data set, in the following order:ZWE2RCVE(RECEIVE)ZWE3ALOC(allocate target libraries)ZWE4ZFS(optional, create the file system)ZWE5MKD(create the directories)ZWE6DDEF(DDDEFs)ZWE7APLY(APPLY)ZWE8ACPT(ACCEPT)
- In
ZWE4ZFSandZWE5MKD, replace the-PathPrefix-string with the high-level directory where you want Zowe installed. The value must be an absolute path that begins and ends with a slash (/), and it is case sensitive. InZWE4ZFS, also replace${fsdsn}with the data set name of the zFS file system.
Example:
If you set-PathPrefix-to/service/, the jobs create the runtime directory/service/usr/lpp/zowe. - Submit
ZWE4ZFSfrom a user ID with UID 0 or with access to theBPX.SUPERUSERprofile. The job allocates and formats the zFS file system, creates the mount point/service/usr/lpp/zowe, and mounts the file system there. Each job must end with return code 0. - Set
zowe.runtimeDirectoryin yourzowe.yamlfile to the new directory, for example/service/usr/lpp/zowe.
If you do not run
ZWE4ZFS, theZWE5MKDjob still creates the directory, but in the file system that already contains the path prefix.Note: The mount that
ZWE4ZFScreates does not survive an IPL. To mount the file system automatically, add aMOUNTstatement to theBPXPRMxxmember ofPARMLIB. TheZWE4ZFSjob lists the statement to use.For more information, see Installing the z/OS build via SMP/E.
infoClick here for an example of how to install from the convenience build (PAX file).
If you install from the convenience build (PAX file).
- Download the Zowe v3.6 PAX file and upload it to USS in binary mode.
- Back up your existing runtime directory, and then expand the PAX file into the same runtime directory with
pax -ppx -rf <zowe-V.v.p>.pax. The backup preserves the previous runtime so that you can restore it if you need to downgrade. - Run
zwe installwith thezowe.yamlfile that you prepared in the previous section and the--allow-overwriteoption.
Example:
<runtime-directory>/bin/zwe install -c /path/to/zowe.yaml --allow-overwrite.
Without--allow-overwrite, existing data sets are not updated, and the command issues messageZWEL0301W.
For more information, see Installing the z/OS build via Convenience Build (PAX file).
- Edit and submit the sample jobs that Zowe supplies in the
-
Initialize your Zowe instance with
zwe init.
You do not need to repeat your initial Zowe setup. In a USS shell, run only thezwe initsubsteps that apply to your upgrade. Point these commands at yourzowe.yamlfile with the-coption.Example:
<runtime-directory>/bin/zwe init mvs -c /path/to/zowe.yaml --allow-overwrite-
zwe init mvscopies the new Zowe load modules and sample members from theSZWEAUTHandSZWESAMPdata sets into your custom data sets, such as the authorized load library and the PARMLIB. Zowe runs from your custom data sets, so without this step, Zowe continues to run the previous load modules. When the custom data sets already exist under your data set prefix, such as in an in-place upgrade, you must specify--allow-overwrite. Without the--allow-overwriteoption, thezwe init mvscommand does not update the existing data sets and issues messageZWEL0301W. When you create the custom data sets under a new data set prefix, the--allow-overwriteoption is not required.warningThe
--allow-overwriteoption replaces existing members in your custom data sets, including theZWESIP00member in your PARMLIB. Before you runzwe init mvs, back up any members that you customized. -
zwe init apfauthAPF authorizes the Zowe load libraries. Run this command only if you changed the data set prefix or the names of the Zowe load libraries. Data sets that are already APF authorized remain authorized after the upgrade. Runningzwe init apfauthrequires elevated authority. If you do not have the required authority, ask your system programmer to run the command.<runtime-directory>/bin/zwe init apfauth -c /path/to/zowe.yaml
You can skip
zwe init securityandzwe init certificate. Existing SAF permissions and keyrings or keystores carry over to the new version, unless an SMP/E HOLD statement states otherwise.If you do re-run
zwe init certificatewith a keystore, note that in Zowe v3.6 it generates a random password whenzowe.setup.certificate.pkcs12.passwordorzowe.setup.certificate.pkcs12.caPasswordis left at the default value. Keyring scenarios are unaffected. Update any automation that relies on the literal default password. See zwe init certificate.- For the full list of steps that an upgrade requires, see Installation and configuration tasks.
- For more information about the
zwe initoptions, see Configuring Zowe with zwe init and zwe init mvs.
warningBack up any customized members in your custom data sets, such as
<prefix>.CUST.PARMLIBand<prefix>.CUST.JCLLIB, before you runzwe init mvs --allow-overwrite. The command can overwrite existing members, as messageZWEL0300Wstates.noteThe
zowe.yamlfile is the required configuration file for the installation and initialization of Zowe. Review thezowe.yamlstructure in the Zowe YAML server configuration file reference and customize it according to your requirements.The following example shows the output that
zwe init mvs --allow-overwritedisplays in your USS shell during an upgrade, when the custom data sets from your previous installation already exist. In the example,<prefix>is the value ofzowe.setup.dataset.prefixin yourzowe.yaml, for exampleMY.ZOWE.V3. TheZWEL0300Wwarnings are expected during an upgrade: they state that the existing data sets are overwritten with the contents of the new build. The final line confirms that initialization succeeded.Example:
>> Initialize Zowe custom data setsCreate data sets if they do not existWarning ZWEL0300W: <prefix>.CUST.PARMLIB already exists. This dataset will be overwritten.Warning ZWEL0300W: <prefix>.CUST.JCLLIB already exists. This dataset will be overwritten.Warning ZWEL0300W: <prefix>.SZWEAUTH already exists. This dataset will be overwritten.Warning ZWEL0300W: <prefix>.CUST.ZWESAPL already exists. This dataset will be overwritten.Copy <prefix>.SZWESAMP(ZWESIP00) to <prefix>.CUST.PARMLIB(ZWESIP00)Copy components/zss/LOADLIB/ZWESIS01 to <prefix>.SZWEAUTH(ZWESIS01)Copy components/zss/LOADLIB/ZWESAUX to <prefix>.SZWEAUTH(ZWESAUX)Copy components/zss/LOADLIB/ZWESISDL to <prefix>.SZWEAUTH(ZWESISDL)Copy components/launcher/bin/zowe_launcher to <prefix>.SZWEAUTH(ZWELNCH)>> Zowe custom data sets are initialized successfully.Review the output of each
zwe initsubstep to confirm that your data sets are properly initialized and that noZWEL0301Wmessage appears. -
-
Refresh the PROCLIB members if required.
The membersZWESLSTC,ZWESISTC, andZWESASTCin your PROCLIB are generated from yourzowe.yamlsettings and the Zowe JCL templates. Refresh these members if the new build changes the started task JCL, or if you changed a setting that the members contain, such as the data set prefix,authLoadlib,authPluginLib, the ZIS member suffix, or the cross-memory server name. Otherwise, your existing members continue to work.To refresh the members, run
zwe init stcor submit theZWEISTCjob. Because the members already exist, you must specify--allow-overwrite. Without appending this option, the command writes nothing to your PROCLIB and issues messageZWEL0301Wfor each existing member. The option replaces the members, so first back up any members that you customized.For command details, see zwe init stc in the reference section.
-
Review the automatic startup checks.
Zowe v3.6 runs the following checks automatically each time it starts.
For more information, see z/OS pre-flight checks.tipIf failure occurs during startup validation, we recommend that you set
zowe.launchScript.logLeveltodebug(ortracefor more detail) to write additional startup diagnostics to the Zowe log.Startup check Default behavior Override property Certificate warn. Checks that the certificates are valid for use by Zowe.zowe.launchScript.startupChecks.certificateSuperuser (UID 0) check exit. Zowe does not start if it runs as the USS superuser (UID 0), because running as UID 0 is strongly discouraged.zowe.launchScript.startupChecks.userComponents warn. Checks that every component listed undercomponentshas a manifest file.zowe.launchScript.startupChecks.componentsPorts exit. Checks that each enabled component can bind to its port and that no other program occupies the port.zowe.launchScript.startupChecks.portsz/OSMF exit. Checks that z/OSMF is running and meets the Zowe requirements.zowe.launchScript.startupChecks.zosmfz/OSMF JWT warn. Applies when Zowe uses z/OSMF JWT authentication. Checks that z/OSMF JWT support is usable.zowe.launchScript.startupChecks.zosmfjwtAT-TLS ports warn. Checks the AT-TLS port configuration.zowe.launchScript.startupChecks.attlsJava minimum version exit. Zowe does not start if the Java version is lower than 17.zowe.launchScript.startupChecks.javaMinJava maximum version warn. Zowe logs a warning if the Java version is higher than 21.zowe.launchScript.startupChecks.javaMaxNode.js minimum version exit. Zowe does not start if the Node.js version is lower than 18.zowe.launchScript.startupChecks.nodeMinNode.js maximum version warn. Zowe logs a warning if the Node.js version is higher than 24.zowe.launchScript.startupChecks.nodeMaxA failing check that is set to
exitprevents Zowe from starting. A failing check that is set towarnlogs a warning, and Zowe continues to start. A check that is set todisableddoes not run.To change the behavior of all startup checks at once, set
zowe.launchScript.startupChecks.defaulttoexit,warn, ordisabled. This value overrides the defaults in the table for every check that you do not set individually. A value that you set for a specific check always takes precedence.If the Java or Node.js version changed from your previous installation, set
java.homeornode.homeinzowe.yamlto a supported installation. At each startup, Zowe logs the effective action of every startup check and where the action comes from. -
Start your Zowe instance.
Start Zowe using your usual method. For more information about starting Zowe, see Starting and Stopping Zowe.Check the startup log for messages at theERRORlevel. To view the log, open the job output in SDSF, or in the Jobs view of Zowe Explorer.After you validate the upgrade, as described in Verifying the upgrade, you can stop Zowe the same way that you started it. For example, stop the
ZWESLSTCstarted task, or run<runtime-directory>/bin/zwe stop -c /path/to/zowe.yaml. -
Resolve any startup failures.
Review the startup log forERRORmessages, identify the check or component that failed, correct the cause (often a property in yourzowe.yaml), and start Zowe again.tipIf your security requirements allow it, you can set the matching
zowe.launchScript.startupChecks.*property towarnordisabled. Each property accepts the valuesexit,warn, ordisabled. The following example lists the properties with their default values:Example:
zowe:launchScript:startupChecks:user: exit # superuser (UID 0) check for ZWESVUSRports: exit # port availability checkzosmf: exit # z/OSMF availability checkcertificate: warn # certificate validation checkcomponents: warn # component manifest checkattls: warn # AT-TLS port checkjavaMin: exit # minimum Java version checkjavaMax: warn # maximum Java version checknodeMin: exit # minimum Node.js version checknodeMax: warn # maximum Node.js version checkSetting a check to
warnordisabledhides a real misconfiguration. Use these values as a temporary measure, and resolve the underlying finding.Click for an example of a failed start.
The following example shows a failed start. The startup checks pass, and then the validation of the API ML component fails. This example shows a component validation error, separate from the startup checks in the previous step. Zowe does not start until you correct the reported problem and start Zowe again.
Example:
<timestamp> <ZWELS:nnn> ZWESVUSR INFO (zwe-internal-start-prepare) Zowe version: v3.6.0<timestamp> <ZWELS:nnn> ZWESVUSR INFO (validateJavaHome) Java version: 17.0.10<timestamp> <ZWELS:nnn> ZWESVUSR INFO (zwe-validate-certificate) Certificate checks passed.<timestamp> <ZWELS:nnn> ZWESVUSR INFO (zwe-internal-start-prepare,global_validate) global validations are successfulERROR: <timestamp> <ZWELS:nnn> ZWESVUSR ERROR (zwe-internal-start-prepare,validate_components) Error: Component apiml ended with nonzero rc=1<timestamp> <ZWELS:nnn> ZWESVUSR WARN (zwe-internal-start-prepare,validate_components) 1 errors were found during validation, please check the message, correct any properties required in <workspace>/.env/.zowe-merged.yaml and re-launch Zowe.<timestamp> <ZWELNCH:nnn> ZWESVUSR WARN ZWEL0066W command '<runtime>/bin/utils/configmgr' ended with code 1<timestamp> <ZWELNCH:nnn> ZWESVUSR ERROR ZWEL0030E failed to prepare Zowe instanceCorrect the property that the component reports, and then start Zowe again.
-
If the Caching Service fails to start, clear the Infinispan persistence data.
If the Caching Service uses Infinispan storage, persistence data written by the earlier Infinispan version can prevent the service from starting after the upgrade. If this occurs, use the following procedure:a. Stop Zowe.
b. Remove the Infinispan persistence directory. Delete the contents or the folder located at:<zowe.workspaceDirectory>/caching-service.
c. Restart Zowe.warningRemoving the persistence directory clears all stored Caching Service data, including revoked Personal Access Tokens (PATs) and revoked Zowe JWTs.
noteInfinispan virtual threads are turned off by default. On z/OS, leave the
components.caching-service.storage.infinispan.useVirtualThreadsproperty set tofalse. If you set the property totrueon z/OS, the Caching Service issues a warning at startup, and virtual threads can stall Caching Service clustering in HA mode.
Verifying the upgrade
After Zowe v3.6 starts, use the following checklist to confirm that the upgrade is successful.
-
The following commands complete without errors:
zwe validate dependencieszwe validate certificatezwe validate zosmf jwt
-
Confirm that unauthenticated requests to
/application/inforeturn HTTP 401. The same requests with credentials return HTTP 200. -
Confirm that
zowe.network.allowedDomainsincludes every domain, IP address, or CIDR range from which services register. -
Confirm that onboarded services register successfully. If a registration is rejected, confirm that the cause is a host that is not in
zowe.network.allowedDomains, and add the host if appropriate. -
If your services use URLs with encoded characters (
%2F,%5C,%25,%2E, or semicolons), confirm that requests to them still succeed, or thatcomponents.gateway.apiml.security.enableStrictUrlValidationis set tofalse. -
Confirm z/OSMF is reachable through the API Gateway by the
/ibmzosmfroute, not/zosmf. Note that the/ibmzosmfroute was introduced with the release of v3 and is not specific to the v3.6 upgrade. -
(HA installations only) Confirm that on startup, Zowe creates
.zowe-<haInstance>-merged.yamlin the workspace.envdirectory, and thatZWE_HA_INSTANCE_CONFIGpoints to that file. For more information about HA upgrades, see Upgrading Zowe in HA for zero downtime.
System and Security Changes from Zowe v2 and v1
-
SAF Settings
Existing SAF settings for Zowe do not need to be changed for v3. Install steps such as zwe init security, the job or workflowZWESECUR, and the jobsZWEIRAC,ZWEITSS, andZWEIACFare not required to be re-run. -
Keyrings and Keystores
Existing keyrings and keystores do not need to be changed for v3. Install steps such aszwe init certificate, the job or workflowZWEKRING, or jobs starting withZWEIKR*are not required to be re-run.
The following network changes are needed for added or removed servers:
| Component name | Change | Default Port | Default Jobname | Details |
|---|---|---|---|---|
| zaas | Added | 7558 | ZWE1AZ | This component is responsible for authentication and is now required when using the API Mediation Layer |
| metrics-service | Removed | 7551 | ZWE1MS | This service has been deprecated and removed. The Open Telemetry standard serves as a replacement. |
| jobs-api | Removed | 7558 | ZWE1EJ | This component was deprecated in Zowe v2 and is now removed. Ensure that you switch to using equivalent z/OSMF endpoints. |
| files-api | Removed | 7559 | ZWE1EF | This component was deprecated in Zowe v2 and is now removed. Ensure that you switch to using equivalent z/OSMF endpoints. |
| cloud-gateway | Removed | 7563 | ZWE1CG | The cloud-gateway has been removed as a standalone component and merged into the gateway. |
Configuration changes from Zowe v2 and v1
Review the following changes to configuration and updated configuration parameters.
New Configuration
- components.zaas
Previously part of thecomponents.gatewaycomponent,zaasin Zowe v3 is a separate component responsible for authentication. If you do not explicitly configure this section,zaaswill still be enabled by default and will use port 7558 unless you use single-service deployment mode. For more information, see Upgrading to single-service API ML deployment.
components:
zaas:
enabled: true
port: 7558
debug: false
Updated Configuration Parameters
Keyrings
If you use keyrings, verify that Zowe YAML references to safkeyring. Use two forward slashes (safkeyring://). Do not use four forward slashes (safkeyring:////).
Zowe v2 accepts an empty value for zowe.certificate.keystore.password and zowe.certificate.truststore.password when using keyring-based certificates. Zowe v3.6 requires both of these parameters to be set to the literal value password.
Example:
zowe:
certificate:
keystore:
type: JCERACFKS
file: safkeyring://ZWESVUSR/ZoweKeyring
password: password
alias: localhost
truststore:
type: JCERACFKS
file: safkeyring://ZWESVUSR/ZoweKeyring
password: password
Gateway z/OSMF service configuration
The service ID for gateway.apiml.security.auth.zosmf has changed to ibmzosmf.
Set jwtAutoconfiguration to jwt (default) or ltpa. Note that auto is no longer supported.
If you are using zosmf as your authorization service, ensure that you update this z/OSMF service configuration.
components:
gateway:
apiml:
security:
auth:
zosmf:
jwtAutoconfiguration: jwt
serviceId: ibmzosmf
Caching Service
The Caching service now defaults to Infinispan mode instead of VSAM. A new parameter for the key exchange port has been added to the default configuration.
components:
caching-service:
storage:
mode: infinispan
infinispan:
jgroups:
port: 7600
keyExchange:
port: 7601
If you enable single-service deployment mode, Infinispan is the required storage option for the Caching Service. Other storage modes are not supported in single-service deployment mode.
Single-service deployment mode
Starting from Zowe v3.4.0, we recommend using the single-service deployment of API Mediation Layer. API ML single-service deployment mode runs the API Gateway, Discovery Service, API Catalog, and Caching Service in a single JVM process, which improves performance and simplifies configuration. For more information about enabling this mode and requirements for single-service deployment, see Enabling single-service deployment of API Mediation Layer.
ZSS Server
The ZSS server now runs in 64-bit mode by default.
components:
zss:
agent:
64bit: true
Deprecated Settings in Zowe v3
The following configuration parameters have been deprecated in Zowe v3. Ensure that these parameters are removed from your configuration.
zowe.useConfigmgr
The parameter zowe.useConfigmgr=false is no longer supported.
components.gateway.server.internal
The internal gateway server has been removed due to limited usage.
components:
gateway:
server:
internal: