/
data.source.grid > set apiaddress

data.source.grid > set apiaddress

The data.source.grid > set apiaddress command sets the API address. You can configure which member in the Grid must be queried to obtain the information enabled by query.

Syntax

  • data.source.grid > set apiaddress [ grid | auto | <ip_addr> ]
  • grid : use the same member as configured by address configuration item. This is selected by default.
  • auto : automatically find a Grid Master Candidate enabled for Read-Only API access in the configured Grid.
  • address : explicitly use the given address to query. Must be a Grid Master Candidate enabled for Read-Only API access.

Example

data.source.grid > set apiaddress grid

ok
data.source.grid > set apiaddress 10.0.0.22
ok

Related content