days left for your 2X growth
 / 

2X Growth

2X the points gained during the growth doubling period

Points

Get points: use points for successful completion of experiments, challenges and learning route courses:points can unlock advanced features such as: discovery mode, schedule experiments, extended experiments, VIP experiments, etc.

Number of active activities

Each time you complete an experiment, challenge, or course, you increase the number of active activities to earn a higher level

The system detects that you've not completed the task
Quick path - Complete any of the following experiments
You can
Unlock more experiment and learn path
Schedule experiment and access the discovery mode
Get your own experiment environment with VIP authority
2X Growth Points
News about the latest experiment, learning path and other events information.
You have Bonus Task(s) awaiting completion.
Bonus task list
Preference Setting

Save

Farewell to 3270-CICS The Compulsory Test for the Younger Generation

Use Ansible and Zowe to Automate the deployment of a Host Application

Only    0 seat(s) available

    0 already completed

Experiment: Use Ansible and Zowe to Automate the deployment of a Host Application

54 already completed

Experiment Content:

Experiment Resources:

N/A

Medal Status


Lighten Medals

Latest Activites

zhoufc

has completed the experiment and received a blue medal

chenjian

has completed the experiment and received a blue medal

739163912

has completed the experiment and received a blue medal

739163912

has completed the experiment and received a blue medal

739163912

has completed the experiment and received a blue medal

739163912

has completed the experiment and received a blue medal

syyjcyao

has completed the experiment and received a blue medal

syyjcyao

has completed the experiment and received a blue medal

yanqingc

has completed the experiment and received a blue medal

yanqingc

has completed the experiment and received a blue medal

Discovery:Use Ansible and Zowe to Automate the deployment of a Host Application

0 already completed

Experiment Content:

Experiment Resources:

  • N/A

Tips

1. Discovery provides longer time for your experience;you are home free
2. Data will be cleared after the end of discovery
3. It is needed to finish the experiment and challenge first to start your discovery

Please start your challenge after you finish the experiment

Please start your discovery after you finish the challenge.

Please start your discovery after you finish the experiment.

Experiment Manual

The following content is displayed on the same screen for your experiment so that you can make any necessary reference in experiment. Start your experiment now!

  1. Test preparation(Duration: 2 mins)

    Demo Diagram

    Before the experiment, you can check the return information of the host service by calling the default (unmodified) host service with the following command: 
    Execute it under current user directory: 
    cat check.sh
    (View the service call command)
    The output is as follows: 
    curl -XPOST -H "Content-Type:application/json" http://zsystem.lab.csc:3000x/zosConnect/services/Region?action=invoke
    ./check.sh
    (Execute the script call service)
    You will see the following return information:
    {"TESTCOMM":{"DATAFLD":"HELLO FROM LAB"}}

  2. Log into Gitlab to create a new branch(Duration: 5 mins)

    Click Sign in in the browser, and accesshttps://zansible.lab.csc:7443 via Git Account test00x/password. If login is successful, you will see the Gitlab project named "test00x". 
    As shown in the following figure, Note: test001 is used as an example in the figure, and the current actual project name is test00x


    Enter the project and you can see that the project has two branches: master and base. Click New branch as shown below, and

    create a new branch as shown below.
    In Branch Name, enter CTBR0x , and create from base as the source for the new branch, and then click Create branch to create a branch.

  3. Check the COBOL application code(Duration: 5 mins)

    Click on the COBOL app that we are about to modify TESTA.cbl , and COMPILE is a compilation task.

    Click Edit to modify  TESTA.cbl. Note: Check it to make sure that it was modified under branch CTBR0x.

    We customize the HELLO Message field, ’HELLO FROM LAB‘, for instance, 'HELLO FROM CSC' .
    Note: The total length of the string here is no more than 20 characters, and the extra long part will be truncated.
    After modification, click Commit changes to submit the change.

  4. Log into Ansible AWX to view the information of playbook(Duration: 5 mins)

    Enter the following address in the browser to access Ansible AWX: http://zansible.lab.csc
    and the account number is  test00x/password. Click Login to access the home page of AWX.
    Any modification to your new branch "CTBR0x" will automatically trigger the execution of template playbook_CTBR0x in Ansible AWX. You can click on Tasks on the top to view the historical execution tasks of the playbook in the lower right part of the AWX homepage, which was automatically triggered after you just submitted the modification for TESTA.cbl.
    Click playbook_CTBR0x on the top to view the Log information of the specific execution of playbook.

    After browsing the Log information on the right, you will know that the main functions of the playbook are as follows:

    • ssh to Host System
    • Create a temporary directory under z/osuss for storing project code pulled from gitlab
    • Clone code from gitlab to replace source file directory and destination load module directory in a COMPILE task
    • Create z/os dataset to store TESTA program and COMPILE task
    • Copy the TESTA program and COMPILE task under z/osuss into the z/os dataset already built in the previous step
    • Submit the COMPILE task to compile and generate load module
    • Delete the temporary directory under z/osuss
    • Call zowe cics plugin on localhost to deploy a new version of the TESTA program to the corresponding CICS region

    --------The following are for reference--------
    Attached below is an ansible script with playbook_CTBR0x.yml as an example, and you will better understand the entire automated deployment process with the help of the script and the execution Log:

    Click here to download it

  5. Test the result of code modification(Duration: 1 min)

    You can review the return information of the host service by calling the host service again with the following command: 
    ./check.sh
    You will see the following return information: 
    {"TESTCOMM":{"DATAFLD":"您更改的消息信息"}}
    For instance: 
    {"TESTCOMM":{"DATAFLD":"HELLO FROM CSC"}}
    Congratulations! You have completed this experiment! If you want to modify the code again, you can repeat steps (3) to (5).

Scan here to share it


Reserve Experiment Summary

Experiment Name:

Experiment Content: Use Ansible and Zowe to Automate the deployment of a Host Application

:

Hour(s)

Points:,This appointment will use 50 points

You have successfully reserve this experiment. You can view it at Personal Center > My Reservation later

You are not authorized to reserve the experiment!

It’s only for Premium Member.

VIP 项目申请

什么是VIP项目:
可以在一段时期内使用您专有的实验资源,进行深入测试。期间可以根据您的需要手工进行环境的初始化与回收

实验名称:
别了3270 - CICS 后浪的必修试验
使用Ansible和Zowe来实现主机应用程序自动化部署

Please login before sharing



    Copy succeeded


Please fill in the email address

    Send succeeded

Poster sharing

Scan to share poster

您将使用100个消费积分开启自由实验

您当前的消费积分不足

您将使用200个消费积分解锁VIP实验

您当前的消费积分不足

您将使用50个消费积分预约实验

您当前的消费积分不足

该天预约已满,请选择其他时间

Non-Premium Member only has 5 opportunities every month to experiment. You still have 0 opportunities. Do you want to start the experiment now?

p.s Premium Member enjoys unlimited access to routine experiments.
沪ICP备18004249号-1