Changing Apache Tomcat® web server settings
To configure security for DSE Search, change the IP address for client connections to DSE Search using the HTTP and Solr Admin interfaces.
-
Change the IP address for client connections to DSE Search in
cassandra.yaml.The location of the
cassandra.yamlfile depends on the type of installation:-
Package installations and Installer-Services installations:
/etc/dse/cassandra/cassandra.yaml -
Tarball installations and Installer-No Services installations:
<installation_location>/resources/cassandra/conf/cassandra.yaml
The default IP address that the HTTP and Solr Admin interface uses to access DSE Search is defined with
rpc_address.-
The default
rpc_addressvaluelocalhostenables Tomcat to only listen on thelocalhost. -
To enable Tomcat to listen on all configured interfaces, set
rpc_addressto0.0.0.0.
The
rpc_addressis read on startup only. -
-
Depending on the value of
rpc_address, define a Tomcat connector in the<Service name="Solr">section of theserver.xmlfile.The location of the Tomcat
server.xmlfile depends on the type of installation:-
Package installations and Installer-Services installations:
/etc/dse/tomcat/conf/server.xml -
Tarball installations and Installer-No Services installations:
<installation_location>/resources/tomcat/conf/server.xml
<Connector port="PORT" protocol="HTTP/1.1" address="IP_ADDRESS" connectionTimeout="20000" redirectPort="8443" />Advanced users can use a non-default client connection port. However, for non-default ports, DSE cannot automatically configure SSL encryption for the connection. Instead, you must include the keystore path and password in your connector configuration. For more information, see Configuring the DSE Solr HTTP/HTTPS port for customized settings.
-
-
Restart the node.