Questions about project.yml file #1131
-
Hi, everybody. In fact, if possible, I'd like to create an ephemeral infrastructure by using only one pc (so the clients, server, admin ecc are in local but on different ports) but I don't know what to insert as FQDN in name field into the file. Thanks in advance for every reply and sorry for every possible error or inaccuracy but I'm simply trying to learn. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Thanks for your interest and question! Yes, it is possible to have clients, server, admin all in one local machine but run in different processes. We need to update that page for 2.2.1 that is right. Let me give you some tips. First, install NVFlare. Inside the generated project.yml you will see multiple "participants"
In the real world deployment, the "name" of the overseer will be "somethingxxx.com" or some FQDN. But for your scenario, let's just use this project.yml as it is. Then let's run `nvflare provision -p project.yml" It will generated folders inside "./workspace/example_project/prod_00". Since "overseer" and "server1" and "server2" can not be resolved by DNS service automatically.
After these setups, you need to start overseer in one terminal using Then in another terminal, you start FL server Then in another terminal, you start FL clients Finally, you can start admin client to interact with the system: Then you can just submit the example jobs and starts to play with this real setup. |
Beta Was this translation helpful? Give feedback.
Hi @FabioNotaro2001
Thanks for your interest and question!
Yes, it is possible to have clients, server, admin all in one local machine but run in different processes.
We need to update that page for 2.2.1 that is right.
Let me give you some tips.
First, install NVFlare.
Second, run
nvflare provision
and type1
forproject.yml for HA mode
Inside the generated project.yml you will see multiple "participants"
For example: