-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ZDM-295 Enhance docker-compose components
* Created Dockerfiles for jumphost, proxy, and client * Migrated installation of packages and user setup from docker-entrypoint into Dockerfile for jumphost, proxy, and client * Increased retry sleep time to 20s for jumphost's ssh connection test, and key scan * Increased retry sleep time to 20s for proxy's ssh key check * Added functionality to jumphost to detect container names and ip address of proxy, origin (Cassandra node), and target (Cassandra node) containers and record information to a shared hosts file * Added functionality to client to read ip address information of proxies and Cassandra nodes from shared hosts file * Updated test carried out by client to initially insert data into the Cassandra origin node, then every minute insert data via the ZDM proxy, read data back via ZDM proxy, and then read data back directly from each Cassandra node
- Loading branch information
Showing
14 changed files
with
434 additions
and
216 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
NETWORK_SUBNET=192.168.100.0/24 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
FROM ubuntu:20.04 | ||
|
||
ENV ZDM_PROXY_RUN /run/zdm-proxy-automation | ||
ENV HOSTS_FILE ${ZDM_PROXY_RUN}/hostsfile | ||
|
||
RUN apt-get update && \ | ||
DEBIAN_FRONTEND=noninteractive \ | ||
apt-get -y install \ | ||
iproute2 \ | ||
net-tools \ | ||
iputils-ping \ | ||
python3 \ | ||
python3-pip \ | ||
tzdata | ||
|
||
RUN python3 -m pip install -U cqlsh | ||
|
||
# Fix timezone in client | ||
RUN ln -fs /usr/share/zoneinfo/Australia/Sydney /etc/localtime && \ | ||
dpkg-reconfigure -f noninteractive tzdata | ||
|
||
ENTRYPOINT ["client-entrypoint.sh"] | ||
CMD [""] |
Oops, something went wrong.