Delphix Products

 View Only
  • 1.  Not able to copy environment from one engine to another

    Posted 11 days ago
    Hello All,
    there are two delphix engine one is running on 6.0.11.0 and another is running on 6.0.8.0 version
    All engines are in sync ( with global key), export the environment from 6.0.11.0 version
    login to 6.0.8.0 version engine and import that exported 
    environment.

    Kindly let me know what is the exact issue? why it is showing error?

    Error:
    2022-01-11 06:08:29,460 [http-nio-127.0.0.1-8284-exec-7] INFO com.dmsuite.web.user.LoginController - InitialDirContext created successfully...
    2022-01-11 06:08:29,460 [http-nio-127.0.0.1-8284-exec-7] INFO com.dmsuite.web.user.LoginController - getLdapUserAuth(): obtained ctx? true
    2022-01-11 06:08:29,461 [http-nio-127.0.0.1-8284-exec-7] INFO com.dmsuite.web.user.LoginController - LDAP authentication successful
    2022-01-11 06:08:29,471 [http-nio-127.0.0.1-8284-exec-7] INFO com.dmsuite.user.login.LoginHelper - User 10
    2022-01-11 06:09:02,909 [http-nio-127.0.0.1-8284-exec-2] INFO c.dmsuite.manager.EnvironmentManager - User is admin: true
    2022-01-11 06:09:03,213 [http-nio-127.0.0.1-8284-exec-2] INFO c.dmsuite.manager.EnvironmentManager - User is admin: true
    2022-01-11 06:11:42,713 [http-nio-127.0.0.1-8284-exec-4] INFO c.dmsuite.manager.EnvironmentManager - User is admin: true
    2022-01-11 06:11:42,777 [http-nio-127.0.0.1-8284-exec-3] INFO c.dmsuite.manager.EnvironmentManager - User is admin: true
    2022-01-11 06:11:45,728 [http-nio-127.0.0.1-8284-exec-1] INFO c.dmsuite.manager.EnvironmentManager - User is admin: true
    2022-01-11 06:11:45,796 [http-nio-127.0.0.1-8284-exec-2] INFO c.dmsuite.manager.EnvironmentManager - User is admin: true
    2022-01-11 06:12:28,825 [http-nio-127.0.0.1-8284-exec-6] INFO c.dmsuite.assembler.SyncStateHandler - Creating SyncState {
    "objectType": "ENVIRONMENT",
    "id": {
    "@type": "type.googleapis.com/IntegerIdentifier",
    "id": 43
    }
    }
    2022-01-11 06:12:29,450 [pool-4-thread-4] INFO c.dmsuite.threads.async.ImportThread - Beginning async import for id860483
    2022-01-11 06:12:29,458 [pool-4-thread-4] INFO com.dmsuite.sync.handlers.Import - Start import of blob with length of 101892 ; 1318 MB memory available
    2022-01-11 06:12:29,464 [pool-4-thread-4] ERROR c.d.threads.BlockingExecutorService - Async task 116 failed
    com.dmsuite.sync.exceptions.CorruptImportDocumentException: Unknown document version UNRECOGNIZED
    at com.dmsuite.sync.ExternalObjectDocument.parse(ExternalObjectDocument.java:330)
    at com.dmsuite.sync.ExternalObjectDocument.<init>(ExternalObjectDocument.java:86)
    at com.dmsuite.sync.handlers.Import.importObject(Import.java:85)
    at com.dmsuite.sync.handlers.Import.asyncImportObject(Import.java:207)
    at com.dmsuite.threads.async.ImportThread.run(ImportThread.java:95)
    at com.dmsuite.threads.BlockingExecutorService$AsyncCallable.call(BlockingExecutorService.java:240)
    at com.dmsuite.threads.BlockingExecutorService$AsyncCallable.call(BlockingExecutorService.java:229)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
    2022-01-11 06:12:57,136 [http-nio-127.0.0.1-8284-exec-2] INFO c.dmsuite.manager.EnvironmentManager - User is admin: true
    2022-01-11 06:12:57,236 [http-nio-127.0.0.1-8284-exec-2] INFO c.dmsuite.manager.EnvironmentManager - User is admin: true
    2022-01-11 06:13:02,302 [http-nio-127.0.0.1-8284-exec-9] INFO c.dmsuite.manager.EnvironmentManager - User is admin: true
    2022-01-11 06:13:02,384 [http-nio-127.0.0.1-8284-exec-9] INFO c.dmsuite.manager.EnvironmentManager - User is admin: true
    2022-01-11 06:13:21,645 [http-nio-127.0.0.1-8284-exec-1] INFO c.dmsuite.manager.EnvironmentManager - User is admin: true
    2022-01-11 06:13:21,718 [http-nio-127.0.0.1-8284-exec-2] INFO c.dmsuite.manager.EnvironmentManager - User is admin: true
    2022-01-11 06:13:23,986 [http-nio-127.0.0.1-8284-exec-6] INFO c.dmsuite.manager.EnvironmentManager - User is admin: true
    2022-01-11 06:13:24,042 [http-nio-127.0.0.1-8284-exec-5] INFO c.dmsuite.manager.EnvironmentManager - User is admin: true
    2022-01-11 06:13:25,734 [http-nio-127.0.0.1-8284-exec-9] INFO c.dmsuite.manager.EnvironmentManager - User is admin: true
    2022-01-11 06:13:44,488 [pool-4-thread-1] INFO c.dmsuite.threads.async.ImportThread - Beginning async import for id860483
    2022-01-11 06:13:44,489 [pool-4-thread-1] INFO com.dmsuite.sync.handlers.Import - Start import of blob with length of 101892 ; 1376 MB memory available
    2022-01-11 06:13:44,491 [pool-4-thread-1] ERROR c.d.threads.BlockingExecutorService - Async task 117 failed
    com.dmsuite.sync.exceptions.CorruptImportDocumentException: Unknown document version UNRECOGNIZED
    at com.dmsuite.sync.ExternalObjectDocument.parse(ExternalObjectDocument.java:330)
    at com.dmsuite.sync.ExternalObjectDocument.<init>(ExternalObjectDocument.java:86)
    at com.dmsuite.sync.handlers.Import.importObject(Import.java:85)
    at com.dmsuite.sync.handlers.Import.asyncImportObject(Import.java:207)
    at com.dmsuite.threads.async.ImportThread.run(ImportThread.java:95)
    at com.dmsuite.threads.BlockingExecutorService$AsyncCallable.call(BlockingExecutorService.java:240)
    at com.dmsuite.threads.BlockingExecutorService$AsyncCallable.call(BlockingExecutorService.java:229)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
    2022-01-11 06:13:50,057 [http-nio-127.0.0.1-8284-exec-9] INFO c.d.assembler.UserSecurityHandler - TimeSpan : 23

    ------------------------------
    Pankaj Asegaonkar
    Delphix Community Members
    ------------------------------


  • 2.  RE: Not able to copy environment from one engine to another
    Best Answer

    Posted 10 days ago
    Greetings Pankaj,

    Happy New Year to you and your team! This error is likely occurring because forward compatibility (e.g. new engine versions to older versions) is not supported; newer package variances could cause import issues to an older engine version. There's a warning callout in our Sync Concepts article that describes this in a bit more detail. Let me know if I can provide more clarity, I hope this helps!

    ------------------------------
    Ryan Fowler
    Senior Member of Technical Staff
    Delphix
    ------------------------------



  • 3.  RE: Not able to copy environment from one engine to another

    Posted 10 days ago
    Hello Pankaj,
    the goal_key is used only by mapplets (the old legacy customisations) and you should move away from using those
    as you have been provided with SDK based plugins (JAR) already.
    If you still use any mapplets you should replace them.
    SDK based customisations (plugins / extended algorithms) are using ONLY algorithm security keys.
    Those keys are not visible/editable but are part of the SYNC operation.
    Even so backwards sync (from 6.0.10 to 6.0.8) is not supported you might be able to use the SYNCABLE_OBJECTS
    and select object type "USER_ALGORITHM" to syncronise only the wanted algorithm instances.
    If you select an instance based on a custom plugin the plugin comes with it automatically because of the dependency management.
    Is there a specific reason not to upgrade the other engine to the same version ?
    With best regards ..  Tino

    ------------------------------
    Tino Pironti
    Masking SME
    Technical Manager
    Delphix
    ------------------------------