[midPoint] Midpoint v4.4 - Clustered Multithread Activity

Sanudo Martinez, Santiago Santiago.SanudoMartinez at ingrammicro.com
Thu Dec 30 11:03:33 CET 2021


Hi everyone,

Currently I am working on creating an activity which contains multiple activities. I want to make it so each of the activities that make the parent activity are executed among 2 specific nodes and with multiple workers with both nodes as well as each worker in each node being executed as multithread.


Could you please confirm if the following approach is correct for that or am I missing something? Thanks!




<task xmlns=http://midpoint.evolveum.com/xml/ns/public/common/common-3 xmlns:c=http://midpoint.evolveum.com/xml/ns/public/common/common-3 xmlns:mext=http://midpoint.evolveum.com/xml/ns/public/model/extension-3 xmlns:org=http://midpoint.evolveum.com/xml/ns/public/common/org-3 xmlns:ri=http://midpoint.evolveum.com/xml/ns/public/resource/instance-3 xmlns:xsd=http://www.w3.org/2001/XMLSchema xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance oid="57b716c5-a41f-4a0c-9579-2004112ac044">
    <name>Import - All</name>
    <ownerRef oid="00000000-0000-0000-0000-000000000002"/>
    <executionState>runnable</executionState>
    <activity>
        <composition>
            <activity>
                <order>4</order>
                <identifier>Import - Azure AD</identifier>
                <work>
                    <import>
                        <resourceObjects>
                            <resourceRef oid="cccccccc-0000-0000-0011-000000000001"/>
                            <kind>account</kind>
                            <objectclass>ri:AccountObjectClass</objectclass>
                        </resourceObjects>
                    </import>
                </work>

            <distribution>
                    <workerThreads>4</workerThreads>
                </distribution>
            </activity>

            <activity>
                <order>3</order>
                <identifier>Import - Azure AD</identifier>
                <work>
                    <import>
                        <resourceObjects>
                            <resourceRef oid="cccccccc-0000-0000-0011-000000000001"/>
                            <kind>account</kind>
                            <objectclass>ri:AccountObjectClass</objectclass>
                        </resourceObjects>
                    </import>
                </work>

            <distribution>
                    <workerThreads>4</workerThreads>
                </distribution>
            </activity>

            <activity>
                <order>2</order>
                <identifier>Import - Contractors</identifier>
                <work>
                    <import>
                        <resourceObjects>
                            <resourceRef oid="4b2f56cf-e577-45f3-b16e-9052f721ae00"/>
                            <kind>account</kind>
                            <objectclass>ri:AccountObjectClass</objectclass>
                        </resourceObjects>
                    </import>
                </work>

            <distribution>
                    <workerThreads>4</workerThreads>
                </distribution>
            </activity>

            <activity>
                <order>1</order>
                <identifier>Import - HR</identifier>
                <work>
                    <import>
                        <resourceObjects>
                            <resourceRef oid="4b2f56cf-e577-45f3-b16e-9052f721ae00"/>
                            <kind>account</kind>
                            <objectclass>ri:AccountObjectClass</objectclass>
                        </resourceObjects>
                    </import>
                </work>
            <distribution>
                    <workerThreads>4</workerThreads>
                </distribution>
            </activity>

        </composition>

        <distribution>
            <workers>
                <workersPerNode>
                    <nodeIdentifier>Worker1</nodeIdentifier>
                    <nodeIdentifier>Worker2</nodeIdentifier>
                    <count>4</count>
                </workersPerNode>
            </workers>
            <subtasks/>
        </distribution>

    </activity>
</task>





Regards,

Santiago Sañudo Martínez
Cloud Security Operations
Plaza de Manuel Llano, Santander, Spain, 39011

[cid:image001.jpg at 01D7FD6C.3E16B5D0]
Twitter<http://bit.ly/IngramTwitter> | LinkedIn<http://bit.ly/IngramLinkedIN> | Facebook<http://bit.ly/IngramFacebook> | YouTube<http://bit.ly/IngramYouTube>

This email may contain material that is confidential, and proprietary to Ingram Micro and subsidiaries, for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.


La información contenida en este mensaje es confidencial. En caso de que reciba este mensaje por error le rogamos lo comunique a la mayor brevedad al emisor y proceda a su eliminación definitiva, absteniéndose de copiar, almacenar o difundir su contenido. De acuerdo con lo establecido en la Ley Orgánica 15/1999, de Protección de Datos de Carácter Personal y en el Reglamento de Desarrollo 1720/2007, los datos personales que facilite a través de la dirección de correo indicada serán incorporados a un fichero titularidad de INGRAM MICRO, S.L.U., con domicilio en C/ Antonio Machado, 78-80 1ª y 2ª pl. Business Park ( 08840-Viladecans). Mediante el envío de sus datos, Ud. otorga su consentimiento expreso a INGRAM MICRO, S.L.U, para el tratamiento de sus datos, con la finalidad de atender a su consulta y/o mantener la relación profesional, comercial, y/o contractual que en su caso establezca con INGRAM MICRO, S.L.U. Puede ejercitar sus derechos de acceso, rectificación, cancelación y oposición notificándolo por escrito a la dirección del remitente, o a la siguiente dirección de correo nuevascuentas at ingrammicro.es. De acuerdo con la Ley 34/2002, de Servicios de la Sociedad de la Información y de Comercio Electrónico, Vd. podrá oponerse en cualquier momento al tratamiento de sus datos con fines promocionales notificándonoslo por escrito a la dirección de correo mencionada.
.................................................................................................................................................................................................................................................
The information contained in this message is confidential. If you receive this message by error please notify it as soon as possible to the sender and proceed to their final elimination by not copy, store or distribute its content. In accordance of what is stated in the Law 15/1999, of Data Personal Protection and Regulation Rule 1720/2007, the personal data provided through the email address you entered will be included in a file owned by INGRAM MICRO, SLU, located at C/ Antonio Machado, 78-80 1ª y 2ª pl. Business Park ( 08840-Viladecans). By submitting your data, you expressly give your consent to INGRAM MICRO, SLU, to the treatment of your data, in order to answer to your questions and / or keep the professional, commercial relationship  and / or contractual set with INGRAM MICRO, SLU You can exercise your rights of access, rectification, cancellation and opposition by giving written notification to the sender address or to  the following email:  nuevascuentas at ingrammicro.es. According to Law 34/2002, of the Information Society and Electronic Commerce, you may object at any time to your data treatment for promotional purposes by notifying us in writing to the email address above.
[Ingram_2818e5de]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20211230/efb1be96/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2057 bytes
Desc: image001.jpg
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20211230/efb1be96/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Multinode multiworker multithread multiactivity  - import all.xml
Type: application/xml
Size: 3824 bytes
Desc: Multinode multiworker multithread multiactivity  - import all.xml
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20211230/efb1be96/attachment-0001.xml>


More information about the midPoint mailing list