Upgrade Python on Data Repository Node ?
search cancel

Upgrade Python on Data Repository Node ?

book

Article ID: 141678

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

Our security scans have identified the presence of Python on our systems, which include a Data Repository spread across three separate nodes. We want to understand whether it's possible to upgrade Python itself on these systems, or if Python is directly connected to and dependent on the version of DX NetOps PM we are using.

Is upgrading Python safe, or would it affect the operation of DX NetOps PM?

Environment

Release : 22.2.x, 23.3.4,23.3.11 and higher

DX NetOps Performance Management Data Repository

Cause

Understanding DX NetOps PM Vertica's( Data Repository) Python Usage and Upgrade Requirements

Vertica, a database management system, uses Python, a popular programming language, to meet its internal needs. It has its own version of Python installed under a specific directory path:

/opt/vertica/oss/python3/bin/python3.

Why Does This Matter?

Vertica's use of Python is essential for its internal functions. This means it requires a specific version of Python to operate correctly.

Vertica Upgrade Requirements for DX NetOps Performance Management

When using Vertica with DX NetOps Performance Management (a network performance monitoring tool), there are specific version requirements to keep in mind:

  • For DX NetOps Performance Management version 23.3.11 and higher:
    You need to use Vertica version 23.4.x.

  • For DX NetOps Performance Management versions 23.3.1 to 23.3.10:
    You should use Vertica version 10.1.1-20.

These version requirements are essential to ensure compatibility and smooth operation between DX NetOps Performance Management and Vertica.

For more detailed information, you can refer to the official documentation

Resolution

When working with Vertica, it's important to know that the Python version installed in the /opt/vertica/ directory is bundled with Vertica and is required for its internal operations. Here’s what you need to know:

1. You Cannot Upgrade the Bundled Python Manually

  • Do Not Upgrade or Modify: If Python is installed under the path /opt/vertica/, you cannot manually upgrade or modify it. This version of Python is essential for Vertica to function correctly and any changes might cause problems.

2. Python Installed Outside the /opt/vertica/ Path

  • Safe to Upgrade or Remove: If Python is installed outside the /opt/vertica/ path, it is not bundled with Vertica, and you can upgrade or remove it without affecting Vertica or NetOps Performance Management (PM).

3. Upgrading Python with NetOps Performance Management (PM)

  • Upgrade to NetOps PM 23.3.11 or Higher: To use Python version 3.11.3 with Vertica, you must upgrade NetOps Performance Management to version 23.3.11 or higher. This version supports the newer Python upgrade.

By following these guidelines, you can ensure that your system remains stable and compatible with Vertica and NetOps Performance Management.

For more detailed information, you can refer to the official documentation

Additional Information

Dx NetOps performance management 23.3.4 ships with python 3.7.4