The configurecachesecurity utility allows you to configure security on a client cache in an already created cluster.
configurecachesecurity /es[enablesecurity] /c[cacheid] cache-name /s[servername] server-name /u[user-id] user name /p[password] password /dc[domaincontroller] domain-controller [option[...]].
Argument
|
Description
|
/es[enablesecurity]
|
Specifies that the tool is being used for enabling security on a specific cache.
|
/c[cacheid] cache-name
|
Specifies the target cache to enable security.
|
/s[servername] server-name
|
Specifies the server node name.
|
/a[user-id] user name
|
Specifies the NCache administrator name.
|
/p[password] password
|
Specifies the NCache administrator password.
|
/dc[domaincontroller] domain-controller
|
Specifies the domain controller.
|
configurecachesecurity /ds[disablesecurity] /c[cacheid] cache-name /s[servername] server-name /u[userid] user-name /p[password] password /dc[domaincontroller] domain-controller
Argument
|
Description
|
/ds[disablesecurity]
|
Specifies that the tool is being used for disabling security on a specific cache.
|
/s[servername] server-name
|
Specifies the server node name.
|
/u[userid] user-name
|
Specifies the NCache administrator name.
|
/p[password] password
|
Specifies the NCache administrator password.
|
/dc[domaincontroller] domain-controller
|
Specifies the domain controller.
|
configurecachesecurity /au[adduser] /n[newusername] new-user /s[servername] server-name /u[userid] user-name /p[password] password /dc[domaincontroller] domain-controller
Argument
|
Description
|
/au[adduser]
|
Specifies that the tool is being used for adding a user in Cache administrator's list.
|
/n[newusername] new-user
|
Specifies the user name to add.
|
/s[servername] server-name
|
Specifies the server node name.
|
/u[userid] user-name
|
Specifies the NCache administrator name.
|
/p[password] password
|
Specifies the NCache administrator password.
|
/dc[domaincontroller] domain-controller
|
Specifies the domain controller.
|
configurecachesecurity /ru[removeuser] /d[deleteuser] user-to-delete /s[servername] server-name /u[username] user-name /p[password] password /dc[domaincontroller] domain-controller
Argument
|
Description
|
/ru[removeuser]
|
Specifies that the tool is being used for removing a user from Cache administrator's list.
|
/d[deleteuser] user-to-delete
|
Specifies the existing user which is now being deleted or removed from NCache node administrators.
|
/s[servername] server-name
|
Specifies the server node name.
|
/u[userid] user-name
|
Specifies the domain user Id.
|
/p[password] password
|
Specifies the password against the user name.
|
/dc[domaincontroller] domain-controller
|
Specifies the domain controller.
|
Remarks
You can enable/disable cache level security any time.
The system where you use configurecachesecurity utility, must have NCache service installed and running. By default, configurecachesecurity utility tries to enable security on a specified client cache.
Examples
The following command enables security on a specified client cache.
configurecachesecurity /e /c mycache /s 20.200.20.2 /u User /p Password/dc 20.200.20.32 [option[...]].
The following command disables security on a specified client cache for a particular user.
configurecachesecurity /d /c mycache /s 20.200.20.2 /u User /p Password/dc 20.200.20.32
The following command adds a new user to cache administrator's.
configurecachesecurity /a /n User /s 20.200.20.2 /u User /p Password/dc 20.200.20.32
The following command removes user from cache administrator's list.
configurecachesecurity /r /d User /s 20.200.20.2 /u User /p Password/dc 20.200.20.32
See Also