Configure Zowe with z/OSMF Workflows
Configure Zowe with z/OSMF Workflows
As a system programmer, after you install Zowe, you can register and execute the z/OSMF workflows in the web interface to complete the Zowe configuration. z/OSMF helps to simplify the Zowe configuration tasks and reduce the level of expertise that is needed for Zowe configuration.
Ensure that you meet the following requirements before you start the Zowe configuration:
- Install and configure z/OSMF
- Install Zowe with an SMP/E build, PSWI, or a convenience build
You can complete the following tasks with the z/OSMF workflow:
- Configure the Zowe instance directory
- Enable the API ML gateway
- Enable the metrics service
- Enable the API catalog
- Enable automatic discovery
- Enable a caching service
- Enable an application server
- Enable the ZSS component
- Enable the jobs API
- Enable the files API
- Enable JES Explorer
- Enable MVS Explorer
- Enable USS Explorer
You can execute the Zowe configuration workflow either from a PSWI during deployment or later from a created software instance in z/OSMF. Alternatively, you can execute the configuration workflow z/OSMF during the workflow registration process.
#
Configure the Zowe instance directoryThe Zowe instance directory contains configuration data that is required to launch a Zowe runtime. This includes port numbers, location of dependent runtime such as Java, Node, z/OSMF, as well as log files. When Zowe is started, configuration data is read from files in the instance directory and logs will be written to files in the instance directory. Zowe has three runtime systems: the z/OS Service microservice server, the Zowe Application Server, and the Zowe API Mediation Layer microservices.
Register the ZWECONF.xml workflow definition file in the z/OSMF web interface to create a Zowe instance directory and start the Zowe started task. The path to the workflow definition file is <pathPrefix>/workflows/
After you register the workflow definition file, perform the following steps to complete the process:
Define variables
The workflow includes the list of instance configuration and the Zowe variables. Enter the values for variables based on your mainframe environment, Zowe instance configuration, and wanted components.
Create configuration
Execute the step to create a configuration zowe.yaml file with the variable setup that was defined in step 1.
Run Zowe install
Execute the
zwe install
command with the previously stored zowe.yaml file as a parameter.Run Zowe init
Execute the
zwe init
command with the previously stored zowe.yaml file as a parameter.
After you execute each step, the step is marked as Complete. After completing the workflow execution, you can view the Zowe started task.
#
Register and execute workflow in the z/OSMF web interfacez/OSMF workflow simplifies the procedure to configure and start Zowe. Execute the following steps to register and execute the workflow in the z/OSMF web interface:
Log in to the z/OSMF web interface and select Use Desktop Interface.
Select the Workflows File.
Select Create Workflow from the Actions menu.
The Create Workflow panel appears.
Enter the complete USS path to the workflow you want to register in the Workflow Definition File field.
If you installed Zowe with the SMP/E build, the workflow is located in the SMP/E target zFS file system that was mounted during the installation.
(Optional) Enter the complete USS path to the edited workflow properties file in the Workflow Variable Input File field. Use this file to customize product instances and automate workflow execution, saving time and effort when deploying multiple standardized Zowe instances. The values from this file override the default values for the workflow variables.
The sample properties file is located in the same directory with the workflow definition file. Create a copy of this file, and then modify as described in the file. Set the field to the path where the new file is located.
Note: If you use the convenience build, the workflows and variable input files are located in the USS runtime folder in files/workflows.
Select the System where the workflow runs.
Select Next.
Specify a unique Workflow name.
Select or enter an Owner user ID, and select Assign all steps to owner user ID.
Select Finish.
The workflow is registered in z/OSMF. The workflow is available for execution to deploy and configure the Zowe instance.
Execute the steps in order. Perform the following steps to execute each step individually:
a. Double-click the title of the step.
b. Select the Perform tab.
c. Review the step contents and update the input values as required.
d. Select Next.
Repeat the previous two steps to complete all items until the option Finish is available.
Select Finish.
After you execute each step, the step is marked as Complete. The workflow is executed.