Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: [RESOLVED] Running multiple delegates in one physical server  (Read 399 times)

0 Members and 1 Guest are viewing this topic.

Offline maverica

  • Jr. Member
  • **
  • Posts: 22
    • View Profile
[RESOLVED] Running multiple delegates in one physical server
« on: August 08, 2014, 03:29:06 PM »

Hello,

I have been trying to setup a few more bitsharesx delegates on our physical sever to no avail. What I have tried so far is to install bitsharesx in a new location, compile it but when it is ready to run it says that the database is in use (while the first instance of bitsharesx is using it on a process run in screen). I am using Ubuntu.

I was wondering can I change the location of bitsharesx database on the second installation so I can run concurrently multiple bitsharesx clients without having to virtualize new server instances?

Thanks in advance,
-D
« Last Edit: August 08, 2014, 03:39:16 PM by maverica »

Offline bytemaster

Re: Running multiple delegates in one physical server
« Reply #1 on: August 08, 2014, 03:33:13 PM »
You can have one client with more than 1 active delegate key.   No need for more than one instance.
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline bytemaster

Re: Running multiple delegates in one physical server
« Reply #2 on: August 08, 2014, 03:33:50 PM »
You can have one client with more than 1 active delegate key.   No need for more than one instance.

I would say that if you do run more than one instance then you need 2 data dirs.

./bitshares_client --data-dir Delegate1
./bitshares_client --data-dir Delegate2


For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline liondani

Re: Running multiple delegates in one physical server
« Reply #3 on: August 08, 2014, 03:35:07 PM »
I think it is not possible. But why should you do that?
You can have multiple delegates active on the same server without problems after all...
You enable delegate block production for the delegates you want and that's it...Am I missing something?
  https://bitshares.OPENLEDGER.info/?r=GREECE  | You are in Control | BUY | SELL | SHORT | SWAP | LOAN | TRADE |  

Offline maverica

  • Jr. Member
  • **
  • Posts: 22
    • View Profile
Re: Running multiple delegates in one physical server
« Reply #4 on: August 08, 2014, 03:38:52 PM »
Yes I think that was the obvious answer. Thanks for pointing it out.

Offline Fox

Re: [RESOLVED] Running multiple delegates in one physical server
« Reply #5 on: August 08, 2014, 04:27:21 PM »
For the sake of decentralization and network propagation, I feel each delegate should run on a unique physical instance.  Yes, I fully understand the current Bitshares protocol does not enforce this. 
Witness: fox

Offline bytemaster

Re: [RESOLVED] Running multiple delegates in one physical server
« Reply #6 on: August 08, 2014, 05:38:12 PM »
For the sake of decentralization and network propagation, I feel each delegate should run on a unique physical instance.  Yes, I fully understand the current Bitshares protocol does not enforce this.

No protocol can enforce this.
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline liondani

Re: [RESOLVED] Running multiple delegates in one physical server
« Reply #7 on: August 08, 2014, 07:10:28 PM »


[No protocol can enforce this.

but it can encourage / motivate to this direction...  (?)
  https://bitshares.OPENLEDGER.info/?r=GREECE  | You are in Control | BUY | SELL | SHORT | SWAP | LOAN | TRADE |  

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
Re: [RESOLVED] Running multiple delegates in one physical server
« Reply #8 on: August 08, 2014, 07:30:34 PM »


[No protocol can enforce this.

but it can encourage / motivate to this direction...  (?)

it's more of a social problem than technical. Just don't elect delegates that run multiple instances on the same machine. Running multiple instances on the same machine helps the delegate but doesn't help the network. There is something too about not electing single delegates than run multiple instances. You don't want one person running multiple delegates getting hit by the proverbial truck, although that's less likely than a single machine failing that runs multiple delegates.
maintains an Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

Offline Fox

Re: [RESOLVED] Running multiple delegates in one physical server
« Reply #9 on: August 08, 2014, 08:48:48 PM »
it's more of a social problem than technical. Just don't elect delegates that run multiple instances on the same machine.

I am interested to learn how one may evaluate the block generation and/or network propagation data to determine that multiple delegates are producing blocks from a distinct instance.
Witness: fox

Offline liondani

Re: [RESOLVED] Running multiple delegates in one physical server
« Reply #10 on: August 08, 2014, 09:14:00 PM »
it's more of a social problem than technical. Just don't elect delegates that run multiple instances on the same machine.

I am interested to learn how one may evaluate the block generation and/or network propagation data to determine that multiple delegates are producing blocks from a distinct instance.

the best way to find it out, is when they are missing blocks... So when I see a couple of times that when  "fox" are missing blocks  the same period of time "lion" misses blocks too, then I am quite sure it is the same individual... so the only way for the individual to hide is to use different servers (VPS or normal) for each delegate... not good enough but a little bit better security wise...  ;)
  https://bitshares.OPENLEDGER.info/?r=GREECE  | You are in Control | BUY | SELL | SHORT | SWAP | LOAN | TRADE |  

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
Re: [RESOLVED] Running multiple delegates in one physical server
« Reply #11 on: August 09, 2014, 03:46:28 AM »
it's more of a social problem than technical. Just don't elect delegates that run multiple instances on the same machine.

I am interested to learn how one may evaluate the block generation and/or network propagation data to determine that multiple delegates are producing blocks from a distinct instance.

the network is kind of designed to make that hard. That's why I was thinking it's more of a social problem and a possible solution is to vote for delegates one at a time, as individuals that you've come to trust/know. You can do that by people signing their forum messages with gpg keys in the web of trust, that will show it's only one person at a time. If bitshares becomes huge, delegates will pretty much have to be identified and will be operating like the board of a corporation, making it easy to know who are duplicates.
maintains an Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

 

Google+