Cmdlets for Couchbase

Build 21.0.7930

ConnectionMode Parameter (Connect-Couchbase Cmdlet)

Determines how to connect to the Couchbase server. Must be either Direct or Cloud.

Syntax

Connect-Couchbase -ConnectionMode string

Possible Values

Direct, Cloud

Data Type

cstr

Default Value

"Direct"

Remarks

By default the 本製品 connects to Couchbase directly using the address given in the Server option. The Server must be running the appropriate CouchbaseService to accept the connection. This will work in most on-premise or basic cloud deployments.

This should be set to Cloud when connecting to Couchbase Cloud or a custom deployment that uses service records. These records will allow the 本製品 to determine the exact Couchbase servers that provide the appropriate CouchbaseService. You must also set the DNSServer property so that the 本製品 is able to fetch these service records.

Note that enabling Cloud mode will override these connection properties with the values discovered by contacting the cluster:

  • Server
  • N1QLPort
  • AnalyticsPort

Copyright (c) 2021 CData Software, Inc. - All rights reserved.
Build 21.0.7930