2.3. Data Aggregation Service

The next step is to install, configure, and deploy the Data Aggregation Services. There are several recommendations for setting up the Data Aggregation Services.

The recommendations are as follows:

  • Begin with three services.

  • Assigned and leverage a DNS entry.

  • Geographically separate locations.

The requirement is to deploy an odd number of services.

2.3.1. Deploying the Primary Data Aggregation Service

Once the Shard has been defined and deployed, the primary Data Aggregation service can be defined and deployed. The following steps are performed to deploy the primary Data Aggregation services:

  1. The first step is to enter the following commands:

user@host:# yum install hawk-shard user@host:# cd /usr/local/hawk/data/hawk-shard && ./hawk-shard-config

  1. Select option 2 for Manage Data Services.

Fig61

  1. Select option 1 for Manage Data Services.

Fig62

  1. Select option 2 for Aggregation.

Fig63

  1. Select option 1 for Install New Aggregation.

Fig64

  1. Enter the list of configuration services, which includes full hostname and port. The services are separated by a comma “,”

Fig65

  1. For the first installation of an aggregation service, running authentication is not required. However, once it has been installed, and authentication enabled, additional aggregation services can be enabled using authentication.

Fig66

  1. If Authentication was not selected, generally it’s because an install is being defined. Select “Yes” if this is the first Aggregation host to initialize the default values for the eyeCon Data Grid.

Fig67yes

  1. The next step is to enter the primary data shard’s replica name of the first primary shard.

Fig68

  1. Enter the primary data shard’s replica hostname or IP address.

Fig69

  1. Enter the primary data shard’s replica port number.

Fig70

  1. Enter the primary data shard’s maximum storage size in Megabytes.

Fig71

  1. Enter the default username that is to be used for the Data Grid’s Authentication protocol.

Fig72

  1. Enter the password that is to be used for the Data Grid’s Authentication protocol.

Fig73

  1. Provide the Aggregation host’s external IP address that is used for managing the default data shard.

Fig74

  1. The progress dialog is shown to indicate that the event index is being added.

Fig76

  1. When the process is completed and the Aggregation host is added, a dialog opens to show that the step is compleeted successfully.

Fig77

2.3.2. Deploying an Additional Data Aggregation Service

An additional Data Aggregation service can be defined and deployed. The following steps are performed to deploy an additional Data Aggregation services:

  1. The first step is to enter the following commands:

user@host:# yum install hawk-shard user@host:# cd /usr/local/hawk/data/hawk-shard && ./hawk-shard-config

  1. Select option 2 for Manage Data Services.

Fig61

  1. Select option 1 for Manage Data Services.

Fig62

  1. Select option 2 for Aggregation.

Fig63

  1. Select option 1 for Install New Aggregation.

Fig64

  1. Enter the list of configuration services, which includes full hostname and port. The services are separated by a comma “,”

Fig65

  1. Select “No” since this is an additional Data Aggregation Service.

Fig66

  1. Select “No” since this is an additional Data Aggregation Service.

Fig67no

  1. The next step is to enter the primary data shard’s replica name of the first primary shard.

Fig68

  1. Enter the primary data shard’s replica hostname or IP address.

Fig69

  1. Enter the primary data shard’s replica port number.

Fig70

  1. Enter the primary data shard’s maximum storage size in Megabytes.

Fig71

  1. Enter the default username that is to be used for the Data Grid’s Authentication protocol.

Fig72

  1. Enter the password that is to be used for the Data Grid’s Authentication protocol.

Fig73

  1. Provide the Aggregation host’s external IP address that is used for managing the default data shard.

Fig74

  1. The progress dialog is shown to indicate that the event index is being added.

Fig76

  1. When the process is completed and the Aggregation host is added, a dialog opens to show that the step is completed successfully.

Fig77