Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

After a database has been re-imported to stage, please ssh into either the blue or green server and copy and paste the commands below in a single chunk and it will go through the process of downloading the JDK and the JMX client, copy them to the container, extract the compressed JDK, launch the JMX client and restart the elasticsearch sync:

cd /tmp
mkdir javatools
cd javatools
wget https://github.com/jiaqi/jmxterm/releases/download/v1.0.0/jmxterm-1.0.0-uber.jar
wget --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u191-b12/2787e4a523244c269598db4e85c51e0c/jdk-8u191-linux-x64.tar.gz -O jdk-8-linux-x64.tar.gz
cd ..
docker cp javatools tcs_tcs_1:/tmp
docker exec -it tcs_tcs_1 /bin/bash
cd /tmp/javatools
tar -zxvf jdk-8-linux-x64.tar.gz
rm jdk-8-linux-x64.tar.gz
./jdk1.8.0_191/bin/java -jar jmxterm-1.0.0-uber.jar
open 1
domain tcs.mbean
bean tcs.mbean:name=PersonElasticSearchJob
run personElasticSearchSync
run isCurrentlyRunning
exit


When your back at theĀ bash-4.4# prompt you can run the following command to keep an eye on the progress of the sync

tail /var/log/apps/tcs.log -f
  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.