[doc] SON docker - MAINNET #63

Closed
opened 2021-04-07 12:49:32 +00:00 by bobinson · 36 comments
bobinson commented 2021-04-07 12:49:32 +00:00 (Migrated from gitlab.com)

We have SON docker deployment which is extended by @prandnum. This is a single and simple script which will deploy SON in a docker in 3 - 4 commands.

The documentation is available here https://www.peerplays.tech/technology/sidechain-operator-nodes-sons/running-son-with-docker

This documentation must be validated, corrected and republished.

@prandnum - Can you share the gitlab/gihub location of your script and any available documentation ? We may also need to merge that code to master branch if not already done.

We have SON docker deployment which is extended by @prandnum. This is a single and simple script which will deploy SON in a docker in 3 - 4 commands. The documentation is available here https://www.peerplays.tech/technology/sidechain-operator-nodes-sons/running-son-with-docker This documentation must be validated, corrected and republished. @prandnum - Can you share the gitlab/gihub location of your script and any available documentation ? We may also need to merge that code to `master` branch if not already done.
bobinson commented 2021-04-07 12:49:32 +00:00 (Migrated from gitlab.com)

changed due date to April 16, 2021

changed due date to April 16, 2021
bobinson commented 2021-04-07 12:50:33 +00:00 (Migrated from gitlab.com)

changed the description

changed the description
hbelakon commented 2021-04-09 16:38:49 +00:00 (Migrated from gitlab.com)

@bobinson @Hiltos1 is it a part of SON-HIVE project OR it is general SON doc?

@bobinson @Hiltos1 is it a part of SON-HIVE project OR it is general SON doc?
bobinson commented 2021-04-11 20:02:50 +00:00 (Migrated from gitlab.com)

@hbelakon - this is the Bitcoin SONs aka generic one.

@hbelakon - this is the Bitcoin SONs aka generic one.
jotprabh commented 2021-04-14 17:11:42 +00:00 (Migrated from gitlab.com)

changed time estimate to 8h

changed time estimate to 8h
hbelakon commented 2021-04-20 01:03:52 +00:00 (Migrated from gitlab.com)

@Hiltos1 please share a link to the document!

@Hiltos1 please share a link to the document!
Hiltos1 commented 2021-04-20 12:00:36 +00:00 (Migrated from gitlab.com)

assigned to @bobinson

assigned to @bobinson
Hiltos1 commented 2021-04-20 12:00:38 +00:00 (Migrated from gitlab.com)
https://gitlab.com/PBSA/documentation/Technical-Documents/-/blob/update-son-docs/technology/sidechain-operator-nodes-sons/running-a-son-node/docker-install.md See link above. Added @bobinson for review.
bobinson commented 2021-04-20 12:23:04 +00:00 (Migrated from gitlab.com)

created merge request !16 to address this issue

created merge request !16 to address this issue
bobinson commented 2021-04-20 12:23:05 +00:00 (Migrated from gitlab.com)

mentioned in merge request !16

mentioned in merge request !16
bobinson commented 2021-04-20 12:34:54 +00:00 (Migrated from gitlab.com)
  1. Lets mention about the hardware requirements at the beginning of the doc https://gitlab.com/PBSA/documentation/Technical-Documents/-/blame/update-son-docs/technology/sidechain-operator-nodes-sons/running-a-son-node/docker-install.md#L6

  2. The Bitcoin side of things needs to be more clear. How will the user running SON node find an active Bitcoin node ? Right now we have an IP provided - but thats just a development IP and may not be available so how to replace it with an active Bitcoin node ?

Adding more details to the Bitcoin configuration, connection etc is recommended.

1. Lets mention about the hardware requirements at the beginning of the doc https://gitlab.com/PBSA/documentation/Technical-Documents/-/blame/update-son-docs/technology/sidechain-operator-nodes-sons/running-a-son-node/docker-install.md#L6 2. The Bitcoin side of things needs to be more clear. How will the user running SON node find an active Bitcoin node ? Right now we have an IP provided - but thats just a development IP and may not be available so how to replace it with an active Bitcoin node ? Adding more details to the Bitcoin configuration, connection etc is recommended.
hbelakon commented 2021-04-21 00:34:14 +00:00 (Migrated from gitlab.com)

changed due date to April 15, 2021

changed due date to April 15, 2021
hbelakon commented 2021-04-21 00:37:55 +00:00 (Migrated from gitlab.com)

changed due date to April 14, 2021

changed due date to April 14, 2021
hbelakon commented 2021-04-21 00:43:14 +00:00 (Migrated from gitlab.com)

changed due date to April 13, 2021

changed due date to April 13, 2021
hbelakon commented 2021-04-21 01:04:50 +00:00 (Migrated from gitlab.com)

changed due date to April 12, 2021

changed due date to April 12, 2021
hbelakon commented 2021-04-21 01:06:08 +00:00 (Migrated from gitlab.com)

removed due date

removed due date
Hiltos1 commented 2021-04-22 20:52:18 +00:00 (Migrated from gitlab.com)
Hey @bobinson I made some updates as you recommended. Please take a look. https://gitlab.com/PBSA/documentation/Technical-Documents/-/blob/update-son-docs/technology/sidechain-operator-nodes-sons/running-a-son-node/docker-install.md
Hiltos1 (Migrated from gitlab.com) closed this issue 2021-04-23 10:47:53 +00:00
bobinson commented 2021-04-24 18:48:15 +00:00 (Migrated from gitlab.com)

reopening as the review is not completed.

reopening as the review is not completed.
bobinson (Migrated from gitlab.com) reopened this issue 2021-04-24 18:48:15 +00:00
bobinson commented 2021-04-25 09:48:48 +00:00 (Migrated from gitlab.com)

@Hiltos1 - did you try to install the docker and fully synced both Bitcoin and Peerplays ?

review comment1:

image

The disc requirements mentioned above may not enough with local Bitcoin. Verify this and make changes accordingly.

@Hiltos1 - did you try to install the docker and fully synced both Bitcoin and Peerplays ? review comment1: ![image](/uploads/9e1fd1231b8f0f2b0bc9627f543c6a81/image.png) The disc requirements mentioned above may not enough with local Bitcoin. Verify this and make changes accordingly.
bobinson commented 2021-04-25 09:59:51 +00:00 (Migrated from gitlab.com)

Upon running,

./run.sh install_docker, I got the following screen/messages:

image

Is this correct ?

The document should be complete and give the expected output after each step with example if relevant.

2. Upon running, `./run.sh install_docker`, I got the following screen/messages: ![image](/uploads/7fdbf0198c3b7a3d8f700895b48a1478/image.png) Is this correct ? The document should be complete and give the expected output after each step with example if relevant.
bobinson commented 2021-04-25 10:01:48 +00:00 (Migrated from gitlab.com)

"The terminal will need to be reinitialized after installation." - Please expand what this means. ie, we are write, not the terminal but the environment needs to be re initiated by relogin or ssh etc.

Also will it be OK if I just run my shell (say bash or zsh) again instead of re-login ?

3. "The terminal will need to be reinitialized after installation." - Please expand what this means. ie, we are write, not the terminal but the environment needs to be re initiated by relogin or ssh etc. Also will it be OK if I just run my shell (say bash or zsh) again instead of re-login ?
bobinson commented 2021-04-25 10:05:33 +00:00 (Migrated from gitlab.com)
  1. The shell or environment variable $PROJECT_ROOT is not available / set afer the terminal re-initialization after relogin.

image

4. The shell or environment variable $PROJECT_ROOT is not available / set afer the terminal re-initialization after relogin. ![image](/uploads/3857e2785518f9096362c939d301a5cf/image.png)
bobinson commented 2021-04-25 10:15:46 +00:00 (Migrated from gitlab.com)
  1. By default Vim is not installed on a stock Ubuntu 18.04 image/container or installation. Please install the vim package at the beginning of the guide.

image

Without vim, the following message will be thrown out if the steps are followed on a stock ububtu with the current packages installed

image

5. By default Vim is not installed on a stock Ubuntu 18.04 image/container or installation. Please install the vim package at the beginning of the guide. ![image](/uploads/e08bac7a8394e070bc14da58175e7af2/image.png) Without vim, the following message will be thrown out if the steps are followed on a stock ububtu with the current packages installed ![image](/uploads/a8616eedbb19ce8e05ecbddada77440e/image.png)
bobinson commented 2021-04-25 10:19:55 +00:00 (Migrated from gitlab.com)

image

remove the first line from the example given in the file. The .env file has slightly different content and it could be confusing.

6. ![image](/uploads/28f83fa619cb3d4d783cd32a9fc5759d/image.png) remove the first line from the example given in the file. The .env file has slightly different content and it could be confusing.
bobinson commented 2021-04-25 10:26:27 +00:00 (Migrated from gitlab.com)

Here's what your .env file should look like when we're done:

Rather than saying the above, can we mention which all configuration values needs to be edited and why ?

7. > Here's what your .env file should look like when we're done: Rather than saying the above, can we mention which all configuration values needs to be edited and why ?
Hiltos1 commented 2021-04-26 21:47:01 +00:00 (Migrated from gitlab.com)

Hi @bobinson, I made a pretty big update to this one. Please take a look and let me know what you think. Thank you!

Hi @bobinson, I made a pretty big update to this one. Please take a look and let me know what you think. Thank you!
bobinson commented 2021-05-03 11:23:16 +00:00 (Migrated from gitlab.com)
addressed here https://gitlab.com/PBSA/documentation/Technical-Documents/-/blob/update-son-docs/technology/sidechain-operator-nodes-sons/running-a-son-node/docker-install.md#12-installing-the-required-dependencies
bobinson commented 2021-05-03 11:24:30 +00:00 (Migrated from gitlab.com)
addressed here : https://gitlab.com/PBSA/documentation/Technical-Documents/-/blob/update-son-docs/technology/sidechain-operator-nodes-sons/running-a-son-node/docker-install.md#31-setting-up-the-bitcoinconf-file
bobinson commented 2021-05-03 11:26:12 +00:00 (Migrated from gitlab.com)

@Hiltos1 -

"The bitcoin.conf should look like this:"

Does this mean the content in the documentation can be copy pasted to the configuration file ?

@Hiltos1 - "The `bitcoin.conf` should look like this:" Does this mean the content in the documentation can be copy pasted to the configuration file ?
bobinson commented 2021-05-03 11:27:16 +00:00 (Migrated from gitlab.com)
addressed here https://gitlab.com/PBSA/documentation/Technical-Documents/-/blob/update-son-docs/technology/sidechain-operator-nodes-sons/running-a-son-node/docker-install.md#21-setting-up-the-env-file
bobinson commented 2021-05-03 11:27:55 +00:00 (Migrated from gitlab.com)

added explanation

added explanation
Hiltos1 commented 2021-05-03 12:41:52 +00:00 (Migrated from gitlab.com)

@bobinson Yes this can be copy pasted. I can mention that in the doc for clarity if you think it's needed?

@bobinson Yes this can be copy pasted. I can mention that in the doc for clarity if you think it's needed?
bobinson commented 2021-05-03 12:53:33 +00:00 (Migrated from gitlab.com)

@Hiltos1 - yes, lets explicitly mention that in the doc.

@Hiltos1 - yes, lets explicitly mention that in the doc.
Hiltos1 commented 2021-05-03 17:54:17 +00:00 (Migrated from gitlab.com)

@bobinson Alright, it's fixed and should be good to go.

@bobinson Alright, it's fixed and should be good to go.
bobinson commented 2021-05-04 09:45:24 +00:00 (Migrated from gitlab.com)
final doc is here https://gitlab.com/PBSA/documentation/Technical-Documents/-/blob/update-son-docs/technology/sidechain-operator-nodes-sons/running-a-son-node/docker-install.md#31-setting-up-the-bitcoinconf-file
bobinson commented 2021-05-04 09:48:56 +00:00 (Migrated from gitlab.com)
The new docs are merged with https://gitlab.com/PBSA/documentation/Technical-Documents/-/merge_requests/1
bobinson (Migrated from gitlab.com) closed this issue 2021-05-04 09:48:57 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Peerplays_Blockchain/peerplays_migrated#63
No description provided.