Tags: nuodb/nuodb-compose
Tags
Ntj/refactor and allinone (#1) * Refactor scripts into separate script files. Mount script file or dir into each container. Incorporate Aaron's db-in-a-container. Add profiles to control which services (containers) are started. * Changes after first test runs * Rename various services and profiles. Remove profiles for the default "distributed" deployment. Move waitfor-nuoadmin code back into nuosm. Add log capture and better wait semantics to start-monolith. Add stop-nuodb script for internally triggered graceful shutdown of processes. * Improve arg parsing in stop-nuodb. * Add explicit docker-network config to all services. * Only enable nuocd-te2 in the insights profile. * Enable monolith to be scaled to multiple instances. Map ports to dynamic "ephemeral" prts on host. Remove hostname seting to allow dynamic hostname generation by docker compose. * Revert monolith to statically mapped ports. Set ENTRYPOINT and API_SERVER to localhst in monolith. Add instadb service that is db-in-a-container with dynamically-mapped ports, so multiple instances can run simultaneously. * Set LOGDIR default value in nuote. * Add --timeout option to delete server-processes command to force immediate cleanup of stranded processes after a service restart. Bump default NuoDB version to 5.0.1-2 Improve diagnostics and logging. * Reimplement all timeouts and gates with the nuodocker timeouts. Add new IMPORT_TIMEOUT variable. Add and improve logging and diagnostics. Refactor raftstate cleanup into new 'remove-zombie' script. * Inject remove-zombies into every container. * Add separate compose files for the different deployment styles. This allows commands such as: docker compose -f instadb.yaml up -d and: docker compose -f instadb.yaml down * Improve how errors are logged to console and file. Update the README with the latest options. * Update README file. * Fixed typos, formatting. Some rewording/clarifications. * Force TE internal port to be 48006, and force SM internal port to be 48007. Add clarifications to README. Fix typos in README. * More tidying * Fix a typo in the README. --------- Co-authored-by: acabrele <acabrele@nuodb.com> Co-authored-by: Paul Chapman <paulc4@users.noreply.github.com> Co-authored-by: Paul Chapman <pchapman@nuodb.com>
Add more error detection and diagnostics. Print ERROR message and exit on more detected errors. Prefix 'time' to download and restore commands to display elapsed time. Remove IMPORT_IS_BACKUPSET: logic now handles all cases automatically. Add checks for non-running archives: a) fix automatically if possible (eg this SM restarting); b) otherwise log an explanatory message and exit.