Creating the VGP in BMC Server Automation for Hyper-V
You can build a repeatable process for deploying new virtual systems by using a virtual guest package (VGP). The VGP describes the new virtual system you want to add.
Before you begin
Review the following sections for requirements and recommendations for creating VGPs.
Requirements
- Create VGPs in the CSM_Virtual_Guest_Packages folder (under Depot) in the BMC Server Automation Console.
- Ensure that Windows templates and Linux templates are created as described in the BMC Server Automation version 8.3 online technical documentation.
- Ensure that the VGP for bare-metal VMs is assigned a larger disk space than the space that is assigned to the system package. Otherwise, the provisioning fails with the somewhat misleading error message OS Not Found.
- Ensure that the guest VM has the latest version of the VMM agent installed and running as a service. For successful Linux provisioning, the guest VM must have the latest version of the VMM agent installed and running as a service. The VMM 2012 SP1 Beta does not ship the VMM agent, so you must use the GA version of Microsoft VMM 2012 SP1. Click here to review the Microsoft online technical documentation for installing rhe VMM agent.
Recommendations
- Do not include any static IP addresses in the configuration of the VGP.
- Do not include any information that is instance-specific, such as a hard-coded host name.
To create a VGP for BMC Cloud Lifecycle Management
This section describes how to create a VGP manually. Beginning with BMC Server Automation 8.2, you can also create VGPs automatically by using the Virtual Guest Template Enrollment Job. For more information, see the related topic in the BMC Server Automation online technical documentation.
- From the Depot folder, right-click the depot folder where you want to add the VGP.
From the pop-up menu, select New > Virtual Guest Package and then Hyper-V.
On the Virtual Guest Package dialog, enter the following:
- Click Next.
- On the Permissions panel, verify that VirtualGuestPackageHyperV.* permissions is enabled for the VGP.
- Click Finish.
A dialog displays, indicating that the package is being saved to the Depot.
To modify the VGP
After the VGP is saved, the VGP editor is displayed, enabling you to modify the VGP.
- On each tab in the editor, enter the desired configuration settings for your VGP. The following panels apply to Hyper-V environments:
Microsoft Hyper-V - Basic panel
Microsoft Hyper-V - Storage panel
Microsoft Hyper-V - Network panel
Microsoft Hyper-V - Advanced panel
VM Basic Config - Microsoft Windows panel
VM Basic Config - Linux panel
VM Computer Settings panel
- Save the package.
Where to go next