Bitcoin Forum
May 30, 2024, 10:19:28 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: HOW TO RUN A SECOND NODE??  (Read 1092 times)
n3rvi0zz0 (OP)
Sr. Member
****
Offline Offline

Activity: 289
Merit: 250


View Profile
November 14, 2015, 08: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



https://bizzilion.com/?ref=n3rvi0zz0

Earn up to 1.5% daily investing in the best platform of internet
OmegaStarScream
Staff
Legendary
*
Offline Offline

Activity: 3500
Merit: 6150



View Profile
November 14, 2015, 08: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) .

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
cr1776
Legendary
*
Offline Offline

Activity: 4060
Merit: 1303


View Profile
November 14, 2015, 10: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



bitcoinear
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
November 14, 2015, 04:06:33 PM
 #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.
LuckyYOU
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250



View Profile
November 20, 2015, 09: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.

elliwilli
Sr. Member
****
Offline Offline

Activity: 307
Merit: 250


et rich or die tryi


View Profile WWW
November 20, 2015, 09: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.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!