X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2Fdeployments%2Fst-client%2Fconfigure.sh;h=ef733a8bbf19494c2b929fb32cbe7d4787a46fcf;hb=5679a4c84a7dd6353fd09fb3672221777ceb8958;hp=622ec79b527c0a3785e33e39dc06aaf603fcde25;hpb=94798b57ab67365ba0d44eb8ba7bddfb2281f8ef;p=anna.git diff --git a/example/diameter/launcher/deployments/st-client/configure.sh b/example/diameter/launcher/deployments/st-client/configure.sh index 622ec79..ef733a8 100755 --- a/example/diameter/launcher/deployments/st-client/configure.sh +++ b/example/diameter/launcher/deployments/st-client/configure.sh @@ -102,8 +102,8 @@ echo "=====================================" echo "ADML SYSTEM TEST CONFIGURATION WIZARD" echo "=====================================" echo -[ -d ADMLS ] && _exit "ADMLS directory still exists. Please remove it to continue (perhaps you have to 'pkill ADML' before) !" -[ ! -d realms ] && _exit "Missing realms configuration (expecting '$PWD/realms' directory) !" +[ -d ADMLS ] && _exit "ADMLS directory still exists. Please move/remove it to continue (you may have to 'pkill ADML' before) !" +[ ! -d services ] && _exit "Missing services configuration (expecting '$PWD/services' directory) !" calculate_deployment_layout @@ -179,7 +179,7 @@ echo "Ready to clone/start the ADML instances: press ENTER to continue, CTRL+C t read dummy # Update services.xml regarding the number of client connections: -cd realms +cd services cp services.msk services.xml sed -i 's/__CLIENT_CONNECTIONS__/'$G_ADML_CONNECTIONS'/g' services.xml cd - >/dev/null @@ -190,13 +190,15 @@ do echo "Creating ADML instance $instance ..." mkdir -p ADMLS/ADML-$instance cd ADMLS/ADML-$instance + mkdir counters + mkdir test-reports # Create resources: ln -s ../../.operation-one.sh operation.sh ln -s ../../pre-start.sh cp ../../.run-one.sh run.sh sed -i 's/^EXE=.*/EXE=ADML-'$instance'/' run.sh ln -s ../../ADML-launcher ADML-$instance - for xml in `ls ../../realms/*xml`; do ln -s $xml; done + for xml in `ls ../../services/*xml`; do ln -s $xml; done cd - >/dev/null done