create account

Running 2 testnet securenodes on one node by anarch3

View this thread on: hive.blogpeakd.comecency.com
· @anarch3 · (edited)
$5.35
Running 2 testnet securenodes on one node
First you need to get two public ip's pointed toward your machine, not going to post instructions on how to do that as it greatly depends on how your setup. How 2 ip's should look, again it greatly depends on your setup.

```
$ ifconfig
eth0      Link encap:Ethernet  HWaddr 0c:c4:7a:c3:42:9c
          inet addr:149.202.207.93  Bcast:149.202.207.255  Mask:255.255.255.0

blah blah blah

eth0:0    Link encap:Ethernet  HWaddr 0c:c4:7a:c3:42:9c
          inet addr:54.36.135.112  Bcast:54.36.135.112  Mask:255.255.255.255
```

After that, point another A/AAAA record to your new ip, can be node2.example.com or a completely different domain, up to you. Get a new TLS cert for it as well.

Now here's the easy part, make a folder called `.zen2` in your home directory.
```
$ mkdir ~/.zen2
$ nano ~/.zen2/zen.conf
````
now what you put in the conf is important, change the rpc port from what you had in your first node, change the TLS cert to your new one, and add two extra lines to it
```
onlynet=ipv4
bind=   Y O U R    S E C O N D     I P     H E R E
```
put your second ip there, do the same with the first node's config file but add your first ip.

Start your second node with `zend -datadir=/home/user/.zen2`

After that, clone the secure node tracker again with a different name and run through the setup for the second node
```
$ git clone https://github.com/ZencashOfficial/secnodetracker secnodetracker2
$ cd secnodetracker2
$ node setup.js
```

And you're done :)

You can access your other node with `./zen-cli -rpcport=SECONDNODESPORTHERE getinfo`
👍  , , , , , , , , , ,
properties (23)
authoranarch3
permlinkrunning-2-testnet-securenodes-on-one-node
categoryzencash
json_metadata{"tags":["zencash"],"app":"steemit/0.1","format":"markdown"}
created2017-10-19 03:04:21
last_update2017-10-22 23:12:45
depth0
children4
last_payout2017-10-26 03:04:21
cashout_time1969-12-31 23:59:59
total_payout_value4.633 HBD
curator_payout_value0.719 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,558
author_reputation69,835,901,547
root_title"Running 2 testnet securenodes on one node"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id18,019,684
net_rshares2,384,125,637,847
author_curate_reward""
vote details (11)
@dragononcrypto ·
This is super cool. Please keep us updated!
👍  
properties (23)
authordragononcrypto
permlinkre-anarch3-running-2-testnet-securenodes-on-one-node-20171019t135247939z
categoryzencash
json_metadata{"tags":["zencash"],"app":"steemit/0.1"}
created2017-10-19 13:52:51
last_update2017-10-19 13:52:51
depth1
children0
last_payout2017-10-26 13:52:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length43
author_reputation218,088,862,605
root_title"Running 2 testnet securenodes on one node"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id18,057,744
net_rshares1,543,026,810
author_curate_reward""
vote details (1)
@keensleigh ·
$0.04
great info! thanks
👍  , ,
properties (23)
authorkeensleigh
permlinkre-anarch3-running-2-testnet-securenodes-on-one-node-20171019t034845860z
categoryzencash
json_metadata{"tags":["zencash"],"app":"steemit/0.1"}
created2017-10-19 03:48:45
last_update2017-10-19 03:48:45
depth1
children0
last_payout2017-10-26 03:48:45
cashout_time1969-12-31 23:59:59
total_payout_value0.038 HBD
curator_payout_value0.001 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length18
author_reputation311,809,785,653
root_title"Running 2 testnet securenodes on one node"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id18,021,921
net_rshares18,139,118,607
author_curate_reward""
vote details (3)
@steemitboard ·
Congratulations @anarch3! You received a personal award!

<table><tr><td>https://steemitimages.com/70x70/http://steemitboard.com/@anarch3/birthday2.png</td><td>Happy Birthday! - You are on the Steem blockchain for 2 years!</td></tr></table>

<sub>_[Click here to view your Board](https://steemitboard.com/@anarch3)_</sub>


###### [Vote for @Steemitboard as a witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1) and get one more award and increased upvotes!
properties (22)
authorsteemitboard
permlinksteemitboard-notify-anarch3-20190309t051117000z
categoryzencash
json_metadata{"image":["https://steemitboard.com/img/notify.png"]}
created2019-03-09 05:11:18
last_update2019-03-09 05:11:18
depth1
children0
last_payout2019-03-16 05:11:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length500
author_reputation38,975,615,169,260
root_title"Running 2 testnet securenodes on one node"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id80,949,803
net_rshares0
@steemitboard ·
Congratulations @anarch3! You received a personal award!

<table><tr><td>https://steemitimages.com/70x70/http://steemitboard.com/@anarch3/birthday3.png</td><td>Happy Steem Birthday! - You are on the Steem blockchain for 3 years!</td></tr></table>

<sub>_You can view [your badges on your Steem Board](https://steemitboard.com/@anarch3) and compare to others on the [Steem Ranking](https://steemitboard.com/ranking/index.php?name=anarch3)_</sub>


**Do not miss the last post from @steemitboard:**
<table><tr><td><a href="https://steemit.com/steemitboard/@steemitboard/downvote-challenge-add-up-to-3-funny-badges-to-your-board"><img src="https://steemitimages.com/64x128/https://steemitimages.com/0x0/![](https://cdn.steemitimages.com/DQmUuJkZdnSpHVWssxF82ntymqXg4Pvk6K6bYvckUYVRsnj/image.png)"></a></td><td><a href="https://steemit.com/steemitboard/@steemitboard/downvote-challenge-add-up-to-3-funny-badges-to-your-board">Downvote challenge - Add up to 3 funny badges to your board</a></td></tr><tr><td><a href="https://steemit.com/steemitboard/@steemitboard/use-your-witness-votes-and-get-the-community-badge"><img src="https://steemitimages.com/64x128/https://cdn.steemitimages.com/DQmTugCUsoXX762vg1CuHRrpnPbfnjPogp8iCGv7F2kSVuj/image.png"></a></td><td><a href="https://steemit.com/steemitboard/@steemitboard/use-your-witness-votes-and-get-the-community-badge">Use your witness votes and get the Community Badge</a></td></tr></table>

###### [Vote for @Steemitboard as a witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1) to get one more award and increased upvotes!
properties (22)
authorsteemitboard
permlinksteemitboard-notify-anarch3-20200309t045033000z
categoryzencash
json_metadata{"image":["https://steemitboard.com/img/notify.png"]}
created2020-03-09 04:50:33
last_update2020-03-09 04:50:33
depth1
children0
last_payout2020-03-16 04:50:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,613
author_reputation38,975,615,169,260
root_title"Running 2 testnet securenodes on one node"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id96,194,839
net_rshares0