Skip to content

Development instruction for ITL

nieznanysprawiciel edited this page Aug 8, 2023 · 21 revisions

Development instruction

Installing and verifying

  1. Install Golem according to the instruction using pre-rel-v0.13.0-rc10.
  2. Configure PCI pass-through
  3. Install ya-runtime-wm-nvidia using instruction
  4. Run provider to verify (instruction)

Provider architecture

Documentation

Important configuration

The list of directories used by Provider is listed here. Only 2 directories should be persistent:

  • Yagna data directory
  • Provider data directory

Networking

  • Yagna connects to relay server which address is resolved using SRV record _net_relay._udp.dev.golem.network. Currently it points to yacn2.dev.golem.network:7477.
  • Yagna communicates with other Nodes p2p if it has publicly exposed port 11500 (ENV: YA_NET_BIND_URL=udp://0.0.0.0:11500). Exposing this port is optional but preferred.

Local endpoints that shouldn't be exposed to external world:

  • Yagna REST API (ENV: YAGNA_API_URL=http://127.0.0.1:7465)
  • GSB (GSB_URL=tcp://127.0.0.1:7464 if tcp is used instead of unix sockets)
Clone this wiki locally