New One Touch Upgrade
note
- Motadata Master Service must be kept ON in Master and RPE, while using the below process.
- Base version of Motadata Server should atleast be 7.5.500 to use the One-touch Upgrade feature.
- All server’s backend credentials must be same, and the same password should be updated in Globlal settings.
Pre-requisite
- pysftp should be installed and updated to the latest version. For installation, using a Internet connection with good bandwidth is preferable. The below steps needs to be followed in both Master as well as RPE.
- If Internet connection is available, go to below path:
cd /usr/local/lib/python3.7/site-packages
- And run the below command to install the pysftp:
pip3.7 install pysftp
- Due to the unavailability of Internet connection download the below package from the deliverables (v7.7.000) and put it in tmp folder.
pysftp-0.2.9-cp37-none-any.whl
- After putting the above package in tmp folder, use below command to install pysftp:
pip3.7 install /tmp/pysftp-0.2.9-cp37-none-any.whl
For HA
- Navigate to /motadata/motadata/config (In Master and Slave Server)
- Open cluster-config.yml (vim cluster-config.yml)
- Enter manually parameter motadata-observer-host: Observer I.P.
- Follow same step for Master and slave.
- Follow Normal upgrade step.
Upgrade Steps
Download Motadata-Upgrade.zip file and FTP the file to motadata server (1st level motadata folder) as below:
Unzip Motadata-Upgrade.zip file.
cd /motadata unzip Motadata-Upgrade.zip
Motadata-Upgrade-Patch.zip
Motadata-Upgrade-Patch-Master.sh
motadata-upgrade-trigger
motadata-upgrade-trigger.config
upgrade-management-conf.ymlCopy files from (1st level of Motadata to 2nd Level of Motadata)
cd /motadata
cp -p Motadata-Upgrade-Patch-Master.sh motadata-upgrade-trigger motadata-upgrade-trigger.config /motadata/motadataAdd 775 permission to Motadata-Upgrade-Patch-Master.sh,motadata-upgrade-trigger,motadata-upgrade-trigger.config
cd /motadata/motadata
chmod 775 Motadata-Upgrade-Patch-Master.sh motadata-upgrade-trigger motadata-upgrade-trigger.configRun upgrade command:
cd /motadata/motadata
./Motadata-Upgrade-Patch-Master.shSystem will Show Current Motadata Version.
Then system will ask for Credentials, one should give master server’s backend Username and password.
For Adding a new RPE
- Make RPE with ISO of some older version.
- Navigate to /motadata/motadata/config in RPE
- Open rpe-conf.yml (vim rpe-conf.yml)
- Enter manually parameter rpe-version-no: Current Motadata RPE version.
- Register RPE with master.
- Put Motadata-Upgrade.zip at first level of motadata in RPE server if not found then.
- Login in Motadata GUI.
- Navigate to Admin > Other Settings > Server Upgrade , You will see new added RPE Entry as Pending > Play.
- Manually delete Motadata-Upgrade.zip from first level of motadata from master server if found then.