Example: Creating a VMware Virtual Guest Package
This topic was created by a BMC Contributor and has not been approved. More information.
This topic provides an example of creating a VMware Virtual Guest Package (VGP) in BMC Server Automation. The VGP contains the VM guest configuration settings normally required by vCenter. This topic includes the following sections:
For the creation of a VGP, you can optionally use a vCenter Template:
- VGPs defined using a vCenter templates create a VM provisioned with the OS contained in the vCenter template.
- VGPs defined without using a vCenter template create an empty VM that will need to use OS Provisioning to complete.
VGPs are normally used to define the standard levels of VM guest to create. Do not create a new VGP unless no existing VGP meets standard catalog offerings.
Before you begin
Ensure that the following requirements are met:
- The target VMware host is defined in a vCenter connected to BMC Server Automation.
- If used, the vCenter template exists in the target vCenter.
- If used, the vCenter template is known to work in vCenter with the expected results.
To create a VMware VGP
- Navigate to the required folder in the Depot.
The following example figure shows the VGP folder in the Depot.
- Right-click the relevant folder and select New > Virtual Guest Package.
The New Virtual Guest Package wizard opens, as in the following figure.
- Enter Job Name, and verify that the correct folder path appears in the Member of field.
- If you want to use a vCenter Template, in the Virtual Guest Package type field select VMware Virtual Machine Template. Then select the specific vCenter template through the VMware VC Template field, as shown in the following figure.
- After the selected template appears in the VMware VC Template field, click Next.
- In the Permissions panel, verify that the appropriate VGP ACL is listed, and click Finish.
- To edit the new VGP, locate your new VGP in the Depot tree, right-click it and select Open.
- On the VM Config Type Settings tab, in the Virtual Machine Name field, change the value to FQN.bmc.com.
- If you did not base the VGP on a vCenter template, configure the following settings. (If your VGP is based on a vCenter template, keep the default settings.)
- Virtual Machine Configuration
- VM Config file Datastore location
- Guest Operating System
- On the VM Processor/Memory/Disk Settings tab, configure the following settings if you did not base the VGP on a vCenter template. (If your VGP is based on a vCenter template, keep the default settings.)
- Select a value for Number of virtual processors.
- Select a value for Memory for this virtual machine (MB).
- If required, select Create a New Virtual Disk.
- On the VM Network Connections tab, optionally add a network connection. (If your VGP is based on a vCenter template, keep the default settings.)
- On the VM Basic Config tab, ensure that the Host name and Domain fields are left empty.
- On the Guest Network tab, ensure that Obtain an IP address automatically is selected. This option uses Dynamic Host Configuration Protocol (DHCP).
- On the Local Properties tab, optionally add custom properties that you might need.
- Save the updated VGP.