I was wondering if anyone could help me…or at least point me in the correct direction.
We are working toward becoming a storage node operator x 12 nodes!
I have one ProxMox Hypervisor running 12 instances (headless) of Ubuntu 22.04 with Docker.
Each node has 5TB of static mounted storage (fstab)…which leaves 4TB usable per node for a grand total of 48 TB of usable ZRAID2 Storage.
I am having some trouble getting the correct YAML settings:
Each of my nodes has a internal IP:
10.xxx.254.101
10.xxx.254.102
10.xxx.254.103
10.xxx.254.104
10.xxx.254.105
etc…
Since We have one static IP, I want each node to advertise on a consecutive port.
10.xxx.254.101:28967—>22101 (this is external facing port on SAME external IP)
10.xxx.254.102:28967—>22102 (this is external facing port on SAME external IP)
10.xxx.254.103:28967—>22103 (this is external facing port on SAME external IP)
10.xxx.254.104:28967—>22104 (this is external facing port on SAME external IP)
10.xxx.254.105:28967—>22105 (this is external facing port on SAME external IP)
I’m not sure how to set up port forwarding for this instance. This my latest try
docker run -d --restart unless-stopped --stop-timeout 300
-p 28967:22101/tcp
-p 28967:22101/udp
-p 14002:14002
-e WALLET=“0xXXXXXXXXXXXXXXXXXXX”
-e EMAIL="xxx@xxxxxxx.com"
-e ADDRESS=“67.133.XXX.XXX:22101”
-e STORAGE=“4TB”
–user $(id -u):$(id -g)
–mount type=bind,source=“/home/ladmin/.local/share/storj/identity/storagenode”,destination=/app/identity
–mount type=bind,source=“/mnt/jank/store”,destination=/app/config
–name storagenode storjlabs/storagenode:latest
When I try to verify things… I get an error.
root@storj01:/home/ladmin# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
25428f8fe746 storjlabs/storagenode:latest “/entrypoint” 13 seconds ago Up 11 seconds 0.0.0.0:14002->14002/tcp, :::14002->14002/tcp, 28967/tcp, 0.0.0.0:28967->22101/tcp, 0.0.0.0:28967->22101/udp, :::28967->22101/tcp, :::28967->22101/udp storagenode
root@storj01:/home/ladmin# docker exec -it storagenode /app/dashboard.sh
2023-03-11T20:03:33.349Z INFO Configuration loaded {“Process”: “storagenode”, “Location”: “/app/config/config.yaml”}
2023-03-11T20:03:33.349Z INFO Anonymized tracing enabled {“Process”: “storagenode”}
2023-03-11T20:03:33.351Z INFO Identity loaded. {“Process”: “storagenode”, “Node ID”: “1dshfkjsdhlkslkdjflsdkj;llk”}
Error: rpc: dial tcp 127.0.0.1:7778: connect: connection refused
Let me know if anyone can help?
Thank you!