Skip to content

Commit

Permalink
added new monitoring instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
SwaroopH committed Aug 22, 2024
1 parent 6b4ed4a commit 0970fdd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,10 @@ Learn more:
* [libp2p circuit relay](/docs/Protocol/Protocol_v2/relay.md)
:::
:::info
Read more about monitoring and verifying the simulation mode submissions on the [`Monitoring and Troubleshooting`](/docs/build-with-powerloom/snapshotter-node/lite-node-v2/monitoring.md) page.
:::
### Regular snapshot submissions
Once you can verify the simulation mode submissions, you will have log messagse similar to the one shown below that will ensure that your node is capturing epoch releases and submitting snapshots to the sequencer.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,7 @@ This section will guide you through the process of Monitoring and Troubleshootin
### Monitoring Node Activity with the Snapshotter Dashboard
Our Snapshotter Dashboard enables you to verify if your node slot is actively submitting snapshots.

![Snapshotter-node-dashboard](/images/snapshot-lite-v2-dashboard.png)

#### Eligible for simulation bonus rewards

You will see a 'Claim Reward' button next to your slot if you have passed the eligibility criteria of 300 submissions.

![Bonus rewards claim button](/images/node_simulation_bonus_claim.png)
![Snapshotter-node-dashboard](/images/snapshot-lite-v2-daily-dashboard.png)

### Terminal Status Check
- The primary method to verify node status is through the terminal, which displays log responses from the node.
Expand All @@ -36,19 +30,6 @@ You will see a 'Claim Reward' button next to your slot if you have passed the el

![Snapshotter-First-Simulation](/images/snapshot-lite-v2-node-simulation-first-time.png)

#### Verifying success of simulation run

- To verify the success of the same, make use of the utility script bundled within here by running the following on a MacOS/Linux command line terminal.

- This will work only after you have set up the node correctly with the right `.env` variables and run it successfully.
```bash
./check_simulation.sh
```
![Snapshotter-check-simulation](/images/snapshot-lite-v2-check-submission.png)

If you observe `submissionCount` and `lastPing` in the above response to be greater than 0, your node's simulation run was successful.
## Troubleshooting and Support

This section provides guidance on troubleshooting your node in case of encountered issues. The steps outlined below are designed to help identify and resolve common problems efficiently.
Expand Down Expand Up @@ -85,7 +66,7 @@ The `.env` file contains essential configuration details such as `SOURCE_RPC_URL
Change to the directory where your Powerloom Snapshotter Lite Node V2 is located:

```bash
cd powerloom-pre-mainnet-simulation
cd powerloom-pre-mainnet
```

3. **Editing the .env File:**
Expand All @@ -96,7 +77,7 @@ The `.env` file contains essential configuration details such as `SOURCE_RPC_URL
```

Inside, you will find configurations similar to those shown in the provided screenshot.
![EnvScreen](/images/snapshot-lite-v2-env.png)
![EnvScreen](/images/snapshot-lite-v2-daily-env.png)

4. **Modifying Variables:**
Update the variables as needed. To save and exit, press `CTRL+X`.
Expand Down Expand Up @@ -126,24 +107,24 @@ For your RPC provider, you have several reliable options, including:
If you wish to perform a complete reset of your node or start afresh with the Snapshotter Lite Node V2, the following steps will guide you through the process:

1. **Locate the Existing Directory:**
Begin by opening your terminal. Locate the `powerloom-pre-mainnet-simulation` directory by entering the following command:
Begin by opening your terminal. Locate the `powerloom-pre-mainnet` directory by entering the following command:

```bash
ls
```

This command lists all files and directories, allowing you to confirm the presence of the `powerloom-pre-mainnet-simulation` directory.
This command lists all files and directories, allowing you to confirm the presence of the `powerloom-pre-mainnet` directory.


:::warning Warning
Before proceeding with the directory deletion, it is crucial to ensure that you have securely backed up the private key of your burner wallet.
:::

2. **Remove the Directory:**
To delete the `powerloom-pre-mainnet-simulation` directory and all its contents, use the command:
To delete the `powerloom-pre-mainnet` directory and all its contents, use the command:

```bash
rm -rf powerloom-pre-mainnet-simulation
rm -rf powerloom-pre-mainnet
```

This action cannot be undone, so ensure that you wish to proceed with the reset.
Expand All @@ -160,7 +141,7 @@ If you're experiencing issues or simply wish to restart your node, the process i
Open a terminal window and navigate to the directory of your Powerloom Snapshotter Node by executing:

```bash
cd powerloom-pre-mainnet-simulation
cd powerloom-pre-mainnet
```

2. **Execute the Build Script:**
Expand Down

0 comments on commit 0970fdd

Please sign in to comment.