<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0"
 xmlns:blogChannel="http://backend.userland.com/blogChannelModule"
>

<channel>
<title>Parallels knowledgebase (KB)</title>
<link>http://kb.parallels.com/</link>
<description>Parallels knowledgebase (KB)</description>
<language>en</language>
<copyright>Copyright 2008 Parallels</copyright>
<pubDate>Wed, 10 Sep 2008 00:00:00 +0600</pubDate>
<lastBuildDate>Wed, 10 Sep 2008 00:00:00 +0600</lastBuildDate>
<webMaster>rt-team@parallels.com</webMaster>

<item>
<title><![CDATA[[How To] How do I reinstall w2k3 OS template?]]></title>
<link>http://kb.parallels.com/en/1214</link>
<description><![CDATA[<div id="article">
	




	<div id="kb" class="kb">
		<div class="article-container">
			<h2 class="title">[How To] How do I reinstall w2k3 OS template?</h2>
			<div class="ab-frame"><div class="bl"><div class="br"><div class="tl"><div class="tr"><!-- frame -->
				<div class="articleProperty">
					<div>Article ID: 1214&nbsp;</div>
					<div>Last Review: Jun,1 2009</div>
					<tr>
						<td>Author: </td>
						<td>Kichigin Aleksey</td>
					</tr>
					<br/>
					<tr>
						<td>Last updated by: </td>
						<td>Kichigin Aleksey</td>
					</tr>
					<strong>APPLIES TO:</strong>
					<div class="articleApplies">
						<ul>
							<li>Parallels Virtuozzo Containers for Windows</li>
							<li>Parallels Business Automation - Enterprise</li>
						</ul>
					</div>
				</div><!-- articleProperty -->
			</div></div></div></div></div><!-- frame -->

			<div class="article-internal-flag"></div>

			<div id="article-content">
				<div class="article-part">
					<h2>Resolution</h2>
					To reinstall OS template please do the following:<br /><br />1. Stop ALL VEs including Service One. You can use th following script for this purpose:<br /><br /><div class="commandline"><code> @echo off<br />for /F &quot;skip=2 usebackq tokens=*&quot; %%i in (`cmd /c &quot;vzlist -ao veid&quot;`) do (cmd /c &quot;vzctl stop&nbsp;&quot;%%i &amp;&amp; echo VE %%i&nbsp;has been stopped.) </code></div><br /><br />2. Do the following command to uninstall OS template:<br /><br /><div class="commandline"><code>vzpkgdeploy -u w2k3 </code></div><br /><br />Ensure that <em>\vz\Templates\w2k3</em> folder is removed. If it's not removed this means that some of VE were note stopped when template was removing. If so please reboot the server and apply the article again from the very beginning.<br /><br />3. Do the following command to install OS template again:<br /><br /><div class="commandline"><code>vzpkgdeploy -i w2k3 </code></div><br /><br /><strong>Note: For Parallels Virtuozzo Containers 4.0 it is necessary to specify the exact template name (the name of .efd file in \vz\Templates\__cache folder) e.g.: <br /><br /></strong><div class="commandline"><code>vzpkgdeploy -i w2k3sp1_std_20070925_en_x86_64</code></div><br /><br />independently of this complex name it will be deployed to \<em>vz\Templates\w2k3</em> folder.<br /><br />4. Start VEs.<br /><br /><div class="commandline"><code> @echo off<br />for /F &quot;skip=2 usebackq tokens=*&quot; %%i in (`cmd /c &quot;vzlist -ao veid&quot;`) do (cmd /c &quot;vzctl start&nbsp;&quot;%%i &amp;&amp; echo VE %%i&nbsp;has been started.) </code></div>
				</div>
				<div class="keywords"><strong>Keywords:</strong> OS template w2k3 reinstall</div>
			</div>
		</div><!-- article-container -->


			<br/><br/>

			<div id="SubscriptionLink24Article" class="subscriptionLink2">
<a href="http://kb.parallels.com/subscriptions/index.html?Type=Article&ArticleID=1214&ArticleLanguage=en&Product=&Category="><img src="http://kb.parallels.com/images/mail.png" width="15" height="15" alt="Subscription for changes to this article"></a>
<a href="http://kb.parallels.com/subscriptions/index.html?Type=Article&ArticleID=1214&ArticleLanguage=en&Product=&Category=">Subscription for changes to this article</a>

<script type="text/javascript">

$(document).ready(function() {
	$('#SubscriptionLink24Article a').each(function(){
		$(this).click(function(event) {
			event.preventDefault();
			MainPageContentHide();
			$('#subscription').html('');
			$.get('/Stuff/Subscription', {
													'Type' : 'Article',
													'ArticleID' : '1214',
													'ArticleLanguage' : 'en',
													'Product' : '',
													'Category' : ''
												}, function(data) {
																	$('#subscription').html(data);
																	$('#subscription').show();
																	SUBbuildsubmenus_product();
																});
		});
	});
});

</script>

</div>





	</div><!-- kb -->

</div><!-- article -->


]]></description>
<author>Kichigin Aleksey</author>
<guid isPermaLink="false">857 LastUpdated: 2009-06-01 05:53:23</guid>
<pubDate>2008-10-06 09:11:10</pubDate>
</item>
</channel>
</rss>



