Open salihaatak opened 2 years ago
@esrefatak, I'm seeing a few things with your configuration.
1) The recommended way to setup a new production level network is documented here; Setting up a New Network. The docs refer to installing the sovrin
package. If you want to have a pure indy-node
network, you can replace sovrin
with indy-node
.
2) You need a minimum of 4 nodes in order to form a functional network.
3) The 1.13.x
builds of indy-plenum
and indy-node
are meant for Ubuntu 20.04, they are not meant to be compatible with Ubuntu 16.04. The latest production release for Ubuntu 16.04 is version 1.12.4
.
If you would prefer to use Ubuntu 20.04, here is the v1.13.1-rc2 release you could use. You'll need to register the Hyperledger deb repo to install the packages, as the indy packages are now being published there;
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9692C00E657DDE61
echo "deb https://hyperledger.jfrog.io/artifactory/indy focal rc" >> /etc/apt/sources.list
@esrefatak, There is also the question of build your own vs use an existing service. There are couple service offerings available for indy-node
networks, https://sovrin.org/, and https://indicio.tech/, that may meet your needs.
In our case, third party services are not affordable as we have really high number of users. Because of high volume transactions, we plan to host our own network. Thanks for your advice.
@WadeBarnes I started to install all the network from scratch according to your recommendations.
For Ubuntu 20.04 ("Focal") what no I need to specify? No info in doc about this detail. I tried "focal" but failed.
A stackoverflow post says "use bionic" but i wanted to be sure.
I provided the repo spec above; https://github.com/hyperledger/indy-node/issues/1766#issuecomment-1163118731
Here is a more complete example. It's a docker file for simplicity, but gives you the basic steps you'll need to perform:
FROM ubuntu:20.04
RUN apt-get update -y && apt-get install -y \
gnupg \
ca-certificates
# ========================================================================================================
# Update repository signing keys
# --------------------------------------------------------------------------------------------------------
# Hyperledger
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9692C00E657DDE61 && \
# Sovrin
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys CE7709D068DB5E88
# ========================================================================================================
RUN echo "deb https://hyperledger.jfrog.io/artifactory/indy focal rc" >> /etc/apt/sources.list && \
echo "deb http://security.ubuntu.com/ubuntu bionic-security main" >> /etc/apt/sources.list && \
echo "deb https://repo.sovrin.org/deb bionic master" >> /etc/apt/sources.list
RUN apt-get update -y && apt-get install -y \
# rocksdb python wrapper
rocksdb=5.8.8 \
libgflags-dev \
libsnappy-dev \
zlib1g-dev \
libbz2-dev \
liblz4-dev \
libgflags-dev \
python3-libnacl=1.6.1 \
python3-sortedcontainers=1.5.7 \
python3-ujson=1.33 \
python3-pyzmq=22.3.0 \
indy-plenum=1.13.1~rc2 \
indy-node=1.13.1~rc2 \
libssl1.0.0 \
ursa=0.3.2-1 \
&& mv /usr/lib/ursa/* /usr/lib && rm -rf /usr/lib/ursa
I provided the repo spec above; #1766 (comment)
Actually, problem is installing indy-cli
. Docs you linked, requires to install indy-cli
first and generate some keys/seed (before indy-node
installation).
As you can see in following screenshot, it's not exist in sources:
Where I can install indy-cli from? For Ubuntu 20.04/focal?
The better option is to use the containerized indy-cli
in von-network
as recommended in the Setting up a New Network; https://github.com/bcgov/von-network/blob/main/docs/Indy-CLI.md
Closing for now. Please reopen if the issue continues.
Hi dear Indy Node community,
We plan to use Indy Node for a large-scale project. We are in R&D stage.
We could not start the indy-node service. Error occurs. Here are
systemctl status indy-node
output:Here is
validator.py
status:(Kindly ignore the reachable host list as I unplugged the cable)
Ubuntu version is
16.04.12
in VirtualBox.I installed a network of 3 hosts. Each host contains 1 node.
Here is how I installed it.
And then:
When I execute the
start_indy_node.py
, nothing happens as you can see in the following screenshow. In third host I pressCtrl+C
and executed the validator to check if hosts can see eachother:"Unknown state" turns into "stopped" status time to time.
I attached
/var/log/indy
content:https://transfer.sh/a5f36Y/logs2.tar.gz
We struggle since last week. Thanks in advance for your helps.