Locations are used to define collections of servers which may have similar performance characteristics when accessed from this Directory Server. For example, a separate Location may be defined for each data center.
This Directory Server instance may be assigned a location in the global configuration. Components which use Locations should generally prefer accessing other servers in the same Location. Each configured Location may have an ordered list of failover Locations that may be tried if none of the servers in the same Location are available.
The following components have a direct aggregation relation to Locations:
The properties supported by this managed object are as follows:
Basic Properties: | Advanced Properties: |
---|---|
description | None |
To list the configured Locations:
dsconfig list-locations [--property {propertyName}] ...
To view the configuration for an existing Location:
dsconfig get-location-prop --location-name {name} [--tab-delimited] [--script-friendly] [--property {propertyName}] ...
To update the configuration for an existing Location:
dsconfig set-location-prop --location-name {name} (--set|--add|--remove) {propertyName}:{propertyValue} [(--set|--add|--remove) {propertyName}:{propertyValue}] ...
To create a new Location:
dsconfig create-location --location-name {name} [--set {propertyName}:{propertyValue}] ...
To delete an existing Location:
dsconfig delete-location --location-name {name}