Hi,
For now itâs not my first try to use Confluent. I have tried it few times ago(I forgot version, but it was one of first implementations) and it was nice.
Iâm using that old one installation in one of our small DC where modern servers are present(with normal SOL available for example). Sure Iâm planning to upgrade it in the nearest future.
I didnât use it everywhere because I havenât had a lot of time to write custom plugins for servers without normal SOL available. Iâm using conserver with custom wrappers with Perl+Expect for them.
For now I think I have time to write plugin and do the migration between conserver and confluent. I have no idea how good or bad itâll be working in the DC with 2k+ servers(maybe long time to makeconfluentcfg, maybe something bad will happen with full console.logging), but i want to give it a chance.
But anyway I think that there are a lot of undocumented parts about xCAT+Confluent :)
On 24 March 2017 at 12:34:14, Jarrod Johnson (***@lenovo.com) wrote:
Sorry about the lack of documentation around service node for makeconfluent.
Â
How has your confluent experience been apart from the undocumnted setup for service nodes?
Â
From: banuchka [mailto:***@gmail.com]
Sent: Friday, March 24, 2017 6:47 AM
To: xCAT Users Mailing list; Jarrod Johnson
Subject: RE: [xcat-user] Confluent(1.4.0 and current master) is on the Service Node
Â
The problem is because `nodehm.cons` were NULL⊠I have no idea why does it work for MN but not for SN.
Â
Problem solved, Thanks!
Â
On 24 March 2017 at 08:14:05, banuchka (***@gmail.com) wrote:
It is empty on SN
Â
xcat-***@systmain1.xlan:/$ nodelist backup1 console.method
backup1: console.method:
Â
and correct on MN
Â
xcat-***@systmain1.xlan:/$ nodelist backup1 console.method
backup1: console.method: ipmi
Â
Iâve changed it via API and now all works⊠on SN great! So the trouble somewhere in between `makeconfluentcfg` and xCAT :)
Â
On 23 March 2017 at 22:38:09, Jarrod Johnson (***@lenovo.com) wrote:
nodelist <noderange> console.method
Â
On the MN v. SN
Â
From: banuchka [mailto:***@gmail.com]
Sent: Thursday, March 23, 2017 5:50 PM
To: xCAT Users Mailing list; Jarrod Johnson
Subject: RE: [xcat-user] Confluent(1.4.0 and current master) is on the Service Node
Â
Im not sure but in the peace of code inside confluent/consoleserver.py in 'def _connect_backend(self):â on MN sectionÂ
Â
    try:
      self._console = plugin.handle_path(
        self._plugin_path.format(self.node),
        "create", self.cfgmgr)
    except exc.NotImplementedException:
      self._console = None
    except:
      _tracelog.log(traceback.format_exc(), ltype=log.DataTypes.event,
             event=log.Events.stacktrace)
Â
is ok, but on SN
Â
    try:
      self._console = plugin.handle_path(
        self._plugin_path.format(self.node),
        "create", self.cfgmgr)
    except exc.NotImplementedException:
        print("Except Hereâ)                                      <================
                       self._console = None
    except:
      _tracelog.log(traceback.format_exc(), ltype=log.DataTypes.event,
             event=log.Events.stacktrace)
Â
On 23 March 2017 at 21:13:22, banuchka (***@gmail.com) wrote:
Sure, i did that steps with certificates, users before write a question.
Â
But if i try to use 'confetty node' locally confluent dosnt asks me about user/password and i can use console_(on MN). It writes console log files(console output) in /var/log/confluent/consoles/node aswell(only MN).
So looks like confluent on SN doesnt try to activate sol at all...
--Â
banuchka
On 23 March 2017 at 21:03:30, Jarrod Johnson (***@lenovo.com) wrote:
Ok, I produced the behavior, thereâs something that needs to be doneâŠ
[***@odin confluent]# cp /etc/xcat/cert/server-cred.pem /etc/confluent/privkey.pem
[***@odin confluent]# cp /etc/xcat/cert/server-cred.pem /etc/confluent/srvcert.pem
Â
On the SN and MN, do those copies.
Â
The problem is that confluent by default doesnât have a TLS key set up. The above copy âborrowsâ xCATâs server key.
Â
Then itâll prompt you, now the issue is youâll have to make confluent users, which are required for remote usage.
Â
For example:
Confetty create /users/myname password=SomeThing
Â
On both MN and SN (sorry that isnât done automatically).
Â
Then in your .bashrc, youâll *probably* want to set the following:
Export CONFLUENT_USER=myname
CONFLUENT_PASSPHRASE=SomeThing
Â
Otherwise itâll prompt every time.
Â
From: Anton Turetsky [mailto:***@gmail.com]
Sent: Thursday, March 23, 2017 4:46 PM
To: xCAT Users Mailing list; Jarrod Johnson
Subject: RE: [xcat-user] Confluent(1.4.0 and current master) is on the Service Node
Â
In case if set xcat-sn1 node as conserver by default for all nodes itll populate SN with all nodes. Ok. But all of them dont work...
In that case confluent service may be:
- stopped
- not installed
On Mn, but no differences at all.
Â
Just in case if ill install/start confluent on MN and give it a chance to makeconfig - all consoles works well.
Â
--Â
Anton Turetsky
On 23 March 2017 at 20:38:52, Jarrod Johnson (***@lenovo.com) wrote:
Interesting that backup1 ended up in both places, should only be in oneâŠ
Â
Iâll double check the confluent.pm to see if thereâs something blatantly odd about the farming out of confluentcfg..
Â
From: banuchka [mailto:***@gmail.com]
Sent: Thursday, March 23, 2017 4:26 PM
To: xCAT Users Mailing list; Jarrod Johnson
Subject: Re: [xcat-user] Confluent(1.4.0 and current master) is on the Service Node
Â
MN
xcat-***@systmain1.xlan:~$ nodelist
backup1
pbackup1
pbackup2
pbackup3
systmain1
Â
SN
xcat-***@systmain1.xlan:~$ nodelist
backup1
Â
On 23 March 2017 at 19:56:24, Jarrod Johnson (***@lenovo.com) wrote:
Hello, can you do ânodelistâ on the MN and the SN?
Â
From: Anton Turetsky [mailto:***@gmail.com]
Sent: Thursday, March 23, 2017 3:46 PM
To: xcat-***@lists.sourceforge.net
Subject: [xcat-user] Confluent(1.4.0 and current master) is on the Service Node
Â
Hi,
Â
Maybe someone could help me to answer a question: is it ok that confluent server doesnt work as a conserver for node/noderange on service node?
Â
Service node is correct im using it as a consoleserver long time, all communications between mn and sn are correct.
But...
When i try to use it with confluent, for example for one node: confetty testnode1 i can see nothing.
Makeconfluentcfg is ok, it did the config on both MN & SN, but confetty works perfect only on MN.
Testnode1 is a valid server for SN's confluent config.
From my point of view SN didnt try to connect to servers SOL at all, maybe I wrong.
Â
Thank you.
--Â
Anton Turetsky
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________
xCAT-user mailing list
xCAT-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user
--Â
banuchka
--Â
banuchka
--Â
banuchka
--Â
banuchka
--Â
banuchka