Repoint DSource

  • 0
  • 1
  • Problem
  • Updated 4 years ago
  • Solved
Hi everyone, Can anyone help me understand how to relink the DSource in  4.2.1.0 version of Delphix engine. I see a new parameter source.operations there. Not sure how to set it and what value its expecting. Can some one please help ?
Photo of Rohio

Rohio

  • 134 Points 100 badge 2x thumb

Posted 4 years ago

  • 0
  • 1
Photo of Rohio

Rohio

  • 134 Points 100 badge 2x thumb
Properties    type: OracleAttachSourceParameters
    dbCredentials:
        type: PasswordCredential
        password: (required)
    dbUser: (required)
    environmentUser: (required)
    linkNow: (unset)
    source:
        type: OracleLinkedSource
        name: (unset)
        backupLevelEnabled: (unset)
        bandwidthLimit: (unset)
        checkLogical: (unset)
        compressedLinkingEnabled: (unset)
        config: (required)
        encryptedLinkingEnabled: (unset)
        externalFilePath: (unset)
        filesPerSet: (unset)
        numberOfConnections: (unset)
        operations:
            type: LinkedSourceOperations
            postSync: (required)
            preSync: (required)
        rmanChannels: (unset)

Of this am wondering what to add for  source.operations.postSync and preSync. Appreciate if someone can help
Photo of Rohio

Rohio

  • 134 Points 100 badge 2x thumb
Thanks Delphix team. got the solution.

----. If no pre/post scripts are required then-----

attachSource *> edit source.operations.preSync'dSourcename' attachSource source.operations.preSync *> add
'dSourcename'  attachSource source.operations.preSync 0 *> get
    type: RunCommandOnSourceOperation (*)
    command: (required)
'dSourcename'  attachSource source.operations.preSync 0 *> set command=#
'dSourcename'  attachSource source.operations.preSync 0 *> back
'dSourcename' attachSource source.operations.preSync *> back
'dSourcename'  attachSource *> edit source.operations.postSync
'dSourcename'  attachSource source.operations.postSync *> add
'dSourcename'  attachSource source.operations.postSync 0 *> get
    type: RunCommandOnSourceOperation (*)
    command: (required)
'dSourcename'  attachSource source.operations.postSync 0 *> set command=#
'dSourcename'  attachSource source.operations.postSync 0 *> back
'dSourcename'  attachSource source.operations.postSync *> back






(Edited)
Photo of Jaclyn Schoof

Jaclyn Schoof, Community Manager

  • 5,092 Points 5k badge 2x thumb
I'm glad you got an answer!