IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  create IS File Permissions sections via sagcc 10.1

    Posted Thu April 04, 2019 12:27 PM

    Hi guys,

    I am trying to automate the creation of these File Permissions.
    I can read them with a command like this:

    ./sagcc get configuration data MySpm MyISInstance IS-FILEPERMISSION_READ

    this gives a result which looks like this:

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>

    Now let’s say I want to add a path : /tmp/test so my xml becomes:

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>

    I am unsure what the create command is for this. I have tried something like :

    ./sagcc create configuration data MySpm MyIsInstance IS-FILEPERMISSION_READ -i /tmp/demo/acl.xml

    but this returns an error :

    {“@id”:“1554387746126”,“message”:“ConfigurationSerializer SPI could not be found for RuntimeComponentId "MyIsInstance" and ConfigurationTypeId "IS-FILEPERMISSION_READ" .”,“code”:“SPMCFCE0048”,“description”:“Platform Manager could not find a registered ConfigurationSerializer that can handle ConfigurationInstances with these properties.”,“action”:“Register a ConfigurationSerializer SPI implementation that can handle ConfigurationInstances with these properties.”}

    Any idea what the create command should look like?


    #Command-Central
    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: create IS File Permissions sections via sagcc 10.1

    Posted Fri April 05, 2019 04:25 AM

    Hi Andrei,

    Please use below command to update IS file permission:

    ./sagcc update configuration data localhost integrationServer-default IS-FILEPERMISSION_READ --input /home/test.xml --password manage

    test.xml should be in below format:

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>

    For more information you can refer below documentation:

    https://:/cce/web/cc-help/index.html#page/cc-onlinehelp%2Fre-sagcc_create_configuration_data.html%23

    You can verify whether the file is updated or not in below location:
    /SoftwareAG/IntegrationServer/instances/default/packages/WmPublic/config/fileAccessControl.cnf

    Thanks,
    Ranjith


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods
    #Command-Central


  • 3.  RE: create IS File Permissions sections via sagcc 10.1

    Posted Fri April 05, 2019 06:09 AM

    thank you Ranjith,

    the command worked fine using the password for the default Administrator local account. Now, how do I specify another user, assume I have a different local admin account and --user is not recognised as an option.


    #Command-Central
    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General


  • 4.  RE: create IS File Permissions sections via sagcc 10.1

    Posted Fri April 05, 2019 06:22 AM

    Hi Andrei,

    I am not sure about the different user.

    Can you please try with below command:

    ./sagcc update configuration data localhost integrationServer-default IS-FILEPERMISSION_READ --input /home/test.xml --username

    Thanks,
    Ranjith


    #Command-Central
    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 5.  RE: create IS File Permissions sections via sagcc 10.1

    Posted Fri April 05, 2019 06:28 AM