<?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 can I do mass IP addresses change in Plesk Control Panel?]]></title>
<link>http://kb.parallels.com/en/943</link>
<description><![CDATA[<div id="article">
	




	<div id="kb" class="kb">
		<div class="article-container">
			<h2 class="title">How can I do mass IP addresses change in Plesk Control Panel?</h2>
			<div class="ab-frame"><div class="bl"><div class="br"><div class="tl"><div class="tr"><!-- frame -->
				<div class="articleProperty">
					<div>Article ID: 943&nbsp;</div>
					<div>Last Review: Apr,24 2009</div>
					<tr>
						<td>Author: </td>
						<td>Bezborodova Anastasiya</td>
					</tr>
					<br/>
					<tr>
						<td>Last updated by: </td>
						<td>system</td>
					</tr>
					<strong>APPLIES TO:</strong>
					<div class="articleApplies">
						<ul>
							<li>Plesk 8.x for Linux/Unix</li>
							<li>Plesk 7.5.x Reloaded</li>
							<li>Plesk 9.x for Linux/Unix</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>
					There is the special utility reconfigurator.pl in Plesk that allows you to change IPs in Plesk base and reconfigure domain settings with new IPs.<br /><br />This utility is available in the <strong>/usr/local/psa/bin</strong> directory.<br /><br /><div class="commandline"><code># /usr/local/psa/bin/reconfigurator.pl<br />&nbsp;Plesk reconfigurator - utility to change IP addresses used by <br />&nbsp;Plesk Server Administrator<br /><br />&nbsp;usage:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/local/psa/bin/reconfigurator.pl &lt;map_file&gt;<br /><br />&nbsp;If &lt;map_file&gt; doesn't exists - template will be created, otherwise <br />&nbsp;it will be used to map IP addresses.</code></div><br /><br />The new IP addresses must NOT exist in <strong>Server &gt; IP Addresses</strong> list in Plesk control panel before replacement, they may be added on system level only. If IP addresses do not exist in the system, the utility will add new IPs to the system as well.<br /><br />If you have already added new IP addresses into Plesk, please deassign it from all the domains/clients, then remove them from Plesk<strong>.</strong><br /><br />First, you have to run the command to create a template file. Then, edit the file to set an appropriate IP mapping and run the command once again. The map file will contain the list of your current IP addresses of the following format:<br /><br /><span style='font-family: courier new,courier;font-size: 12px;'>eth0:192.168.50.60 255.255.255.0 -&gt; eth0:192.168.50.60 255.255.255.0<br />eth0:192.168.50.70 255.255.255.0 -&gt; eth0:192.168.50.70 255.255.255.0</span><br /><br />You'll need to edit the file with to-be IP addresses (please, note that to-be ones come on the right of an arrow sign):<br /><br /><span style='font-family: courier new,courier;font-size: 12px;'>eth0:192.168.50.60 255.255.255.0 -&gt; eth0:new_ip_address 255.255.255.0</span><br /><br />For example:<br /><br />1. Run <br /><div class="commandline"><code>/usr/local/psa/bin/reconfigurator.pl ip_map.txt</code></div><br />2. Modify created ip_map.txt file. If you made a misprint or corrupted the file, just remove it and start from 1. again.<br /><br />3. Run again <br /><div class="commandline"><code>/usr/local/psa/bin/reconfigurator.pl ip_map.txt</code></div>
				</div>
				<div class="article-part">
					<h2>Additional information</h2>
					If new IP addresses exist at <strong>Server -&gt; IP Addresses </strong>you should remove them from Plesk database, IP addresses are stored in Plesk table <strong>psa.IP_Addresses</strong>.
				</div>
			</div>
		</div><!-- article-container -->


			<br/><br/>

			<div id="SubscriptionLink24Article" class="subscriptionLink2">
<a href="http://kb.parallels.com/subscriptions/index.html?Type=Article&ArticleID=943&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=943&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' : '943',
													'ArticleLanguage' : 'en',
													'Product' : '',
													'Category' : ''
												}, function(data) {
																	$('#subscription').html(data);
																	$('#subscription').show();
																	SUBbuildsubmenus_product();
																});
		});
	});
});

</script>

</div>





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

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


]]></description>
<author>Bezborodova Anastasiya</author>
<guid isPermaLink="false">593 LastUpdated: 2009-04-24 14:57:37</guid>
<pubDate>2008-10-06 09:10:52</pubDate>
</item>
</channel>
</rss>



