Captain
Captain
639 views

How to list drivers and packages with versions

Hi!

Anybody knows a nice way to list all drivers and versions of their constituting packages?
Command line preferably.

BR
/Thomas
Labels (1)
0 Likes
5 Replies
Knowledge Partner Knowledge Partner
Knowledge Partner

liasson wrote:

> Anybody knows a nice way to list all drivers and versions of their
> constituting packages?


you could ldapsearch for DirXML-pkgLinkages on the driverset and below and
parse the values to

a) extract package codes and version
b) sum up your package list per driver (from all policies/resources below each
driver)
c) remove duplicates
d) resolve package codes to proper names (optional)
e) Post your script on Coolsolutions 😉

--
http://www.is4it.de/en/solution/identity-access-management/

(If you find this post helpful, please click on the star below.)
______________________________________________
https://www.is4it.de/identity-access-management
0 Likes
Knowledge Partner Knowledge Partner
Knowledge Partner

Lothar Haeger wrote:

> you could ldapsearch for DirXML-pkgLinkage


....scratch that, use DirXML-pkgGUID instead.

--
http://www.is4it.de/en/solution/identity-access-management/

(If you find this post helpful, please click on the star below.)
______________________________________________
https://www.is4it.de/identity-access-management
0 Likes
Knowledge Partner Knowledge Partner
Knowledge Partner

On 4/18/2019 2:54 AM, liasson wrote:
>
> Hi!
>
> Anybody knows a nice way to list all drivers and versions of their
> constituting packages?
> Command line preferably.



This is not quite what you are asking, but if your goal is to see who
needs an upgrade (I imagine your goal is actually to report on current
status) you could right click on the Package Catalog in Designer and
select Package Upgrade and it will show you all drivers where there is a
newer package available than the one current installed.



0 Likes
Captain
Captain

Correct, my goal is to compare installations between different test servers.

BR
/Thomas
0 Likes
Captain
Captain

As a first step, I created a script to dump rules from the IDM catalogue to files.

I use it to dump the rules from different test servers and compare.
Since its plain XML-files, you may compare using diff or your preferred comparsion tool.

Available at github: https://github.com/lajson/idm_dump

BR
/Thomas
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.