Upgrade 23.5 -> 24.2 (unsecure & secure connection modes)
ACC Server:
Stop all running VDBs in GUI
kill acc server:
ps -ef |grep acc-server | grep -v grep |awk '{print $2}' |xargs kill -9
backup acc-server:
cd <PATH TO ACC SERVER>
tar -zcvf acc_server.tar.gz acc_server
Copy from /../24.2 to ACC_HOME next files:
cp -r /../24.2/H2_UPGRADE/24/ $ACC_HOME/H2_UPGRADE/
cp /../24.2/acc-server-1.0-SNAPSHOT.jar $ACC_HOME/
cp /../24.2/cloud-agent-1.0-SNAPSHOT.jar $ACC_HOME/
cp -r /../24.2/conf/ $ACC_HOME/
cp -r /../24.2/metrics/ $ACC_HOME/
cp /../24.2/loki-check-ora.sh $ACC_HOME/
1. Check ports in configuration (unsecure mode)
vi conf/application.yml
changed port to 8080 and 8082
changed protocol to http
2. Check ports in configuration (secure mode)
vi conf/application.yml
changed port to 8443 and 8444
changed protocol to https
Start Acc Server:
cd <acc-server-directory>
screen -dmSL acc-server java -Xdebug -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 -jar acc-server-1.0-SNAPSHOT.jar
GI agent:
stop GI agent and copy:
cp /../24.2/loki/DOWNLOADS/Accelario_linux_source_agent_installation_kit/gi_agent-1.0-SNAPSHOT.jar $GI_AGENT/
cp /../24.2/loki/DOWNLOADS/Accelario_linux_source_agent_installation_kit/Accelario_linux_source_agent_installation.sh $GI_AGENT/
cp /../24.2/loki/DOWNLOADS/Accelario_linux_source_agent_installation_kit/installation_instructions.txt $GI_AGENT/
cp -r /../24.2/loki/DOWNLOADS/Accelario_linux_source_agent_installation_kit/gi_conf $GI_AGENT/
cp -r /../24.2/loki/DOWNLOADS/Accelario_linux_source_agent_installation_kit/jre1.8.0_391 $GI_AGENT/
Unsecure mode:
change in $GI_AGENT/gi_conf/application.yml
changed port to 8080
changed protocol to http
removed lines
keyStorePath: keystore.jks
keyStorePassword: qwerty12345
validateCerts: false
validatePeers: false
and start the agent:cd /home/ec2-user/24.2 && screen -dmS gi_agent /home/ec2-user/24.2/jre1.8.0_391/bin/java -Ddw.server.applicationConnectors[0].port=8080 -Ddw.server.adminConnectors[0].port=8082 -jar /home/ec2-user/24.2/gi_agent-1.0-SNAPSHOT.jar server $GI_AGENT/gi_conf/application.yml
Modify Acc Server port in GUI:
Secure mode:
check protocol as http
and ports as 8443
& 8444
in $GI_AGENT/gi_conf/application.yml
and start the agent:cd /home/ec2-user/24.2 && screen -dmS gi_agent /home/ec2-user/24.2/jre1.8.0_391/bin/java -Ddw.server.applicationConnectors[0].port=8443 -Ddw.server.adminConnectors[0].port=8444 -jar /home/ec2-user/24.2/gi_agent-1.0-SNAPSHOT.jar server $GI_AGENT/gi_conf/application.yml
Modify Acc Server port in GUI:
DST agent:
stop DST agent and copy:cp /../24.2/loki/DOWNLOADS/Accelario_linux_target_agent_installation_kit/gi_agent-1.0-SNAPSHOT.jar $DST_AGENT/
cp /../24.2/loki/DOWNLOADS/Accelario_linux_target_agent_installation_kit/Accelario_linux_target_agent_installation.sh $DST_AGENT/
cp /../24.2/loki/DOWNLOADS/Accelario_linux_target_agent_installation_kit/installation_instructions.txt $DST_AGENT/
cp -r /../24.2/loki/DOWNLOADS/Accelario_linux_target_agent_installation_kit/dst_conf $DST_AGENT/
cp -r /../24.2/loki/DOWNLOADS/Accelario_linux_target_agent_installation_kit/jre1.8.0_391 $DST_AGENT/
Unsecure mode:
change in $DST_AGENT/dst_conf/application.yml
changed port to 8080
changed protocol to http
removed lines
keyStorePath: keystore.jks
keyStorePassword: qwerty12345
validateCerts: false
validatePeers: false
and start the agent:cd /home/ec2-user/24.2 && screen -dmS dst_agent /home/ec2-user/24.2/jre1.8.0_391/bin/java -Ddw.server.applicationConnectors[0].port=8080 -Ddw.server.adminConnectors[0].port=8082 -jar /home/ec2-user/24.2/dst_agent-1.0-SNAPSHOT.jar server $DST_AGENT/dst_conf/application.yml
Modify Acc Server port in GUI:
Secure mode:
check protocol as http
and ports as 8443
& 8444
in $GI_AGENT/dst_conf/application.yml
and start the agent:
cd /home/ec2-user/24.2 && screen -dmS dst_agent /home/ec2-user/24.2/jre1.8.0_391/bin/java -Ddw.server.applicationConnectors[0].port=8443 -Ddw.server.adminConnectors[0].port=8444 -jar /home/ec2-user/24.2/dst_agent-1.0-SNAPSHOT.jar server $DST_AGENT/dst_conf/application.yml
Modify Acc Server port in GUI: