Skip to content

Commit

Permalink
Merge pull request #44 from OriginTrail/feature/new-setup-instructions
Browse files Browse the repository at this point in the history
Add page for high availability setup
  • Loading branch information
Kuki145 committed Mar 17, 2021
2 parents bf7ed40 + 0cafe6a commit 85b7f69
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Getting started
===============
Getting started with a single server node
=========================================

Setup & manage your node
------------------------
Expand Down Expand Up @@ -271,7 +271,7 @@ We create the .origintrail\_noderc file with following content:
"implementations": [
{
"blockchain_title": "Ethereum",
"blockchain_id": "eth:mainnet",
"blockchain_id": "ethr:mainnet",
"rpc_server_url": "url to your RPC server i.e. Infura or own Geth server",
"node_wallet": "your ethereum wallet address here",
"node_private_key": "your ethereum wallet's private key here",
Expand Down Expand Up @@ -354,15 +354,13 @@ The RPC server URL must be provided in the OT node’s configuration file and it
"implementations": [
{
"blockchain_title": "Ethereum",
"blockchain_id": "eth:mainnet",
"blockchain_id": "ethr:mainnet",
"rpc_server_url": "https://my.rpc.server.url:9000/"
}
]
}
}
The RPC server for the xDai blockchain is publicly available, so you do not need to configure it as it is already
included in the default configuration.
For more on how to set up the configuration file go to Node Configuration

Expand All @@ -380,6 +378,12 @@ To use the Ethereum node as an RPC server make sure it is properly configured an

Once the Ethereum node is up and running use its URL to point to the OT node to use it.

Setting up an xDai RPC
----------------------

The RPC server for the xDai blockchain is publicly available, so you do not need to add it in your configuration as it
is already included in the ot-node default configuration.

Setting up SSL on a node
------------------------

Expand Down
5 changes: 5 additions & 0 deletions source/Running-a-Node/high-availability-setup.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Setting up a high availability node
===================================


Coming soon...
2 changes: 1 addition & 1 deletion source/Running-a-Node/updating-from-v4.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ First run the following command:

.. code:: bash
docker cp DOCKER_CONTAINER_NAME:/ot-node/current/scripts/migrate_to_v5.sh ./
curl -O https://raw.githubusercontent.com/OriginTrail/ot-node/feature/update-migrate-script/scripts/migrate_to_v5.sh
This will extract the **migration script** from the docker container to your node server, which you need for the next step (step 2).

Expand Down
4 changes: 2 additions & 2 deletions source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ Table of Contents
:caption: Running a node

Running-a-Node/updating-from-v4
Running-a-Node/getting-started
Running-a-Node/basic-setup
Running-a-Node/high-availability-setup
Running-a-Node/identity-management
Running-a-Node/backup-and-restore
Running-a-Node/configuration-parameters

.. toctree::
:maxdepth: 10
Expand Down

0 comments on commit 85b7f69

Please sign in to comment.