Upgrade to 5.3.1

Version Changes

5.3.1 version changes

Console Upgrade

Execute sql Upgrade Script

  1. If the console is started by allinone, perform the following operations
 docker exec -it kato-allinone bash
 curl https://storage.googleapis.com/kato-files/upgrade.sh | bash
  1. If the console is installed through the application market, after entering the Gridworkz-console component, execute the following command
 curl https://storage.googleapis.com/kato-files/upgrade.sh | bash

Upgrade the Console

  1. If the console is started by allinone, perform the following operations
 docker stop kato-allinone && docker rm kato-allinone
 #The command parameters need to be consistent with the kato-allinone container started earlier
 docker run -d -p 7070:7070 -v ~/.ssh:/root/.ssh -v ~/katodata:/app/data \
      --name=kato-allinone --restart=always \
      gridworkz/kato:v5.3.1-release-allinone
  1. If the console is installed through the application market, enter the console application and choose to upgrade to version 5.3.1

Data Center Upgrade

Data Center Upgrade

  1. Update grctl command
 docker run -it --rm -v /:/rootfs  hub.docker.com/gridworkz/r/kato:rbd-grctl:v5.3.1-release copy
      
 mv /usr/local/bin/kato-grctl /usr/local/bin/grctl && grctl install
  1. Execute the upgrade command
 grctl cluster upgrade --new-version=v5.3.1-release

Plug-in Upgrade

  1. Get the image and push it to the private repository
 docker pull docker.hub.com/gridworkz/r/rbd-mesh-data-panel:v5.3.1-release
 docker tag docker.hub.com/gridworkz/r/rbd-mesh-data-panel:v5.3.1-release gridworkz.me/rbd-mesh-data-panel:latest
 docker push gridworkz.me/rbd-mesh-data-panel:latest
  1. Build a network governance plug-in