01-08-2018 09:37 AM - last edited on 03-25-2019 01:19 PM by ciscomoderator
In order to use LSA, we would like to install 2 NSO instances on the same server.
Is it possible to have 2 NSO system installs at the same time ?
Solved! Go to Solution.
01-08-2018 12:23 PM
Hello,
For local install you need to configure NCS_IPC_PORT differently for the 2 instance...
See the Makefile at the top level of the LSA example in the NSO distribution which creates 3 NSO instances on same serve:
nso-4.5.2/examples.ncs/getting-started/developing-with-ncs/22-layered-service-architecture
<snip>
start:
ncs-netsim start
cd upper-nso; NCS_IPC_PORT=4569 sname=upper-nso ncs -c ncs.conf
cd lower-nso-1; NCS_IPC_PORT=4570 sname=lower-nso-1 ncs -c ncs.conf
cd lower-nso-2; NCS_IPC_PORT=4571 sname=lower-nso-2 ncs -c ncs.conf
./init.sh
I don't believe it is possible to have 2 NSO system-installs on Linux server.
-Larry
01-08-2018 12:21 PM
Absolutely, you have to modify ncs.conf to avoid port collisions though, please take a look at <NSO dir>/examples.ncs/getting-started/developing-with-ncs/22-layered-service-architecture
which contains exactly what you're looking for and it runs three NSO on one machine.
01-08-2018 12:23 PM
Hello,
For local install you need to configure NCS_IPC_PORT differently for the 2 instance...
See the Makefile at the top level of the LSA example in the NSO distribution which creates 3 NSO instances on same serve:
nso-4.5.2/examples.ncs/getting-started/developing-with-ncs/22-layered-service-architecture
<snip>
start:
ncs-netsim start
cd upper-nso; NCS_IPC_PORT=4569 sname=upper-nso ncs -c ncs.conf
cd lower-nso-1; NCS_IPC_PORT=4570 sname=lower-nso-1 ncs -c ncs.conf
cd lower-nso-2; NCS_IPC_PORT=4571 sname=lower-nso-2 ncs -c ncs.conf
./init.sh
I don't believe it is possible to have 2 NSO system-installs on Linux server.
-Larry
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide