Skip to main content

New One Touch Upgrade

note
  1. Motadata Master Service must be kept ON in Master and RPE, while using the below process.
  2. Base version of Motadata Server should atleast be 7.5.500 to use the One-touch Upgrade feature.
  3. 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.
  1. 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
  1. 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

  1. Navigate to /motadata/motadata/config (In Master and Slave Server)
  2. Open cluster-config.yml (vim cluster-config.yml)
  3. Enter manually parameter motadata-observer-host: Observer I.P.
  4. Follow same step for Master and slave.
  5. Follow Normal upgrade step.

Upgrade Steps

  1. 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.yml
  2. Copy 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/motadata
  3. Add 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.config
  4. Run upgrade command:

    cd /motadata/motadata

    ./Motadata-Upgrade-Patch-Master.sh
  5. System will Show Current Motadata Version.

  6. Then system will ask for Credentials, one should give master server’s backend Username and password.

For Adding a new RPE

  1. Make RPE with ISO of some older version.
  2. Navigate to /motadata/motadata/config in RPE
  3. Open rpe-conf.yml (vim rpe-conf.yml)
  4. Enter manually parameter rpe-version-no: Current Motadata RPE version.
  5. Register RPE with master.
  6. Put Motadata-Upgrade.zip at first level of motadata in RPE server if not found then.
  7. Login in Motadata GUI.
  8. Navigate to Admin > Other Settings > Server Upgrade , You will see new added RPE Entry as Pending > Play.
  9. Manually delete Motadata-Upgrade.zip from first level of motadata from master server if found then.