Skip to content

Version and configuration info

Overview

Aerospike Graph Service (AGS) provides a mechanism for retrieving version and configuration information about existing graph databases.

Version information

To view the AGS and Aerospike Database version information for an existing graph database, use the aerospike.graph.admin.metadata.version Gremlin command.

g.call("aerospike.graph.admin.metadata.version").next()

The aerospike.graph.admin.metadata.version step returns a Map with the following elements:

ElementDescription
Aerospike versionAerospike version string in the format of “NODE_1:VERSION_1,…,NODE_n:VERSION_n” for n total Aerospike nodes.
Aerospike Graph Service versionAGS version.

Configuration information

To view the configuration setup for an existing graph database, use the aerospike.graph.admin.metadata.config Gremlin command.

g.call("aerospike.graph.admin.metadata.config").next()

Optional parameters

ParameterTypeValuesDescription
modestringfull, deltafull returns all configuration options, including defaults. delta returns only options set by the user. If mode is omitted, the response includes all configuration options.

Examples

// Default (all configuration options)
g.call("aerospike.graph.admin.metadata.config").next()
// All options, including defaults
g.call("aerospike.graph.admin.metadata.config")
.with("mode","full")
.next()
// Only options explicitly set by the user
g.call("aerospike.graph.admin.metadata.config")
.with("mode","delta")
.next()

Response format

The aerospike.graph.admin.metadata.config step returns a Map with the following elements:

ElementDescription
Gremlin Server ConfigurationYAML file used to initialize the Gremlin server.
Graph PropertiesProperties file used to initialize AGS.
Feedback

Was this page helpful?

What type of feedback are you giving?

What would you like us to know?

+Capture screenshot

Can we reach out to you?