High Availability
High Availability
A production instance of Zowe needs to run in a High Availability setup to achieve the necessary availability. To deploy Zowe in high availability (HA) mode, it is necessary to set up a Parallel Sysplex® environment. A Parallel Sysplex is a cluster of z/OS® systems that cooperatively use certain hardware and software components to achieve a high-availability workload processing environment.
Sysplex architecture and configuration
Sysplex is required to make sure multiple Zowe instances can work together. For more information, see Configuring Sysplex for high availability.
To enable high availability when Zowe runs in Sysplex, it is necessary to meet the following requirements:
- The Zowe instance is installed on every LPAR.
- The API services are registered to each Zowe instance.
- A shared file system is created between LPARs in Sysplex. See How to share file systems in a Sysplex.
- z/OSMF High Availability mode is configured. See Configuring z/OSMF high availability in Sysplex.
- The instance on every LPAR is started.
Configuration with high availability
The configuration for the specific instance is composed of the defaults in the main section and the overrides in the haInstances
section of the zowe.yaml
configuration file.
In this section, ha-instance
represents any Zowe high availability instance ID. Every instance has an internal id and a section with overrides compared to the main configuration in the beginning of the zowe.yaml
file. For more information, see Zowe YAML configuration reference.
Caching service setup and configuration
Zowe uses the Caching Service to centralize the state data persistent in high availability (HA) mode. This service can be used to share information between services.
If you are running the Caching Service on z/OS, there are three storage methods with their own characteristics:
- VSAM
- Familiar to z/OS engineers
- Slow
- Redis
- Needs to run in Distributed world separately
- Good for Kubernetes deployment
- Infinispan (recommended)
- Part of the Caching service
- Does not need separate processes
- Highly performant