Information

This site will undergo a brief period of maintenance on Thursday, 23 April at 2:30 AM Central/1:00 PM IST. During a 30 minute window, site availability may be intermittent.

Sample VGJ XML File - SCVMM Hyper-V



<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<VirtualGuestJobConfiguration>
 <VirtualGuestPackage>
  <VGPackageID>2000000</VGPackageID>
  <VirtualGuestName>sa-w2k3-cli-02</VirtualGuestName>
    <PlatformInfo>
        <VirtualGuestInfo>
            <Description></Description>
            <SourceTemplateId>MNIC-win2k3X64</SourceTemplateId>
            <GuestOS>windows_2008x64</GuestOS>
   <VirtualGuestStorage>C:\ClusterStorage\Volume2</VirtualGuestStorage>   
            <CoresPerSocket>1</CoresPerSocket>
            <NumOfSockets>2</NumOfSockets>
            <MemoryInMB>512</MemoryInMB>   
            <PowerOnVMAfterCreation>true</PowerOnVMAfterCreation>
            <AutoBoot>false</AutoBoot>
            <VirtualDisks>
                <VirtualDisk>
                    <DiskSizeInGB>10.0</DiskSizeInGB>
                    <Storage>C:\</Storage>
                    <ThinProvisioning>true</ThinProvisioning>
                    <DiskExtendedProperties>
                        <PlatformSpecificProperty>
                            <PropertyName>diskInterfaceType</PropertyName>
                            <PropertyValue>Default</PropertyValue>
                        </PlatformSpecificProperty>
                    </DiskExtendedProperties>
                </VirtualDisk>
                <VirtualDisk>
                    <DiskSizeInGB>2.0</DiskSizeInGB>
                    <Storage>C:\</Storage>
                    <ThinProvisioning>true</ThinProvisioning>
                    <DiskExtendedProperties>
                        <PlatformSpecificProperty>
                            <PropertyName>diskInterfaceType</PropertyName>
                            <PropertyValue>Default</PropertyValue>
                        </PlatformSpecificProperty>
                    </DiskExtendedProperties>
                </VirtualDisk>
                <VirtualDisk>
                    <DiskSizeInGB>1.0</DiskSizeInGB>
                    <Storage>C:\</Storage>
                    <ThinProvisioning>true</ThinProvisioning>
                    <DiskExtendedProperties>
                        <PlatformSpecificProperty>
                            <PropertyName>diskInterfaceType</PropertyName>
                            <PropertyValue>Default</PropertyValue>
                        </PlatformSpecificProperty>
                    </DiskExtendedProperties>
                </VirtualDisk>
            </VirtualDisks>
            <VirtualNetworks>
                <VirtualNetwork>
                    <NetworkName>VM Network</NetworkName>
                    <NetworkExtendedProperties>
                        <PlatformSpecificProperty>
                            <PropertyName>vlanID</PropertyName>
                            <PropertyValue>1</PropertyValue>
                        </PlatformSpecificProperty>
                    </NetworkExtendedProperties>
                    <GuestNetworkConfiguration>
                        <IPAddress>10.1.1.1</IPAddress>
                        <SubnetMask>10.1.1.2</SubnetMask>
                        <DefaultGateway>10.1.2.1</DefaultGateway>
                        <PrimaryDNS></PrimaryDNS>
                    </GuestNetworkConfiguration>
                </VirtualNetwork>
                <VirtualNetwork>
                    <NetworkName>New Virtual Network #0</NetworkName>
                    <NetworkExtendedProperties>
                        <PlatformSpecificProperty>
                            <PropertyName>vlanID</PropertyName>
                            <PropertyValue></PropertyValue>
                        </PlatformSpecificProperty>
                    </NetworkExtendedProperties>
                </VirtualNetwork>
            </VirtualNetworks>
            <PlatformSpecificProperties>
                <PlatformSpecificProperty>
                    <PropertyName>cpuPriority</PropertyName>
                    <PropertyValue>High</PropertyValue>
                </PlatformSpecificProperty>
                <PlatformSpecificProperty>
                    <PropertyName>networkAdapterType</PropertyName>
                    <PropertyValue>Default</PropertyValue>
                </PlatformSpecificProperty>
            </PlatformSpecificProperties>
            <OSCustomizationInfo>
                <WindowsCustomizationInfo>
                    <ComputerName>sa-cli-w2k3</ComputerName>
                    <AdminPassword>BLencrypt:ZXXNEWVLWKXOLMLLWNOAVLOZQNEVQKLNVOMMNNKAZZXUUEMVVKWXZONZMNNNTULZ</AdminPassword>
                    <Workgroup>bmcwg</Workgroup>
                    <UserName>bmcuser</UserName>
                    <Organization>bmc</Organization>
                    <LicenseKey>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</LicenseKey>
                    <LicenseType>perServer</LicenseType>
                    <NumOfConnections>5</NumOfConnections>
                    <TimezoneId>1</TimezoneId>
                    <LocaleId>1</LocaleId>
                </WindowsCustomizationInfo>
            </OSCustomizationInfo>
        </VirtualGuestInfo>
    </PlatformInfo>
 </VirtualGuestPackage>
 <VirtualGuestJob>
  <JobName>CLI-W2K3-01</JobName>
  <JobFolderID>2000600</JobFolderID>
  <VirtualGuestDestination>2000000 Host test.bmc.com</VirtualGuestDestination>        
  <ExecuteNow>true</ExecuteNow>
 </VirtualGuestJob>
</VirtualGuestJobConfiguration>

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Server Automation 8.2