Manually Provision vCenter Services
Access: | Views > Inventory > Applications or Service Requests > Request Details |
Available to: | Administrator, Operator, Operator with Approval Access Rights |
You can manually provision vCenter services in the following ways:
- Deploy a requested service, VM or virtual service: Click Deploy at the appropriate level of the tree in the Request Details dialog. Note that once a component in a service has been deployed, it's no longer possible to deploy at the service level; you must deploy at the component level.
When deploying an entire service, if the deployment of one or more components fails, Commander will still attempt to deploy other components in the service. If the virtual service container can't be deployed, the entire deployment is halted. You can attempt to redeploy failed components later.
- Clone a VM: From the Inventory tree, select a VM, then select Actions > Provisioning > Clone VM.
- Create a linked clone from a VM or from a template with a snapshot: From the Inventory tree, select a VM, then select Actions > Provisioning > Create Linked Clone.
It's not possible to create a linked clone from a template without an existing snapshot. (If the selected VM doesn't have a snapshot, one will be created.)
A linked clone is created from the most recent snapshot of the parent. Because the linked clone relies heavily on the parent snapshot, the parent or snapshot location should be on a very fast SAN (SSD), especially if multiple linked clones are created from the same parent. The linked clone consists of the snapshot plus the metadata and the delta between the snapshot and the deployed image.
Important: Users with sufficient permissions can delete a linked clone's source VM, but the base disks will remain available to the linked clones. If the base disks are removed, the linked clones will no longer operate properly. Be careful when using Commander reporting to identify unlinked files, as this report may inappropriately show these base disks as unlinked/unused files. See Unlinked Files Report for more information.
- Clone a virtual service: From the Inventory tree, select a powered-off VM, then select Actions > Clone Virtual Service.
When cloning a virtual service, if the deployment of one or more VMs fails, the virtual service will be completely removed.
- Clone a VM or a template to a template: From the Inventory tree, select a powered-off VM, then select Provisioning > Clone to Template.
- Deploy a VM from a template: From the Inventory tree, select a template, then select Actions > Provisioning > Deploy to VM.
- Convert a VM to a template, or a template to a VM: See Convert VMs to templates below.
Deployment Configuration pages
The following sections provide information for the manual deployment wizard. The pages and options displayed depend on the type of components offered by the service. They also depend on whether you're deploying an entire service, a VM, or a virtual service. For example, because it's not possible to customize the VMs within a virtual service, resource customization isn't possible for virtual services. When deploying an entire service, the options also vary depending on whether the service is configured to be deployed as a virtual service or as individual components.
Name & Folder page
Naming options are not available if you're deploying an entire service as individual components — that is, if you clicked Deploy at the Service level in the Request Details dialog (rather than at the Component level) and the service is configured to be deployed as individual components (rather than as a virtual service).
- Let the system name this Service/VM/Virtual Service automatically: See also Customize Naming Conventions.
- Manually name this Service/VM/Virtual Service: Enter a name for the service. The name must be unique in the target folder. If Commander detects that the name isn't unique when you have specified the target (on the next page of the wizard), an error is displayed.
Note that you can't use variables in this field, but you can use variables in the global VM naming convention.
- Placement Options: The option you select here allows Commander to preselect destination choices for you, but you can change those selections throughout this wizard. The available options are:
- Available Capacity (Average): See Peak versus Average capacity values.
- Available Capacity (Peak): See Peak versus Average capacity values
- Last Specified: Uses the placement location that was last used to deploy this service or component. If the service or component has not been previously deployed, the first viable placement location is used.
- User Specified: Uses the same placement location as the source; otherwise, uses the first available placement location.
- Automated Deployment: Uses the placement options configured for automated deployment. The datastore that's picked is based on the tier of its existing disks as well as the maximum available space. If you see the error "Automated deployment has not been configured", see Configure Automated Deployment for Approved Service Requests to learn how to set up automated deployment.
- Make this VM highly available / Make all VMs in this service highly available: To deploy to non-clustered hosts and datastores, clear this option. If you specify that the VM or service is highly available, it can only be placed on clustered hosts and clustered storage. If you specify that a VM or service isn't highly available, it can only be placed on non-clustered hosts and non-clustered storage.
- Folder: Select a folder for the new VM.
Target & Resource Pool page
Select the target host or cluster and resource pool for the VM. Commander provides capacity information to guide your decision.
Components page
This page appears only when deploying an entire requested service — that is, you clicked Deploy at the Service level in the Request Details dialog, rather than at the Component level.
All components in the service are listed. Custom components contained in the service are listed for information purposes only.
Clear the checkboxes next to the components you don't want to deploy at this time. For a service configured to be deployed as a virtual service, if you deselect all VM components, an empty virtual service is created. You can return to the Request Details dialog later to deploy the VMs into the empty virtual service.
Components are deployed serially, not in parallel.
Datastore pages
The two Datastore pages of the wizard allow you to select a datastore and configure disks. On the first page, select a datastore in the list to view its available space and used space, as well as reserved space for any in-progress tasks. The second page allows you to select a disk format and edit disks.
When you deploy an entire service, all VMs and virtual services in the service are deployed with the same datastore options. Storage tiers specified in the service request are ignored, and you can't edit hard disk information.
- Show excluded datastores: Shows all datastores, even the ones that are excluded from the list of choices because they are over-provisioned. See also Exclude new datastores from capacity calculations.
- Select a format in which to store the VM's virtual disks: By default, disks are provisioned in the same format as the source disk.
- Same format as source: Use the disk format of the source template or VM.
- Thin: Allocate disk space on demand. Supports over-allocation of storage resources.
- SEsparse: Allocate disk space as it's used by the guest OS. Supports over-allocation of storage resources. Block size is configurable and space may be reclaimed.
The SEsparse format is supported only for hardware version 9 or higher. The source VM must have one and only one snapshot.
- Thick - Lazy Zeroed: Allocate disk space now. Disk blocks are zeroed out on first write.
- Thick - Eager Zeroed: Allocate disk space now. All disk blocks are zeroed out during disk creation. This is required to support clustering features such as Fault Tolerance.
- Edit Disks: To add, modify and delete disks, click Edit Disks. In the Edit Disks dialog, select Select a datastore from the Location drop-down menu to specify the datastore. The datastore you select determines the options available under Disk Provisioning; these options are also determined by the cloud account type.
It's not possible to resize IDE disks, independent disks, or disks involved in a snapshot or linked clone chain.
Resources page
This page allows you to customize VM resources when deploying to a VM that's not a component of a vApp or a service.
Customize the values for Memory Size and CPU Count as required.
Assign a static IP address from pool when an IP pool is linked to the network: Available only for Windows and VMware-supported Linux VMs. Must be enabled if an IP address from a pool is to be used. Using a customization specification or manual customization is required for an IP address to be assigned (see the Customization page section below). An IP address can only be applied to a guest OS during guest OS customization.
Networks: Configured network adapters are displayed in a list. If you have tagged networks with zones, the Network drop-down list groups networks by zone. To add a network adapter, click Add Network Adapter. The options you can configure for network adapters depend on the host version (for example, adapter settings vary by ESX version).
If you have a large number of networks, click next to the Network drop-down menu to open a pop-up dialog for easier searching.
Custom Attributes page
Custom attributes allow you to provide more metadata about your virtualized infrastructure.
This page doesn't appear when deploying an entire service that's configured to be deployed as individual VM components.
For information on custom attributes, see Work with Custom Attributes.
Because you would typically set different custom attribute values for a virtual service and its children, custom attribute values set for a virtual service are not inherited by its children. The same holds true for application stacks and auto scaling groups.
Parameters
Set the configuration parameters required for an Open Virtual Format (OVF) or Open Virtual Appliance (OVA) component. You can enter a literal value for a parameter or use a variable.
The configuration parameters that are displayed depend upon the descriptor file of the OVA/OVF template that's used. This page is only displayed if the descriptor file contains at least one property.
- When you use variables for a parameter, you can set an available custom attribute for the parameter. This allows users deploying the service to configure some or all parameters. To add a custom attribute for a parameter here, you must first add the custom attribute on the Custom Attributes page of the wizard.
- The default values for the template are displayed on the right side of the page. If you make changes to the configuration parameters, but then want to restore the default values, click Reset to template defaults.
Other Properties page
When deploying at the service level, values entered on this page are applied only to the components of the service. This means that if the service contains a virtual service component, values entered on this page are not applied to any VMs which are components of the virtual service.
If the Expiry Date form element or the Primary Owner form element has been added to the Component request form, users can specify expiry and/or ownership information for requested components (see Service Request Form Elements). Their selection isn't displayed in the manual Service deployment wizard. In this case, you should deploy each component separately by clicking Deploy at the Component level of the Request Details, rather than at the Service level. Doing so ensures that you won't override the requester's individual selections for all components in the service.
See also Order of Precedence for Metadata and Service Settings.
- VM/Virtual Service Name: Click Edit to override the service name. You can't use Commander variables in this field. See also Customize Naming Conventions.
- Expiry Date: Click Edit to set or override the expiry date, or to specify that the service will never expire. See also Manage Service Expirations.
- Expiry Group: Click Edit and select an expiry group from the drop-down menu.
- Maintenance Group: Click Edit and select a maintenance group from the drop-down menu.
- Power Schedule Group: Click Edit and select a power schedule group from the drop-down menu. Displayed for VM components only.
- Rightsizing Group: Click Edit and select a rightsizing group from the drop-down menu. Displayed for VM components only.
Owners: To edit ownership assignment, click Edit. In the Edit Ownership dialog, if the user you assign is a member of an organization, make sure to select the owner's organization to ensure the service is visible to organization members. To assign users, enter a username or email address. See also Set Resource Ownership.
- Service Request: When deploying a service request, the Release checkbox is enabled by default, so that components advance to completion automatically. When the Release checkbox is enabled, if one or more completion workflows have been assigned, the service request is automatically transferred to the completion workflow process. If no completion workflows are assigned, once all components in a service are deployed, releasing the components makes the service visible to the requester (for example, the Service Portal user).
If there are manual steps in your provisioning process, clear the Release checkbox so that you can carry out these steps before the completion workflow starts. For example, you may need to install software, check operating system patches, or migrate VMs. Click Comment to enter more information for the service request comment log.
Customization page
This page appears only when a VM is cloned or is deployed from a template with one of the operating systems supported for customization. Customization options are available only when supported by the guest operating system and VMware. Customization specifications must already exist for Windows templates in order to use this option.
Windows: Commander supports unattended VM customization for all Windows operating systems (using the answer file unattend.xml
). For Windows Server 2003, Windows XP and Windows 2000, Commander also supports use of the answer file sysprep.inf
.
Linux: Commander supports VM customization for any of the Linux versions supported by vCenter.
Customization Page Options
Summary page
The summary information displayed varies by cloud account type.
- Start Deployed VM/Start Deployed Components: If you don't want the deployed components to be started, clear this option.
- Set primary owner as administrator: This option can be enabled only if the following conditions exist:
- You have selected Customize using wizard or Customize using a customization specification in the Customization Page in this wizard. If you're using an Answer file during customization, the option to set the primary owner as an administrator isn't available.
- You have specified the domain administrator during customization
- You have specified the domain password during customization
- The primary owner you have entered is a directory services user (see Other Properties Page above)
- Policy Actions: If one or more policies will be triggered once deployment occurs, policy actions are listed here.
Important: The VM customization process may proceed for some time after the VM is created. If anyone interrupts the customization process by signing in to the VM, the primary owner won't be added as administrator. To ensure that the service requester isn't prematurely notified that the VM is ready for use, add a Wait For Event step to your completion workflow. In the Wait For drop-down menu, select Guest OS customization to complete, and in the Wait Time field, enter 1800 seconds (30 minutes).
Convert VMs to templates
When a vCenter VM is converted to a template, it no longer appears in the Infrastructure view tree, but will appear in the Virtual Machines tab if the tab is selected at the ESX server level or higher. The template appears in both the Applications view tree and in the Virtual Machines tab.
Converting VMs and templates is supported only for vCenter.
Access: | Views > Inventory |
Available to: | Administrator, Operator, Operator with Approval Access Rights |
- Click the Infrastructure or Applications tab.
- Select a powered-off VM, then select Actions > Provisioning > Convert to Template.
- Click OK.
Convert templates to VMs
Converting VMs and templates is supported only for vCenter.
Access: | Views > Inventory |
Available to: | Administrator, Operator, Operator with Approval Access Rights |
- Select a template, then select Actions > Provisioning > Convert to VM.
- Complete the wizard and click Finish.