Skip to content

Commit

Permalink
docs: Add steps for migrating Prometheus and OCDS docs, closes #198
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed May 26, 2023
1 parent e4b0020 commit 155282f
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions docs/deploy/create_server.rst
Original file line number Diff line number Diff line change
Expand Up @@ -298,12 +298,33 @@ Kingfisher
OCDS documentation
~~~~~~~~~~~~~~~~~~

#. Copy the ``/home/ocds-docs/web`` directory
#. Copy the ``/home/ocds-docs/web`` directory. For example:

.. code-block:: bash
rsync -avz ocp99:/home/ocds-docs/web/ /home/ocds-docs/web/
#. Stop Elasticsearch, replace the ``/var/lib/elasticsearch/`` directory, and start Elasticsearch. For example:

.. code-block:: bash
systemctl stop elasticsearch
rm -rf /var/lib/elasticsearch/*
rsync -avz ocp99:/var/lib/elasticsearch/ /var/lib/elasticsearch/
systemctl start elasticsearch
Prometheus
~~~~~~~~~~

#. Copy the ``/home/prometheus-server/data`` directory
#. Stop Prometheus, replace the ``/home/prometheus-server/data/`` directory, and start Prometheus. For example:

.. code-block:: bash
systemctl stop prometheus-server
rm -rf /home/prometheus-server/data/*
rsync -avz ocp99:/home/prometheus-server/data/ /home/prometheus-server/data/
systemctl start prometheus-server
#. Update the IP addresses in the ``pillar/prometheus_client.sls`` file, and deploy to all services

Redash
Expand Down

0 comments on commit 155282f

Please sign in to comment.