• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

2 MasterNodes for 1 wallet?

Rajak

New member
Hello

in masternode.conf (for dash qt) i made settings like this

MN900 MN-ServerIP:9999 PrivateKey1 TransactionNumber1 0
MN901 MN-ServerIP:9999 PrivateKey2 TransactionNumber2 0

and dash.conf in remote server (MN server) looks like

#---
rpcuser=randomname
rpcpassword=randompassword
rpcallowip=127.0.0.1
#----
listen=1
server=1
daemon=1
maxconnections=24
#--------------------
masternode=1
masternodeprivkey=PrivateKey1
externalip=MN-ServerIP



#----
rpcuser=randomname
rpcpassword=randompassword
rpcallowip=127.0.0.1
#----
listen=1
server=1
daemon=1
maxconnections=24
#--------------------
masternode=1
masternodeprivkey=PrivateKey2
externalip=MN-ServerIP

but it doesnt worked. can someone help me?
 
What exactly didn't work? What was your expected behaviour and what actually happened? Did you see an error message?

In general each masternode must have a unique IP address. Are you trying to run two masternodes on one IP address?
 
Yes i am trying to run 2 masternodes on one IP.. so it is problem?

what if i will add on server another IP address and then will try to activate another masternode with that IP... i am insteresting if would have 2 IPs and 2 masternodes is this configuration correct for it?
 
Yes i am trying to run 2 masternodes on one IP.. so it is problem?

what if i will add on server another IP address and then will try to activate another masternode with that IP... i am insteresting if would have 2 IPs and 2 masternodes is this configuration correct for it?
Yes, this is the correct configuration. Multiple MNs per IP is not supported.
 
Thank you i will try to add new IP to my remote serv and then try this configuration.

externalip=MN-ServerIP1
externalip=MN-ServerIP2

it must be like that yes?
 
Hello again.

I also added IpV4 address to my server,

then i configured my Network settings as it says vultr


/etc/network/interfaces
auto lo
iface lo inet loopback

auto ens3
iface ens3 inet static
address mainIPaddress
netmask XXXX
gateway XXXXX
dns-nameservers XXXXX
post-up ip route add XXXX dev ens3


auto ens3:1
iface ens3:1 inet static
address additionalIPaddress
netmask XXXXX



then i configured dash.conf file on server:

#---
rpcuser=randomname
rpcpassword=randompassword
rpcallowip=127.0.0.1
#----
listen=1
server=1
daemon=1
maxconnections=24
#--------------------
masternode=1
masternodeprivkey=PrivateKey1
externalip=MainIP



#----
rpcuser=randomname
rpcpassword=randompassword
rpcallowip=127.0.0.1
#----
listen=1
server=1
daemon=1
maxconnections=24
#--------------------
masternode=1
masternodeprivkey=PrivateKey2
externalip=AdditionaIP


and masternode.conf for dash wallet


MN900 MainIP:9999 PrivateKey1 TransactionNumber1 0
MN901 AdditionaIP:9999 PrivateKey2 TransactionNumber2 0




how to know that it worked?

thank you
 
Hello again.

I also added IpV4 address to my server,

then i configured my Network settings as it says vultr


/etc/network/interfaces
auto lo
iface lo inet loopback

auto ens3
iface ens3 inet static
address mainIPaddress
netmask XXXX
gateway XXXXX
dns-nameservers XXXXX
post-up ip route add XXXX dev ens3


auto ens3:1
iface ens3:1 inet static
address additionalIPaddress
netmask XXXXX



then i configured dash.conf file on server:

#---
rpcuser=randomname
rpcpassword=randompassword
rpcallowip=127.0.0.1
#----
listen=1
server=1
daemon=1
maxconnections=24
#--------------------
masternode=1
masternodeprivkey=PrivateKey1
externalip=MainIP



#----
rpcuser=randomname
rpcpassword=randompassword
rpcallowip=127.0.0.1
#----
listen=1
server=1
daemon=1
maxconnections=24
#--------------------
masternode=1
masternodeprivkey=PrivateKey2
externalip=AdditionaIP


and masternode.conf for dash wallet


MN900 MainIP:9999 PrivateKey1 TransactionNumber1 0
MN901 AdditionaIP:9999 PrivateKey2 TransactionNumber2 0




how to know that it worked?

thank you

You can issue a ./dash-cli masternode list full | grep -e MainIP:9999 and a ./dash-cli masternode list full | grep -e AdditionaIP:9999
if it returns both with "ENABLED" it works.

Edit : dont forget to update Sentinel and issue a start from your cold wallet if you want to implement this.
 
Last edited:
Back
Top