From bcde36a77b573ade7d7bdc164480261d8ec9f944 Mon Sep 17 00:00:00 2001 From: Thomas Juerges <4-jurges@users.noreply.git.astron.nl> Date: Tue, 18 May 2021 17:29:39 +0200 Subject: [PATCH] L2SS-218 Add some informational output --- bootstrap/sbin/rebuild_system_from_scratch.sh | 27 +++++++++++++++---- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/bootstrap/sbin/rebuild_system_from_scratch.sh b/bootstrap/sbin/rebuild_system_from_scratch.sh index dcbd54cb6..da036e21d 100755 --- a/bootstrap/sbin/rebuild_system_from_scratch.sh +++ b/bootstrap/sbin/rebuild_system_from_scratch.sh @@ -93,44 +93,61 @@ function start_lofar_images() } -# Stop all Docker images. -stop_images - # Clean out the Docker volumes. +echo "-> Stopping Docker images and cleaning cleaning up their volumes..." clean_images +echo -e "\tDone.\n" # Move the tango repo dir out of the way. echo "-> Moving the tango directory ${HOME_DIR} out of the way..." move_tango_dir_out_of_the_way echo -e "\tDone.\n" -# Therefore, since the tango/boostrap dir is now gone, pull the repo first -# and then continue. +# Now pull the repo. +echo "-> Cloning tango's master branch to ${HOME_DIR}..." pull_tango +echo -e "\tDone.\n" # Now clean out the docker images. +echo "-> Deleting all Docker images from this host..." remove_images +echo -e "\tDone.\n" # Pull SKA's Docker images. +echo "-> Installing latest SKA Docker images on this host..." pull_images +echo -e "\tDone.\n" # Build all of the LOFAR Docker images. +echo "-> Building LOFAR2.0 Docker images..." build_lofar_images +echo -e "\tDone.\n" # Now start the basic Tango system, including dsconfig. +echo "-> Staring up a minimal Tango session..." start_minimal_tango +echo -e "\tDone.\n" # Load LOFAR's TangoDB. +echo "-> Configuring the Tango DB for LOFAR2.0..." configure_tango_db +echo -e "\tDone.\n" # Now configure the ELK container. +echo "-> Configuring the ELK container for this host..." configure_elk +echo -e "\tDone.\n" # Here I start ELK & Jupyter. +echo "-> Start LOFAR2.0 support containers (ELK, Jupyter, etc.)..." start_support_images +echo -e "\tDone.\n" # And finally start all the LOFAR images. +echo "-> Start LOFAR2.0 containers..." start_lofar_images +echo -e "\tDone.\n" # Now the system should be ready to use. # For instance the cold start script could now be executed. +echo -e "-> LOFAR2.0 system rebuild was successful.\n\n" -- GitLab