2.4. Enabling Authentication Services

The Authentication Services must be configured in the specified order.

The three steps required to complete authentication on the data grid:

  • Defining the Configuration Services

  • Defining the Data Services

  • Defining the Aggregation Services

2.4.1. Enabling Authentication for Configuration Services

The following steps provide instruction for the configuration services steps required to enable authentication:

  1. 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.

Fig78

  1. Select option 2 for Enable Authentication.

Fig79

  1. Select option 1 for Configuration.

Fig80

  1. If this is a new configuration, Select “Yes”. if this is an existing configuration, go to section 7.4.2.

Fig81

  1. For an initial configuration, a key is generated, and configuration process begins. When all aspects of the configuration are finalized, the completed notification dialog displays.

Fig82

2.4.2. Enabling Authentication for Existing Configuration Services

The following steps provide instruction for the configuration services steps required to enable authentication:

  1. 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.

Fig78

  1. Select option 2 for Enable Authentication.

Fig79

  1. Select option 1 for Configuration.

Fig80

  1. If this is an existing configuration, Select “No”.

Fig83

  1. Enter the peer address for an existing configuration service.

Fig84

  1. Enter an existing peer SSH port for an existing configuration service.

Fig85

Note

User needs to have read access to /etc/

  1. Enter the username for an existing configuration service.

Fig86

  1. Enter the user password for the existing configuration service.

Fig87

  1. The key file begins synchronization, and the configuration service restarts. Once that process has finished this completed notification dialog box displays.

Fig88

2.4.3. Enabling Authentication for Data Services

The following steps provide instruction for defining the data services that are the second series of steps required to enable authentication:

  1. 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.

Fig97

  1. Select option 2 for Enable Authentication.

Fig98

  1. Select option 3 for Data Services.

Fig99

  1. Enter the shard’s replica name.

Fig100

  1. Enter the configuration peer host’s IP address.

Fig101

  1. Enter replica set’s peer host SSH port.

Fig102

  1. Enter the peer host username for the replica set.

Note

Remember this user must have rights to access the keyfile.

Fig103

  1. Enter the password for the replica set peer host.

Fig104

  1. The key file begins synchronization, and then the configuration service restarts. Once that process has finished, the dialog box shown at the right is displayed noting the process has completed.

Fig105

2.4.4. Enabling Authentication for Aggregation Services

The following steps provide instruction for defining the aggregation services that are the third series steps required to enable authentication:

  1. 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.

Fig89

  1. Select option 2 for Enable Authentication.

Fig90

  1. Select option 2 for Aggregation.

Fig91

  1. Enter the peer address for an existing configuration service.

Fig92

  1. Enter an existing peer SSH port for an existing configuration service.

Fig93

  1. Enter the peer host’s password for the existing configuration service.

Fig94

  1. Enter the peer host’s password for the existing configuration service.

Fig95

  1. The key file begins synchronization, and the configuration service restarts. Once that process has finished this completed notification dialog box displays.

Fig96