2022

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Download the DBSync Linux zip file from the following URL

  • Download latest build

Command-

 #wgethttps://s3.amazonaws.com/dbsync-downloads/prod-dbsync-downloads/dbsyncdownload/cloudcdm/DBSync_CloudCDM_Vx.x.x.zip

 

 Image Removed

step: Once the file is downloaded, make a list of files using the below command

...

You can see the  DBSync_CloudCDM_Vx.x.x.zip file

  • Install/Unzip

Step: Now unzip the above-downloaded file

#  unzip DBSync_CloudCDM_Vx.x.x.zip

  •  

...

  • After unzipping you can see the apache-tomcat-9.0.33 file


# cd apache-tomcat-9.0.33 


# ls -l

  • NOTE: Make sure that logs directory exists in apache-tomcat-9.0.33, if it is not there, please create a directory as logs


# mkdir logs

  • Step : Once after  creating the logs directory, now go to bin directory


# cd bin

  • Change the permission for the scripts by getting into the bin folder and provide executive permission for all the shell scripts using the command Chmod 750 *.sh.

  • Check for necessary directory and file permissions

# cd bin

  • Change the permission for the scripts by getting into the bin folder and provide executive permission for all the shell scripts using the command Chmod 750 *.sh.

 Image Removed

     
  • Giving ownership of dbsync to tomcat 
  • Command:

#chown -R dbsync:dbsync directory name

...

  • Giving permissions to files 
  • command:
    #chmod -R 754 directory/filename
  • Step: Starting The Tomcat

 

  • At this point, the DBSync Cloud Replication tool is installed on your Linux server. You can start the DBSync Cloud Replication tool by navigating to the bin folder and running the command from the terminal window
  • Command : 
    #sh catalina.sh start.

Installing java files (JDK/JRE files )
Command
#yum install java-1.8

...

Stopping tomcat

# ps -ef | grep java


  • Step : To check the logs you can run the command tail -f catalina.out as illustrated in the below screenshot


# cd /home/dbsync/apache-tomcat-9.0.33/logs


# ls -l


Now Tail the logs


# tail -f catalina.out


The above screenshot shows that the tomcat was running


Step : To access DBSync Cloud Replication console, please paste thehttp://< IP >:8080/dbsync


http://localhost:8080/dbsync  URL in your browser address bar and you will be presented with the DBSync Cloud Replication Home page.

Take a backup of profiles

...