Re: [users] opensaf and etcd

2020-06-02 Thread Gary Lee
Hi David OK, great. There is also a TCP based solution that offers faster failover, but it doesn't offer as much redundancy as etcd. It's under src/osaf/consensus/plugins/tcp Gary From: Hoyt, David Sent: 03 June 2020 05:23 To: Gary Lee Cc: opensaf-users@lists

Re: [users] opensaf and etcd

2020-06-02 Thread Hoyt, David
Hi Gary, My mistake. I tried turning on trace logs for amfd and rded. The osafamfd log file (snippet below) does show the consensus code being hit, plus it shows that the etcd3.plugin is being used. Many thanks for your help!!! <143>1 2020-06-02T14:46:44.537709-04:00 ems osafamfd 25708 osafamf

Re: [users] opensaf and etcd

2020-06-01 Thread Hoyt, David
Hi Gary, Sorry, I’m still not getting it. I have updated the etcd.conf file on each of the SC nodes: ETCD_NAME="etcd1" # value is "etcd2" on SC-2 node ETCD_LISTEN_PEER_URLS="http://0.0.0.0:2380"; ETCD_LISTEN_CLIENT_URLS=http://localhost:2379 ETCD_INITIAL_ADVERTISE_PEER_URLS="http://0.0.0.0:2380"

Re: [users] opensaf and etcd

2020-05-31 Thread Gary Lee
Hi In the plugin, there's some text that describes how to do it. But it assumes you have etcdctl installed on the SC. The actual cluster can be elsewhere. "If you have configured etcd to run elsewhere, please add the '--endpoints' option to etcdctl in the plugin." If you don't want to install e

Re: [users] opensaf and etcd

2020-05-31 Thread Hoyt, David
Sorry, hit send before I was finished. My question was: Does opensaf already have the code in place to communicate with the etcd members if the etcd cluster is outside of opensaf's cluster? -David Get Outlook for Android From: Hoyt, David

Re: [users] opensaf and etcd

2020-05-31 Thread Gary Lee
Hi David I guess that hybrid approach should work. opensaf doesn’t really care about how the etcd cluster is configured, as long as a quorum in the etcd cluster can be maintained during the entire lifetime. Gary — From: Hoyt, David Sent: Monday, June 1, 2020 1:

Re: [users] opensaf and etcd

2020-05-31 Thread Hoyt, David
Actually, we're leaning towards having the etcd cluster outside of the opensaf cluster. But that scenario I described came up for discussion too. Now if the etcd cluster is outside the opensaf cluster, after enabling opensaf's etcd option, is it just a matter of providing the IPs (plus port) for

Re: [users] opensaf and etcd

2020-05-31 Thread Hoyt, David
Ok, so what if I have 2 SC nodes where etcd is running locally on each, and then a 3rd etcd node outside of the opensaf cluster. Is this etcd config valid? If so, how would opensaf's etcd configuration look like? Or does the etcd cluster have to be either: - all within the opensaf cluster or -

Re: [users] opensaf and etcd

2020-05-28 Thread Gary Lee
IN_PREVENTION=1 # Full path to key-value store plugin export FMS_KEYVALUE_STORE_PLUGIN_CMD=/full/path/to/etcd3.plugin Gary From: Hoyt, David Sent: 28 May 2020 23:53 To: opensaf-users@lists.sourceforge.net Subject: [users] opensaf and etcd Hi all, I see opensaf h

[users] opensaf and etcd

2020-05-28 Thread Hoyt, David
Hi all, I see opensaf has etcd plugins, and a README file that describes installing etcd, but I'm not clear on how opensaf actually works with etcd. Has anyone made use of this utility? Are there examples? Normally, an opensaf controller starts and broadcasts the UDP message to see if it