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

What is the command to access PMDB 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, an admin can connect to PMDBNAME by executing selang -p PMDBNAME. While the PMDB daemon is running, an error occurs when an admin runs `selang -p PMDBNAME`. What is the command to access PMDBNAME while the PMDB daemon is running?

Environment

Privileged Identity Manager 12.8 SP1

PAM Server Control 14.x

Cause

When using the "selang -p PMDBNAME" 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> host PMDBNAME@
(PMDBNAME@localhost)
Successfully connected
INFO: Target host's version is <XX.XX.XXXX>
UNIX OS info: <hostname> Linux <kernel info>
AC>