mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-07 14:31:08 +00:00
Install DB2 odbc driver on x86_64 architectures and update docs (#17425)
This commit is contained in:
parent
2fe9fe3317
commit
5e32c2aa78
@ -53,6 +53,14 @@ RUN if [[ $(uname -m) == "arm64" || $(uname -m) == "aarch64" ]]; \
|
|||||||
|
|
||||||
ENV LD_LIBRARY_PATH=/instantclient
|
ENV LD_LIBRARY_PATH=/instantclient
|
||||||
|
|
||||||
|
# Install DB2 OAccess Driver
|
||||||
|
RUN if [[ $(uname -m) == "x86_64" ]]; \
|
||||||
|
then \
|
||||||
|
curl https://public.dhe.ibm.com/software/ibmi/products/odbc/debs/dists/1.1.0/ibmi-acs-1.1.0.list | tee /etc/apt/sources.list.d/ibmi-acs-1.1.0.list \
|
||||||
|
&& apt update \
|
||||||
|
&& apt install ibm-iaccess; \
|
||||||
|
fi
|
||||||
|
|
||||||
# Required for Starting Ingestion Container in Docker Compose
|
# Required for Starting Ingestion Container in Docker Compose
|
||||||
COPY --chown=airflow:0 --chmod=775 ingestion/ingestion_dependency.sh /opt/airflow
|
COPY --chown=airflow:0 --chmod=775 ingestion/ingestion_dependency.sh /opt/airflow
|
||||||
# Required for Ingesting Sample Data
|
# Required for Ingesting Sample Data
|
||||||
|
|||||||
@ -54,6 +54,14 @@ RUN if [[ $(uname -m) == "arm64" || $(uname -m) == "aarch64" ]]; \
|
|||||||
|
|
||||||
ENV LD_LIBRARY_PATH=/instantclient
|
ENV LD_LIBRARY_PATH=/instantclient
|
||||||
|
|
||||||
|
# Install DB2 OAccess Driver
|
||||||
|
RUN if [[ $(uname -m) == "x86_64" ]]; \
|
||||||
|
then \
|
||||||
|
curl https://public.dhe.ibm.com/software/ibmi/products/odbc/debs/dists/1.1.0/ibmi-acs-1.1.0.list | tee /etc/apt/sources.list.d/ibmi-acs-1.1.0.list \
|
||||||
|
&& apt update \
|
||||||
|
&& apt install ibm-iaccess; \
|
||||||
|
fi
|
||||||
|
|
||||||
# Required for Starting Ingestion Container in Docker Compose
|
# Required for Starting Ingestion Container in Docker Compose
|
||||||
# Provide Execute Permissions to shell script
|
# Provide Execute Permissions to shell script
|
||||||
COPY --chown=airflow:0 --chmod=775 ingestion/ingestion_dependency.sh /opt/airflow
|
COPY --chown=airflow:0 --chmod=775 ingestion/ingestion_dependency.sh /opt/airflow
|
||||||
|
|||||||
@ -59,6 +59,14 @@ RUN if [[ $(uname -m) == "arm64" || $(uname -m) == "aarch64" ]]; \
|
|||||||
|
|
||||||
ENV LD_LIBRARY_PATH=/instantclient
|
ENV LD_LIBRARY_PATH=/instantclient
|
||||||
|
|
||||||
|
# Install DB2 OAccess Driver
|
||||||
|
RUN if [[ $(uname -m) == "x86_64" ]]; \
|
||||||
|
then \
|
||||||
|
curl https://public.dhe.ibm.com/software/ibmi/products/odbc/debs/dists/1.1.0/ibmi-acs-1.1.0.list | tee /etc/apt/sources.list.d/ibmi-acs-1.1.0.list \
|
||||||
|
&& apt update \
|
||||||
|
&& apt install ibm-iaccess; \
|
||||||
|
fi
|
||||||
|
|
||||||
WORKDIR ingestion/
|
WORKDIR ingestion/
|
||||||
|
|
||||||
# Required for Airflow DockerOperator, as we need to run the workflows from a `python main.py` command in the container.
|
# Required for Airflow DockerOperator, as we need to run the workflows from a `python main.py` command in the container.
|
||||||
|
|||||||
@ -59,6 +59,14 @@ RUN if [[ $(uname -m) == "arm64" || $(uname -m) == "aarch64" ]]; \
|
|||||||
|
|
||||||
ENV LD_LIBRARY_PATH=/instantclient
|
ENV LD_LIBRARY_PATH=/instantclient
|
||||||
|
|
||||||
|
# Install DB2 OAccess Driver
|
||||||
|
RUN if [[ $(uname -m) == "x86_64" ]]; \
|
||||||
|
then \
|
||||||
|
curl https://public.dhe.ibm.com/software/ibmi/products/odbc/debs/dists/1.1.0/ibmi-acs-1.1.0.list | tee /etc/apt/sources.list.d/ibmi-acs-1.1.0.list \
|
||||||
|
&& apt update \
|
||||||
|
&& apt install ibm-iaccess; \
|
||||||
|
fi
|
||||||
|
|
||||||
WORKDIR ingestion/
|
WORKDIR ingestion/
|
||||||
|
|
||||||
# For the dev build, we copy all files
|
# For the dev build, we copy all files
|
||||||
|
|||||||
@ -88,7 +88,12 @@ Executing the profiler workflow or data quality tests, will require the user to
|
|||||||
- **database**: Database of the data source.
|
- **database**: Database of the data source.
|
||||||
- **Host and Port**: Enter the fully qualified hostname and port number for your DB2 deployment in the Host and Port field.
|
- **Host and Port**: Enter the fully qualified hostname and port number for your DB2 deployment in the Host and Port field.
|
||||||
|
|
||||||
Note: In case you are using Db2 for IBM i, then from advanced config you need choose the `ibmi` scheme.
|
{% note %}
|
||||||
|
If you are using DB2 for IBM i:
|
||||||
|
|
||||||
|
- From advanced config you need to chose `ibmi` scheme
|
||||||
|
- In Host and Port you should not add the Port Number.
|
||||||
|
{% /note %}
|
||||||
|
|
||||||
{% partial file="/v1.5/connectors/database/advanced-configuration.md" /%}
|
{% partial file="/v1.5/connectors/database/advanced-configuration.md" /%}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user