<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>夜行人 &#187; XenServer</title>
	<atom:link href="http://www.187299.com/archives/tag/xenserver/feed" rel="self" type="application/rss+xml" />
	<link>http://www.187299.com</link>
	<description>寻觅生命中的那一片浅草......</description>
	<lastBuildDate>Wed, 16 Nov 2011 11:25:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Boot_centos5.3_into_single_user_mode_on_XenServer</title>
		<link>http://www.187299.com/archives/1511</link>
		<comments>http://www.187299.com/archives/1511#comments</comments>
		<pubDate>Thu, 18 Mar 2010 11:59:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[XenServer]]></category>
		<category><![CDATA[虚拟化]]></category>

		<guid isPermaLink="false">http://www.187299.com/?p=1511</guid>
		<description><![CDATA[Today,I clone a VM in the XenCenter.I want to log into the new VM to configure ip and so on,But I had forgotten the original VM's root password.So I can not log into the new one. There are at least two kinds of way to reset the root password.One way is m... ]]></description>
			<content:encoded><![CDATA[<p>Today,I clone a VM in the XenCenter.I want to log into the new VM to configure ip and so on,But I had forgotten the original VM's root password.So I can not log into the new one.</p>
<p>There are at least two kinds of way to reset the root password.One way is making the new VM boot from cdrom. I think it is too complicated to do that.The other way is editing grub's boot option and making the VM boot into single user mode.It's easy to do that.Follow this step:choose the new VM--&gt;Shut down the new VM--&gt;click the right mouse button--&gt;Properties--&gt;Startup Options--&gt;OS Boot Parameters--&gt;add single after utf8,the conten after edited is graphical utf8 single.Start the new VM again,it boot into single user mode,now we can change root password.</p>
<p>At last,shut down the VM,change OS Boot Parameters's content to graphical utf8,start the new VM.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.187299.com/archives/1511/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>设置XenServer中的Linux vm从光驱启动</title>
		<link>http://www.187299.com/archives/1293</link>
		<comments>http://www.187299.com/archives/1293#comments</comments>
		<pubDate>Tue, 27 Oct 2009 08:55:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[XenServer]]></category>

		<guid isPermaLink="false">http://www.187299.com/?p=1293</guid>
		<description><![CDATA[xenserver中的windows vm安装后可以通过xencenter设置从光驱启动，而linux vm则没有这样的选项，可以通过以下命令行解决： xe vm-param-set uuid=546f896a-ebe6-8071-2c31-b9214dc1d1b5 HVM-boot-policy=BIOS\ order xe vm-param-se... ]]></description>
			<content:encoded><![CDATA[<p>xenserver中的windows vm安装后可以通过xencenter设置从光驱启动，而linux vm则没有这样的选项，可以通过以下命令行解决：<br />
xe vm-param-set uuid=546f896a-ebe6-8071-2c31-b9214dc1d1b5 HVM-boot-policy=BIOS\ order<br />
xe vm-param-set uuid=546f896a-ebe6-8071-2c31-b9214dc1d1b5 HVM-boot-params:order="dc"<br />
uuid为vm的uuid，order中的d表明光驱，c表明启动硬盘。这样设置完后通过xencenter中的虚机属性也可以设置启动顺序了。</p>
<p>http://home.vmsky.com/space-32409-do-blog-id-3408.html</p>
]]></content:encoded>
			<wfw:commentRss>http://www.187299.com/archives/1293/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>xenserver license</title>
		<link>http://www.187299.com/archives/1275</link>
		<comments>http://www.187299.com/archives/1275#comments</comments>
		<pubDate>Wed, 14 Oct 2009 03:06:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[XenServer]]></category>
		<category><![CDATA[虚拟化]]></category>

		<guid isPermaLink="false">http://www.187299.com/?p=1275</guid>
		<description><![CDATA[1.使用XenCenter工具,连接至Server,Tool--&#62;License Manager--&#62;选择要更新License的服务器,点击Activate....按钮.如果,此服务器可以直接连接到外网,将可以直接获取LIC文件安装,如果不能连接至外网,将会出... ]]></description>
			<content:encoded><![CDATA[<p>1.使用XenCenter工具,连接至<span>Server</span>,Tool--&gt;<span>License</span> Manager--&gt;选择要更新License的<span>服务器</span>,点击Activate....按钮.如果,此服务器可以直接连接到外网,将可以直接获取LIC文件安装,如果不能连接至外网,将会出现更新失败提示,并提示保存申请License文件.选择将申请文件保存.<br />
2.访问:<a href="https://activate.vmd.citrix.com/" target="_blank">https://activate.vmd.citrix.com</a>,  upload申请文件.<br />
3.填写相关信息,主要是MAIL地址,用来接收License  文件.提交.<br />
4.打开邮箱下载License文件.<br />
5.使用Winscp工具将License文件<span>复制</span>到XenServer的/etc/<span>xen</span>source/下,并重新命名为license.<br />
6.重新启动XenServer.<br />
7.License更新完成,可以正常使用.</p>
<p>关于<span>Citrix</span>公司的XenServer免费使用,个人理解,虽然为免费版本,但为了方便<span>管理</span>, 以及获取用户的相关信息,Citrix采用了Free License管理的模式,在到期后,用户只需要再次重复申请新的License文件并进行License安装即可.不会影响XenServer的正常使 用.但是,Citrix公司并未发表声明永久性提供免费使用,至少我没有找到.特别在正式的生产<span>环境</span>,还是建议大家购买正式的服务,以提供更高的性能以及安全的合法的保障.</p>
<p>转载自：<a href="http://hi.baidu.com/ts%B4%F3%D1%BC%C0%E6/blog/item/c58976fb885250809f514653%2Ehtml" target="_blank">http://hi.baidu.com/ts%B4%F3%D1%BC%C0%E6/blog/item/c58976fb885250809f514653%2Ehtml</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.187299.com/archives/1275/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XenServer_export_import命令</title>
		<link>http://www.187299.com/archives/1261</link>
		<comments>http://www.187299.com/archives/1261#comments</comments>
		<pubDate>Sun, 11 Oct 2009 07:55:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[XenServer]]></category>
		<category><![CDATA[虚拟化]]></category>

		<guid isPermaLink="false">http://www.187299.com/?p=1261</guid>
		<description><![CDATA[XenServer的vm export与import，可以通过XenCenter来做，手头上又没有Windows的服务器，如果保存到本地，export和import都很麻烦 在网上查了些资料，可以通过命令来将vm export到服务器上，但XenServer主机上... ]]></description>
			<content:encoded><![CDATA[<p>XenServer的vm export与import，可以通过XenCenter来做，手头上又没有Windows的服务器，如果保存到本地，export和import都很麻烦<br />
在网上查了些资料，可以通过命令来将vm export到服务器上，但XenServer主机上，可用空间有限，又无法访问XenServer用于存储虚拟机的空间<br />
于是决定使用nfs，将另外一台Linux服务器A的空间mount过来，用于保存export出来的vm文件</p>
<p>A上的操作192.168.1.2<br />
yum -y install nfs*<br />
yum -y install portmap<br />
mkdir /data/nfs<br />
chmod 777 /data/nfs<br />
允许192.168.1.0/24网段的计算机挂载/home/nfs<br />
echo '/data/nfs 192.168.1.*(rw,root_squash)' &gt;&gt; /etc/exports<br />
service portmap start<br />
service nfs start</p>
<p>XenServer主机1上操作<br />
mkdir /data/export<br />
mount -t nfs 192.168.1.2:/data/nfs /data/export</p>
<p>开始导出<br />
先把要导出的vm关掉，然后查看要导出vm的UUID<br />
xe vm-list params=all</p>
<p>xe vm-export filename=/data/export/017-otrs.xva vm=09faa5ff-ceea-1234-e02e-97cae69878d5</p>
<p>XenServer主机2上操作<br />
mkdir /data/export<br />
mount -t nfs 192.168.1.2:/data/nfs /data/export</p>
<p>xe vm-import filename=/data/nfs/017-otrs.xva</p>
<p>等一下就可以了</p>
<p>我vm分了30G的空间，导出来的文件大概7G，应该也就是vm实际存储的文件大小吧</p>
<p>参考文章：<a href="http://tiri.li/schneller-xen-vm-import-auch-via-befehlszeile" target="_blank">http://tiri.li/schneller-xen-vm-import-auch-via-befehlszeile</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.187299.com/archives/1261/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

