<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>MultiChain Developer Q&amp;A - Recent questions tagged virtual-nodes</title>
<link>https://www.multichain.com/qa/tag/virtual-nodes</link>
<description>Powered by Question2Answer</description>
<item>
<title>Vagrant (ssh) + Multichain Explorer</title>
<link>https://www.multichain.com/qa/4556/vagrant-ssh-multichain-explorer</link>
<description>I'm trying to duplicate my local working setup (Host + VirtualBox VMs + multichain + explorer) on a Vagrant setup just to showcase my work using the Multichain Explorer.&lt;br /&gt;
&lt;br /&gt;
I Vagrant ssh into my VM Nodes and setup a testchain and followed every other instructions on the Explorer, just like I did with my local setup. I used bridged networks in the network setup in my vagrant setup, this is so it mimics my local VM setup.&lt;br /&gt;
&lt;br /&gt;
This is a clean run and I get the below results. Please help, I don't know what I'm doing wrong and I've tried so many other methods.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
$ sudo python -m Mce.abe --config testchain1.conf --commit -bytes 100000 --no-serve&lt;br /&gt;
&lt;br /&gt;
ddl_implicit_commit=true&lt;br /&gt;
create_table_epilogue=''&lt;br /&gt;
max_varchar=4294967295&lt;br /&gt;
clob_type=CLOB&lt;br /&gt;
binary_type=buffer&lt;br /&gt;
int_type=str&lt;br /&gt;
sequence_type=update&lt;br /&gt;
limit_style=native&lt;br /&gt;
[(u'foobarbaz', u'bazfoobar')]&lt;br /&gt;
concat_style=ansi&lt;br /&gt;
Assigned chain_id 1 to MultiChain testchain1&lt;br /&gt;
Failed to catch up {'blkfile_offset': 0, 'blkfile_number': 1, 'chain_id': 1, 'loader': u'default', 'conf': None, 'dirname': u'/home/vagrant/.multichain/testchain1', 'id': 1}&lt;br /&gt;
Traceback (most recent call last):&lt;br /&gt;
&amp;nbsp;&amp;nbsp;File &amp;quot;Mce/DataStore.py&amp;quot;, line 2892, in catch_up&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if not store.catch_up_rpc(dircfg):&lt;br /&gt;
&amp;nbsp;&amp;nbsp;File &amp;quot;Mce/DataStore.py&amp;quot;, line 3117, in catch_up_rpc&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;tx = get_tx(rpc_tx_hash)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;File &amp;quot;Mce/DataStore.py&amp;quot;, line 2974, in get_tx&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;rpc_tx_hex = rpc(&amp;quot;getrawtransaction&amp;quot;, rpc_tx_hash)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;File &amp;quot;Mce/DataStore.py&amp;quot;, line 2949, in rpc&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ret = util.jsonrpc(chain_name, url, func, *params)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;File &amp;quot;Mce/util.py&amp;quot;, line 246, in jsonrpc&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;raise JsonrpcException(resp['error'], method, params)&lt;br /&gt;
JsonrpcException: getrawtransaction: No information available about transaction (code -710)&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
And here is my vagrant file&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
# -*- mode: ruby -*-&lt;br /&gt;
# vi: set ft=ruby :&lt;br /&gt;
&lt;br /&gt;
# All Vagrant configuration is done below. The &amp;quot;2&amp;quot; in Vagrant.configure&lt;br /&gt;
# configures the configuration version (we support older styles for&lt;br /&gt;
# backwards compatibility). Please don't change it unless you know what&lt;br /&gt;
# you're doing.&lt;br /&gt;
Vagrant.configure(&amp;quot;2&amp;quot;) do |config|&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# The most common configuration options are documented and commented below.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# For a complete reference, please see the online documentation at&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# &lt;a href=&quot;https://docs.vagrantup.com&quot; rel=&quot;nofollow&quot;&gt;https://docs.vagrantup.com&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# Every Vagrant development environment requires a box. You can search for&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# boxes at &lt;a href=&quot;https://atlas.hashicorp.com/search&quot; rel=&quot;nofollow&quot;&gt;https://atlas.hashicorp.com/search&lt;/a&gt;.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;config.vm.box = &amp;quot;ubuntu/trusty64&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# Disable automatic box update checking. If you disable this, then&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# boxes will only be checked for updates when the user runs&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# `vagrant box outdated`. This is not recommended.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# config.vm.box_check_update = false&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# Create a forwarded port mapping which allows access to a specific port&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# within the machine from a port on the host machine. In the example below,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# accessing &amp;quot;localhost:8080&amp;quot; will access port 80 on the guest machine.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# config.vm.network &amp;quot;forwarded_port&amp;quot;, guest: 80, host: 8080&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# Create a private network, which allows host-only access to the machine&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# using a specific IP.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# config.vm.network &amp;quot;private_network&amp;quot;, ip: &amp;quot;192.168.33.10&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# Create a public network, which generally matched to bridged network.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# Bridged networks make the machine appear as another physical device on&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# your network.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;config.vm.network &amp;quot;public_network&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# Share an additional folder to the guest VM. The first argument is&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# the path on the host to the actual folder. The second argument is&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# the path on the guest to mount the folder. And the optional third&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# argument is a set of non-required options.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# config.vm.synced_folder &amp;quot;../data&amp;quot;, &amp;quot;/vagrant_data&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# Provider-specific configuration so you can fine-tune various&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# backing providers for Vagrant. These expose provider-specific options.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# Example for VirtualBox:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;#&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# config.vm.provider &amp;quot;virtualbox&amp;quot; do |vb|&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# &amp;nbsp;&amp;nbsp;# Display the VirtualBox GUI when booting the machine&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# &amp;nbsp;&amp;nbsp;vb.gui = true&lt;br /&gt;
&amp;nbsp;&amp;nbsp;#&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# &amp;nbsp;&amp;nbsp;# Customize the amount of memory on the VM:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# &amp;nbsp;&amp;nbsp;vb.memory = &amp;quot;1024&amp;quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# end&lt;br /&gt;
&amp;nbsp;&amp;nbsp;#&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# View the documentation for the provider you are using for more&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# information on available options.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# Define a Vagrant Push strategy for pushing to Atlas. Other push strategies&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# such as FTP and Heroku are also available. See the documentation at&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# &lt;a href=&quot;https://docs.vagrantup.com/v2/push/atlas.html&quot; rel=&quot;nofollow&quot;&gt;https://docs.vagrantup.com/v2/push/atlas.html&lt;/a&gt; for more information.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# config.push.define &amp;quot;atlas&amp;quot; do |push|&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# &amp;nbsp;&amp;nbsp;push.app = &amp;quot;YOUR_ATLAS_USERNAME/YOUR_APPLICATION_NAME&amp;quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# end&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# Enable provisioning with a shell script. Additional provisioners such as&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# documentation for more information about their specific syntax and use.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# config.vm.provision &amp;quot;shell&amp;quot;, inline: &amp;lt;&amp;lt;-SHELL&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# &amp;nbsp;&amp;nbsp;apt-get update&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# &amp;nbsp;&amp;nbsp;apt-get install -y apache2&lt;br /&gt;
&amp;nbsp;&amp;nbsp;# SHELL&lt;br /&gt;
end</description>
<guid isPermaLink="true">https://www.multichain.com/qa/4556/vagrant-ssh-multichain-explorer</guid>
<pubDate>Tue, 28 Mar 2017 19:51:14 +0000</pubDate>
</item>
<item>
<title>getaddednodeinfo - info on all nodes</title>
<link>https://www.multichain.com/qa/206/getaddednodeinfo-info-on-all-nodes</link>
<description>Hi, what is the closest command to getaddednodeinfo in multichain? is it listpermissions?. I need info on all the nodes that have got permissions, but may not be connected at the point in time.&lt;br /&gt;
&lt;br /&gt;
getaddednodeinfo &amp;nbsp;doesn't return any data. &lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;br /&gt;
Senthil</description>
<guid isPermaLink="true">https://www.multichain.com/qa/206/getaddednodeinfo-info-on-all-nodes</guid>
<pubDate>Mon, 05 Oct 2015 12:32:46 +0000</pubDate>
</item>
<item>
<title>Nodes on virtual boxes</title>
<link>https://www.multichain.com/qa/67/nodes-on-virtual-boxes</link>
<description>I am trying to run two unix nodes as virtualboxes on a windows computer (So its creating some kind of virtual network within a computer). The address on the two nodes (when I run multichaind chain1 listpermissions) are exactly the same. Is this normal? The nodes are not connecting to each other as well.</description>
<guid isPermaLink="true">https://www.multichain.com/qa/67/nodes-on-virtual-boxes</guid>
<pubDate>Thu, 20 Aug 2015 12:40:34 +0000</pubDate>
</item>
</channel>
</rss>