Connectrix Brocade SANnav: How to determine the version of Postgres installed with SANnav

Summary: This article provides step-by-step instructions to determine the specific version of PostgreSQL running in the SANnav container.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

  1. Log in to the SANnav Server:

    • Access the SANnav server as the root user.
  2. Identify the Docker Container ID for PostgreSQL:

    • Run the following command to find the Docker container ID for PostgreSQL:
      # docker ps | grep postgres

      Example output:

      [root@sannav-v231-ova-85-214 ~]# docker ps | grep postgres5b418fb0f440   10.124.85.214:5000/dcm-postgres-db:sann2.3.1  "sannav-db-init post…"     2 weeks ago   Up 2 weeks  dcm_2_3_1_dcm-postgres-db.1.ky5nmwfqnrr0v8kmr3i9ysart
  3. Access the Docker Container:

    • Use the following command to enter the Docker container:
      # docker exec -it <container-id> bash

      Example:

      [root@sannav-v231-ova-85-214 ~]# docker exec -it dcm_2_3_1_dcm-postgres-db.1.ky5nmwfqnrr0v8kmr3i9ysart bash
      
      root@sannav-v231-ova-85-214:/var/lib/postgresql#
  4. Determine the PostgreSQL Version:

    • Run the following command to get the PostgreSQL version:
      #psql --version

      Example output:

      root@sannav-v231-ova-85-214:/var/lib/postgresql# psql --version
      
       psql (PostgreSQL) 14.9 (Debian 14.9-1.pgdg120+1)
  5. Exit the Docker Container:

    • Use the following command to exit the container:
      #exit

 

Affected Products

Connectrix SANnav
Article Properties
Article Number: 000241671
Article Type: How To
Last Modified: 22 May 2025
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.