DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 7th July 2016
raindog308 raindog308 is offline
Fdisk Soldier
 
Join Date: Sep 2011
Posts: 67
Default etcd (or similar) for OpenBSD?

I've googled a bit, checked ports, etc. but it appears that CoreOS's etcd has not been ported to OpenBSD. Not entirely surprised since their focus is Linux.

I'm wondering if anyone knows of a similar solution for OpenBSD. What I'm really after is leader election among many nodes, without having to write my own implementation of the Paxos or RAFT algorithms. etcd solves this nicely - global namespace among all nodes, atomic compare-and-swap operations, etc.

In this case, I have nodes literally around the world talking only over the public internet, so a lot of traditional local datacenter solutions don't work. etcd works perfectly...but since I have the option in this case, I was hoping to use OpenBSD.
Reply With Quote
  #2   (View Single Post)  
Old 7th July 2016
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

etcd is written in Go. In my experience, Go works pretty well on OpenBSD, and there's a decent chance it will "just work" on OpenBSD without frills.

It looks like etcd doesn't use the standard go get, but its build instructions look fairly simple...

It does require Go 1.6 (OpenBSD 5.9 comes with Go 1.5), so you'll have to wait until OpenBSD 6.0 or run a snapshot.

Quote:
their focus is Linux
They provide binaries for OSX, Linux, and Windows.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
thinkpad x200 or similar owners pleas help getting started gosha General Hardware 1 14th July 2009 04:06 AM


All times are GMT. The time now is 08:07 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick