Skip to content

Latest commit

 

History

History

ims_provisioning_wazi

IMS Provisioning for Wazi environment

The IMS provisioning playbook samples demonstrate how to allocate the required data sets and configure them to provision IMS and related services.

It is a good practice to review the playbook sample contents before executing them. It will help you understand the requirements in terms of space, location, names, authority, and the artifacts that will be created and cleaned up. Although samples are written to operate without the need for the user’s configuration, flexibility is written into the samples because it is not easy to determine if a sample has access to the host’s resources. Review the playbook notes sections for additional details and configuration.

Playbook Summary

Role Summary

This project uses roles to provide an object-oriented model to provision IMS. Each role is responsible for a specific area. These roles can be re-used in different playbooks.

Inside each role:

  • ./tasks contains tasks that can be performed by the role. Sub-folder names describe the use of the contained files.
  • ./tasks/main.yml contains the default tasks performed by the role.

Requirements

  • IBM z/OS core collection 1.5.0
  • IBM z/OS IMS collection 1.2.0
  • IBM® Wazi Sandbox 2.4 or IBM® Extended z/OS® ADCD for Z Development and Test Environment built upon the general release of ADCD z/OS® V2R5 December Edition of 2022 or later

Getting Started

If you are unfamiliar with playbooks, you can review our detailed configuration guide or continue with getting started below.

Getting Started: CLI

A few settings may need to be changed to ensure compatibility with your z/OS target.

For more information on python configuration requirements on z/OS, refer to Ansible FAQ: Running on z/OS.

  1. Update inventories/zosendpoint contains the information needed to connect to our target. We must specify the following information about our target system:

    • ansible_host: either an IP or URL to the target system.
    • ansible_user: the username used to login with SSH.
    • ansible_python_interpreter: the path on the target to the python interpreter.
    • ansible_port: the port number to login with SSH if it's not the default port 2022 for Wazi systems.
    • An example is below, where zosendpoint will be the name used to reference our target:
    all:
      hosts:
        zosendpoint:
          ansible_host: your_host
          ansible_user: ibmuser
          ansible_port: 2022
          ansible_python_interpreter: /usr/lpp/IBM/cyp/v3r9/pyz/bin/python3
    
  2. Update the playbook specific variables in vars_wazi/ims-dbdc.yml based on desired behaviors. Some of the commonly changed variables are:

    1. DFS_IMS_SSID for IMSID
    2. ODBM_PORTIDPort and ODBM_SSLPORTID for ODBM ports
    3. IMS_CONNECT_PORT and IMS_CONNECT_SSLPORT for IMS Connect ports
    4. DFS_IMSPlex for IMSPlex name

Run the playbook

  1. Run provisioning IMS playbook, type the following from the root of this repository:

ansible-playbook -i inventories/zosendpoint provision-tmdb-wazi.yml

  1. Run query IMS services, type the following from the root of this repository:

ansible-playbook -i inventories/zosendpoint query-ims.yml

  1. Run de-provisioning IMS playbook, type the following from the root of this repository:

ansible-playbook -i inventories/zosendpoint deprovision-tmdb-wazi.yml

Copyright

© Copyright IBM Corporation 2023

License

Licensed under Apache License.