UiPath Documentation
automation-suite
2024.10
false
Automation Suite on Linux installation guide

Step 1: Removing old Identity cache keys

Remove old Identity cache keys from Redis after migrating to Automation Suite.

To remove the old Identity cache keys, take the following steps:

  1. To retrieve the Redis password, run the following command:

    kubectl --kubeconfig <directory of SF cluster yaml file> get secrets/redb-redis-cluster-db -n uipath --template '{{ .data.password }}' | echo $(base64 -d)
    kubectl --kubeconfig <directory of SF cluster yaml file> get secrets/redb-redis-cluster-db -n uipath --template '{{ .data.password }}' | echo $(base64 -d)
    
  2. To retrieve the Redis port, run the following command:

    kubectl --kubeconfig <directory of SF cluster yaml file> get secrets/redb-redis-cluster-db -n uipath --template '{{ .data.port }}' | echo $(base64 -d)
    kubectl --kubeconfig <directory of SF cluster yaml file> get secrets/redb-redis-cluster-db -n uipath --template '{{ .data.port }}' | echo $(base64 -d)
    
  3. To access the Redis node, run the following commnad:

    kubectl  --kubeconfig <directory of SF cluster yaml file>  exec -i -t -n redis-system redis-cluster-0 -c redis-enterprise-node "--" sh -c "clear; (bash || ash || sh)"
    kubectl  --kubeconfig <directory of SF cluster yaml file>  exec -i -t -n redis-system redis-cluster-0 -c redis-enterprise-node "--" sh -c "clear; (bash || ash || sh)"
    
  4. To delete the old keys, use the retrieved password and port and run the following command:

    redis-cli -p <Port number> -a <Password> --scan --pattern is:* | xargs redis-cli -p <Port number> -a <Password> del
    redis-cli -p <Port number> -a <Password> --scan --pattern is:* | xargs redis-cli -p <Port number> -a <Password> del
    
  5. To end the session, run the exit command.

Was this page helpful?

Connect

Need help? Support(opens in new window)

Want to learn? UiPath Academy(opens in new window)

Have questions? UiPath Forum(opens in new window)

Stay updated