Skip to main content
Skip table of contents

Couchbase provisioning operations via CLI

To create a VDB via CLI, you must first create a dSource. For more information on creating a dSource, see the Couchbase dSource creation via CLI page.

To create a VDB and perform operations via CLI, login to the Delphix Continuous Data Engine using the admin user account, as exemplified below.

ssh admin@dlpx-engine.delphix.com

Provision

Run the below commands to provision a VDB. The below example uses a testdb dSource.

CODE
> database provision
> set type=AppDataProvisionParameters
> set container.name=testvdb
> set container.group=Untitled 
> set source.allowAutoVDBRestartOnHostReboot=true
> set sourceConfig.repository="rh74-cbase.delphix.com/delphix_os vFiles (15.2)"
> set timeflowPointParameters.container=testdb
> set sourceConfig.name=testscfgv
> set source.parameters="{ \
\"couchbasePort\":8091, \
\"mountPath\":\"/mnt/provision/testvdb\", \
\"tgtClusterName\":\"dlpx_tgt_cluster\", \
\"clusterRAMSize\":2000, \
\"clusterIndexRAMSize\":256, \
\"clusterFTSRAMSize\":256, \
\"clusterEventingRAMSize\":256, \
\"clusterAnalyticsRAMSize\":1024, \
\"bucketEvictionPolicy\":\"valueOnly\", \
\"couchbaseAdmin\":\"Administrator\", \
\"couchbaseAdminPassword\":\"delphix\", \
\"fts_service\":false, \
\"analytics_service\":false, \
\"eventing_service\"true, \
\"node_list\":[]
}"
> commit
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.