What is the command to access PMDB_LINUX while the PMDB daemon is running?
search cancel

What is the command to access PMDB_LINUX while the PMDB daemon is running?

book

Article ID: 261602

calendar_today

Updated On:

Products

CA Privileged Identity Management Endpoint (PIM)

Issue/Introduction

With the PMDB daemon stopped, I can connect to PMDB_LINUX by executing selang -p PMDB_LINUX.
However, while the PMDB daemon is running, an error occurs when I run selang -p PMDB_LINUX.
Question: What is the command to access PMDB_LINUX while the PMDB daemon is running?

Environment

Release : 12.8.x/14.0/14.1

Cause

When using the "selang -p <PMDB>" can be used only when the PMDB is not loaded.

   -p <PolicyModel-name>        Operate on the local PMDB named PolicyModel-name (this is the.
                                                 database in the PMDB subdirectory). Changes are not propagated
                                                 to subscribers. This is not the same as using the hosts command.

Resolution

To connect to the PMDB when it's loaded, we need to access it from selang as demonstrated below.

# ./selang

AC> hosts PMDB_LINUX@
(PMDB_LINUX@localhost)
Successfully connected
INFO: Target host's version is <XX.XX.XXXX>
UNIX OS info: <hostname> Linux 3.10.0-1160.76.1.el7.x86_64 09 Mar 2023 06:17:29 UTC
AC>