Remove a Previous CSO Deployment
You can remove a previous deployment and install a new version of CSO.
If you do not have previous deployment, proceed with Provision VMs on Contrail Service Orchestration Servers.
To remove a previous CSO deployment:
- Remove the VMs on the physical server.
- Log in to the CSO server as a root user.
- View the list of VMs.
root@host:~/# virsh list --all
Output:
Id Name State 2 <vm-name> running
- Remove each VM and its contents.
root@host:~/# virsh destroy <vm-name>
root@host:~/# virsh undefine <vm-name>
- Delete the Ubuntu source directories and the Ubuntu VM.
root@host:~/# rm -rf /root/disks
root@host:~/# rm -rf /root/disks_can
root@host:~/# cd /root/ubuntu_vm
root@host:~/# rm -rf <vm-name>
- Delete the old Salt minion keys.
root@host:~/# salt-key -D
- Clear the Ubuntu cache.
root@host:~/# clear ubuntu cache $ sync && echo 1 | sudo tee /proc/sys/vm/drop_caches