How to import data into PMDB while the PMDB daemon is running?
search cancel

How to import data into PMDB while the PMDB daemon is running?


Article ID: 261857


Updated On:


CA Privileged Identity Management Endpoint (PIM)


OS : Linux

PAMSC : 14.1 and PIM R12.8.x

Description :

What are the options to import data into an existing PMDB, while the PMDB daemon stopped?

What is the command/options to access PMDB and import the data while the PMDB daemon is running?


Release : 14.0/R12.9 (PIM Endpoint)


This document shares the commands to import data into the PMDB while the pmdb daemons are started.


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

1. Open selang, this by default connects to seosdb


2. Connect to the PMDB, by specifying the PMDB name followed by @ symbol, providing the hostname is optional while establishing a connection to the PMDB hosted on the same host as that of the endpoint host.

Successfully connected
INFO: Target host's version is xxxxx
UNIX OS info: rsang-rhel7 Linux 3.10.0-1160.76.1.el7.x86_64 09 Mar 2023 06:17:29 UTC

3. To import the data file into PMDB, the following sequence will be of help. Use the 'source' command to import the required data file consisting of the selang command sequence. The full path of the data file along with the name needs to be specified.

AC> source /tmp/a.lang
Successfully created USER user01
Unix :
Successfully created USER user01

Note: The 'source <file path/ ile name>' command cab be used to import the files containing selang commands in either local mode (selang -p <PMDB>) or while the PMDB daemon is up and running.