-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0ffc9e4
commit aeac200
Showing
5 changed files
with
44 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
29 changes: 29 additions & 0 deletions
29
running-the-node/running-the-node-in-a-container-preferred-method/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Running the Node in a Container (Preferred Method) | ||
|
||
### Requirements | ||
|
||
* TLS Certificates for your Node | ||
* Node Signer Keys (See Signing Consensus Messages) \[add bookmark]  | ||
* Network Configuration File/Consensus config file (network.toml - See Configuring your Node to Connect to Trusted and Untrusted Peers) \[add bookmark] | ||
* Ledger Storage Location | ||
* S3 Storage Location | ||
|
||
### Entrypoint and Container Processes | ||
|
||
Familiarize yourself with the entrypoint for the consensus docker container. \[add bookmark] | ||
|
||
{% hint style="info" %} | ||
It contains multiple processes working together to provide the full Consensus Validator functionality. | ||
{% endhint %} | ||
|
||
These processes are the following: | ||
|
||
| Process | Function | | ||
| ----------------------- | -------------------------------------------------------- | | ||
| `aesm_service` | Provides EPID provisioning for the enclave. | | ||
| `filebeat` | Provides logging. | | ||
| `mc-ledger-migration` | Performs the ledger migration, if necessary, then stops. | | ||
| `ledger-distribution` | Distributes the ledger to S3 archive**.** | | ||
| `mc-admin-http-gateway` | Provides the admin panel to the Consensus Service. | | ||
| `consensus-service` | Runs the MobileCoin Consensus Service. | | ||
|
12 changes: 12 additions & 0 deletions
12
...-container-preferred-method/environment-variables-how-to-configure-your-node.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Environment Variables: How to Configure Your Node | ||
|
||
The following environment variables should be provided: | ||
|
||
| Variable | Value | Function | | ||
| ---------------------------- | -------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| `LOCAL_NODE_ID` | address:port | Local node name for logging. Should ideally match the value of `peer-responder-id` as provided to consensus-service. | | ||
| `NODE_LEDGER_DIR` | Path to ledger | The location of the ledger. We suggest that this should be persistently stored outside the container and mounted in. On startup, if the contents of `NODE_LEDGER_DIR` are empty, then the origin block from within the container should be copied into the `NODE_LEDGER_DIR`. | | ||
| `CONSENSUS_ADMIN_URI` | URI | The URI for the admin http service which provides a management panel to the consensus service. The gateway is started in the container and is set to listen via this environment variable. Used by mc-admin-http-gateway. | | ||
| **AWS\_ACCESS\_KEY\_ID** | AWS Credential | Should have write access to your S3 ledger archive bucket. Used by ledger-distribution. | | ||
| **AWS\_SECRET\_ACCESS\_KEY** | AWS Credential | Should have write access to your S3 ledger archive bucket. Used by ledger-distribution. | | ||
| | | | |
28 changes: 0 additions & 28 deletions
28
sgx-provisioning/downloading-the-consensus-server-software/running-the-node.md
This file was deleted.
Oops, something went wrong.