This article demonstrates improving costing visibility by walking you through multi-tenant cost models, automated deployment, user-selectable deployment destinations and the VM Billing report. These features in concert provide information to help you minimize costs.
Our example organization has two main levels in its virtual infrastructure: a pre-production lab and a cheaper development lab, both residing on the same managed system. We want to make sure costs are optimized for both labs.
Here’s how to set up vCommander™ to provide cost visibility for this scenario.
Cost models allow you to assign distinct CPU, memory, storage, operating system, support and custom costs to different parts of your infrastructure. You can assign different costs to high-end versus low-end compute resources, to different hypervisor platforms, or to different groups of consumers. vCommander uses cost models to generate information in reports that can help you manage your virtual infrastructure resources.
To create a cost model for each lab:
- Browse to Configuration > Costs and choose the Cost Models tab.
- vCommander’s default cost model contains global settings which you can copy when creating new models. Select the Default Cost Model and click Copy.
- On the Name and Targets page, name the first model Pre-production and select the pre-production datacenter in the tree.
- Use the wizard to specify appropriate costs for your pre-production lab. On the Storage page, specify the default storage tier for this cost model.
- Repeat the process for the development lab.
vCommander also provides a tree view of your cost model setup:
To set up the Service Catalog, you need to create a Service Catalog
entry and add the Destination control to the New Service Request form,
so that users can select the appropriate deployment destination.
To add a Service Catalog entry:
- Browse to Configuration > Service Request Configuration > Service Catalog and click Add Service.
- On the Service Description page, give your service a name. Ours is named Ubuntu Linux.
- On the Components page, add a component from the managed system where you set up the deployment destinations.
- Accept the default settings for the rest of the wizard pages.
- Browse to Configuration > Service Request Configuration > Form Designer.
- Select the Default Service form.
- In the Toolbox, click Destination to add the element to the form.
- Use the arrows to move Destination to the desired location in the form.
- Click OK on the Destination form element, and then click Save to save the form.
Automated deployment requires you to set up an approval workflow and create deployment destinations.
To configure an approval workflow for automatic deployment:
- Browse to Configuration > Service Request Configuration > Approval Workflow.
- Click Add.
- On the Name & Type page, specify that the workflow will be applied when a new request is created. Click Next.
- Accept the defaults and click Next for the Assigned Groups and Steps pages.
- On the Automation Options page, select Automatically deploy approved requests. Click Next.
- Click Finish.
- Browse to Configuration > Service Request Configuration > Provisioning Configuration.
- Under Automated Deployment Placement, click Add.
- Provide a name, and use the wizard to select appropriate folder, target host or cluster, networking, storage and disk format.
- Review your choices on the Summary page:
Now, let’s put all the parts together and request a service.
- Log into the Service Portal and click Request New Service. The
Destination control appears on the Service tab. The expected
destination, if you let vCommander decide, will be the development lab:
- Select Production from the drop-down menu. Service Catalog costs are updated to reflect your choice:
- Click Submit Request.
Once you submit the request, it is automatically deployed to the selected destination.
To determine whether users are optimizing costs through this process,
run the VM Billing report to see exactly where users are deploying
their VMs. The VM Billing report provides a metered view of actual VM
resource allocation and associated cost.
The report is based on VM billing records, which are generated
nightly. The costs in the VM billing records, in turn, are calculated
from cost models.
To run the VM Billing report:
- Browse to Reports > Chargeback & IT Costing > VM Billing.
- Click Add Advanced Filters.
- In the Filters drop-down menu, select Ownership > Primary Owner Login.
- Enter a login name in the text field.
- Click Generate.