connect

Encapsulates commands that connect to the specified host and registry port to perform administrative functions or connect to the specified store to perform data access functions.

The current store, if any, will be closed before connecting to another store. If there is a failure opening the specified KVStore, the following warning is displayed: “Warning: You are no longer connected to KVStore”.

The subcommands are as follows:

connect admin

connect admin -host <hostname> -port <registry port>
[-username <user>] [-security <security-file-path>]

Connects to the specified host and registry port to perform administrative functions. An Admin service must be active on the target host. If the instance is secured, you may need to provide login credentials.

where:

connect store

connect store [-host <hostname>] [-port <port>] -name <storename>
          [-timeout <timeout ms>]
          [-consistency <ABSOLUTE(default) | NONE_REQUIRED>]
          [-durability <COMMIT_SYNC(default) | COMMIT_NO_SYNC | COMMIT_WRITE_NO_SYNC>]
          [-username <user>] [-security <security-file-path>]

Connects to a data store to perform data access functions. If the instance is secured, you may need to provide the log in credentials.

Use the timeout, consistency and durability flags to override the default connect configuration.

where: