Hi all, Am semi-new to Solace but wanting to ensure it is solid and stable from the start, even during my early testing…
Have successfully deployed Solace within AWS using Autoscaling group (1 of 1) to an EC2 behind a load balancer - all pretty standard server items.
However i am struggling to find how to either launch the Docker using a pre-created configuration.
I believe i can login to the console manually… run the ‘backup’ command which exports the file to the jail folder. This then can be used to restore my config…
I am looking for an automated method to start the docker using a backed up config (so all queues etc are re-imported in event of failure).
Additionally on top of this, i have seen i can schedule a backup task to run the backup like a crontab task within Solace. Are there any auto methods for say backing upto S3 or will i be better of writing my own script to copy the backup files in the jail folder to s3 ?
Have tested the logic (since asking Q and the logic i am looking to apply works manually):
Log into Solace via 8080, create custom VPN
docker exec -it /usr/sw/loads/currentload/bin/cli -A enable backup exit, exit aws s3 cp /mnt/solace/jail/configs/backup s3:///backup <Reboot the server, simulating ec2 crash>
Ec2 Autostart initialises Docker and runs solace, SSM into EC2: aws s3 cp s3:///backup /mnt/solace/jail/configs/backup docker exec -it /usr/sw/loads/currentload/bin/cli -A enable reload config backup.solace (Click Yes) exit, exit Solace will load backup causing solace to stop the docker Relaunch the docker container: docker start solace Check solace via 8080 and ensure custom VPN present, it was!
Thank you.