The Red Hat Ecosystem Catalog is the official source for discovering and learning more about the Red Hat Ecosystem of both Red Hat and certified third-party products and services.
We’re the world’s leading provider of enterprise open source solutions—including Linux, cloud, container, and Kubernetes. We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.
8Modules9Plugins1Dependency
The IBM z/OS IMS collection includes modules and sample playbooks to automate tasks for IBM IMS.
The IBM z/OS IMS collection enables Ansible to interact with IBM Information Management System. The collection focuses on system management operations such as generating database descriptors, program specifications, Application Control Blocks (ACB), data definition language (DDL), catalog operations, submitting DBRC commands, and executing IMS commands.
The IBM z/OS IMS collection is part of the Red Hat® Ansible Certified Content for IBM Z® offering that brings Ansible automation to IBM Z®. This collection enables automation of IMS tasks such as generating IMS Database Descriptors (DBD), Program Specification Blocks (PSB), Application Control Blocks (ACB), managing DDL, catalog operations, submitting DBRC commands, and running IMS type-1 & type-2 commands.
System programmers can automate IMS system management tasks while database administrators can streamline database operations. The collection works seamlessly with other IBM Z collections like IBM z/OS core to deliver comprehensive z/OS automation solutions.
This collection is tested against the following Ansible versions: 2.16.0 or later
The collection requires the following on the managed node: - IBM z/OS IMS - IBM Open Enterprise SDK for Python - IBM Z Open Automation Utilities (ZOAU)
The control node requires the IBM z/OS core collection to be installed before installing the IMS collection. Refer to the IBM z/OS Core collection requirements for specific version requirements.
Before using this collection, you need to install it with the Ansible Galaxy command-line tool:
ansible-galaxy collection install ibm.ibm_zos_ims
You can also include it in a requirements.yml file and install it with ansible-galaxy collection install -r requirements.yml, using the format:
collections:
- name: ibm.ibm_zos_ims
Note that if you install the collection from Ansible Galaxy, it will not be upgraded automatically when you upgrade the Ansible package. To upgrade the collection to the latest available version, run the following command:
ansible-galaxy collection install ibm.ibm_zos_ims --upgrade
You can also install a specific version of the collection, for example, if you need to install a different version. Use the following syntax to install version 1.0.0:
ansible-galaxy collection install ibm.ibm_zos_ims:1.1.0
You can also install a beta version of the collection. A beta version is only available on Galaxy and is only supported by the community until it is promoted to General Availability (GA). Use the following syntax to install a beta version:
ansible-galaxy collection install ibm.ibm_zos_ims:1.1.0-beta.1
As part of the installation, the collection requirements must be made available to Ansible through the use of environment variables. The preferred configuration is to place the environment variables in group_vars and host_vars, you can find examples of this configuration under any playbook project.
If you are testing a configuration, it can be helpful to set the environment variables in a playbook, for an example to review, refer Discussions.
To learn more about the ZOAU Python wheel installation method, review the documentation.
If the wheel is installed using the --target option, it will install the package into the specified target directory. The environment variable PYTHONPATH will have to be configured to where the packages is installed, e.g; PYTHONPATH: /usr/zoau/wheels. Using --target is recommended, else the wheel will be installed in Python's home directory which may not have write permissions or persist
after an update.
If the wheel is installed using the --user option, it will install the package into the user directory. The environment variable PYTHONPATH will have to be configured to where the packages is installed, e.g; PYTHONPATH: /u/user.
Environment variables:
PYZ: "path_to_python_installation_on_zos_target"
ZOAU: "path_to_zoau_installation_on_zos_target"
ZOAU_PYTHON_LIBRARY_PATH: "path_to_zoau_wheel_installation_directory"
ansible_python_interpreter: "{{ PYZ }}/bin/python3"
environment_vars:
_BPXK_AUTOCVT: "ON"
ZOAU_HOME: "{{ ZOAU }}"
PYTHONPATH: "{{ ZOAU_PYTHONPATH }}"
LIBPATH: "{{ ZOAU }}/lib:{{ PYZ }}/lib:/lib:/usr/lib:."
PATH: "{{ ZOAU }}/bin:{{ PYZ }}/bin:/bin:/var/bin"
_CEE_RUNOPTS: "FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)"
_TAG_REDIR_ERR: "txt"
_TAG_REDIR_IN: "txt"
_TAG_REDIR_OUT: "txt"
LANG: "C"
PYTHONSTDINENCODING: "cp1047"
Flow:
Use Case Name: IMS Command Automation
Flow:
Use Case Name: IMS System Maintenance
Flow:
Use Case Name: IMS Catalog Population
Flow:
Use Case Name: IMS Database Recovery Control
All releases will meet the following test criteria.
This release of the collection was tested with the following dependencies.
This community is not currently accepting contributions. However, we encourage you to open git issues for bugs, comments or feature requests.
Review this content periodically to learn when and how to make contributions in the future. For the latest information on open issues, see: git issues.
If you would like to communicate with this community, you can do so through the following options.
zos tag to ensure proper awareness.ansible.As Red Hat Ansible Certified Content, this collection is entitled to support through Ansible Automation Platform (AAP). After creating a Red Hat support case, if it is determined the issue belongs to IBM, Red Hat will instruct you to create an IBM support case and share the case number with Red Hat so that a collaboration can begin between Red Hat and IBM.
If a support case cannot be opened with Red Hat and the collection has been obtained either from Galaxy or GitHub, there is community support available at no charge. Community support is limited to the collection; community support does not include any of the Ansible Automation Platform components, IBM Z Open Automation Utilities, IBM Open Enterprise SDK for Python.
The current supported versions of this collection can be found listed under the release section.
For the collection's cumulative, refer release notes are an easy way to review changes. The collection Life Cycle also referred to as the Roadmap contains changelog details, support dates and the current level of support for each collection. For a complete guide to support, review the Ansible for IBM Z Collection Life Cycles.
Example playbooks and use cases can be be found in the Ansible sample playbooks using the z/OS IMS collection. For supplemental content on getting started with Ansible, architecture and use cases, refer to IBM z/OS collections documentation.
Some portions of this collection are licensed under GNU General Public License, Version 3.0, and other portions of this collection are licensed under Apache License, Version 2.0. See individual files for applicable licenses.
| Product |
|---|
| 2.4 |
| 2.5 |
| 2.6 |
This collection requires the following collections for use:
| Name | Summary |
|---|