You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This profile defines the parameters needed to connect to the z/OSMF server on z/OS. You need to know the following from your z/OS system administrator:
13
+
The z/OSMF profile defines the parameters needed to connect to the z/OSMF server on z/OS. You need to know the following from your z/OS system administrator:
14
14
15
15
| Option | Description |
16
16
| --- | --- |
@@ -39,9 +39,9 @@ To test the connection to the z/OSMF server using the profile:
39
39
zowe zosmf check status
40
40
```
41
41
42
-
### Step 2: Create an SSH profile
42
+
### Create an SSH profile
43
43
44
-
This profile defines the parameters needed to connect to the SSH server on z/OS. You need to know the following from your z/OS system administrator:
44
+
The SSH profile defines the parameters needed to connect to the SSH server on z/OS. You need to know the following from your z/OS system administrator:
45
45
46
46
| Option | Description |
47
47
| --- | --- |
@@ -70,9 +70,9 @@ To test the connection to the SSH server using the profile:
70
70
zowe zos-uss issue ssh 'uname -a'
71
71
```
72
72
73
-
### Step 3: Create a cics-deploy profile
73
+
### Create a cics-deploy profile
74
74
75
-
This profile identifies the CICS environment for deployment. You need to know the following from your CICS system administrator:
75
+
The cics-deploy profile identifies the CICS environment for deployment. An example of how to create an environment using using z/OS Provisioning Toolkit as described in [Provisioning a CICS region using z/OS PT](cdp-Provisioning-a-CICS-region-using-zospt). You need to know the following from your CICS system administrator:
76
76
77
77
| Option | Description |
78
78
| --- | --- |
@@ -96,4 +96,35 @@ For help on using the options:
96
96
zowe profiles create cics-deploy-profile --help
97
97
```
98
98
99
-
To test the cics-deploy profile, follow the steps in [Deploying your first Node.js app](cdp-Deploying-your-first-nodejs-app).
99
+
To test the cics-deploy profile, follow the steps in [Deploying your first Node.js app](cdp-Deploying-your-first-nodejs-app).
100
+
101
+
### Create a CICS profile
102
+
103
+
The CICS profile identifies the connection to the CICS Web User Interface (WUI) server to query application resources. You need to know the following from your CICS system administrator:
104
+
105
+
| Option | Description |
106
+
| --- | --- |
107
+
| cics-plex | CPSM CICSplex name. This will typically be set to the same as cicsplex in the cics-deploy profile. |
108
+
| protocol | HTTP or HTTPS to use to connect to the CICS WUI server. |
109
+
| host | Host name of the CICS WUI server. |
110
+
| port | Port number of the CICS WUI server. |
111
+
| user | User ID to identify yourself to the CICS WUI server . |
112
+
| password | Password to identify yourself to the CICS WUI server. |
Copy file name to clipboardExpand all lines: docs/pages/cdp/cdp-Deploying-your-first-nodejs-app.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ CICS TS V5.5 introduced support to run Node.js applications and is required by t
17
17
18
18
1. Install the Zowe CLI and cics-deploy plugin by following the steps in [Installing](cdp-Installing).
19
19
20
-
2. Create Zowe CLI profiles for z/OSMF, SSH, and cics-deploy by following the steps in [Creating Zowe CLI profiles](cdp-Creating-Zowe-CLI-profiles).
20
+
2. Create Zowe CLI profiles for z/OSMF, SSH, cics-deploy and CICS by following the steps in [Creating Zowe CLI profiles](cdp-Creating-Zowe-CLI-profiles).
21
21
22
22
3. Create a Node.js application using the [Express Application Generator](https://expressjs.com/en/starter/generator.html):
Copy file name to clipboardExpand all lines: docs/pages/cdp/cdp-Provisioning-a-CICS-region-using-zospt.md
+45-20Lines changed: 45 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,21 +9,23 @@ folder: cdp
9
9
toc: true
10
10
---
11
11
12
-
The [z/OS Provisioning Toolkit](https://developer.ibm.com/mainframe/products/zospt/) (z/OS PT) provides a command line utility and z/OSMF workflows to provision CICS regions and other development environments on z/OS. This tutorial requires z/OS PT version 1.1.5 or above to be installed.
12
+
The [z/OS Provisioning Toolkit](https://developer.ibm.com/mainframe/products/zospt/) (z/OS PT) provides a command line utility and z/OSMF workflows to provision CICS regions and other development environments on z/OS. This tutorial requires z/OS PT version 1.1.5 or above to be installed on z/OS.
13
13
14
14
### Prepare a z/OS PT image
15
15
16
-
A z/OS PT image contains the configuration and files necessary to provision a CICS region. This is typically prepared by the CICS system administrator. The CICS image should include the following properties. Other properties are available to customise the CICS region to your requirements - see [Configuration properties for CICS images](https://www.ibm.com/support/knowledgecenter/en/SSXH44E_1.0.0/zospt/cics/zospt-cics-properties.html).
16
+
A z/OS PT image contains the configuration and files necessary to provision a CICS region. This is typically prepared by the CICS system administrator. The main configuration is in the file `zosptfile` in the form of properties that are described in [Configuration properties for CICS images](https://www.ibm.com/support/knowledgecenter/en/SSXH44E_1.0.0/zospt/cics/zospt-cics-properties.html).
17
+
18
+
For example, to support Node.js applications `zosptfile` should include:
|`FROM cics_55`| Provision a CICS TS V5.5 region. Required to support Node.js applications. |
21
-
|`ENV DFH_CICS_TYPE=MAS`|The CICS region should be managed by CPSM. |
22
-
|`ENV DFH_CICSPLEX=`|The name of the CICSplex. |
23
-
|`ENV DFH_NODE_HOME=`|The installation directory for IBM SDK for Node.js - z/OS. Required to support Node.js applications. |
24
-
|`COPY bundles bundles`| Create an empty bundles directory in the provisioned file system to contain CICS bundles. |
22
+
|`FROM cics_55`| Provision a CICS TS V5.5 region that is the minimum release that supports Node.js applications. |
23
+
|`ENV DFH_CICS_TYPE=MAS`| CICS region should be managed by CPSM to enable the DFHDPLOY utility to deploy applications. |
24
+
|`ENV DFH_CICSPLEX=`|Name of the CICSplex this region is to join. |
25
+
|`ENV DFH_NODE_HOME=`|Installation directory for Node.js runtime provided by IBM SDK for Node.js - z/OS. |
26
+
|`COPY bundles bundles`| Create an empty `bundles` directory in the provisioned file system to contain CICS bundles. |
25
27
26
-
For example, to create the z/OS PT image source directory and configuration file, and build it ready for developers to provision CICS regions:
28
+
To create a z/OS PT image source directory, a `zosptfile` file, and build it ready for developers to provision CICS regions, run the following commands on z/OS:
### Provision your CICS region and deploy a Node.js application
48
+
### Provision your CICS region using a z/OS image
47
49
48
50
1. Update your user `.profile` file on z/OS to run z/OS PT.
49
51
50
-
Add the directory to the `zospt` command to your PATH, and add the following environment variables as described in [Configuring z/OS Provisioning Toolkit](https://www.ibm.com/support/knowledgecenter/en/SSXH44E_1.0.0/zospt/zospt-configuring.html):
52
+
Add the directory to the `zospt` command to your PATH.
53
+
```properties
54
+
export PATH=$PATH:zospt_directory/bin
55
+
```
56
+
57
+
Optional: To avoid the password prompt for each zospt command, specify your password as the environment variable. Ensure others do not have access to read your .profile:
58
+
59
+
```properties
60
+
export zospt_pw=
61
+
```
62
+
63
+
Optional: If z/OSMF is configured with domain and tenant names that are not the default as described in [Configuring z/OS Provisioning Toolkit](https://www.ibm.com/support/knowledgecenter/en/SSXH44E_1.0.0/zospt/zospt-configuring.html), add the following environment variables:
| /dfhconfig/nodejsprofiles/general.profile | General profile containing values for WORK_DIR and NODE_HOME. Node.js application should include this by adding `%INCLUDE=&USSCONFIG;/nodejsprofiles/general.profile` to their CICS Node.js application profile |
98
+
| /workdir | Trace, log and configuration files create by applications, Node.js runtimes, Java runtimes, and CICS runtimes |
99
+
79
100
80
-
Update `--scope` to be the value from DFH_REGION_APPLID, and `--bundle-directory` to be a bundles subdirectory of DFH_REGION_ZFS_DIRECTORY. For example:
101
+
4. Update your Zowe CLI cics-deploy profile options to deploy to your CICS region by default.
102
+
103
+
Update `--scope` to be the value from DFH_REGION_APPLID, and `--bundle-directory` to be the `bundles` subdirectory of DFH_REGION_ZFS_DIRECTORY. For example:
You are now ready to deploy applications to the provisioned CICS region. You can try this out by following the steps in [Deploying your first Node.js app](cdp-Deploying-your-first-nodejs-app).
109
+
### Deploying an application to your CICS region
110
+
111
+
You are now ready to deploy applications to the provisioned CICS region. You can try this out by following the steps in [Deploying your first Node.js app](cdp-Deploying-your-first-nodejs-app). During deployment, the CICS bundle will be copied into the `/bundles` directory, and output files will be written into a sub-directory of `/workdir`.
87
112
88
113
### Stop your CICS region
89
114
90
-
The CICS region and the applications running in it can be stopped if you are not going to be using them for a while by using command:
115
+
The CICS region and the applications running in it can be stopped if you are not going to be using them for a while by using the following command:
The CICS region can be stopped and removed using the following commands. This will remove the z/OS directory used to upload your CICS bundles:
131
+
The CICS region can be stopped and removed completely using the following commands. This will remove the z/OS directory used to upload your CICS applications:
Copy file name to clipboardExpand all lines: docs/pages/cdp/cdp-Requirements.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,4 +23,6 @@ The [z/OS Secure SHell daemon (sshd)](https://www.ibm.com/support/knowledgecente
23
23
24
24
The [DFHDPLOY](https://www.ibm.com/support/knowledgecenter/SSGMCP_5.5.0/applications/deploying/dfhdploy_overview.html) utility is provided with IBM CICS Transaction Server (CICS) and is required to run the [`zowe cics-deploy push bundle`](cdp-CLIReadMe#push--p), [`zowe cics-deploy deploy bundle`](cdp-CLIReadMe#deploy--d--dep), and [`zowe cics-deploy undeploy bundle`](cdp-CLIReadMe#undeploy--u--udep) commands. These commands start DFHDPLOY with a script to perform deploy and undeploy operations.
25
25
26
-
CICSPlex System Manager \(CPSM\) is provided with CICS and is required to run the DFHDPLOY utility. CPSM should be connected to the CICS regions into which the application is being installed.
26
+
### CICSPlex System Manager
27
+
28
+
CICSPlex System Manager \(CPSM\) is provided with CICS and is required to run the DFHDPLOY utility, and for the [`zowe cics-deploy push bundle`](cdp-CLIReadMe#push--p) to query application resources. CPSM should be connected to the CICS regions into which the application is being installed.
0 commit comments