As the tenant administrator you want to ensure that the development and quality engineering group receives virtual machines that are properly provisioned in your environment, so you create an approval policy that requires pre approval for certain types of requests.
Because the CentOS with MySQL virtual machine consumes vCenter Server resources, you want the vSphere virtual infrastructure administrator to approve requests when the requested memory is more than 2048 MB or more than 2 CPUs to ensure that the resources are consumed wisely. You also you give the approver the ability to modify the requested CPU and memory values before approving a request.
- Select .
- Create an approval policy for virtual machine provisioning.
- Click the New icon ().
- Select Select an approval policy type.
- In the list, select Service Catalog - Catalog Item Request - Virtual Machine.
- Click OK.
- Configure the following options:
Enter CentOS on vSphere CPU or Memory VM.
Enter Requires VI Admin approval for CPU>2 or Memory>2048.
- On the Pre Approval tab, click the Add icon ().
- Configure the Level Information tab with the triggering criteria and the approval actions.
- In the Name text box, enter CPU>2 or Memory>2048 - VI Admin.
- In the Description text box, enter VI Admin approval for CPU and Memory.
- Select Required based on conditions.
- In the Clause drop-down list, select Any of the following.
- In the new Clause drop-down list, select CPUs and configure the clause with the values CPU > 2.
- Click Add expression and configure the clause with the values Memory (MB) > 2048.
- Select Specific Users and Groups.
- Enter the name of the vSphere virtual infrastructure administrator or administrator group in the search text box and click the search icon ().
- Select the user or group.
- Select Anyone can approve.
The request only needs one virtual infrastructure administrator to verify the resources and approve the request.
- Click the System Properties tab and select the properties that allow the approver to modify the requested CPU and Memory values before approving a request.
- Select the CPUs and Memory (MB) check boxes.
- Click OK.
- Click OK.
You created an approval policy for virtual machine requests, but you still want to create an approval for the MySQL component. Until you apply the policies to an entitlement, no approvals are triggered.