You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/pos/howto/operating/validator-node/ansible.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
This guide provides a step-by-step approach to deploy a Polygon validator node through an Ansible playbook, ensuring an efficient and reliable setup.
2
2
3
-
## System Requirements and Setup Options
3
+
## Setup requirements and options
4
4
5
5
Before beginning, confirm your system aligns with the [system requirements for validator nodes](/pos/howto/operating/validator-node/#system-requirements-for-nodes). If you prefer running the validator node from binaries instead of Ansible, refer to [the manual installation instructions](/pos/validator/index.md).
6
6
@@ -17,7 +17,7 @@ Before beginning, confirm your system aligns with the [system requirements for v
17
17
- SSH public key of your local machine must be present on the remote machines for Ansible connectivity.
18
18
- Access to Bloxroute as a relay network is available. For adding a gateway as a Trusted Peer, contact **@validator-support-team** on [Polygon Discord](https://discord.com/invite/0xPolygon).
19
19
20
-
## Setting Up the Nodes
20
+
## Setting up the nodes
21
21
22
22
### Preparing the Machines
23
23
@@ -62,7 +62,7 @@ Then, edit the `inventory.yml` file to add IP addresses of the sentry and valida
62
62
}
63
63
```
64
64
65
-
### Sentry Node Setup
65
+
### Sentry node setup
66
66
67
67
Execute a test run of the sentry node setup:
68
68
@@ -82,7 +82,7 @@ Run the sentry node setup with sudo privileges:
82
82
83
83
To restart the setup due to any issues, use `ansible-playbook -l sentry playbooks/clean.yml`.
84
84
85
-
### Validator Node Setup
85
+
### Validator node setup
86
86
87
87
After the sentry node setup:
88
88
@@ -110,30 +110,30 @@ A success message will indicate completion.
110
110
111
111
Use `ansible-playbook -l validator playbooks/clean.yml` for a fresh start in case of any issues.
112
112
113
-
### Configuring Sentry Node
113
+
### Configuring sentry node
114
114
115
115
Configure the Heimdall and Bor services on the sentry node:
116
116
117
117
1. Edit Heimdall's `config.toml` and Bor's `config.toml` as per the provided guidelines. Key parameters include `moniker`, `seeds`, `pex`, and `private_peer_ids`.
118
118
2. Set firewall rules to open ports `26656`, `30303`, and optionally `22` with restricted access.
119
119
120
-
### Starting Sentry Node
120
+
### Starting sentry node
121
121
122
122
1. Start the Heimdall service and check its logs for successful execution.
123
123
2. Once Heimdall is synced, start the Bor service and monitor its logs for successful operation.
124
124
125
-
### Configuring Validator Node
125
+
### Configuring validator node
126
126
127
127
1. Configure Heimdall and Bor similar to the sentry setup, ensuring correct Ethereum RPC endpoint settings.
128
128
2. Generate and place Heimdall's `priv_validator_key.json` and Bor's keystore file in their respective directories.
129
129
3. Add `password.txt` file in the Bor directory and include it in Bor's `config.toml`.
130
130
131
-
### Starting Validator Node
131
+
### Starting validator node
132
132
133
133
1. Start the Heimdall service on the validator node and wait for it to sync.
134
134
2. Start the Bor service and monitor its operation through logs.
135
135
136
-
## Health Check and Staking
136
+
## Health check and staking
137
137
138
138
- After setting up the nodes, request a health check by the community on [Polygon's Discord](https://discord.com/invite/0xPolygon).
139
139
- Maintain sufficient ETH balance in the signer address for transaction fees.
Copy file name to clipboardExpand all lines: docs/pos/howto/operating/validator-node/index.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
Operating as a validator on the Polygon Network involves playing a pivotal role in validating transactions within the blockchain. This guide provides details on how to run a Validator Node (including Sentry and Validator components) on the Polygon Network, the responsibilities involved, and the technical and operational aspects to consider.
4
4
5
-
## Eligibility and Responsibilities
5
+
## Eligibility and responsibilities
6
6
7
7
To qualify as a validator on the Polygon Network, participants must:
8
8
@@ -25,7 +25,7 @@ Key responsibilities include:
25
25
- Offer feedback and suggestions to the Polygon team.
26
26
-**Rewards**: Earn staking rewards and transaction fees for validating blocks.
27
27
28
-
## Technical Node Operations
28
+
## Technical node operations
29
29
30
30
These operations are automatically executed by the nodes:
31
31
@@ -34,38 +34,38 @@ These operations are automatically executed by the nodes:
34
34
-**Checkpoint Submission**: Proposers among validators create, validate, and submit checkpoints to the Ethereum mainnet.
35
35
-**State Sync**: Contract state data is synchronized between Ethereum and Polygon, particularly through Bor.
36
36
37
-
## Operational Guidelines
37
+
## Operational guidelines
38
38
39
-
### Maintaining High Uptime
39
+
### Maintaining high uptime
40
40
41
41
- Validators must sign checkpoint transactions approximately every 34 minutes.
42
42
- Failure to sign these transactions affects node performance.
43
43
- Node health maintenance and monitoring are crucial for uninterrupted operations.
44
44
45
-
### Daily Checks and Monitoring
45
+
### Daily checks and monitoring
46
46
47
47
- Regularly check and prune Heimdall and Bor services and processes.
48
48
- Utilize Grafana Dashboards or alternative monitoring tools.
49
49
- Monitor the Ethereum endpoint used on nodes to stay within request limits.
50
50
51
-
### ETH Balance Management
51
+
### ETH balance management
52
52
53
53
- Adequate ETH balance is required for checkpoint transaction fees.
54
54
- Fluctuations in Ethereum network gas prices must be considered.
55
55
56
-
## Earning Rewards
56
+
## Earning rewards
57
57
58
58
Validators stake MATIC tokens for network security and receive rewards:
59
59
60
60
-**Staking Rewards**: Validators are compensated for their contributions to network security.
61
61
-**Transaction Fees**: Validators earn a portion of the transaction fees from the blocks they produce.
62
62
63
-
### Reward Distribution
63
+
### Reward distribution
64
64
65
65
- A portion of Polygon's total token supply is allocated for staking rewards.
66
66
- Rewards are designed to gradually shift from staking to transaction fee-based as the network matures.
67
67
68
-
### Incentives for Validators
68
+
### Incentives for validators
69
69
70
70
- Validators earn rewards from both staking and transaction fees.
71
71
- The reward structure is designed to balance the payout between staking and fees over time.
@@ -77,21 +77,21 @@ Validators should:
77
77
- Be open to delegations from the community.
78
78
- Clearly communicate their commission rates.
79
79
80
-
## Effective Communication
80
+
## Effective communication
81
81
82
82
- Report issues promptly on platforms like Discord, the Polygon Forum, or GitHub.
83
83
- Provide constructive feedback and suggestions.
84
84
85
-
## System Requirements for Nodes
85
+
## System requirements
86
86
87
-
### Minimum Requirements
87
+
### Minimum requirements
88
88
89
89
-**RAM**: 32 GB
90
90
-**CPU**: 8-core
91
91
-**Storage**: 2.5 TB SSD
92
92
-**AWS Equivalent**: c5.2xlarge for Sentry, c5.4xlarge for Validator node (with unlimited credits).
0 commit comments