<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>11.4. Removing Hosts</title><link rel="stylesheet" type="text/css" href="Common_Content/css/default.css" /><link rel="stylesheet" media="print" href="Common_Content/css/print.css" type="text/css" /><meta name="generator" content="publican 2.8" /><meta name="package" content="Apache_CloudStack-Admin_Guide-4.0.2-en-US-1-" /><script type="text/javascript" src="../../../../../toc.js"></script><script type="text/javascript">
              addID('Apache_CloudStack');
              
	      addID('Apache_CloudStack.4.0.2');
              
              addID('Apache_CloudStack.4.0.2.books');
	      addID('Apache_CloudStack.4.0.2.Admin_Guide');
              </script><link rel="home" href="index.html" title="CloudStack Administrator's Guide" /><link rel="up" href="working-with-hosts.html" title="Chapter 11. Working With Hosts" /><link rel="prev" href="disable-enable-zones-pods-clusters.html" title="11.3. Disabling and Enabling Zones, Pods, and Clusters" /><link rel="next" href="re-install-hosts.html" title="11.5. Re-Installing Hosts" /></head><body class="toc_embeded "><div id="tocdiv" class="toc"><iframe id="tocframe" class="toc" src="../../../../toc.html">This is an iframe, to view it upgrade your browser or enable iframe display.</iframe></div><p id="title"><a class="left" href="http://cloudstack.org"><img src="Common_Content/images/image_left.png" alt="Product Site" /></a><a class="right" href="http://incubator.apache.org/cloudstack/docs"><img src="Common_Content/images/image_right.png" alt="Documentation Site" /></a></p><ul class="docnav"><li class="previous"><a accesskey="p" href="disable-enable-zones-pods-clusters.html"><strong>Prev</strong></a></li><li class="next"><a accesskey="n" href="re-install-hosts.html"><strong>Next</strong></a></li></ul><div xml:lang="en-US" class="section" id="removing-hosts" lang="en-US"><div class="titlepage"><div><div><h2 class="title">11.4. Removing Hosts</h2></div></div></div><div class="para">
		Hosts can be removed from the cloud as needed. The procedure to remove a host depends on the hypervisor type.
	</div><div xml:lang="en-US" class="section" id="removing-xenserver-kvm-hosts" lang="en-US"><div class="titlepage"><div><div><h3 class="title">11.4.1. Removing XenServer and KVM Hosts</h3></div></div></div><div class="para">
		A node cannot be removed from a cluster until it has been placed in maintenance mode. This will ensure that all of the VMs on it have been migrated to other Hosts. To remove a Host from the cloud:
	</div><div class="orderedlist"><ol><li class="listitem"><div class="para">
				Place the node in maintenance mode.
			</div><div class="para">
				See <a class="xref" href="scheduled-maintenance-maintenance-mode-hosts.html">Section 11.2, “Scheduled Maintenance and Maintenance Mode for Hosts”</a>.
			</div></li><li class="listitem"><div class="para">
				For KVM, stop the cloud-agent service.
			</div></li><li class="listitem"><div class="para">
				Use the UI option to remove the node.
			</div><div class="para">
				Then you may power down the Host, re-use its IP address, re-install it, etc
			</div></li></ol></div></div><div xml:lang="en-US" class="section" id="removing-vsphere-hosts" lang="en-US"><div class="titlepage"><div><div><h3 class="title">11.4.2. Removing vSphere Hosts</h3></div></div></div><div class="para">
		To remove this type of host, first place it in maintenance mode, as described in <a class="xref" href="scheduled-maintenance-maintenance-mode-hosts.html">Section 11.2, “Scheduled Maintenance and Maintenance Mode for Hosts”</a>. Then use CloudStack to remove the host. CloudStack will not direct commands to a host that has been removed using CloudStack. However, the host may still exist in the vCenter cluster.
	</div></div></div><ul class="docnav"><li class="previous"><a accesskey="p" href="disable-enable-zones-pods-clusters.html"><strong>Prev</strong>11.3. Disabling and Enabling Zones, Pods, and Clu...</a></li><li class="up"><a accesskey="u" href="#"><strong>Up</strong></a></li><li class="home"><a accesskey="h" href="index.html"><strong>Home</strong></a></li><li class="next"><a accesskey="n" href="re-install-hosts.html"><strong>Next</strong>11.5. Re-Installing Hosts</a></li></ul></body></html>