CESNET / netopeer2

NETCONF toolset
BSD 3-Clause "New" or "Revised" License
301 stars 189 forks source link

multiple instance of netopeer2 server to handle multiple repository path #1385

Closed SagarGowda89 closed 1 year ago

SagarGowda89 commented 1 year ago

Hi,

I want to start multiple instance of netopeer2 server to handle multiple repository path. can you please let me know how to enable it

Thanks Sagar

michalvasko commented 1 year ago

Let me start by saying that this is not a good idea and may result in a chaotic architecture. But it is possible and you need to have the same amount of sysrepo instances installed that use different env variables that distinguish between them. Then, each netopeer2 instance needs to set these env variables to the same values as are used for sysrepo operations effectively pairing each server instance with a sysrepo instance.

SagarGowda89 commented 1 year ago

Hi Michaelvasco,

I have tried to run directly. It's working.