Skip to content

Commit 0d4d111

Browse files
committed
feat: update AS400 installation instructions and add pre-installation requirements
Signed-off-by: Manuel Abascal <mjabascal10@gmail.com>
1 parent fdc9be2 commit 0d4d111

File tree

2 files changed

+28
-18
lines changed

2 files changed

+28
-18
lines changed

frontend/src/app/app-module/guides/guide-as400/constants.ts

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
export const PLATFORM = [
3-
{
3+
/*{
44
id: 1,
55
name: 'WINDOWS',
66
install: `New-Item -ItemType Directory -Force -Path "C:\\Program Files\\UTMStack\\UTMStack Collectors\\AS400"; ` +
@@ -24,25 +24,19 @@ export const PLATFORM = [
2424
`-Recurse -Force -ErrorAction Stop; Write-Host "UTMStack AS400 Collector removed successfully."`,
2525
2626
shell: 'Open Windows Powershell terminal as “ADMINISTRATOR”'
27-
},
28-
{
29-
id: 2,
30-
name: 'LINUX UBUNTU',
31-
install: `sudo bash -c "apt update -y && apt install wget unzip -y && mkdir -p ` +
32-
`/opt/utmstack-linux-collectors/as400 && cd /opt/utmstack-linux-collectors/as400 && ` +
33-
`wget --no-check-certificate ` +
34-
`https://V_IP:9001/private/dependencies/collector/linux-as400-collector.zip ` +
35-
`&& unzip linux-as400-collector.zip && rm linux-as400-collector.zip && chmod -R 755 ` +
36-
`utmstack_collectors_installer && ./utmstack_collectors_installer install as400 ` +
37-
`V_IP <secret>V_TOKEN</secret>"`,
27+
},*/
28+
{
29+
id: 2,
30+
name: 'LINUX UBUNTU',
31+
// tslint:disable-next-line:max-line-length
32+
install: `sudo bash -c "apt update -y && apt install wget -y && mkdir -p /opt/utmstack-as400-collector && wget --no-check-certificate -P /opt/utmstack-as400-collector https://V_IP:9001/private/dependencies/collector/as400/utmstack_as400_collector_service && chmod -R 755 /opt/utmstack-as400-collector/utmstack_as400_collector_service && /opt/utmstack-as400-collector/utmstack_as400_collector_service install V_IP <secret>V_TOKEN</secret> yes"`,
3833

34+
// tslint:disable-next-line:max-line-length
35+
uninstall: `sudo bash -c " cd /opt/utmstack-linux-collectors/as400 && ./utmstack_collectors_installer uninstall as400 && echo 'Removing UTMStack AS400 Collector dependencies...' && sleep 5 && rm -rf /opt/utmstack-linux-collectors/as400 && echo 'UTMStack AS400 Collector removed successfully.'"`,
3936

40-
uninstall: `sudo bash -c " cd /opt/utmstack-linux-collectors/as400 && ./utmstack_collectors_installer ` +
41-
`uninstall as400 && echo 'Removing UTMStack AS400 Collector dependencies...' && sleep 5 && rm ` +
42-
`-rf /opt/utmstack-linux-collectors/as400 && echo 'UTMStack AS400 Collector removed successfully.'"`,
37+
shell: 'Linux bash terminal'
38+
}
4339

44-
shell: 'Linux bash terminal'
45-
}
4640
];
4741

4842
export const ACTIONS = [

frontend/src/app/app-module/guides/guide-as400/guide-as400.component.html

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,23 @@ <h4 class="card-title mb-0 text-primary">
1010
The UTMStack AS400 Collector communicate over ports 9000, 9001 and 50051. Please make sure these ports are open.
1111
</div>
1212
<ol class="setup_list">
13-
<app-utm-list [items]="steps">
13+
<li>
14+
<p class="step-guide">
15+
<span class="step_number">1</span>
16+
Check pre-installation requirements
17+
</p>
18+
<ul class="mt-3 pl-3" style="list-style-type: circle !important;">
19+
<li>Compatible with IBM i (AS400) systems that allow remote access to system logs.</li>
20+
<li>The AS400 Collector requires access to IBM i Host Server services. Make sure the following ports are open from the collector host to the AS400:</li>
21+
<ul class="mt-2 pl-4" style="list-style-type: circle !important;">
22+
<li><strong>8476</strong> – Signon Server (authentication)</li>
23+
<li><strong>446</strong> – DRDA/JDBC (SQL-based log access, when available)</li>
24+
<li><strong>8471, 8470, 8475, 8472</strong> – Required when SQL log access is not available and the collector uses the classic JT400 method</li>
25+
</ul>
26+
</ul>
27+
</li>
28+
29+
<app-utm-list [items]="steps">
1430
<ng-template stepTemplateRef let-step>
1531
<li>
1632
<app-step>

0 commit comments

Comments
 (0)