Removing a compute node from a deployed topology

After you deploy your topology, you can remove a compute node system from your deployment. This does not apply to the Minimal topology.

About this task

The knife os manage remove node command attempts to stop and disable any running OpenStack services on the compute node. It then removes the compute node from the cluster on the controller node, and also removes the chef 'node' and 'client' objects for the node from the Chef server.

Use the following procedure to remove a Linux Kernel-based Virtual Machine (KVM), QEMU or PowerKVM compute node from your deployment.

Procedure

  1. Log in to the deployment system as the root user. This is the system where IBM® Cloud Manager with OpenStack was installed.
  2. Remove the compute node.
    Change the following command parameters.
    • node-fqdn: Set to the fully qualified domain name of the node system.
    • node-ssh-password: SSH root user password for the node. To use an SSH identity file instead of a password, use the -i node-ssh-identity option, where node-ssh-identity is the SSH identity file for the node.
    • topology-file: Set to the topology file used for deployment. Specifying the topology-file is optional. If specified, the command removes the compute node information from the topology-file.
    • topology-secret-file: Set to the secret file used for deployment. If the topology-file is specified, then specifying the topology-secret-file is optional.
    knife os manage remove node node-fqdn -P node-ssh-password --topology-file topology-file --secret-file topology-secret-file

    The compute node is now removed from the deployed topology environment. See Cleaning up a node for redeployment to clean up the removed compute node.