IS-RESOURCES part does'nt work

Hi All,

Please I need help. I have issue with CCE and IS-RESOURCES provisioning part.
All others parts working fine. For IS-RESOURCES just doing nothing - like part is skipped. No error, but when IS is provisioned, values are still default.

My template.yaml IS pare is below.
I need especially these values to be changed when IS is provisioned:
MaximumThreads: 22
MinimumThreads: 8
AvailableThreadsWarningThreshold: 15
SchedulerThreadThrottle: 85

Please what I am doing wrong?

Thank you.


   integrationServer:
        ${is.instance.name}:
          #runtimeComponentId: integrationServer-${is.instance.name}
          primary.port:    ${is.primary.port}
          diagnostic.port: ${is.diagnostic.port}
          jmx.port:        ${is.jmx.port}
          license.file:    IntegrationServer/config/licenseKey.xml

          package.list: "WmMonitor,WmDeployer,WmJDBCAdapter" # "all | <pkg1>,<pkg2>" # *= all packages (default)

          configuration:
            OSGI-IS_${is.instance.name}:
              COMMON-MEMORY:
                COMMON-MEMORY:
                  InitSize: ${is.memory.init}
                  MaxSize: ${is.memory.max}
            integrationServer-${is.instance.name}:
              IS-RESOURCES:
                Resources:
                  ServerThreadPool:
                    MaximumThreads: 22
                    MinimumThreads: 8
                    AvailableThreadsWarningThreshold: 15
                    SchedulerThreadThrottle: 85
                  Session:
                    SessionTimeout: 15
                    EnableStatefulSessionLimit: true
                    MaximumStatefulSessions: 2147483647
                    AvailableStatefulSessionWarningThreshold: 30
              COMMON-WMMESSAGING:
                COMMON-WMMESSAGING-IS_BROKER_CONNECTION:
                  Messaging:
                    "@alias": IS_BROKER_CONNECTION
                    Description: system generated Broker connection alias
                    ClientPrefix: J_jRQtEolDEur12345ADXaZQs_
                    ShareClientPrefix: 'false'
                    Enabled: 'false'
                    Provider:
                      "@type": BROKER
                      URL: 'Broker #1@hostname:6849'
                      ClientGroup: IntegrationServer
                      Auth:
                        "@type": none
                      ExtendedProperties:
              COMMON-LOCAL-USERS:  
                COMMON-LOCAL-USERS-wmDeployerUserIS:  
                  "@id": wmUser1  
                  Password: wmuser1  
                  Enabled: true  
                  AllowDigestAuthentication: false  
                COMMON-LOCAL-USERS-wmRemoteServerUser:  
                  "@id": wmUser2  
                  Password: wmuser2  
                  Enabled: true  
                  AllowDigestAuthentication: false  

It likely your YAML Structure that is missing a layer.
Try with double “IS-RESOURCES:”

      integrationServer:
        default:
          configuration:
            integrationServer-default:
              IS-RESOURCES:
                IS-RESOURCES:
                  Resources:
                    ServerThreadPool:
                      MaximumThreads: '75'
                      MinimumThreads: '10'
                      AvailableThreadsWarningThreshold: '15'
                      SchedulerThreadThrottle: '75'
                    Session:
                      SessionTimeout: '10'
                      EnableStatefulSessionLimit: 'true'
                      MaximumStatefulSessions: '2147483647'
                      AvailableStatefulSessionWarningThreshold: '25'

Thank you, Holm!

Tested but unfortunately doesn’t helped - still no effect. :frowning:

What versions and patch levels of IS / CCE are we talking about?

I tested adding this to a 10.1 template with CCE version 10.2 and it provisioned properly for me.
Hope that helps.


is.serverthreadpool.max=300
is.serverthreadpool.min=50
is.available.threshold=15
is.scheduler.threadthrottle=25

              IS-RESOURCES:
                IS-RESOURCES:
                  Resources:
                    ServerThreadPool:
                      MaximumThreads: ${is.serverthreadpool.max}
                      MinimumThreads: ${is.serverthreadpool.min}
                      AvailableThreadsWarningThreshold: ${is.available.threshold}
                      SchedulerThreadThrottle: ${is.scheduler.threadthrottle}
                    Session:
                      SessionTimeout: '10'
                      EnableStatefulSessionLimit: 'true'
                      MaximumStatefulSessions: '2147483647'
                      AvailableStatefulSessionWarningThreshold: '25'

I have CCE: 10.1 with latest patches (not sure where to find - i found only this: 10.1.0.0.211).
But it is 10.1 with all current latest patches.

@Mike, thanks for test! It is strange. Same what working for you, not working for me. :frowning:

Is there some possibility where I can find what happened? I tried check logs, but can’t see anything related to this IS-RESOURCE part. Any error…nothing.

Maybe I can wait for 10.3 and try it in this version. :slight_smile:

Sure, but you have to look into various places because there are many components part of this.
When you start there is Command Central, then it goes to the SPM on the target system.
There it is handed over to the SPM Plugin for IS and finally the IS that expose serivces to
the SPM to allow those config changes also is included (that’s why you get an error in CCE
when the IS you want to manage / change config etc. is down).
The answer for your problem is certainly in one of the logs of those 4 components.

Thank you Holm, will check it more on all places and will see.

Hi Ladislav,

I am using a new version of Command Central than you are.

Command Central Server 10.2.0.0.186

I don’t know if this explains your issue but my SAG consultant recommended using the latest version of Command Central after consulting with R&D in terms of a general approach. You can wait for 10.3 but that’s likely not out towards the end of October

I don’t see a difference between the syntax you and I are using so that’s where I suspect it could be a patch or version issue.
Hopefully Holm can shed some light otherwise.

Regards,
Mike

The syntax has not changed, the best and easy way to get a “master” is CCE itself.
You can go into your IS “Configuration”, then select the ressources part from the drop down menue and use the export button on the top-right side. It will give you a perfect YAML snip.
Just alter the values you need to change and copy it to your template to execute, that will work fine.

In the initial example you pasted above there is definately one row missing and with it the indentation of the other lines also need to be adjusted. You need IS-RESOURCES twice.
Also with that not beeing a valid template you should see in the SPM logs of the target machine some errors/warnings about it.

Can you please provide a copy of your latest template?

Hi Mike,

Thank you!
I am using CCE 10.1 for prove of concept and for final solution we are planning to use 10.3. So maybe this will be solved in this version.

I got this setup some time ago from my colleague and he is using it with version 9.12. I guess it is working for him because he has it in his template. But can’t ask him to validate because he is not here anymore.

Is possible that something what was working in 9.12 not working in 10.1 and again working in 10.2? :slight_smile:

So let’s see… I have to play with it more and test it with latest version 10.2 or wait for 10.3. And will you know if i find something or solve it.

Thank you both!

Hi Holm,

Yes, i found same issue now. Thanks to you, because i was not aware that I can export directly YAML syntax from CCE. This will really help me a lot. Until now I spent time to find what syntax is for each part on google or on this forum.:frowning:

When I exported it, found immediately that there needs to be IS-RESOURCES twice. :slight_smile:

Now I tested and it working fine.
Export possibility will help me with others parts a lot.

Thank you a lot!!!

You are welcome.

With this in mind one more hint to take a look into this URL:
[url]https://github.com/SoftwareAG/sagdevops-templates/blob/develop/templates/[/url]
location for usefull examples and templates to start with.

Looks like very useful link, thank you, Holm!

I am beginner with CCE and trying to do prove of concept to provision as much as possible SAG components we using.
Most probably I will have more issues later, but link like this can reduce them. :slight_smile: