SetUp Docker env for Helyx Replication
To facilitate the setup and execution of replication between Oracle databases, users are required to download a zip file.
This package contains five executable files :
- configservice
- serverconfig
- MetaSync
- tabletorepl
- helyx-license
Additionally, it includes essential configuration files such as :
- helyx-broker-manager.properties
- helyx-schema-registry-manager.properties
- helyx-connect-service-manager.properties
- publication.config
- tablelist.config
- subscription.config
which are necessary for proper configuration and operation of the replication services.
Installation of Docker software
To install Docker and configure the necessary repository on your system, execute the following commands with root or sudo privileges [ For Linux environment ] :
1. Install the yum-utils package
sudo dnf install -y yum-utils2. Add the Docker repository
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo3. Install Docker Engine and related components
sudo dnf install -y docker-ce docker-ce-cli containerd.io4. Enable the Docker service to start on boot
sudo systemctl enable docker5. Start the Docker service
sudo systemctl start docker6. Verify the Docker installation
docker –versionFor Ubuntu based system use apt-get command.
Docker Installation on Ubuntu
Follow the steps below to install Docker Engine and related components on an Ubuntu-based system :
Update the Package Index.
1. Run the following command to ensure your package index is up to date :
sudo apt update2. Install Required Packages for necessary certificates, tools, and libraries :
sudo apt install ca-certificates curl gnupg lsb-release -y3. Add Docker's GPG Key and Create the keyrings directory and add Docker’s official GPG key :
sudo mkdir -p /etc/apt/keyringscurl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg4. Set Up the Docker Repository and add Docker’s repository to your sources list :
echo \ "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null5. Update the Package Index again and refresh the package index to include the Docker repository :
sudo apt update6. Install Docker Components like Docker Engine, CLI, containerd, Buildx plugin, and Compose plugin :
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y7. Verify Docker Installation
docker –versionThese steps will ensure Docker is installed and operational on your Ubuntu system.
These steps ensure that Docker is properly installed and operational on your Linux as well as Ubuntu system, which is required for the Helyx replication setup.