Uninstalling software
This section describes how to uninstall a Fabric Services System deployment. Topics include:
- Uninstalling a Fabric Services System deployment: uninstalls a previous Fabric Services System installation
- Deleting the deployer VM: deletes the deployer VM from the node on which it is hosted
Note: If you want to bring a new Fabric Services System cluster, Nokia
recommends that you delete and recreate the cluster.
To quickly uninstall the Fabric Services system cluster and the deployer VM, delete the VMs where the Fabric Services System cluster and deployer are running or use the uninstall scripts as described in the following procedures.
Uninstalling a Fabric Services System deployment
-
Uninstall Fabric Services System services, Kubernetes, Digital Sandbox, and
storage volumes.
From the deployer VM, run the following command:
[root@fss-deployer ~]$ /root/bin/fss-uninstall.sh all
-
Reboot the storage nodes.
As part of the Fabric Services System uninstall procedure, the file system cleanup requires the storage nodes to be rebooted so the partition or disk can be used for Fabric Services System installation or other purposes.
Deleting the deployer VM
To delete the deployer VM:
- Log in to the deployer host.
-
Create an
fssvm_delete.sh
file, then copy the following contents into the file:#!/bin/bash delete_fssvm() { D=/var/lib/libvirt/images VM=$1 sudo virsh shutdown $VM sudo virsh undefine $VM sudo virsh pool-destroy $VM sudo rm -ri $D/$VM }
-
Modify the permissions of the shell script file.
chmod 755 fssvm_delete.sh
-
Execute the shell script.
./fssvm_delete.sh <name of the VM>
The deployer VM is deleted from the deployer node.