Topic
7 replies Latest Post - ‏2013-09-15T05:40:58Z by FAli
cotes
cotes
3 Posts
ACCEPTED ANSWER

Pinned topic Need to automate add server to ITIM

‏2013-09-10T21:05:21Z |

Hi Guys,

I was looking to automate add server procedure in ITIM. Downloaded aptscript tool but can anyone paste the example links again.

https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Tivoli%20Identity%20Manager/page/IBM%20Tivoli%20Identity%20Manager%20API%20Scripting%20Tool%20Examples

THis links python scripts are not working links.

  • FAli
    FAli
    76 Posts
    ACCEPTED ANSWER

    Re: Need to automate add server to ITIM

    ‏2013-09-11T05:26:59Z  in response to cotes

    Please find the link below;

    https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Tivoli%20Identity%20Manager/page/Related%20Resources

    On Left side Menu, Look Under Related Resources.

    Thanks..

    • cotes
      cotes
      3 Posts
      ACCEPTED ANSWER

      Re: Need to automate add server to ITIM

      ‏2013-09-11T12:30:51Z  in response to FAli

      Thanks,

      But still the scripts shown there links are not opening its pointing me back to wiki developer page.

      For example the below link should have opened a python script but it didn't work out :(

      http://www.ibm.com/developerworks/wikis/download/attachments/99877302/create_dynamic_role.py?version=1

      Thanks again.

      • franzw
        franzw
        326 Posts
        ACCEPTED ANSWER

        Re: Need to automate add server to ITIM

        ‏2013-09-11T12:51:53Z  in response to cotes

        What ITIM level are you running ? If you are on 6.0 you will need to change the code to support the new login method.

        Also - if you are running NDM you have to perform a lot of SSL black magic to connect to the ITIM server.

        I would start out with the delivered apps examples and getting them to work first to verify that your setup is working - then you can start getting the Python code work on your server and then step by step get the things up and running...

        My personal favorite is to use TDI for this kind of things - basically this works like the apps/Python - but you can use (scripted) connectors to make things much more streamlined - and nothing beats the TDI environment for quick development...

        HTH

        Regards

        Franz Wolfhagen

        • cotes
          cotes
          3 Posts
          ACCEPTED ANSWER

          Re: Need to automate add server to ITIM

          ‏2013-09-12T16:36:33Z  in response to franzw

          Thanks Franz,

          Just one last question. I think its stupid because i am a Unix Sys Adm talking is it possible for you to send me a pseudo code for

          Create a service and reconcilation. I am new to python so would dig something out from the code and make is working of adding a server and assigning roles to it.

          - Thanks again for all your help.

          • franzw
            franzw
            326 Posts
            ACCEPTED ANSWER

            Re: Need to automate add server to ITIM

            ‏2013-09-12T18:00:17Z  in response to cotes

            I have no code lying around - but take a look in the examples on the ITIM server.

            BTW - The CreateServiceWithConnectionMode.java source file demonstrates how to create a service in the default organization container.

            Being a unix sysadm should make it quite easy to build a oneline with that....

            Also study the API doc the same place. The Objects basically works the same way - so it should be fairly easy to understand.

            HTH

            Regards

            Franz Wolfhagen

             

  • Andyp
    Andyp
    3 Posts
    ACCEPTED ANSWER

    Re: Need to automate add server to ITIM

    ‏2013-09-12T19:14:01Z  in response to cotes

    This link may also help fill in a few gaps.

     

    http://www.ibm.com/developerworks/tivoli/tutorials/tz-bulkatttam/

  • FAli
    FAli
    76 Posts
    ACCEPTED ANSWER

    Re: Need to automate add server to ITIM

    ‏2013-09-15T05:40:58Z  in response to cotes

    The ITIM links are broken. but below are some examples.

    Here is one example on how to create a person;

    http://perfthoughts.livejournal.com/3980.html

    Here is example and configuration on creating ou's;

    http://blog.stephen-swann.co.uk/2010/06/ibm-tivoli-identity-manager-api.html

    I know its not the exact solution but at least it will help you get started.. if you are familiar with python, you can use dir(Object) to lookup for classes and methods.

    Hope it helps..

    Updated on 2013-09-15T06:09:37Z at 2013-09-15T06:09:37Z by FAli