Skip to content

Commit

Permalink
removed service stop & restart sections
Browse files Browse the repository at this point in the history
since it is in the appendix
  • Loading branch information
reiden21 committed Dec 24, 2020
1 parent 8e83676 commit b827f81
Showing 1 changed file with 0 additions and 95 deletions.
95 changes: 0 additions & 95 deletions docs/trouble_shooting/trouble_shooting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -124,98 +124,3 @@ automatically initiated for the existing compute session. You must explicitly
start the SSH/SFTP service in the desired container to establish the SFTP
connection.

Service unreachable
-------------------

Some backend services may have been down. Try to stop and restart services by
following guide on start/stop/restart <service-name> service.


Start/stop/restart Manager service
----------------------------------

SSH into Manager node, and run either of following command.

.. code-block:: shell
systemctl start backendai-manager
systemctl stop backendai-manager
systemctl restart backendai-manager
Start/stop/restart Agent service
--------------------------------

SSH into Agent node, and run either of following command.

.. code-block:: shell
systemctl start backendai-agent
systemctl stop backendai-agent
systemctl restart backendai-agent
Start/stop/restart Console-Server service
-----------------------------------------

SSH into Console-Server node, and run either of following command.

.. code-block:: shell
systemctl start backendai-console-server
systemctl stop backendai-console-server
systemctl restart backendai-console-server
Start/stop/restart database
---------------------------

SSH into DB node, and run either of following command. Note that <project>
should be manually written if it was provided when launching the service. It can
be checked by running ``docker ps | grep postgres`` and see the name prefix for
the corresponding container or something like that.

.. code-block:: shell
docker-compose -f docker-compose.hs.postgres.yaml -p <project> up -d
docker-compose -f docker-compose.hs.postgres.yaml -p <project> down
docker-compose -f docker-compose.hs.postgres.yaml -p <project> restart
Start/stop/restart Redis
------------------------

SSH into Redis node, and run either of following command. Note that <project>
should be manually written if it was provided when launching the service. It can
be checked by running ``docker ps | grep redis`` and see the name prefix for
the corresponding container or something like that.

.. code-block:: shell
docker-compose -f docker-compose.hs.redis.yaml -p <project> up -d
docker-compose -f docker-compose.hs.redis.yaml -p <project> down
docker-compose -f docker-compose.hs.redis.yaml -p <project> restart
Start/stop/restart Etcd
-----------------------

SSH into Etcd node, and run either of following command. Note that <project>
should be manually written if it was provided when launching the service. It can
be checked by running ``docker ps | grep etcd`` and see the name prefix for
the corresponding container or something like that.

.. code-block:: shell
docker-compose -f docker-compose.hs.etcd.yaml -p <project> up -d
docker-compose -f docker-compose.hs.etcd.yaml -p <project> down
docker-compose -f docker-compose.hs.etcd.yaml -p <project> restart
Start/stop/restart WSProxy
--------------------------

SSH into WSProxy node, and run either of following command. Note that <project>
should be manually written if it was provided when launching the service. It can
be checked by running ``docker ps | grep proxy`` and see the name prefix for
the corresponding container or something like that.

.. code-block:: shell
docker-compose -f docker-compose.hs.wsproxy.simple.yaml -p <project> up -d
docker-compose -f docker-compose.hs.wsproxy.simple.yaml -p <project> down
docker-compose -f docker-compose.hs.wsproxy.simple.yaml -p <project> restart

0 comments on commit b827f81

Please sign in to comment.