Skip to main content

Decommission App Gateway

If you need to remove or decommissione one or some of your App Gateway node/s from your environment, there are several steps that need to do.

First of all you need to ensure you have access either direct or remotely (without leverage Safous ZTA service) to every single nodes that part of you Safous ZTA environment cluster. Then you need to also have access to root account or as a sudoers.

Once you ensure have those condition, let's proceed with the decommissioning  !!

Decommission Procedure​

  1. Login to the Admin Portal => Accessing Admin Portal.

  2. Go to Analytics / ZTA / App Gateway

  3. Disable voter in App Gateway, which you want to decommission if it enables voter.

  4. Click [ + ], and click Delete button

  5. Login to the App Gateway node/s via SSH.

  6. Next step is to take down the node/s you want to decommission by running these command

    sudo docker-compose -f /etc/cyolo/config/docker-compose.yml down
  7. Stop and remove other component containers.

    sudo docker stop guacd_1 rdp-proxy_1
    sudo docker rm -f guacd_1 rdp-proxy_1
  8. Ensure that no App Gateway container is running anymore on the decommissioned node/s

    sudo docker ps -a
  9. On the decommissioned/removed, please run these commands to clean up the data

    sudo rm -rf /etc/cyolo
    sudo rm -rf /etc/safous
    sudo rm -rf /blobs
  10. When everything finished, try access your user-portal domain and ensure it works normally

  11. Lastly please access to admin portal (https://portal.safous.com) then go to Setting > ZTA > Configurations > Sites

  12. Choose the Site which doesn't have any App Gateway, click (+) sign and click delete

That's all, you successfully decommission/remove the App Gateway node/s !!