PIM/PAMSC to PAM Migration Utility Errors During Backup PAM Step

book

Article ID: 221436

calendar_today

Updated On:

Products

CA Privileged Access Manager (PAM)

Issue/Introduction

When running the migration utility to migrate PIM or PAMSC endpoints to PAM 4.0, the utility fails at the Backup PAM step.

In the migration logs, the following error is observed.

2021-08-10 00:00:00,000 8675309 [Thread-11] ERROR c.c.p.m.DataMigrationDisplayService - Error in executeDryrun
org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://10.20.30.40/cspm/ext/rest/config/database/files/save": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out
.....
Caused by: java.net.SocketTimeoutException: Read timed out

Cause

The error will occur when the database backup in PAM takes a long time to complete and the migration utility times out. By default, the timeout value in the migration utility is 120 seconds.

Environment

Privileged Access Manager 4.0
PAM Server Control 14.0, 14.1
Privileged Identity Manager, 12.8, 12.9

Resolution

To prevent the database backup from timing out, update the migration utility and add a timeout value to override the default 120 seconds.

Windows: 
- Go to <Mig Utility Install Folder>\bin
- Open Migration.bat file and add the timeout attribute to the JAVA_EXE variable.
Before Modification:
"%JAVA_EXE%" %JAVA_OPTS% -jar DataProcessor-0.1-SNAPSHOT.jar --install.dir="C:\Program Files\MigrationUtility" --customer.validation=false --apms.home="C:\Program Files\CA\PAMSCServer\APMS\PAMSC" %MU_OPTS% 
After Modification:
"%JAVA_EXE%" %JAVA_OPTS% -jar DataProcessor-0.1-SNAPSHOT.jar --install.dir="C:\Program Files\MigrationUtility" --customer.validation=false --http.readtimeout=300 --apms.home="C:\Program Files\CA\PAMSCServer\APMS\PAMSC" %MU_OPTS%  

Linux:
- Go to <Mig Utility Install Folder>\bin
- Open Migration.sh file and add the timeout attribute to the JAVA_EXE variable.
Before Modification:
"$JAVA_EXE" $JAVA_OPTS -jar DataProcessor-0.1-SNAPSHOT.jar --install.dir="/root/MigrationUtility" --customer.validation=false --apms.home="/opt/CA/PAMSCServer/APMS/PAMSC" $MU_OPTS 
After Modification:
"$JAVA_EXE" $JAVA_OPTS -jar DataProcessor-0.1-SNAPSHOT.jar --install.dir="/root/MigrationUtility" --customer.validation=false --http.readtimeout=300 --apms.home="/opt/CA/PAMSCServer/APMS/PAMSC" $MU_OPTS

After saving the change, exit the migration utility and run it again.

Attachments