AnsweredAssumed Answered

GMU migration failing from source to target gateway

Question asked by rdas4 on Dec 13, 2017
Latest reply on Dec 13, 2017 by rdas4

Hi,

 

I am using below GMU commands to migrate the services from source gateway to target gateway.

 

GatewayMigrationUtility.bat migrateOut --argFile "D:/dev/connectgateway.properties" --excludeEncryptedSecrets --dest "D:/dev/service/v1/UserService.xml" --defaultAction NewOrUpdate --serviceName /service/v1/UserService

 

GatewayMigrationUtility.bat template --bundle "D:/dev/service/v1/UserService.xml" --template "D:/dev/service/v1/serviceTemplate/UserServiceTemplate.properties"

 

GatewayMigrationUtility.bat migrateIn --argFile "D:/dev/connectgateway.properties" --template "D:/dev/service/v1/serviceTemplate/UserServiceTemplate.properties" --bundle "D:/dev/service/v1/UserService.xml" --destFolder /service/v1/

 

However, i am getting below error

Execution failed. Reason: Migrate in failed: Conflict

 

 

<l7:Mapping action="NewOrExisting" errorType="TargetNotFound" srcId="00000000000000000000000000000002:hostname.domain.com" srcUri="https://ipaddress:9443/restman/1.0/privateKeys/00000000000000000000000000000002:hostname.domain.com" type="SSG_KEY_ENTRY">
<l7:Properties>
<l7:Property key="ErrorMessage">
<l7:StringValue>Could not locate entity: Fail on new specified and could not locate existing target. Source Entity: EntityHeader. Name=null, id=00000000000000000000000000000002:hostname.domain.com, description=null, type = SSG_KEY_ENTRY</l7:StringValue>
</l7:Property>
<l7:Property key="FailOnNew">
<l7:BooleanValue>true</l7:BooleanValue>
</l7:Property>
</l7:Properties>
</l7:Mapping>

Outcomes