Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Removing a Previous Deployment

    If you are upgrading from a previous version of Contrail Service Orchestration (SCO), you can remove the existing virtual machines (VMs) and perform a completely new installation. This approach makes sense if the architecture of the VMs on the Contrail Service Orchestration node or server has changed significantly between releases and if you use the KVM hypervisor, in which case you can use the provisioning tool to set up the VMs on the node.

    Modifying the VMs manually rather than removing a previous deployment is more efficient when you use a hypervisor other than KVM, because in this case you cannot use the provisioning tool, and must make manual modifications anyway.

    To remove a previous installation:

    1. Remove VMs on the physical server.
      1. Log in to the CSO node or server as root.
      2. View the list of VMs.

        For example:

        root@host:~/# virsh list - -all

        This command lists the existing VMs.

      3. Remove each VM and its contents.

        For example:

        root@host:~/# virsh destroy csp-ui-vm
        root@host:~/# virsh undefine csp-ui-vm
      4. Delete the Ubuntu source directories and VM.

        For example:

        root@host:~/# rm -rf /root/disks
        root@host:~/# rm -rf /root/disks_can
        root@host:~/# rm -rf /root/ubuntu_vm
    2. On the csp-installer-vm VM, delete the Salt server keys.

      For example:

      root@host:~/# salt-key -D

    Modified: 2017-10-27