Integrate haproxy service in MapR Control System

If you would like to create your own MapR Service under the control of warden here’s an example based on a haproxy configuration how to achieve this.

The method should work for any other service as well

create new role

 

create new warden service configuration

 

save the file and check the permissions (should be 644)

 

create the scripts referenced in /opt/mapr/conf/conf.d/warden.haproxy.conf

reconfigure MapR System

If the configuration was successful the newly created haproxy service should be visible in MapR Control System and also via command line

Now you should also be able to start and stop the haproxy with maprcli commands.

 

 

 

Add a Comment

Your email address will not be published. Required fields are marked *