Product SiteDocumentation Site

10.2.5. Clone Contents

Clones must contain exactly one primitive or group resource.

Example 10.4. A clone that runs a web server on all nodes

<clone id="apache-clone">
    <primitive id="apache" class="lsb" type="apache">
        <operations>
           <op id="apache-monitor" name="monitor" interval="30"/>
        </operations>
    </primitive>
</clone>

Warning

You should never reference the name of a clone’s child (the primitive or group resource being cloned). If you think you need to do this, you probably need to re-evaluate your design.