Data Integration

Get Involved. Join the Conversation.

Topic

    Mark Hamilton
    DIPC Remote Agent RegistrationAnswered
    Topic posted August 16, 2019 by Mark HamiltonGreen Ribbon: 100+ Points, tagged DIPC, ODI, Provisioning 
    20 Views, 5 Comments
    Title:
    DIPC Remote Agent Registration
    Summary:
    Problem with Registration
    Content:

    Hi,

    I am trying to setup Data integration Platform Cloud.

    I am following the guide which instructs me to download the agent package from the platform. I have done this for windows.

    When I run the dicloudConfigureAgent.bat or .sh for Linux file, I am prompted for some parameters. I could not see how to add the parameters into the file, as mentioned in the guide. I enter them and the program creates an agent instance. When I go into this instance domain / folder I only see one sub-folder called, Conf, but there should be a bin sub-folder with the startAgentinstance.bat file within it. This has not been created. I expect that I have not entered some parameters properly. One guide mentions that a cloud username and password is required but I am not asked for those from the program. Please can you help? 

    Kind Regards,

    Mark

    Version:
    DIPC current Cloud version

    Best Comment

    Mark Hamilton

    I dont think the Windows agent is supported. Only Linux at the moment.

    Comment

     

    • Julien Testut

      Hi Mark,

      Please refer to this doc link for the parameters to pass to dicloudConfigureAgent: https://docs.oracle.com/en/cloud/paas/data-integration-platform-cloud/using/you-perform-tasks.html#GUID-4C5A810C-0A3A-4E5C-B55B-2B492C725FEC. The command will look like this: ./dicloudConfigureAgent.sh <agentInstanceDirectory> -recreate -debug -dipchost=<dipc.example.host.com> -dipcport=<port> -user=<diuser> -password=<dipassword> -authType=<BASIC/OAUTH2> -idcsServerUrl=<idcs server url> -agentIdcsScope=<agent IDCS Client Scope> -agentClientId=<Agent IDCS clientID> -agentClientSecret=<Agent IDCS clientSecret>

      Thanks,
      Julien

    • Mark Hamilton

      1. This is my configure agent script without the password shown. When I run it like this i get a message saying that i have too many arguments.

      C:\MH_Oracle_Installs\DIPCAgent\dicloud\dicloudConfigureAgent.bat 
      dipcagent001
      -recreate 
      -debug 
      -dipchost=psm-eduoracle.console.oraclecloud.com
      -dipcport=443
      -user=MarkH
      -password=*********
      -authType=OAUTH2 
      -idcsServerUrl=https://idcs-b04de8c998444222bf67ed5c04f9393f.identity.oraclecloud.com
      -agentIdcsScope=https://34964AFB5BA84C77AD41792A35132E12.adipc.ocp.oraclecloud.com:443urn:opc:resource:consumer::all 
      -agentClientId=24ea22a0d35d427f912a62c6068dffbf
      -agentClientSecret=0524cf21-012e-48e7-954c-bae4d2f6592e

      2. When I run it without the arguments then I am prompted for 4 arguments (host, port, idcsserverurl and scope). This does not work either and I get a long error message in the command shell. Please see the attached file. The first error looks to be this one and then it tries to delete the instance folder after that.

      [global] (oracle.dicloud.agent.deployment.AgentDeployer getOdiHome) odiPluginHome : C:\MH_Oracle_Installs\DIPCAgent\dicloud\agent\oracle\plugins\odi doesn't exist

      Please can you help?

      Thanks

      Mark

      • Julien Testut

        Hi Mark,

        It would be best to open up a support request on My Oracle Support about this. I cannot reproduce the "too many argument" error but I only have access to a Linux environment so it could be a difference between the Linux and Windows Agents... On Linux the command seems to work even so it obviously fails given that I cannot access your system.

        Thanks,
        Julien

    • Mark Hamilton

      Hi Julien,

      I have just now tried it on Linux and the configure agent file does create the agent instance fully. It seems like the windows zip file download has a folder called ODI missing from within it as per my previous message. Thanks for the support. I will suggest we raise a support ticket for that.

      I am having trouble starting it now on Linux and i will post a new discussion here for that.

      Thanks,

      Mark

    • Mark Hamilton

      I dont think the Windows agent is supported. Only Linux at the moment.