<?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 do I reconfigure PBA-E after change of IP addresses on the PBA-E CP host?]]></title>
<link>http://kb.parallels.com/en/1871</link>
<description><![CDATA[<div id="article">
	




	<div id="kb" class="kb">
		<div class="article-container">
			<h2 class="title">How do I reconfigure PBA-E after change of IP addresses on the PBA-E CP host?</h2>
			<div class="ab-frame"><div class="bl"><div class="br"><div class="tl"><div class="tr"><!-- frame -->
				<div class="articleProperty">
					<div>Article ID: 1871&nbsp;</div>
					<div>Last Review: May,18 2009</div>
					<tr>
						<td>Author: </td>
						<td>Nedorezov Alexey</td>
					</tr>
					<br/>
					<tr>
						<td>Last updated by: </td>
						<td>Vitaly Filatov</td>
					</tr>
					<strong>APPLIES TO:</strong>
					<div class="articleApplies">
						<ul>
							<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>Symptoms</h2>
					External and internal IP addresses were changed on PBA-E CP host from &lt;old_ext_ip&gt;, &lt;old_int_ip&gt; to &lt;new_ext_ip&gt;, &lt;new_int_ip&gt;.<br /> PBA-E failed to start and is unable connect to database.<br />
				</div>
				<div class="article-part">
					<h2>Cause</h2>
					PBA have IP addresses recorded in configuration files and it can not function properly if these files were not updated after IP&nbsp;addresses were changed.<br />
				</div>
				<div class="article-part">
					<h2>Resolution</h2>
					1. On PBA-E CP host execute commands:<br /><br /><div class="commandline"><code># cd ~bm/conf<br /># for fn in &quot;BM.conf amt/_amt_service_.res amt/ip_access.db www/stunnel-www.conf&quot; ; do <br />&nbsp;&nbsp;&nbsp; sed -i &quot;s/&lt;old_int_ip&gt;/&lt;new_int_ip&gt;/g&quot; $fn ; <br />&nbsp;&nbsp;&nbsp; sed -i &quot;s/&lt;old_ext_ip&gt;/&lt;new_ext_ip&gt;/g&quot; $fn ; <br />done<br /># sed -i &quot;/`hostname`/s/&lt;old_ext_ip&gt;/&lt;new_ext_ip&gt;/&quot; /etc/hosts</code></div><br /><br />2. On PBA-E database host run the following query in 'bm4' database to grant access to database from new IP&nbsp;address:<br /><br /><div class="commandline"><code># mysql -uroot mysql -e &quot;GRANT ALL on bm4.* to 'bm4'@'&lt;new_int_ip&gt;' identified by '&lt;password for bm4 user&gt;';&quot; </code></div>
				</div>
			</div>
		</div><!-- article-container -->


			<br/><br/>

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

</script>

</div>





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

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


]]></description>
<author>Nedorezov Alexey</author>
<guid isPermaLink="false">1509 LastUpdated: 2009-05-18 03:31:45</guid>
<pubDate>2007-05-23 10:36:08</pubDate>
</item>
</channel>
</rss>



