By default, the installation process creates a cluster configuration file called node1.xml. This file contains security information for the cluster, including a reference to the file that determines the authentication type. If you created a different cluster name during installation, the name of your cluster configuration file takes the form <node-name>.xml.
When preconfigured user-name-password is the active authentication method, the <node-name>.xml file refers to the csi_local.xml file, which contains the user names and passwords you configure. Event Stream Processor provides a default csi_local.xml file you can use as a basis for creating your own preconfigured user-name-password combination. This file may initially reside in the ESP_HOME/cluster/examples folder. In such cases, copy the file to the ESP_HOME/security folder.
Enabling the preconfigured username-password option requires that you create and encode the passwords, configure csi_local.xml to specify the user names and enter the encoded passwords, then modify the <node_name>.xml file to specify the preconfigured username-password option as the active authentication method.
On Windows: esp_cluster_admin.exe --encode_text
On Linux or Solaris: esp_cluster_admin.bin --encode_text
<authenticationProvider controlFlag="sufficient" name="com.sybase.security.core.PreConfiguredUserLoginModule"> <options name="username" value="sybase2"/> <options name="password" value="{SHA-256:gIQWZYOPQVM=}jqHtsTPcw8kGkZt1PQeveUAhQncAQhHXJBrjZAqTfk4="/> </authenticationProvider>
<Csi> <File>csi_local.xml</File> <Csi>