search cancel

uniimpsec fails to import groups attached to users

book

Article ID: 258278

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

While migrating a UVMS from a server A to a server B, the command "uniexpsec -full" was used to export all Logins, Groups, Roles, System User Patterns into a XML file.

Then, this xml file was used as input to import these objects into the new UVMS B with the command "uniimpsec -full".

As a result, out of the 449 Logins defined in the XML file, 200 of them were missing the Group attachment, so their Group list was Empty or not all of the Logins were imported.

Environment

Release : 6.x and 7.x

Component: Univiewer Management Server (UVMS)

Cause

The issue was the Memory limit of the uvms process (set by variable UXMAXJVMMEM) which is by default set to 512MB and is not enough to handle the import of all the security objects from a XML file.

Resolution

To fix the issue, please follow the steps below:

1. Increase the memory limit of the uvms to 1024 instead of the current 512, this can be done in UVC - Node Settings of the UVMS - Advanced Settings

https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=IunO/kw9edbDu7TNy64yoQ==

2. Save and Close and then Stop and Start the uvms

3. Import again the same xml file with the option -full -merge

Example:

./uniimpsec -file /apps/kits/sec.xml -full -merge

4. This time all users will have their groups merged with the ones on the xml so it will fix users having no Group attached.