cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1441
Views
0
Helpful
3
Replies

about ncs.conf

previousqna
Level 5
Level 5

Hi expert,

 

 

My customer is using system installed NSO.

 

I have discovered two ncs.conf files in NSO.

 

/opt/ncs/ncs-x.x.x/etc/ncs/ncs.conf

 

/etc/ncs/ncs.conf

 

 

In my understanding system installed NSO is using /etc/ncs/ncs.conf.

 

And /opt/ncs/ncs-x.x.x/etc/ncs/ncs.conf is the configuration file which will be referred if user is doing local installation.

 

Is my understanding correct?

 

 

Any comment would be appreciated.

 

Kind regards,

3 Replies 3

previousqna
Level 5
Level 5

In a system installation the path will be :

 

 

/opt/ncs/ncs.conf

 

 

 

The one in /etc/ncs is typically for local installations.

Hi expert,

 

> My customer is using system installed NSO.

   

> I have discovered two ncs.conf files in NSO.

 

> /opt/ncs/ncs-x.x.x/etc/ncs/ncs.conf

 

> /etc/ncs/ncs.conf

 


> In my understanding system installed NSO is using /etc/ncs/ncs.conf.

 

> And /opt/ncs/ncs-x.x.x/etc/ncs/ncs.conf is the configuration file which will be referred if user is doing local installation.

 

> Is my understanding correct?

 

Yes, that's basically it - i.e. the /opt/ncs/ncs-x.x.x/etc/ncs/ncs.conf

 

file is not used in a system install - it could be removed by the installer but isn't, maybe it should be, to avoid confusion.


 

In general the system install follows the standard Linux/Unix conventions of how applications are installed - all configuration files are under /etc, all state and log files under /var, and so on.

 

 

> Any comment would be appreciated.

In a system installation the path will be :

 

>

 

> /opt/ncs/ncs.conf

 

>

 

>

 

> The one in /etc/ncs is typically for local installations.

 

 

No, that's not correct at least for a system install using the default directories, see my previous message. I guess you could theoretically pass '--config-dir /opt/ncs' to the installer, but that would be seriously confusing...

 

 

> Regards,

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: