Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

20211002 MariaDB health check - experimental branch - PR 3 of 3 #418

Conversation

Paraphraser
Copy link

Follows on from suggestion in Issue 415
to add health-check to more containers. See also
PR 406.

Changes:

  • Adds iotstack_healthcheck.sh script to template.
  • Moves Dockerfile into buildFiles directory, and adds commands to
    copy the health-check script into the local image and activate
    health-checking on launch.

Does not change any documentation on experimental branch.

Follows on from suggestion in [Issue 415](SensorsIot#415)
to add health-check to more containers. See also
[PR 406](SensorsIot@dbb6217).

Changes:

* Adds `iotstack_healthcheck.sh` script to template.
* Moves Dockerfile into `buildFiles` directory, and adds commands to
copy the health-check script into the local image and activate
health-checking on launch.

Does not change any documentation on experimental branch.
@Slyke Slyke merged commit d7acd7f into SensorsIot:experimental Oct 17, 2021
@Paraphraser Paraphraser deleted the 20211002-mariadb-healthcheck-experimental branch October 17, 2021 10:45
Paraphraser added a commit to Paraphraser/IOTstack that referenced this pull request Dec 14, 2021
Pull Requests [PR387](SensorsIot#387), [PR388](SensorsIot#388), [PR389](SensorsIot#389) added a port mapping of `9322:3306` to facilitate backup and restores - so the routines could determine when the MariaDB service was ready for business.

The need for this was superseded by PRs [416](SensorsIot#416), [417](SensorsIot#417) and [418](SensorsIot#418). It is sufficient for backup and restore routines to run the health check and rely on the return status.

This PR removes the `9322:3306` as no longer needed. It will also avoid the need to protect the port with an iptables rule in situations where the host is exposed to the network.

Documentation also updated.

Signed-off-by: Phill Kelley <[email protected]>
Paraphraser added a commit to Paraphraser/IOTstack that referenced this pull request Dec 14, 2021
Pull Requests [PR387](SensorsIot#387), [PR388](SensorsIot#388), [PR389](SensorsIot#389) added a port mapping of `9322:3306` to facilitate backup and restores - so the routines could determine when the MariaDB service was ready for business.

The need for this was superseded by PRs [416](SensorsIot#416), [417](SensorsIot#417) and [418](SensorsIot#418). It is sufficient for backup and restore routines to run the health check and rely on the return status.

This PR removes the `9322:3306` as no longer needed. It will also avoid the need to protect the port with an iptables rule in situations where the host is exposed to the network.

Signed-off-by: Phill Kelley <[email protected]>
Paraphraser added a commit to Paraphraser/IOTstack that referenced this pull request Dec 14, 2021
Pull Requests [PR387](SensorsIot#387), [PR388](SensorsIot#388), [PR389](SensorsIot#389) added a port mapping of `9322:3306` to facilitate backup and restores - so the routines could determine when the MariaDB service was ready for business.

The need for this was superseded by PRs [416](SensorsIot#416), [417](SensorsIot#417) and [418](SensorsIot#418). It is sufficient for backup and restore routines to run the health check and rely on the return status.

This PR removes the `9322:3306` as no longer needed. It will also avoid the need to protect the port with an iptables rule in situations where the host is exposed to the network.

Signed-off-by: Phill Kelley <[email protected]>
ukkopahis pushed a commit to ukkopahis/IOTstack that referenced this pull request Dec 18, 2021
Pull Requests [PR387](SensorsIot#387), [PR388](SensorsIot#388), [PR389](SensorsIot#389) added a port mapping of `9322:3306` to facilitate backup and restores - so the routines could determine when the MariaDB service was ready for business.

The need for this was superseded by PRs [416](SensorsIot#416), [417](SensorsIot#417) and [418](SensorsIot#418). It is sufficient for backup and restore routines to run the health check and rely on the return status.

This PR removes the `9322:3306` as no longer needed. It will also avoid the need to protect the port with an iptables rule in situations where the host is exposed to the network.

Documentation also updated.

Signed-off-by: Phill Kelley <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants