Adding a Couchbase staging/target environment
This page describes the steps for adding a CouchbaseDB staging and target environment.
Prerequisites
A Couchbase staging environment must be setup with the necessary requirements, as described in Couchbase requirements and prerequisites.
Installation of the Couchbase Connector is required before the discovery.
Install Couchbase binaries on the staging and target servers.
Couchbase installed at the path
/opt/couchbase
.Environment variable
$COUCHBASE_PATH
should be set on the staging/target host (which contains the binary path of Couchbase) for the user who added the environment (in our case, delphix_os).
Procedure
Perform the following steps to add an environment (staging/target) to the Delphix Continuous Data Engine:
Login to the Delphix Management application.
Navigate to the Manage → Environments page.
Click the Actions ... menu and select Add Environment.
From the Add Environment dialog window, select Unix/Linux.
Select Standalone Host.
Click Next.
Provide the name of the environment.
Provide the Host IP address or host FQDN.
Provide the SSH port. The default value is 22.
Provide an Environment Username for the environment.
Choose the Login Type that fits your setup.
Username and password: provide the environment username and password.
Username and public key: provide the environment username.
Password Vault: select from an existing Enterprise Password Vault.
Using Public Key authentication
If you want to use public key authentication for logging into your Unix-based environment, there are two options:
Use the Delphix Continuous Data Engine's key pair. For more information on how to do this, refer to the How to use the Continuous Data Engine’s key-pair section.
Provide a key pair for this environment. As an alternative, a key pair specific for this environment can be provided via the API or CLI. For instructions, refer to CLI Cookbook: Setting up SSH key authentication for UNIX environment users.
For Password, enter the password associated with the user in step 11.
If you want to use Public Key Encryption for logging into your environment:
Select Public Key for the Login Type
Click View Public Key
Copy the public key that is displayed, and append it to the end of your
~/.ssh/authorized_keys
file. If this file does not exist, it must be created.
The addition of the public key is a one-time requirement per user and per environment. Additionally, you have the option to add public key authentication to an environment user's profile via CLI (for details, refer to the CLI Cookbook: Setting up SSH key authentication for UNIX environment users topic).
For Password Login, click Verify Credentials to test the username and password.
Enter Toolkit Path (ensure that the toolkit path does not have any spaces).
To provide your own Oracle Java Development Kit, select the Provide my own JDK checkbox and click Next.
On the Java Development Kit page, provide an absolute path to your Oracle JDK and click Next.
Click Submit.
After successfully adding and discovering the environment, you should be able to view the newly added environment listed under the Environments tab. In case it does not appear, click the refresh icon in your browser.
After the environment has been successfully discovered, if you wish to establish further links, add a source configuration to the previously discovered installation.
![image-20240220-185103.png](../../__attachments/99396215/image-20240220-185103.png?inst-v=9f5cd9ef-94fe-4677-b3c4-6c5d1617af5c)
Perform the following steps to access the information about any environment you have created:
Navigate to Manage > Environments.
Select the environment name.