SRM 6.0.0.0 | Automated Script to Copy MYSQL libraries to System Directories and Copy apg-services script file to systemd
Summary : This script will copy the required MySQL Libraries and apg-services script file to System directories for SRM/SMR Binary Linux ( RHEL and SUSE ) deployments . The script should be executed at SRM/SMR Pre-upgrade level.Steps to Execute the Script on 4VM or Scaled Linux Application
Steps for 1VM SRM And SMR Linux Application
Copy the script to the server
- SMR_SRM_AIO_Linux_Binary_MySQL_Systemd_Script.zip to <APG-INSTALLED-PATH>/opt/
Navigate to the directory
- cd <APG-INSTALLED-PATH>/opt
Unzip the script package
- unzip SMR_SRM_AIO_Linux_Binary_MySQL_Systemd_Script.zip
Move into the extracted folder
- cd SMR_SRM_AIO_Linux_Binary_MySQL_Systemd_Script
Contents of this folder include:
- SMR_SRM_AIO_Linux_Binary_MySQL_Systemd_Script.sh, libraries, README.txt
Provide execute permission to the script:
- chmod +x SMR_SRM_AIO_Linux_Binary_MySQL_Systemd_Script.sh
Execute the script:
- bash SMR_SRM_AIO_Linux_Binary_MySQL_Systemd_Script.sh
Enter the Installed Directory
- Enter installation directory [default: /opt/APG]:
This script performs the following actions:
- Post SMR Upgrade Steps - After completing the SMR upgrade, restore the environment variables
export LD_LIBRARY_PATH="$OLD_LD_LIBRARY_PATH"
unset OLD_LD_LIBRARY_PATH
- Automated scripts handles the scaled additional backend nodes (which are scaled at pre_upgrade level)
- Post Upgrade to SRM 6.0.0.0 : Scaling any additional backend doesn't required execution of script.