SevOne NMS Connect Appliance using Command Line Interface

Summary

As of SevOne NMS 7.0.0, the SevOne NMS software runs in podman containers. If you connect to the NMS appliance using ssh, it will log you on the command line of the NMS appliance host. However, there are additional steps required to connect to the command line interface of the NMS software that runs in a podman container on the NMS appliance.

Objective

IBM® SevOne NMS version must be >= 7.0.0.

This article explains the process to connect to the IBM® SevOne NMS container from the Command Line Interface (CLI).

How to Connect to NMS Command Line Interface

You may connect to your SevOne NMS appliance via ssh client using the IP address or FQDN of the appliance you want to connect to as a support user. For default support credentials, please refer to SevOne NMS Installation Guide.

There are two options to connect to your SevOne NMS appliance.

via Host to Container

Execute the following commands.

  1. Using ssh, connect to your NMS appliance host as support user.
    
    $ ssh support@<IP address or FQDN>
    

    For example,

    
    $ ssh support@SevOne
    
    [support@SevOne ~]$ 
    
    On successful login, you are connected to the NMS appliance as the support user at the host level.
  2. Verify the details of the NMS appliance.
    
    [support@SevOne ~]$ cat /config/SevOne.info
    
    base = 7
    major = 0
    minor = 0
    
    [support@SevOne ~]$
    
  3. Connect to the Command Line Interface (CLI) of the NMS container.
    
    [support@SevOne ~]$ podman --url=unix:/run/podman_sevone/podman.sock exec -it nms-nms-nms /bin/bash
    
    root@SevOne:/ [7.0.0] [08:00:00] $
    
Note: For non-root users, you need to specify the socket (unix:/run/podman_sevone/podman.sock) with the --url option to connect to the container.

Directly to Container

If you want to connect to the NMS container Command Line Interface (CLI) directly, execute the following command.

$ ssh support@SevOne "podman --url=unix:/run/podman_sevone/podman.sock exec -it nms-nms-nms /bin/bash"
For example,

[support@SevOne ~]$ ssh support@<IP address or FQDN> "podman --url=unix:/run/podman_sevone/podman.sock exec -it nms-nms-nms /bin/bash"

root@SevOne:/ [7.0.0] [08:00:00] $

Now you are connected and logged in to the NMS container as the root user.

Execute the following command to verify the NMS version details.
Note: The output on your system may be slightly different depending on the appliance model, size, and specifications.

root@SevOne:/ [7.0.0] [08:27:19] $ SevOne-show-version

SevOne version:     7.0.0
kernel version:     4.18.0-553.el8_10.x86_64 #1 SMP Fri May 10 15:19:13 EDT 2024
nginx version:      1.14.1
MySQL version:      10.6.18-MariaDB
PHP version:        8.3.7
SSH/SSL version:    OpenSSH_8.0p1, OpenSSL 1.1.1k  FIPS 25 Mar 2021
REST API version:   2.1.47, Build time 2024-05-16T06:53:00+0000, Hash 07f225e

    Intel Core Processor
    4 cores @ 2199.998MHz
    8GB RAM
    0GB SWAP
    150 GB / Partition
    150 GB /data partition

root@SevOne:/ [7.0.0] [08:27:25] $