<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>MultiChain Developer Q&amp;A - Recent questions tagged auto-scaling</title>
<link>https://www.multichain.com/qa/tag/auto-scaling</link>
<description>Powered by Question2Answer</description>
<item>
<title>Automate the deployment and configuration of additional nodes</title>
<link>https://www.multichain.com/qa/2838/automate-the-deployment-and-configuration-additional-nodes</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I would like to take advantage of the auto-scaling abilities within AWS and was wondering if anyone has the steps required to automatically bash script (or alternative method) the deployment of a new node, add it to the existing multichain and give it the correct permissions?&lt;/p&gt;&lt;p&gt;As I see it the following needs to occur:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;!/bin/bash&lt;/p&gt;&lt;p&gt;sudo yum update -y&lt;/p&gt;&lt;p&gt;cd /tmp&lt;/p&gt;&lt;p&gt;wget &lt;a rel=&quot;nofollow&quot; href=&quot;http://www.multichain.com/download/multichain-1.0-alpha-24.tar.gz&quot;&gt;http://www.multichain.com/download/multichain-1.0-alpha-24.tar.gz&lt;/a&gt;&lt;/p&gt;&lt;p&gt;tar -xvzf multichain-1.0-alpha-24.tar.gz&lt;/p&gt;&lt;p&gt;cd multichain-1.0-alpha-24&lt;/p&gt;&lt;p&gt;sudo mv multichaind multichain-cli multichain-util /usr/local/bin&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;system will output: multichaind chain1@&lt;em&gt;1.2.3.4&lt;/em&gt;:9583&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;How to get the new nodes wallet address: the result is shown from the following command run on the new node:&lt;/p&gt;&lt;p&gt;multichaind chain1@1.2.3.4:9583&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The result looks like this:&lt;/p&gt;&lt;p&gt;MultiChain Core Daemon build 1.0 alpha 23 protocol 10005&lt;/p&gt;&lt;p&gt;Retrieving blockchain parameters from the seed node &lt;em&gt;1.2.3.4&lt;/em&gt;:9583 ...&lt;/p&gt;&lt;p&gt;Blockchain successfully initialized.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Please ask blockchain admin or user having activate permission to let you connect and/or transact:&lt;/p&gt;&lt;p&gt;multichain-cli chain1 grant 1QwjdCRgFvHSLhUK6qKN7v7Q4TU3hiXUYBvkiF connect&lt;/p&gt;&lt;p&gt;multichain-cli chain1 grant 1QwjdCRgFvHSLhUK6qKN7v7Q4TU3hiXUYBvkiF connect,send,receive&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The next step in the workflow is to add permissions on the first server with the following command (unsure if this needs to be on all nodes).&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;multichain-cli chain1 grant 1QwjdCRgFvHSLhUK6qKN7v7Q4TU3hiXUYBvkiF connect&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The second server then needs to connect to the chain - multichaind chain1 -daemon&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Has anyone successfully automated the build and configuration of multichain nodes? Our plan is to use AWS auto-scaling to cope with increased workloads across the nodes.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/2838/automate-the-deployment-and-configuration-additional-nodes</guid>
<pubDate>Tue, 04 Oct 2016 19:21:39 +0000</pubDate>
</item>
</channel>
</rss>