cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
637
Views
0
Helpful
2
Replies

How to install 2 NSO on the same server ?

tberthe.ext
Level 1
Level 1

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 ?

1 Accepted Solution

Accepted Solutions

lmanor
Cisco Employee
Cisco Employee

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

View solution in original post

2 Replies 2

frjansso
Cisco Employee
Cisco Employee

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.

lmanor
Cisco Employee
Cisco Employee

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the NSO Developer community: