Working with Custom Balancers

Registering a Custom Balancer

Use provision-custom-balancer-register operation to register a custom balancer.

Request
<packet>
  <extension>
    <call>
      <plesk-multi-server>
        <provision-custom-balancer-register>
          <class>Modules_PleskHubCloudProviders_Balancer\DeployedVpsBalancer</class>
        </provision-custom-balancer-register>
      </plesk-multi-server>
    </call>
  </extension>
</packet>
Response
<packet>
  <extension>
    <call>
      <result>
        <status>ok</status>
        <plesk-multi-server>
          <provision-custom-balancer-register/>
        </plesk-multi-server>
      </result>
    </call>
  </extension>
</packet>

Reseting a Custom Balancer

Use provision-custom-balancer-reset operation to reset a custom balancer and return to the default one.

Request
<packet>
  <extension>
    <call>
      <plesk-multi-server>
        <provision-custom-balancer-reset/>
      </plesk-multi-server>
    </call>
  </extension>
</packet>
Response
<packet>
  <extension>
    <call>
      <result>
        <status>ok</status>
        <plesk-multi-server>
          <provision-custom-balancer-reset/>
        </plesk-multi-server>
      </result>
    </call>
  </extension>
</packet>
 

Leave your feedback on this topic here

If you have questions or need support, please visit the Plesk forum or contact your hosting provider.
The comments below are for feedback on the documentation only. No timely answers or help will be provided.