Skip to content

How to self host fabriclaunch #2

Description

@Maxino22

I was following along really like the bare-metal approach question is how do I setup the self hosted instance

also I am trying out the hosted version I get the error on two different servers I don't know what I might have done wrong

root@fabric-server:~/fabriclaunch# export TENANT_NAME="test-network"
# create the peer
# create the peer="fra"
export ORG_REGION="fra" ifconfig.me)
export PUBLIC_IP=$(curl ifconfig.me)
echo "Public IP: ${PUBLIC_IP}"peer0 --tenant ${TENANT_NAME} \
fabriclaunch peer create org2-peer0 --tenant ${TENANT_NAME} \
  --mode=systemd --region="${ORG_REGION}" --mspId Org2MSP \
  --externalEndpoint="${PUBLIC_IP}:7051" \
  --listenAddress="0.0.0.0:7051" \" \
  --chaincodeAddress="0.0.0.0:7052" \
  --eventsAddress="0.0.0.0:7053" \.0:7054" \
  --operationsListenAddress="0.0.0.0:7054" \
  -h localhost
# create the orderer
# create the ordererurl ifconfig.me)
export PUBLIC_IP=$(curl ifconfig.me)
echo "Public IP: ${PUBLIC_IP}"g2-orderer0 --tenant ${TENANT_NAME} \
fabriclaunch orderer create org2-orderer0 --tenant ${TENANT_NAME} \
  --mode=systemd --region="${ORG_REGION}" --mspId Org2MSP \
  --externalEndpoint="${PUBLIC_IP}:7060" \
  --listenAddress="0.0.0.0:7060" \
  --adminAddress="0.0.0.0:7061" \0.0:7062" \
  --operationsListenAddress="0.0.0.0:7062" \
  -h localhost
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    14  100    14    0     0    119      0 --:--:-- --:--:-- --:--:--   119
Public IP: 44.101.103.156
✖ Invalid mode systemd
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    14  100    14    0     0    120      0 --:--:-- --:--:-- --:--:--   120
Public IP: 44.101.103.156
✖ Invalid mode systemd
root@fabric-server:~/fabriclaunch# 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions