Starting ASOperations for Shared-Nothing Persistence With Security

Procedure

  • Run the relevant examples to invoke ASOperations for shared-nothing persistence with security.
    Java Invocation java [-d64] -jar AS_HOME/lib/as-agent.jar -metaspace examplems [-data_store path]
    C Invocation AS_HOME/bin/as-agent.exe -metaspace examplems [-data_store path]
    .NET Invocation AS_HOME\bin\Agent.NET.exe -metaspace examplems [-data_store path]

    The following example shows the command line options that you can use when starting ASOperations for shared-nothing persistence to have it join the security domain exdomain:

    -persistence shared_nothing -role seeder [-data_store path] -security_token exdomain_token.txt -encrypt_field

    These command line options start ASOperations using the default metaspace named ms and allow it to connect to a security domain controller that has been started using the example security policy file example_policy.txt.

    When you use ASOperations to put data into the space, you will see the following additional prompt:

    Put: Enter the value to be encrypted (string):

    The value you enter at this prompt is stored into a field named secure_value, which is defined as a string. Any string value that you enter in response to this prompt is encrypted when it is stored in the space and when it is persisted.

    See the Implementing ActiveSpaces Security for information on encrypting data fields.