Skip to main content
Skip table of contents

Yugabyte linking operations

dSource creation via CLI

To create a dSource via CLI, you must create a source configuration first. For more information on creating a source configuration, refer to Add Source Config using CLI.

To create a dSource and perform operations via CLI, log in to the Delphix Continuous Data Engine using the admin user account.

CODE
ssh admin@dlpx-engine.delphix.com

Set default linking parameters

This instruction is common for all types of ingestions.

Run the below commands to set the default linking parameters. The below example uses testscfg source config.

CODE
Example -
database link
set type=LinkParameters
set linkData.type=AppDataStagedLinkData	
set name=testds
set group=Untitled
set linkData.config=testscfg
set linkData.environmentUser=yb-load-tgt1/delphix_os
set linkData.stagingEnvironment=yb-load-tgt1
set linkData.stagingEnvironmentUser=yb-load-tgt1/delphix_os
set linkData.syncParameters.parameters={\"resync\":true}

Link parameters for ingestion using NFS backup:

Run the below commands to link parameters:

CODE
Example - 
set linkData.parameters="{ \
\"mount_path\":\"/mnt/provision/testds\", \
\"backup_location\":\"/home/yugabyte/backup/20240310040000\", \
\"ingest_new_backups\":true \
}"

Commit

Run the below command to commit the change

CODE
commit;

Disable

Run the below command to disable the dSource.

CODE
Example - 
source
select testdb
disable
commit

Enable

Run the below command to enable the dSource.

CODE
Example - 
source
select testdb
enable
commit
JavaScript errors detected

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

If this problem persists, please contact our support.