Author

Topic: HOW TO RUN A SECOND NODE?? (Read 1109 times)

sr. member
Activity: 307
Merit: 250
et rich or die tryi
November 20, 2015, 04:24:33 PM
#6
cant you just make a script that checks every now and again that the deamon is still running? if it isn't it just re launches it.
sr. member
Activity: 280
Merit: 250
November 20, 2015, 04:16:18 PM
#5
You can do this with some programming. Supposing you know some PHP f.e. here's what you do.

Setup both nodes and run a monotoring script on both of them (emails /sms)

Give the config file write rights, so if the main node stops working you can activate the 2nd node in your script.
You will need a os with cronjob support for this.
full member
Activity: 126
Merit: 100
November 14, 2015, 11:06:33 AM
#4
It is not possible. You need to use a second server to run a node. Probaly you could try to change to port for the second node.
legendary
Activity: 4228
Merit: 1313
November 14, 2015, 05:33:33 AM
#3
You could try something like monit to monitor it and restart it when needed.

If you mean a completely new server, that would be somewhat more complicated, but probably something like AWS' tools would be helpful, depending on your host.

I have a question , may you guys can guide me  Huh Huh

I have a node that works with almost no problems , occasionally bitcoin daemon stops working.
 I would like to open a second node, which became operational only when the first process to stop working .

Any ideas? I think the pools use this system .


Anyone have a script to go by checking if the demon of BTC is working? and if not will run the backup

Thanks


Ubuntu 14.04

32bits Vmware Image.

0.11.2 Btc Core



staff
Activity: 3500
Merit: 6152
November 14, 2015, 03:21:40 AM
#2
I don't think this is possible , unless you make a program that watch the process , and once it's closed it open another one . that shouldn't be hard to do if you have some programming knowledge (making your own application) .
sr. member
Activity: 289
Merit: 250
November 14, 2015, 03:17:48 AM
#1
I have a question , may you guys can guide me  Huh Huh

I have a node that works with almost no problems , occasionally bitcoin daemon stops working.
 I would like to open a second node, which became operational only when the first process to stop working .

Any ideas? I think the pools use this system .


Anyone have a script to go by checking if the demon of BTC is working? and if not will run the backup

Thanks


Ubuntu 14.04

32bits Vmware Image.

0.11.2 Btc Core


Jump to: