Setting Up Azure Connector

Extract the connector package, load its Docker image, and prepare configuration.

1 min read Updated SS

Notes: This Connector can run on any operating system that supports docker.

  1. Untar connector.tar.gz file.

    tar -xvf connector.tar.gz
    

    You get a connector folder that contains the following.

    conf.tar file

    ext-system-adapter_<tag>.tar file

  2. ext-system-adapter_<tag>.tar file is a docker image you can load directly in docker.

    Execute the following command to load the docker image.

    docker load -i ext-system-adapter_<tag>.tar
    
  3. Untar conf.tar file.

    tar -xvf conf.tar
    
  4. conf folder contains all the configuration files of the connector. conf folder contains adapter-conf.yaml, importCert.sh, and logback.xml files.

  5. Update values of the following parameters in the adapter-conf.yaml file in the conf folder.

    hibernate.connection.username,
    hibernate.connection.password,
    hibernate.connection.url
    

    For Example:

    hibernate.connection.username: "appsonedb"
    hibernate.connection.password: "xxxx"
    hibernate.connection.url: "jdbc:mysql://<DB server IP>:<DB
    port>/dataadapter_azure"
    
  6. Create an Azure Connector directory inside the centralized_logs directory.

  7. Execute the following command to create the container:

    docker run -t -d --network="<docker network>" --name="<container
    name>" --add-host=grpc.example:<ip address of grpc endpoint> --add-
    host=haproxy.example:<ip address of haproxy endpoint> -v
    <path>/connector/conf/:<path>/ext-system-adapter/conf/:rw -v
    <path>/connector/logs/:<path>/ext-system-adapter/logs/:rw ext-
    system-adapter:<tag>
    

    Note: <docker network> is optional. It is required only if you need the container within a docker network. Connector/conf/:<path>: Provide the path to the extracted build directory. Logs/:<path>: Provide the path where centralized logs are stored. <Tag>: To get the tag, run the below command after uploading the docker image.

    docker images
    
  8. To start the connector, execute the following command.

    docker start <container name>
    
  9. To stop the connector, execute the following command.

    docker stop <container name>