12-08-2019 09:45 PM
Is there any command to check NSO is system install or Local Install
12-10-2019 12:39 PM
Hello,
I don't know of a NSO command to tell if it has been installed as local or system-install, however from linux you can determine the likely install method from where things are located:
Easy way is to check the ncs binary, if found in a path that goes thru the 'current' link, then it is probably system-install:
$ which ncs
/opt/ncs/current/bin/ncs
$ ls -la /opt/ncs/
total 12
drwxr-xr-x. 5 root root 85 Dec 10 15:19 ./
drwxr-xr-x. 7 root root 4096 Dec 10 15:19 ../
lrwxrwxrwx. 1 root root 9 Dec 10 15:19 current -> ncs-5.2.1/
drwxr-xr-x. 2 root root 6 Dec 10 15:19 downloads/
-rw-r--r--. 1 root root 80 Dec 10 15:19 installdirs
drwxr-xr-x. 17 root root 4096 Dec 10 15:19 ncs-5.2.1/
drwxr-xr-x. 2 root root 6 Dec 10 15:19 packages/
Other indicators of system-install:
ncs.conf located in /etc/ncs directory:
$ ls /etc/ncs
ipc_access ncs.conf ncs.crypto_keys ssh/ ssl/
NSO logs are located at /var/log/ncs:
$ ls /var/log/ncs/
audit.log ncserr.log.1 ncserr.log.siz ncs.log netconf.log
devel.log ncserr.log.idx ncs-java-vm.log ncs-python-vm.log snmp.log
NSO is automatically started on linux
on Redhad/CentOS distros, ncs init script located in /etc/init.d/ncs
$ ls /etc/init.d/ncs
/etc/init.d/ncs*
12-12-2019 03:09 PM
You can also check to see if the default credentials of admin / admin or oper / oper work on the web UI.
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