Stopping the System
Bare Metal System Stop
The stop
command halts LeanXcale:
unix$ lx stop stop... atlantis [ kvcon[1056801]: halt ] atlantis [ term 1056062 1056066 1056075 1056084 1056057 1056053... kill 1056062 1056066 1056075 1056084 1056057 1056053... ] unix$
Docker System Stop
Stopping the LeanXcale containers should be done after stopping leanxcale. The reason is that docker might timeout the stop operation if the system is too busy updating the disk during the stop procedure.
To stop the database,
unix$ docker exec -it lx1 lx stop
stops the components for the whole system (being lx1
an installed container).
We can double check this
unix$ docker exec -it lx1 lx status status: stopped
Once this is done, we can stop the docker container.
unix$ docker ps CONTAINER ID IMAGE COMMAND STATUS PORTS NAMES e81d9d01f40a lx:2 "/bin/lxinit lx1" Up 56 seconds 14410 lx1
unix$ docker stop lx1 lx1
unix$ docker ps unix$
We can also remove the container, but, note that doing this removes all data in the container as well.
unix$ docker rm lx1 lx1 unix$