Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

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

    Removing a Previous Deployment

    If you are upgrading from a previous version of Cloud CPE Centralized Deployment Model, 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 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:

    • Are installing a minor upgrade, with a similar architecture to the previous version.
    • 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. Log in to the Contrail Service Orchestration node as root.
    2. View the list of VMs.

      For example:

      root@host:~/# virsh # list - -all
    3. Remove each VM and its contents.

      For example:

      root@host:~/# destroy csp-ui-vm
      root@host:~/# undefine csp-ui-vm
    4. Remove the /root/ubuntu_vm directory from the node.

      For example:

      root@host:~/# rm -rf /root/ubuntu_vm
    5. Delete the Salt server keys.

      For example:

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

    Modified: 2016-06-02