<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=XenServer</id>
	<title>XenServer - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=XenServer"/>
	<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=XenServer&amp;action=history"/>
	<updated>2026-05-07T06:31:47Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://aznot.com/index.php?title=XenServer&amp;diff=427&amp;oldid=prev</id>
		<title>Kenneth: /* Auto-Start VM */</title>
		<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=XenServer&amp;diff=427&amp;oldid=prev"/>
		<updated>2014-07-11T20:20:24Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Auto-Start VM&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Citrix XenServer ==&lt;br /&gt;
&lt;br /&gt;
== Sub Articles ==&lt;br /&gt;
&lt;br /&gt;
{{Special:PrefixIndex/{{PAGENAME}}/}}&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
== Configure dom0 Memory ==&lt;br /&gt;
&lt;br /&gt;
Get current:&lt;br /&gt;
 free&lt;br /&gt;
 /opt/xensource/libexec/xen-cmdline --get-xen dom0_mem&lt;br /&gt;
&lt;br /&gt;
 # example:&lt;br /&gt;
 # dom0_mem=752M,max:752M&lt;br /&gt;
&lt;br /&gt;
Set new:&lt;br /&gt;
 # /opt/xensource/libexec/xen-cmdline --set-xen dom0_mem=&amp;lt;nn&amp;gt;M,max:&amp;lt;nn&amp;gt;M&lt;br /&gt;
 /opt/xensource/libexec/xen-cmdline --set-xen dom0_mem=2048M,max:2048M &lt;br /&gt;
 reboot&lt;br /&gt;
&lt;br /&gt;
Note: &amp;lt;nn&amp;gt; represents the memory in megabytes, to be allocated to dom0. This value should be between 1024 and 4096, depending on the number of VMs that are expected to run and the total memory of the host. A higher value results in less memory being available to the VMs.&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
* How to Configure dom0 Memory in XenServer 6.1 and Later - http://support.citrix.com/article/CTX134951&lt;br /&gt;
&lt;br /&gt;
== Local Storage Repository ==&lt;br /&gt;
&lt;br /&gt;
Find disk id:&lt;br /&gt;
 cat /proc/partitions&lt;br /&gt;
 ll /dev/disk/by-id&lt;br /&gt;
&lt;br /&gt;
Create SR:&lt;br /&gt;
 xe sr-create content-type=user device-config:device=/dev/disk/by-id/&amp;lt;scsi-xxxxxxxxxxxxxxxxxxxxxxxxx&amp;gt; host-uuid=&amp;lt;host-uuid&amp;gt; name-label=”Local Storage 2” shared=false type=lvm&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
* How to Create a Local Storage Repository - http://support.citrix.com/article/CTX121313&lt;br /&gt;
&lt;br /&gt;
== Auto-Start VM ==&lt;br /&gt;
&lt;br /&gt;
1. Configure XenServer to allow Auto-Start&lt;br /&gt;
&lt;br /&gt;
Get XenServer UUID:&lt;br /&gt;
 xe pool-list&lt;br /&gt;
&lt;br /&gt;
Allow autostart&lt;br /&gt;
 xe pool-param-set uuid=[UUID] other-config:auto_poweron=true&lt;br /&gt;
&lt;br /&gt;
2. Set VM to Auto-Start:&lt;br /&gt;
&lt;br /&gt;
Get VM UUID:&lt;br /&gt;
 xe vm-list&lt;br /&gt;
&lt;br /&gt;
Set VM to auto start:&lt;br /&gt;
 xe vm-param-set uuid=[UUID] other-config:auto_poweron=true&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
* How to Setup XenServer 6.x to Auto-Start Virtual Machines - http://support.citrix.com/article/CTX133910&lt;br /&gt;
&lt;br /&gt;
== Remove Server from Pool ==&lt;br /&gt;
&lt;br /&gt;
 xe pool-list&lt;br /&gt;
 xe pool-param-set name-label=&amp;quot;&amp;quot; uuid=[POOL_UUID]&lt;br /&gt;
&lt;br /&gt;
== keywords ==&lt;br /&gt;
&lt;br /&gt;
[[Category:XenServer]]&lt;/div&gt;</summary>
		<author><name>Kenneth</name></author>
	</entry>
</feed>