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
Modify [init.yaml](init.yaml) to configure product and fix repositories, poiting to Master 10.1 repostories on Empower using your Empower credentials or point to your local 10.1 mirrors
24
+
Copy [init-10.1.yaml.template](init.yaml.template) into init.yaml files and modify it
25
+
with your Empower credentials (email and password):
25
26
26
27
```yaml
27
28
product:
@@ -36,93 +37,190 @@ Modify [init.yaml](init.yaml) to configure product and fix repositories, poiting
36
37
password: yourpass
37
38
```
38
39
39
-
Add your 10.1 webMethods Microservices Container license file to the current folder as ```licenseKey.xml``` file.
Open Integration Server Admin UI at [http://0.0.0.0:5552/](http://0.0.0.0:5552/)
83
152
Login as Administrator/manage
84
153
85
-
## Simple image
154
+
Congratuations!
86
155
87
-
There is no size optimization for this image but it is the easiest to build.
88
-
Suitable for ad-hoc testing.
156
+
This is your custom-built webMethods Microservices Runtime container for 10.1 with the latest fixes
157
+
and basic configuration.
89
158
90
-
Simple image comes with SPM and thus can be managed in Command Central.
159
+
### Running managed containers
91
160
92
-
## Unmanaged image
161
+
To take advantage of the management capabilities privided by Command Central
162
+
we can run managed containers.
93
163
94
-
Unmanaged image does not include management agent (SPM) and thus cannot be managed
95
-
by Command Central, but can be managed by an orchestration tool of your choice.
164
+
Start Command Central container first:
165
+
166
+
```bash
167
+
docker-compose run --rm init
168
+
...
169
+
Alias Name Status Url Host Url Port Location Id Installation Type
170
+
local Local ONLINE localhost 8092
171
+
The expected values were successfully retrieved after 13 calls within 181 seconds.
172
+
```
96
173
97
-
## Managed image
174
+
Wait until the command completes.
98
175
99
-
Managed image includes Command Central agent (SPM) and thus:
176
+
Open [Command Central](https://0.0.0.0:8091/) and login as Administrator/manage.
100
177
101
-
* You can monitor, administer and even configure it in Command Central
102
-
* And still manage by an orchestration tool of your choice
178
+
> NOTE that Command Central images comes from Docker Store. We did not build or customize it anyhow.
179
+
180
+
Click on the Installations tab and notice that the list of managed installations includes only 'local' node.
103
181
104
-
Open [Command Central](https://0.0.0.0:8091/) to see simple and managed containers in
182
+
to see simple and managed containers in
105
183
the maganed landscape.
106
184
107
-
You can run tests against them using Command Central API:
185
+
Start managed container by running:
108
186
109
187
```bash
110
-
docker-compose run --rm test
188
+
docker-compose up -d managed
189
+
docker-compose logs -f managed
190
+
191
+
...
192
+
managed_1 | Registering 'msc' with Command Central server 'cc' ...
193
+
managed_1 | 200 OK
194
+
195
+
managed_1 | 2018-05-04 17:04:55 UTC [ISP.0046.0012I] Enabling HTTP Listener on port 5555
196
+
...
197
+
managed_1 | Integration Server is ONLINE at http://9eef625c9410:5555/
111
198
```
112
199
113
-
Tail the logs if you need to
200
+
Stop tailing the log by pressing Ctrl+C.
201
+
202
+
Check Command Central Web UI Installations and Instances tabs and notice
203
+
Integration Server runtime instance is automatialy discovered and registred
204
+
within Command Central managed landscape.
205
+
206
+
Open Integration Server Admin UI at [http://0.0.0.0:5553/](http://0.0.0.0:5553/)
207
+
Login as Administrator/manage
208
+
209
+
Run simple smoke tests against managed containers using Command Central API:
114
210
115
211
```bash
116
-
docker-compose logs -f
212
+
docker-compose run --rm test
117
213
```
118
214
215
+
See 'test' container command in docker-compose.yml for details.
216
+
119
217
## Cleanup
120
218
121
219
```bash
122
220
docker-compose down
123
221
```
124
222
125
-
## Adoping templates to work with Command Central Docker Builder 10.1
223
+
## Adapting templates to work with Command Central Docker Builder 10.1
126
224
127
225
> Command Central Docker Builder 10.1 has the following requirements for the template.yaml:
128
226
@@ -133,7 +231,7 @@ docker-compose down
133
231
134
232
See the difference between [adopted template.yaml](template.yaml) and [original template.yaml](https://github.com/SoftwareAG/sagdevops-templates/blob/master/templates/sag-msc-server/template.yaml) for MSC basic template.
135
233
136
-
> The above limitations are planned to be removed in the upcoming Command Central Builder release to allow seamless use of the same templates for VMs and containers
234
+
> The above limitations will be removed removed in the upcoming releases of Command Central Builder 10.2 to allow seamless use of the same templates for VMs and containers
0 commit comments