IaaS Configuration for Cloud Platforms vRealize Automation 6.
IaaS Configuration for Cloud Platforms You can find the most up-to-date technical documentation on the VMware website at: https://docs.vmware.com/ If you have comments about this documentation, submit your feedback to docfeedback@vmware.com VMware, Inc. 3401 Hillview Ave. Palo Alto, CA 94304 www.vmware.com Copyright © 2008–2016 VMware, Inc. All rights reserved. Copyright and trademark information. VMware, Inc.
Contents IaaS Configuration for Cloud Platforms Updated Information 6 6 Using the Goal Navigator 7 1 Configuring IaaS 8 Configuring IaaS for Cloud Checklist 8 Custom Properties in Machine Provisioning, Blueprints, and Build Profiles Order of Precedence for Custom Properties 10 Bringing Resources Under vRealize Automation Management Store User Credentials for Cloud Endpoints Choosing an Endpoint Scenario 12 13 Create an OpenStack or PowerVC Endpoint Preparing an Endpoint CSV File for Import Creat
IaaS Configuration for Cloud Platforms Cost Information for Cloud Machines Using Optional Amazon Features 42 43 Using Security Groups for Amazon Web Services Understanding Amazon Web Service Regions Using Virtual Private Cloud 43 44 Using Elastic Load Balancers 44 Using Elastic IP Addresses 44 Using Elastic Block Storage 45 Using Optional Red Hat OpenStack Features Using Security Groups 43 46 46 Using Floating IP Addresses 46 3 Preparing for Provisioning 47 Choosing a Cloud Provisioning S
IaaS Configuration for Cloud Platforms Create an OpenStack Blueprint for WIM Provisioning Specify WIM Blueprint Information 81 Specify WIM Blueprint Build Information 82 Add Required Properties to a WIM Blueprint Configure WIM Blueprint Actions Publish a Blueprint 80 83 88 88 5 Configuring Advanced Blueprint Settings 90 Reservation Policies 90 Add a Reservation Policy to a Blueprint Configuring Network Settings 91 91 Add a Network Profile for Static IP Assignment to a Blueprint Custom Propert
IaaS Configuration for Cloud Platforms IaaS Configuration for Cloud Platforms provides information about integrating cloud platforms such as Amazon Web Services and Red Hat Enterprise Linux OpenStack Platform with VMware vRealize ™ Automation.
IaaS Configuration for Cloud Platforms Revision Description 001644-04 n Updates to Create an OpenStack or PowerVC Endpoint. n Update to clarify static IP for SCVMM is only supported for cloning Linux machines, and only if the guest agent is installed on your templates. See Add a Network Profile for Static IP Assignment to a Blueprint.
1 Configuring IaaS Preparation is required by IaaS administrators, tenant administrators, and fabric administrators to bring resources under vRealize Automation management, allocate resources to users, prepare for provisioning machines, and create machine blueprints.
IaaS Configuration for Cloud Platforms Table 1‑1. Configuring IaaS checklist (Continued) Task Required Role Create at least one reservation to allocate resources to a business group. Fabric administrator See Choosing a Reservation Scenario. Configure optional policies and settings. Fabric administrator See Chapter 2 Optional Configurations. Depending on your intended method of provisioning, preparation outside of vRealize Automation might be required before you can start creating machine blueprints.
IaaS Configuration for Cloud Platforms For example, a blueprint that incorporates a standard developer workstation profile might override the US English settings in the profile with UK English settings. On the other hand, if no appropriate profile is available all the needed properties can be specified in the blueprint itself. This arrangement ensures that the number and complexity of blueprints remain manageable.
IaaS Configuration for Cloud Platforms 3 Build profile, specified on a vApp blueprint 4 vApp blueprint 5 Business group 6 Compute resources 7 Reservations 8 Endpoint 9 Runtime specified on a vApp 10 Runtime specified on a component machine Any runtime property takes higher precedence and overrides a property from any source.
IaaS Configuration for Cloud Platforms For cloud platforms, compute resources represent regions rather than specific virtualization hosts. vRealize Automation collects information about the regions available on each cloud endpoint and an IaaS administrator can add the regions to a fabric group. Store User Credentials for Cloud Endpoints An IaaS administrator stores administrator-level credentials so that vRealize Automation can communicate with your cloud endpoints.
IaaS Configuration for Cloud Platforms Table 1‑2. Choosing an Endpoint Scenario Scenario Procedure Connect to an Amazon AWS cloud service account. Create an Amazon AWS Endpoint Connect to a Red Hat OpenStack tenant. Create an OpenStack or PowerVC Endpoint Connect to a PowerVC tenant. Create an OpenStack or PowerVC Endpoint Import a list of endpoints.
IaaS Configuration for Cloud Platforms See Create a Fabric Group. Create an OpenStack or PowerVC Endpoint An IaaS administrator creates an endpoint to allow vRealize Automation to communicate with your OpenStack or PowerVC instance. Prerequisites n Log in to the vRealize Automation console as an IaaS administrator. n Store User Credentials for Cloud Endpoints. n Verify that your vRealize Automation DEMs are installed on a machine that meets the Openstack or PowerVC requirements.
IaaS Configuration for Cloud Platforms Custom Properties for Openstack Endpoints vRealize Automation includes custom properties you might want to use when you configure your Openstack endpoints in vRealize Automation. Table 1‑3. Custom Properties for Openstack Endpoints Custom Property Description VirtualMachine.Admin.ConnectAddress.Regex Used by a vRealize Automation administrator to define a regular expression to match an IP address for terminal connections, such as an RDP connection.
IaaS Configuration for Cloud Platforms Table 1‑4. CSV File Fields and Their Order for Importing Endpoints Field Description InterfaceType (Required) You can upload multiple types of endpoints in a single file. n AmazonEC2 n Openstack n vCloud n vCO n CiscoUCS n DellIdrac n HPIlo n NetAppOnTap n SCVMM n KVM n vSphere Address (Required for all interface types except Amazon AWS) URL for the endpoint.
IaaS Configuration for Cloud Platforms 4 Locate the CSV file that contains your endpoints. 5 Click Open. A CSV file opens that contains a list of endpoints in the following format: InterfaceType,Address,Credentials,Name,Description vCloud,https://abxpoint2vco,svc-admin,abxpoint2vco,abxpoint 6 Click Import. You can edit and manage your endpoints through the vRealize Automation console.
IaaS Configuration for Cloud Platforms Configure Machine Prefixes Fabric administrators create machine prefixes that are used to create names for machines provisioned through vRealize Automation. Tenant administrators and business group managers select these machine prefixes and assign them to provisioned machines through blueprints and business group defaults. A prefix is a base name to be followed by a counter of a specified number of digits.
IaaS Configuration for Cloud Platforms Create a Business Group Tenant administrators create business groups to associate a set of services and resources to a set of users, often corresponding to a line of business, department, or other organizational unit. Users must belong to a business group to request machines.
IaaS Configuration for Cloud Platforms 10 Add users to your business group. Multiple entries must be separated by line breaks. You do not have to specify users at this time. You can create empty business groups to populate later. a Type a user name or group name in the Support role search box and press Enter. Repeat this step to add more than one user or group to the role. b Type a user name or group name in the User role search box and press Enter.
IaaS Configuration for Cloud Platforms Procedure 1 Select Infrastructure > Reservations > Key Pairs. 2 Click New Key Pair. 3 Enter a name in the Name text box. 4 Select a cloud region from the Compute resource drop-down menu. 5 Click the Save icon ( ). The key pair is ready to use when the Secret Key column has the value ************. Upload the Private Key for a Key Pair A fabric administrator can upload the private key for a key pair in PEM format.
IaaS Configuration for Cloud Platforms 3 Click the Export icon ( 4 Browse to the location where you want to save the file and click Save. ). Cloud Reservations A cloud reservation provides access to the provisioning services of a cloud service account for a particular business group. A group can have multiple reservations on one endpoint or reservations on multiple endpoints. A reservation may also define policies, priorities, and quotas that determine machine placement.
IaaS Configuration for Cloud Platforms If multiple reservations meet all of the criteria, the reservation from which to provision a requested machine is determined by the following logic: n Reservations with higher priority are selected over reservations with lower priority. n If multiple reservations have the same priority, the reservation with the lowest percentage of its machine quota allocated is selected.
IaaS Configuration for Cloud Platforms 3 Configure Amazon AWS Alerts (non-VPC) You can configure alerts to send email notifications whenever reservation resources are low. Specify Amazon AWS Reservation Information (non-VPC) Each reservation is configured for a specific business group to grant them access to request machines on a specified compute resource. Note After you create a reservation, you cannot change the business group or the compute resource.
IaaS Configuration for Cloud Platforms Specify Amazon AWS Key Pairs and Network Settings (non-VPC) Configure the resources and network paths available to machines that are provisioned by using this reservation. Prerequisites Specify Amazon AWS Reservation Information (non-VPC). Procedure 1 Click the Resources tab. 2 Select a method of assigning key pairs to compute instances from the Key pair drop-down menu.
IaaS Configuration for Cloud Platforms If configured, alerts are generated daily, rather than when the specified thresholds are reached. Important Notifications are only sent if emails are configured and notifications are enabled. See Tenant Administration. Prerequisites Specify Amazon AWS Key Pairs and Network Settings (non-VPC). Procedure 1 Click the Alerts tab. 2 Set capacity alerts to On. 3 Use the sliders to set thresholds for resource allocation.
IaaS Configuration for Cloud Platforms Procedure 1 Specify Amazon AWS with Amazon VPC Reservation Information Fabric administrators configure each reservation for a specific business group to grant them access to request machines on a specified compute resource. 2 Specify Amazon AWS with Amazon VPC Key Pairs and Network Settings Configure the resources and network paths that are available to machines provisioned by using this reservation.
IaaS Configuration for Cloud Platforms 8 (Optional) Type a number in the Machine quota text box to set the maximum number of machines that can be provisioned on this reservation. Only machines that are powered on are counted towards the quota. Leave blank to make the reservation unlimited. 9 Type a number in the Priority text box to set the priority for the reservation. The priority is used when a business group has more than one reservation.
IaaS Configuration for Cloud Platforms c If you are using the elastic load balancer feature, select from the list of Load Balancers that apply to the selected subnets to use in the Amazon VPC. d Click the Save icon. Do not navigate away from this page. Your reservation is not complete. For related information about security groups, see Using Security Groups for Amazon Web Services. For related information about load balancers, see Using Elastic Load Balancers.
IaaS Configuration for Cloud Platforms Prerequisites n Log in to the vRealize Automation console as a fabric administrator. n A tenant administrator must create at least one business group. See Create a Business Group. Procedure 1 Specify Reservation Information Each reservation is configured for a specific business group to grant them access to request machines on a specified compute resource.
IaaS Configuration for Cloud Platforms 8 (Optional) Select a reservation policy from the Reservation policy drop-down menu. This option requires additional configuration. You must create a reservation policy. 9 (Optional) Type a number in the Machine quota text box to set the maximum number of machines that can be provisioned on this reservation. Only machines that are powered on are counted towards the quota. Leave blank to make the reservation unlimited.
IaaS Configuration for Cloud Platforms 5 Configure a network path for machines provisioned by using this reservation. a Select a network path for machines provisioned on this reservation from the Network table. b (Optional) Select a network profile from the Network Profile drop-down menu. This option requires additional configuration to configure network profiles. You can select more than one network path on a reservation, but only one network is selected when provisioning a machine.
Optional Configurations 2 You can configure optional policies and settings to give you more control over the resource usage of provisioned machines.
IaaS Configuration for Cloud Platforms As another example, the vApp property set contains the following custom properties that can be used for vApp provisioning: n VirtualMachine.NetworkN.Name n VCloud.Template.MakeIdenticalCopy n VMware.SCSI.Type n Sysprep.Identification.DomainAdmin n Sysprep.Identification.DomainAdminPassword n Sysprep.Identification.JoinDomain Fabric administrators can create their own property sets and add them to vRealize Automation.
IaaS Configuration for Cloud Platforms 4 Insert a element in the element. 5 Define the attributes of the custom property to include in the property set. If you do not include the DefaultValue attribute, no default value is stored.
IaaS Configuration for Cloud Platforms Build profiles are available to tenant administrators and business group managers of all tenants. You can create your build profile by adding custom properties individually, by loading property sets that contain multiple custom properties, or by using a combination of the two methods. Prerequisites Log in to the vRealize Automation console as a fabric administrator. Procedure 1 Select Infrastructure > Blueprints > Build Profiles.
IaaS Configuration for Cloud Platforms Tenant administrators and business group managers can now select your build profile and include it in their blueprints. Configuring Reservation Policies When a user requests a machine, it can be provisioned on any reservation of the appropriate type that has sufficient capacity for the machine. You can apply a reservation policy to a blueprint to restrict the machines provisioned from that blueprint to a subset of available reservations.
IaaS Configuration for Cloud Platforms Procedure 1 Create a Reservation Policy Fabric administrators use reservation policies to group similar reservations together. Create the reservation policy tag first, then add the policy to reservations to allow a tenant administrator or business group manager to use the reservation policy in a blueprint.
IaaS Configuration for Cloud Platforms . Static IP Address Assignment For virtual machines provisioned by using cloning or Linux kickstart/autoYaST provisioning and cloud machines provisioned in Red Hat OpenStack by using kickstart, it is possible to assign static IP addresses from a predefined range. By default, vRealize Automation uses Dynamic Host Configuration Protocol (DHCP) to assign IP addresses to provisioned machines.
IaaS Configuration for Cloud Platforms Specify Network Profile Information The network profile information identifies the external network profile and specifies settings for an existing network. Prerequisites Log in to the vRealize Automation console as a fabric administrator. Procedure 1 Select Infrastructure > Reservations > Network Profiles. 2 Select New Network Profile > External. 3 Enter a name and, optionally, a description. 4 Type a mask address in the Subnet mask text box.
IaaS Configuration for Cloud Platforms 6 Click OK. The newly defined IP address range appears in the Defined Ranges list. The IP addresses in the range appear in the Defined IP Addresses list. 7 (Optional) Upload one or more IP addresses from a CSV file. A row in the CSV file has the format ip_address,mname,status. CSV Field Description ip_address An IP address mname Name of a managed machine in vRealize Automation. If the field is empty, defaults to no name.
IaaS Configuration for Cloud Platforms n Create a Network Profile for Static IP Address Assignment. Procedure 1 Select Infrastructure > Reservations > Reservations. 2 Point to a reservation and click Edit. 3 Click the Network tab. 4 Assign a network profile to a network path. 5 a Locate a network path on which you want to enable static IP addresses. b Select a network profile from the Network Profile drop-down menu.
IaaS Configuration for Cloud Platforms Using Optional Amazon Features vRealize Automation supports several Amazon features, including Amazon Virtual Private Cloud, elastic load balancers, elastic IP addresses, and elastic block storage. Using Security Groups for Amazon Web Services A security group acts as a firewall to control access to a cloud machine. A fabric administrator specifies at least one security group when creating an Amazon EC2 reservation.
IaaS Configuration for Cloud Platforms Using Virtual Private Cloud Amazon Virtual Private Cloud allows you to provision Amazon machine instances in a private section of the Amazon Web Services cloud. Amazon AWS users can create a Amazon VPC to design a virtual network topology according to your specifications. You can assign a Amazon VPC in vRealize Automation. However, vRealize Automation does not track the cost of using the Amazon VPC.
IaaS Configuration for Cloud Platforms The elastic IP address is associated with your Amazon Web Services account, not a particular machine. The address remains associated with your Amazon Web Services account until you choose to release it. You can release it to map it to a specific machine instance. An administrator can allocate elastic IP addresses to your Amazon Web Services account by using the AWS Management Console.
IaaS Configuration for Cloud Platforms n vRealize Automation does not manage the primary volume of an elastic block storage-backed instance. For more information about Amazon elastic block storage, and details on how to enable it by using Amazon Web Services Management Console, see Amazon Web Services documentation. Using Optional Red Hat OpenStack Features vRealize Automation supports several features in Red Hat OpenStack including security groups and floating IP addresses.
3 Preparing for Provisioning There is some configuration required outside of vRealize Automation to prepare for machine provisioning. This chapter includes the following topics: n Choosing a Cloud Provisioning Scenario n Preparing for Amazon Provisioning n Preparing for OpenStack Provisioning Choosing a Cloud Provisioning Scenario There are several methods you can use with vRealize Automation to provision cloud machines.
IaaS Configuration for Cloud Platforms The vRealize Automation access rights that you need to perform tasks such as creating endpoints, reservations, and blueprints, and requesting machine provisioning are described for the applicable vRealize Automation tasks in this guide. However, you must also be configured in Amazon Web Services (AWS) to perform related endpoint tasks.
IaaS Configuration for Cloud Platforms n When a cloud blueprint is created, the specified Amazon machine image is selected from regions that have been data-collected. If multiple Amazon Web Services accounts are available, the business group manager must have rights to any private Amazon machine images. The Amazon machine image region and the specified user location restrict provisioning request to reservations that match the corresponding region and location.
IaaS Configuration for Cloud Platforms The machine instance types managed by IaaS administrators on the Instance Types page are available to tenant administrators and business group manager when they create or edit an Amazon EC2 blueprint. Amazon machine images and instance types are made available through the Amazon Web Services product. Prerequisites Log in to the vRealize Automation console as an IaaS administrator. Procedure 1 Click Infrastructure > Blueprints > Instance Types.
IaaS Configuration for Cloud Platforms A virtual machine image is a template that contains a software configuration, including an operating system. Virtual machine images are managed within the Red Hat OpenStack provider and are imported during data collection. If an image that is used in a blueprint is later deleted from the Red Hat OpenStack provider, it is also removed from the blueprint.
IaaS Configuration for Cloud Platforms b For vCenter Server integrations, the vCenter Server guest operating system version with which vCenter Server is to create the machine. Note You can create a build profile with the property set BootIsoProperties to include the required ISO information. This makes it easier for tenant administrators and business group managers to include this information correctly in their blueprints.
IaaS Configuration for Cloud Platforms Your script can reference any of the ./properties.xml files in the /usr/share/gugent/site/workitem directories. Prerequisites n Prepare a kickstart or autoYaST configuration file. See Prepare the Linux Kickstart Configuration Sample File. n Your script must return a non-zero value on failure to prevent machine provisioning failure. Procedure 1 Create or identify the script you want to use. 2 Save the script as NN_scriptname. NN is a two digit number.
IaaS Configuration for Cloud Platforms 3 Identify or create the reference machine within the virtualization platform you intend to use for provisioning. For vRealize Automation requirements, see Reference Machine Requirements for WIM Provisioning. For information about creating a reference machine, please see the documentation provided by your hypervisor. 4 Using the System Preparation Utility for Windows, prepare the reference machine's operating system for deployment.
IaaS Configuration for Cloud Platforms Reference Machine Requirements for WIM Provisioning WIM provisioning involves creating a WIM image from a reference machine. The reference machine must meet basic requirements for the WIM image to work for provisioning in vRealize Automation.
IaaS Configuration for Cloud Platforms Table 3‑3. Required SysPrep Settings for reference machine that are not using Windows Server 2003 or Windows XP: (Continued) AutoLogon Settings Value Username username (username and password are the credentials used for auto logon when the newly provisioned machine boots into the guest operating system. Administrator is typically used.
IaaS Configuration for Cloud Platforms You can use PEBuilder to create a WinPE for use in WIM provisioning. Specify Custom Scripts in a PEBuilder WinPE You can use PEBuilder to customize machines by running custom bat scripts at specified points in the provisioning workflow. Prerequisites Install PEBuilder. Procedure 1 Create or identify the bat script you want to use. Your script must return a non-zero value on failure to prevent machine provisioning failure. 2 Save the script as NN_scriptname.
IaaS Configuration for Cloud Platforms 2 Enter the IaaS Manager Service host information. Option Description If you are using a load balancer a Enter the fully qualified domain name of the load balancer for the IaaS Manager Service in the vCAC Hostname text box. For example, manager_service_LB.mycompany.com. b Enter the port number for the IaaS Manager Service load balancer in the vCAC Port text box. For example, 443.
IaaS Configuration for Cloud Platforms Procedure 1 Install the Guest Agent in a WinPE If you choose not to use the vRealize Automation PEBuilder to create you WinPE, you must install PEBuilder to manually copy the guest agent files to your WinPE image. 2 Configure the doagent.bat File If you choose not to use the vRealize Automation PEBuilder, you must manually configure the doagent.bat file. 3 Configure the doagentc.
IaaS Configuration for Cloud Platforms 9 Copy the contents of %SystemDrive%\Program Files (x86)\VMware\PE Builder\Plugins\VRM Agent\VRMGuestAgent to a new location within your WinPE Image. For example: C:\Program Files (x86)\VMware\PE Builder\Plugins\VRM Agent\VRMGuestAgent. Configure the doagent.bat File If you choose not to use the vRealize Automation PEBuilder, you must manually configure the doagent.bat file. Prerequisites Install the Guest Agent in a WinPE.
IaaS Configuration for Cloud Platforms Configure the doagentc.bat File If you choose not to use the vRealize Automation PEBuilder, you must manually configure the doagentc.bat file. Prerequisites Configure the doagent.bat File. Procedure 1 Navigate to the VRMGuestAgent directory within your WinPE Image. For example: C:\Program Files (x86)\VMware\PE Builder\Plugins\VRM Agent\VRMGuestAgent. 2 Make a copy of the file doagentsvc-template.bat and name it doagentc.bat. 3 Open doagentc.
IaaS Configuration for Cloud Platforms Procedure 1 Navigate to the VRMGuestAgent directory within your WinPE Image. For example: C:\Program Files (x86)\VMware\PE Builder\Plugins\VRM Agent\VRMGuestAgent. 2 Make a copy of the file gugent.properties and name it gugent.properties.template. 3 Make a copy of the file gugent.properties.template and name it gugentc.properties. 4 Open gugent.properties in a text editor. 5 Replace all instances of the string GuestAgent.
4 Creating a Cloud Blueprint Machine blueprints determine the attributes of the machine, the manner in which it is provisioned, and its policy and management settings. A tenant administrator or business group manager creates blueprints for provisioning machines.
IaaS Configuration for Cloud Platforms Table 4‑1. Choosing a Blueprint Scenario (Continued) Scenario Supported Platforms Procedure Custom Properties Provision a machine by booting from an ISO image, using a kickstart or autoYaSt configuration file and a Linux distribution image to install the operating system on the machine.
IaaS Configuration for Cloud Platforms Specify Amazon AWS Blueprint Information Tenant administrators or business group managers use blueprint information settings to control who can access a blueprint, how many machines they can provision with it, and daily costs. Prerequisites Log in to the vRealize Automation console as a tenant administrator or business group manager. Procedure 1 Select Infrastructure > Blueprints > Blueprints. 2 Select New Blueprint > Cloud > Amazon EC2.
IaaS Configuration for Cloud Platforms Specify Amazon AWS Blueprint Build Information Tenant administrators or business group managers use build information settings to determine how a machine is provisioned. Prerequisites Specify Amazon AWS Blueprint Information. Procedure 1 Click the Build Information tab. 2 Select whether machines provisioned from this blueprint are classified as Desktop or Server from the Blueprint type drop-down menu.
IaaS Configuration for Cloud Platforms Procedure 1 Select one or more Instance types check boxes to select one or more Amazon instance types that users can select from when they submit a machine request. Selecting one or more instance types updates values in the # CPUs, Memory, and Storage (GB) text boxes. Review the minimum and maximum machine resource values and adjust your instance type selections as desired. 2 (Optional) Specify the EBS storage settings for provisioned machines.
IaaS Configuration for Cloud Platforms d (Optional) Select the Encrypted check box to encrypt the custom property in the database. e (Optional) Select the Prompt user check box to require the user to provide a value when they request a machine. If you choose to prompt users for a value, any value you provide for the custom property is presented to them as the default. If you do not provide a default, users cannot continue with the machine request until they provide a value for the custom property.
IaaS Configuration for Cloud Platforms Create a Basic Red Hat OpenStack Blueprint Machine blueprints determine the attributes of the machine, the manner in which it is provisioned, and its policy and management settings. A tenant administrator or business group manager creates a blueprint for provisioning machines. Prerequisites Log in to the vRealize Automation console as a tenant administrator or business group manager.
IaaS Configuration for Cloud Platforms 5 Select the Display location on request check box to prompt users to select a location when they submit a machine request. This option enables users to select a region into which to provision the requested machine. 6 7 Select who can provision machines with this blueprint.
IaaS Configuration for Cloud Platforms 5 Select a virtual machine image from the list. Important Ensure that you select an image that is appropriate for the workflow that you selected. For example, only select kickstart images when you use the CloudLinuxKickstartWorkflow, and only select WIM images when you use the CloudWIMImageWorkflow.
IaaS Configuration for Cloud Platforms 2 (Optional) Select one or more build profiles from the Build profiles menu. Build profiles contain groups of custom properties. Fabric administrators can create build profiles. 3 (Optional) Add any custom properties to your blueprint. a Click New Property. b Enter the custom property in the Name text box. c Enter the value of the custom property in the Value text box.
IaaS Configuration for Cloud Platforms What to do next Publish your blueprint to make it available as a catalog item. See Publish a Blueprint. Create a Red Hat OpenStack Blueprint for Linux Kickstart Provisioning You can provision a machine by booting from an ISO image, then using a kickstart or autoYaSt configuration file and a Linux distribution image to install the operating system on the machine.
IaaS Configuration for Cloud Platforms Prerequisites n Log in to the vRealize Automation console as a tenant administrator or business group manager. n Gather the following information from your fabric administrator: a The name and location of the ISO image. b For vCenter Server integrations, the vCenter Server guest operating system version with which vCenter Server is to create the machine.
IaaS Configuration for Cloud Platforms Specify Linux Kickstart Blueprint Build Information The build information settings determine how a machine is provisioned. Prerequisites Specify Linux Kickstart Blueprint Information. Procedure 1 Click the Build Information tab. 2 Select whether machines provisioned from this blueprint are classified as Desktop or Server from the Blueprint type drop-down menu. This information is for record-keeping and licensing purposes only.
IaaS Configuration for Cloud Platforms 9 (Optional) Specify the lease settings for provisioned machines, or leave blank for no expiration date. a Enter the minimum number of lease days in the Minimum text box. If you only provide a minimum, this number becomes the value for all machines provisioned from this blueprint. b (Optional) Enter the maximum number of lease days in the Maximum text box to allow users to select their own settings within the range that you provide.
IaaS Configuration for Cloud Platforms e (Optional) Select the Prompt user check box to require the user to provide a value when they request a machine. If you choose to prompt users for a value, any value you provide for the custom property is presented to them as the default. If you do not provide a default, users cannot continue with the machine request until they provide a value for the custom property. f 4 Click the Save icon ( ). Add the ISO location custom property.
IaaS Configuration for Cloud Platforms Table 4‑2. Required Custom Properties for Linux Kickstart Blueprints Custom Property Description VMware.VirtualCenter.OperatingSystem Specifies the vCenter Server guest operating system version (VirtualMachineGuestOsIdentifier) with which vCenter Server creates the machine. This operating system version must match the operating system version to be installed on the provisioned machine.
IaaS Configuration for Cloud Platforms Table 4‑3. Optional Custom Properties for Linux Kickstart Blueprints Custom Property Description VirtualMachine.Admin.ThinProvision Determines whether thin provisioning is used on ESX compute resources using local or iSCSI storage. Set to True to use thin provisioning. Set to False to use standard provisioning. This property is for virtual provisioning. Machine.
IaaS Configuration for Cloud Platforms Create an OpenStack Blueprint for WIM Provisioning You can provision a machine by booting into a WinPE environment and then installing an operating system using a Windows Imaging File Format (WIM) image of an existing Windows reference machine. Prerequisites n Log in to the vRealize Automation console as a tenant administrator or business group manager.
IaaS Configuration for Cloud Platforms Specify WIM Blueprint Information Blueprint information settings control who can access a blueprint, how many machines they can provision with it, and how long to archive a machine after the lease period is over. Prerequisites n Log in to the vRealize Automation console as a tenant administrator or business group manager. n Gather the following information from your fabric administrator: a The name and location of the WinPE ISO image.
IaaS Configuration for Cloud Platforms 6 7 Select who can provision machines with this blueprint. Roles Who Can Provision If you are both a business group manager and a tenant administrator n Select the Shared blueprint check box to allow the blueprint to be entitled to users in any business group. n Deselect the Shared blueprint check box to create a local blueprint, and select a business group from the Business group drop-down menu.
IaaS Configuration for Cloud Platforms 5 Select a virtual machine image from the list. Important Ensure that you select an image that is appropriate for the workflow that you selected. For example, only select kickstart images when you use the CloudLinuxKickstartWorkflow, and only select WIM images when you use the CloudWIMImageWorkflow.
IaaS Configuration for Cloud Platforms Prerequisites Specify WIM Blueprint Build Information. Procedure 1 Click the Properties tab. 2 (Optional) Select one or more build profiles from the Build profiles menu. Build profiles contain groups of custom properties. Fabric administrators can create build profiles. 3 Add the ISO name custom property. a Click New Property. b Enter Image.ISO.Name in the Name text box.
IaaS Configuration for Cloud Platforms Option Description Image.Network.User Enter the user name under which to map the WIM image path (Image.WIM.Path) to a network drive on the machine in the Value text box. Image.Network.Password Enter the associated password for the network user (Image.Network.User) in the Value text box. VirtualMachine.Admin.Password Enter the password to use for the administrator account on the provisioned machine. Your blueprint is not finished.
IaaS Configuration for Cloud Platforms Table 4‑4. Required Custom Properties for WIM Blueprints (Continued) Custom Property Description Image.Network.User Specifies the user name with which to map the WIM image path (Image.WIM.Path) to a network drive on the provisioned machine. This is typically a domain account with access to the network share. Image.Network.Password Specifies the password associated with the Image.Network.User property. VMware.VirtualCenter.
IaaS Configuration for Cloud Platforms Table 4‑5. Common Custom Properties for WIM Blueprints Custom Property Description SysPrep.Section.Key Specifies information to be added to the SysPrep answer file on machines during the WinPE stage of provisioning. Information that already exists in the SysPrep answer file is overwritten by these custom properties. Section represents the name of the section of the SysPrep answer file, for example GuiUnattended or UserData. Key represents a key name in the section.
IaaS Configuration for Cloud Platforms Configure WIM Blueprint Actions Use blueprint actions and entitlements together to maintain detailed control over provisioned machines. Entitlements control which machine operations specific users can access. Blueprint actions control which machine operations can be performed on machines provisioned from a blueprint.
IaaS Configuration for Cloud Platforms 3 Click OK. Your blueprint is now ready for tenant administrators, business group managers, and service architects to associate it with a catalog service and entitle users to request it from the catalog. What to do next For information about how to configure and manage the catalog, see Tenant Administration. VMware, Inc.
Configuring Advanced Blueprint Settings 5 Tenant administrators and business group managers can use custom properties and optional policies to configure advanced blueprint settings such as reservation policies, Visual Basic scripts, and Active Directory cleanup.
IaaS Configuration for Cloud Platforms A reservation policy can include reservations of different types, but only reservations that match the blueprint type are considered when selecting a reservation for a particular request. For more information about how reservations are selected for provisioning a machine, see IaaS Configuration for Cloud Platforms, IaaS Configuration for Physical Machines, or IaaS Configuration for Virtual Platforms.
IaaS Configuration for Cloud Platforms Add a Network Profile for Static IP Assignment to a Blueprint Tenant administrators and business group managers can configure static IP assignment at the blueprint level. Note This information does not apply to Amazon Web Services. For a list of custom properties related to networking, see Custom Properties for Networking. Prerequisites n Log in to the vRealize Automation console as a tenant administrator or business group manager.
IaaS Configuration for Cloud Platforms 5 Click OK. Custom Properties for Networking The vRealize Automation custom properties for networking specify configuration for a specific network device on a machine. Note This information does not apply to Amazon Web Services. Network assignments are performed during machine allocation. vRealize Automation retrieves network information from the blueprint. If you want to assign more than one network, use the VirtualMachine.NetworkN.
IaaS Configuration for Cloud Platforms Table 5‑1. Custom Properties for Networking Configuration (Continued) Custom Property Description VirtualMachine.NetworkN.MacAddress Specifies the MAC address of a network device N. This property is available for cloning. If the value of VirtualMachine.NetworkN.MacAddressType is generated, this property contains the generated address. If the value of VirtualMachine.Network.N.MacAddressType is static, this property specifies the MAC address.
IaaS Configuration for Cloud Platforms Table 5‑1. Custom Properties for Networking Configuration (Continued) Custom Property Description VirtualMachine.NetworkN.ProfileName Specifies the name of a network profile from which to assign a static IP address to network device Nor from which to obtain the range of static IP addresses that can be assigned to network device N of a cloned machine, where N=0 for the first device, 1 for the second, and so on.
IaaS Configuration for Cloud Platforms Table 5‑1. Custom Properties for Networking Configuration (Continued) Custom Property Description VCNS.SecurityGroup.Names.name Specifies the vCloud Networking and Security security group or groups to which the virtual machine is assigned during provisioning. The value is a security group name or a list of names separated by commas. Names are case-sensitive.
IaaS Configuration for Cloud Platforms 2 A system administrator creates Visual Basic scripts and places them on the system where the EPI agent is installed. 3 Gather the following information for tenant administrators and business group managers for each Visual Basic script: n The complete path to the Visual Basic script, including the filename and extension. For example, %System Drive%Program Files (x86)\VMware\vCAC Agents\EPI_Agents\Scripts\SendEmail.vbs.
IaaS Configuration for Cloud Platforms 5 Add the Visual Basic script custom properties. a Click New Property. b Type the Visual Basic script custom property name in the Name text box. c Option Description VbScript.PreProvisioning.Name Runs the Visual Basic script before a machine is provisioned. VbScript.PostProvisioning.Name Runs the Visual Basic script after a machine is provisioned. VbScript.UnProvisioning.Name Runs the Visual Basic script when a provisioned machine is destroyed.
IaaS Configuration for Cloud Platforms n (Optional) The name of the OU to which to move destroyed machines. n (Optional) The prefix to attach to destroyed machines. Note Your fabric administrator might have provided this information in a build profile. n Create at least one blueprint. Procedure 1 Select Infrastructure > Blueprints > Blueprints. 2 Point to the blueprint to which you want to add the Active Directory Cleanup Plugin and click Edit. 3 Click the Properties tab.
IaaS Configuration for Cloud Platforms 7 Click OK. Enabling Remote Desktop Connections A system administrator can create a custom remote desktop protocol file that tenant administrators and business group managers use in blueprints to configure RDP settings. The following high-level overview is the sequence of tasks required to enable machine users to connect using RDP. 1 A system administrator creates a custom RDP file and places it in the Website\Rdp subdirectory of the vRealize Automation installatio
IaaS Configuration for Cloud Platforms 5 Configure RDP settings. a Click New Property. b Enter the RDP custom property names in the Name text box and the corresponding values in the Value text box. Option Description and Value (Required for RDP customization)RDP.File.Name Specifies an RDP file from which to obtain settings, for example My_RDP_Settings.rdp. The file must reside in the Website\Rdp subdirectory of the vRealize Automation installation directory.
IaaS Configuration for Cloud Platforms n (Optional) Configure Connections Using RDP. Important If you are using Amazon Web Services, RDP, or SSH must be enabled on the Amazon machine instance and the machines must be in a security group in which the correct ports are open. Procedure 1 Select Infrastructure > Blueprints > Blueprints. 2 Point to the blueprint to change and click Edit. 3 Click the Actions tab.
IaaS Configuration for Cloud Platforms 6 Type Machine.SSH in the Name text box. You may also need to add the VirtualMachine.Admin.NameCompletion custom property. 7 Type true in the Value text box. 8 (Optional) Select the Encrypted check box to encrypt the custom property in the database. 9 (Optional) Select the Prompt user check box to require the user to provide a value when they request a machine.
Managing Cloud Infrastructure 6 Different vRealize Automation roles monitor resource usage and manage infrastructure in different ways.
IaaS Configuration for Cloud Platforms Table 6‑1. Resource Usage Terminology (Continued) Term Description Allocated Indicates the machine quota, memory, or storage resources actively being consumed by provisioned machines. For example, consider a reservation with a machine quota of 10. If there are 15 provisioned machines on it, but only 6 of them are currently powered on, the machine quota is 60 percent allocated.
IaaS Configuration for Cloud Platforms Table 6‑2. Choose a Resource Monitoring Scenario (Continued) Resource Monitoring Scenario Privileges Required Location Monitor the amount of storage, memory, and machine quota of your reservation that is currently allocated and determine the capacity that remains available to the reservation.
IaaS Configuration for Cloud Platforms Table 6‑3. Data Collection Types (Continued) Data Collection Type Description vCNS inventory data collection (vSphere compute resources only) Updates the record of network and security data related to vCloud Networking and Security and NSX, particularly information about security groups and load balancing, for each machine following inventory data collection.
IaaS Configuration for Cloud Platforms Procedure 1 Select Infrastructure > Compute Resources > Compute Resources. 2 Point to the compute resource for which you want to configure data collection and click Data Collection. 3 Configure Compute Resource data collection. 4 5 6 n Select On to enable data collection. n Select Off to disable data collection. Configure Inventory data collection. n Select On to enable data collection. n Select Off to disable data collection.
IaaS Configuration for Cloud Platforms 8 n Type a number in the Frequency text box to configure the time interval (in hours) between vCNS Inventory data collections. n Click Request Now to manually start data collection. Configure Cost data collection. This is only available for compute resources managed by vRealize Business Standard Edition. 9 n Select On to enable data collection. n Select Off to disable data collection.
IaaS Configuration for Cloud Platforms Collect User Credentials for an Amazon Machine To log in to an Amazon machine as an administrator, you must discover the machine's administrator password. The administrator password is available on the Machine Information Details page. If the Amazon machine image from which the machine was provisioned is not configured to generate the administrator password on every boot, you will need to find the password using an alternate technique.
IaaS Configuration for Cloud Platforms 10 Add your vRealize Automation credentials as appropriate. For example, on a Windows server machine, open the server manager and select Configuration > Local Users and Groups and add your credentials, using a DOMAIN\username format, to the Remote Desktop Users group. Your vRealize Automation user name and password are now valid credentials for subsequent login to this machine. 11 Log out of the Amazon machine.
Monitoring Workflows and Viewing Logs 7 Depending on your role, you can monitor workflows and view activity logs. Table 7‑1. Monitoring and Log Display Options Objective Role Menu Sequence and Description Display information about actions that have occurred, such as the action type, date and time of the action, and so on. IaaS administrator Display default log information or control display content using column and filter options. Select Infrastructure > Monitoring > Audit Logs.
Machine Life Cycle and Workflow States for Cloud Platforms 8 Several machine workflows and workflow states are available in vRealize Automation. Provisioning workflows are selected by the tenant administrator or business group manager when they create a blueprint. All of the available options are listed. Table 8‑1. MasterWorkflow States Workflow State Work Item Description Requested A new machine is requested. The machine is created or registered. AwaitingApproval The approval process starts.
IaaS Configuration for Cloud Platforms Table 8‑1. MasterWorkflow States (Continued) Workflow State Work Item UnprovisionMachine Disposing Description The machine unprovisioning process has started. DisposeVM Finalized The hypervisor is disposing of the machine. The machine was disposed of and is about to be removed from management. The master workflow is about to stop. Table 8‑2.