Configuration_confluent

 

Starting/Stopping confluent

To start confluent:

service confluent start

 

To stop confluent:

service confluent stop

 

If you want confluent daemon to start automatically when the node boots, add confluent to chkconfig:

chkconfig --add confluent

 

Replacing conserver with confluent

A keyword has been added to the site table to allow control between 'conserver' and 'confluent' as the console service.
The default, if nothing is set, is to continue to use 'conserver.'

Set the consoleservice to confluent:

chdef -t site consoleservice='confluent'

 

Run 'makeconfluentcfg' to create the confluent configuration files

makeconfluentcfg

 

Use rcons to start a console session. You should see a timestamp after the node name

rcons <singlenode>

 

To verify you are using confluent for consoles, you should see a timestamp appear after the node name.
Example: If you started a session at 3:45pm using: rcons node1, a console session would open with the title:

console:  node1 [15:45]

 

Confetty

TODO

 

Confluent in the browser

Confluent-api and confluent-consoles are able to be accessed from the browser.
It's recommended that you create a non-root user to access the sessions.

Create the non-root user on the management node
# useradd -m vhu

Create a non-root user in confetty
# /opt/confluent/bin/confetty create users/vhu

Set the password for the non-root user
# /opt/confluent/bin/confetty set users/vhu password="mynewpassword"
password="********"

 

Confluent Rest Explorer

Configure the httpd configuration for confluent-api by creating a similar confluent.conf file under /etc/httpd/conf.d

The example uses server ip: 10.2.5.3 and port 4005

# cat /etc/httpd/conf.d/confluent.conf
LoadModule proxy_http_module modules/mod_proxy_http.so
<Location /confluent-api>
        ProxyPass http://10.2.5.3:4005
</Location>

# service httpd restart

Now point your browser to: http://<server ip="">:<port> and log in with the non-root user and password created above. </port></server>

 

Confluent consoles

confluent-web is provided in a subdirectory under the confluent project
https://sourceforge.net/p/xcat/confluent/ci/master/tree/confluent_web/

Download the content of that directory to /var/www/html/confluent,
then point your browser to: http://<server ip="">/confluent/consoles.html</server>

Appendix: Video Tutorials

Confluent Console Daemon Demo

Confluent Introduction


Related

Wiki: Confluent_Main