OASE Agent on Docker Compose - Online¶
Introduction¶
Features¶
Pre-requisites¶
Exastro IT Automation
In order to operate the Exastro OASE Agent, both the Exastro OASE Agent and the Exastro IT Automation must be operating on the same version.Deploy environment
The following describes confirmed compatible container environments as well as their resources and versions.表 35 Hardware requirements(Minimum)¶ Resource type
Required resource
CPU
2 Cores (3.0 GHz, x86_64)
Memory
4GB
Storage (Container image size)
10GB
Confirmed compatible Operation systems
The following describes confirmed compatible operation systems as well as their versions.
表 36 Operating systems¶ Type
Version
Red Hat Enterprise Linux
Version 8
AlmaLinux
Version 8
Ubuntu
Version 22.04
Confirmed compatible Operation systems and container platforms
The following describes confirmed compatible operation systems as well as their versions.
表 37 Container Platforms¶ Software
Version
Podman Engine ※When using Podman
Version 4.4
Docker Compose ※When using Podman
Version 2.20
Docker Engine ※When using Docker
Version 24
Application
The user must be able to run sudo commands.
警告
Install¶
Preparation¶
git clone https://github.com/exastro-suite/exastro-docker-compose.git
cd exastro-docker-compose/ita_ag_oase
cp .env.docker.sample .env
cp .env.podman.sample .env
vi .env
Boot¶
docker compose up -d --wait
docker-compose up -d --wait
Parameter list¶
Parameter |
Description |
Changeable |
Default value/Selectable setting value |
---|---|---|---|
NETWORK_ID |
Docker Network ID used by the OASE Agent |
Yes |
20230101 |
LOGGING_MAX_SIZE |
Max file size for the container's log files. |
Yes |
10m |
LOGGING_MAX_FILE |
Maximum amount of generations for the container's log files. |
Yes |
10 |
TZ |
The Time zone used by the OASGE Agent system. |
Yes |
Asia/Tokyo |
DEFAULT_LANGUAGE |
Default language used by the OASE Agent System. |
Yes |
ja |
LANGUAGE |
Language used by the OASE Agent System. |
Yes |
en |
ITA_VERSION |
OASE Agent version |
Yes |
2.3.0 |
UID |
OASE Agent execution user |
Not required |
1000 (Default): Using Docker 0: When using Podman |
HOST_DOCKER_GID |
Docker group ID on the host |
Not required |
999: Using Docker 0: When using Podman |
AGENT_NAME |
Name of the OASE Agent |
Yes |
ita-oase-agent-01 |
EXASTRO_URL |
Exastro IT Automation's Service URL |
Yes |
|
EXASTRO_ORGANIZATION_ID |
OrganizationID created in Exastro IT Automation |
Required |
None |
EXASTRO_WORKSPACE_ID |
WorkspaceID created in Exastro IT Automation |
Required |
None |
EXASTRO_REFRESH_TOKEN |
Refresh token fetched from the Exastro System management page※
※The user's role must have edit permission for the OASE - Event - Event history menu.
|
Yes |
None |
EXASTRO_USERNAME |
Username created in Exastro IT Automation
※Refresh token fetched from the Exastro System management page.
※If not using EXASTRO_REFRESH_TOKEN(Not recommended)
|
Yes |
admin |
EXASTRO_PASSWORD |
Password created in Exastro IT Automation.
※If not using EXASTRO_REFRESH_TOKEN(Not recommended)
|
Yes |
|
EVENT_COLLECTION_SETTINGS_NAMES |
The Event collection setting name created in Exastro IT Automation's OASE Management event collection. |
Required |
None ※Multiple can be specified by dividing with commas. |
ITERATION |
Number of process iterations before the OASE Agent settings resets. |
Yes |
10(Max: 120, Min: 10) |
EXECUTE_INTERVAL |
OASE Agent's data fetch process execution interval |
Yes |
5(Min: 3) |
LOG_LEVEL |
OASE Agent's log level |
Yes |
INFO |
Update¶
Update preparation¶
警告
~/exastro-docker-compose/ita_ag_oase/.volumes/
.Update repository¶
1# Confirm exastro-docker-compose repository
2cd ~/exastro-docker-compose/ita_ag_oase
3git pull
Check the updated default setting values.¶
~/exastro-docker-compose/.env
and the settings file after the update.cd ~/exastro-docker-compose/ita_ag_oase
# If the OS is AlmaLinux or Ubuntu
diff .env .env.docker.sample
# If the OS is Red Hat Enterprise Linux
diff .env .env.podman.sample
Update setting values¶
Update¶
Update the system¶
cd ~/exastro-docker-compose/ita_ag_oase
docker compose up -d --wait
docker-compose up -d --wait
Uninstall¶
Uninstallment preparation¶
警告
~/exastro-docker-compose/ita_ag_oase/.volumes/
.Uninstall¶
Start Uninstallment process¶
cd ~/exastro-docker-compose/ita_ag_oase
# For only deleting the Container
docker compose down
# For deleting the Container+ Container Image+ Volume
docker compose down --rmi all --volumes
# For only deleting the Container
docker-compose down
# For deleting the Container+ Container Image+ Volume
docker-compose down --rmi all --volumes
# For deleting the data
rm -rf ~/exastro-docker-compose/ita_ag_oase/.volumes/storage/*