I started two xrp validators on two machines. This is my own private xrp network, not connected to the xrp main network.
Machine A's ip is 172.31.37.4
Machine B's ip is 172.31.54.218
The rippled.cfg of Machine A is as follows:
[server]
port_rpc_admin_local
port_peer
port_ws_admin_local
[port_rpc_admin_local]
port = 5005
ip = 127.0.0.1
admin = 127.0.0.1
protocol = http
[port_peer]
port = 41234
ip = 0.0.0.0
protocol = peer
[port_ws_admin_local]
port = 6006
ip = 127.0.0.1
admin = 127.0.0.1
protocol = ws
[node_size]
medium
[node_db]
type=RocksDB
path=/data/rippled-db/db/rocksdb
open_files=2000
filter_bits=12
cache_mb=256
file_size_mb=8
file_size_mult=2
advisory_delete=0
[database_path]
/data/rippled-db/db
[debug_logfile]
/data/rippled-db/debug.log
[sntp_servers]
time.windows.com
time.apple.com
time.nist.gov
pool.ntp.org
[validators_file]
validators.txt
[rpc_startup]
{ "command": "log_level", "severity": "debug" }
[ssl_verify]
1
[ips]
172.31.54.218 41234
[ips_fixed]
172.31.54.218 41234
[voting]
account_reserve = 0
[validator_token]
eyJtYW5pZmVzdCI6IkpBQUFBQUp4SWUxMExkMWJETGhGOW5iRUI4dUM2aURxaUt5TDkyb1BW
L2lpNDJuVnhCTDhqM01oQWcvSjV0NVd3VFlXKzkxcXRldlhyRVRLbHhub3JXekxKZmFwUjlF
N2RJeEdka2N3UlFJaEFPaW1HdW4xV3ZsSGRXZ1YzT2N1Tld4bGdKcGxrb2EwNDArQkg1Nk9j
UGFEQWlBVk4ySElyRDJibVNtWDQ3WGxOSEtlcGJmVUhnbHJQbXRGbzc3aGthaGxwM0FTUUY0
Rm44SnJXU0o3WWdONVliRk8xSnd2VGZaR0U4L2hiVFppV3FOb1d3ZXQyT1ZZM01NZDJIS1ls
Z0YwTGQwYTg1c1VkaVpaNVBlbHVDK1d0RStXK1FJPSIsInZhbGlkYXRpb25fc2VjcmV0X2tl
eSI6IjY0NTEyOENFODdFMUEzQkRBQzZENDJDRDdERERCMjVCQjVEQzBGMzlEQzdFNjZEQkZE
Nzk3REM3QzNBNTBGNUEifQ==
The rippled.cfg of Machine B is as follows:
[server]
port_rpc_admin_local
port_peer
port_ws_admin_local
port_ws_public
[port_rpc_admin_local]
port = 5005
ip = 127.0.0.1
admin = 127.0.0.1
protocol = http
[port_peer]
port = 41234
ip = 0.0.0.0
protocol = peer
[port_ws_admin_local]
port = 6006
ip = 127.0.0.1
admin = 127.0.0.1
protocol = ws
[port_ws_public]
port = 6005
ip = 0.0.0.0
protocol = ws
[node_size]
medium
[node_db]
type=RocksDB
path=/data/rippled-db/db/rocksdb
open_files=2000
filter_bits=12
cache_mb=256
file_size_mb=8
file_size_mult=2
advisory_delete=0
[database_path]
/data/rippled-db/db
[debug_logfile]
/data/rippled-db/debug.log
[sntp_servers]
time.windows.com
time.apple.com
time.nist.gov
pool.ntp.org
[validators_file]
validators.txt
[rpc_startup]
{ "command": "log_level", "severity": "debug" }
[ssl_verify]
1
[ips]
172.31.37.4 41234
[ips_fixed]
172.31.37.4 41234
[voting]
account_reserve = 0
[validator_token]
eyJtYW5pZmVzdCI6IkpBQUFBQUZ4SWUzNWh3NXN4STZkempmN0MwM2taUTRmYlZFcm5FaDRE
MEdrOW5QQUFRVE1CM01oQTNwZWpMVkpJcHU0Y3NWNS9WemZJQ3JrL0N6d0htL0NTcG1yaVRK
NFp3bnRka1l3UkFJZ0xac2V4YlRaQXR2dlJCdUt2cGdJaHpXRnlKNUtnbUhMNnB2cVpaRnJW
c1lDSUJ0UjcxNHFLV3kxOEV6WUJ5UEVBVVB3MW9Nck8wSXZhOTlVTDZHSDZWT3pjQkpBeEZE
N2tMMDlqeDc1aW02N0ZLd2RpamlLVEFNZkdhaWJ1MmtjSUZPS1AyMVpic3hQSzMvaHFLMndi
RytPN2FuLzNNdzFBUng4a05LRE1MTlR4cTEvQWc9PSIsInZhbGlkYXRpb25fc2VjcmV0X2tl
eSI6IkIwN0Q2NTExMTU3QkJEQzQzRDc5OEE3NkY3RjQ4QTNCOTJDRkYzNDU3MjQ2OEEzRkIx
QzE4RkQ0NUY2RUQwQkMifQ==
The validators.txt of Machine A and Machine B are as follows:
[validators]
nHUNbyUFgCMNYaH6n9qQWSxftPojkoBKpujognSHNQAxR9Yzxg69
nHDELB9vB3R9UYX9LSmQA3JuAS5eMQYG6wJbAksWTtkLE1uFAeH9
Machine A's start command is
/data/rippled/my_build/rippled --conf=/root/.config/rippled/rippled.cfg --start --valid
Machine B's start command is
/data/rippled/my_build/rippled --conf=/root/.config/rippled/rippled.cfg
They run up and generate a fresh ledger.
After a period of running, I restarted Machines A and B, and their restart commands were
/data/rippled/my_build/rippled --conf=/root/.config/rippled/rippled.cfg
after that, log file always output: LedgerMaster: DBG No Validat ledger
Why???Why is that? Is it some of my steps are wrong?
It's done. One of the start-up plus --load, and then start the other, it solves the problem.
Most helpful comment
It's done. One of the start-up plus --load, and then start the other, it solves the problem.