Svunlock

Description

The task is used to make a Performance Model Hot Swap.

Parameters

Attribute Description Required
url The server's management endpoint (e.g. https://localhost:6085/management or http://localhost:6080/management) Yes
username Username for conencting to the server management endpoint. No
password Password for conencting to the server management endpoint. No
service The name of the service (or its ID) where we want to change the performance model to. Yes
pm Performance model we want to change the service to. If it is not specified, Maximal Performance Model (also called None model) will be set. No
force Force mode means that if the service to be changed is locked by another user the task will automatically unlock it. If you don't use force mode and the service is locked, the hotswap won't be accomplished. Be careful with this option because you can rewrite another user's data if you explicitly unlock the service. No

Examples

    <svhotswap url="https://localhost:6085" username="HPSV" password="secret" service="My Virtual Service" pm="Slow Model" />
Swaps the performance model to "Slow Model".
    <svhotswap url="https://localhost:6085" username="HPSV" password="secret" service="My Virtual Service" />
Swaps the performance model to "Maximal Performance"" model