Configure Security for Client Nodes
This feature is only available in NCache Enterprise Edition.
You can configure security for client nodes of a cache in the following ways:
Using NCache Web Manager
Launch NCache Web Manager by browsing to
<server-ip>:8251(Windows + Linux).
In the left navigation bar, click on Clustered Caches or Local Caches, based on your requirement. Against the cache name, click on View Details.
This opens up the detailed configuration page for the cache.
In the Client Nodes tab, select the client node IP for which the security is to be enabled.
Click on "..." against the client node IP and select Configure Security.
Provide credentials for primary user and secondary user.
Click on OK.
This adds security for client node, which is also saved in encrypted form in client.ncconf under the <security> tag.
Add-ClientNodeSecurity cmdlet configures client node level security so that administrative and managerial tasks can be performed. This updates client.ncconf for that specific cache accordingly.
Cache security is replicated into client node as well, so any secondary users will also be added to the client node.
The following command configures client node security on myPartitionedCache which has administrator john_smith. This adds primary user as james_tredwell and secondary user david_watson on the server 18.104.22.168.
Add-ClientNodeSecurity myPartitionedCache -Admin john_smith -AdminPassword adminpassword -PrimaryUserName david_jones -PrimaryPassword pripassword -SecondaryUserName david_watson -SecondaryPassword secpassword -DomainController pdc -NodeName 22.214.171.124