Identity & Group Configuration - Storm Streaming Server
The first thing we should do after installing the server is to configure server identification. To do this, we can edit the config/preferences.xml file, which contains the entire configuration for the Storm Streaming Server application.
Identity and group configuration can also be done from the Storm Control Panel.
Sample Configuration
Below you'll find the default configuration for server identity:
config/preferences.xml - Identity block
<Identity>
<ServerName>MyStormServer</ServerName>
<GroupName>DevGroup</GroupName>
<HostName>localhost</HostName>
</Identity>
Field Explanation
| Field | Description |
|---|---|
ServerName | The common name of this server is intended to facilitate server identification. This value is also used as the server ID when configuring a cluster. |
GroupName | The name of the group to which the server belongs. Like the ServerName, it is used in cluster configuration and can be anything. |
HostName | This is the domain name (optionally the IP address) under which this server is accessible. For testing use "localhost", while for production/cluster configuration something like "stream04.yourdomain.com" will be better. |
Verification
For verification, please check logs or output messages. You should see something like that:
Log output
15:31:25 INFO Config - Identity :: Server Name: StormServer1 | Group Name: OnPremise | Host Name: localhost
Next Step
In the next step you'll learn how to configure Server License.
Support Needed?
If you have any questions or need assistance, please create a support ticket and our team will help you.