16.4. Creating Image-based Hosts on Microsoft Azure Resource Manager
In Satellite, you can use Microsoft Azure Resource Manager provisioning to create hosts from an existing image. The new host entry triggers the Microsoft Azure Resource Manager server to create the instance using the pre-existing image as a basis for the new volume.
Procedure
- In the Satellite web UI, navigate to Hosts > Create Host.
- In the Name field, enter a name for the host.
- Click the Organization and Location tabs to ensure that the provisioning context is automatically set to the current context.
- From the Host Group list, select the host group that you want to use to populate the form.
- From the Deploy on list, select the Microsoft Azure Resource Manager connection.
- From the Compute Profile list, select a profile to use to automatically populate virtual machine settings.
- From the Lifecycle Environment list, select the environment.
- Click the Interfaces tab and click Edit on the host’s interface.
Verify that the fields are automatically populated, particularly the following items:
- The Name from the Host tab becomes the DNS name.
- The MAC address field is blank. Microsoft Azure Resource Manager assigns a MAC address to the host during provisioning.
- The Azure Subnet field is populated with the required Azure subnet.
- The Managed, Primary, and Provision options are automatically selected for the first interface on the host. If not, select them.
- Optional: If you want to use a static private IP address, from the IPv4 Subnet list select the Satellite subnet with the Network Address field matching the Azure subnet address. In the IPv4 Address field, enter an IPv4 address within the range of your Azure subnet.
- Click the Operating System tab, and confirm that all fields automatically contain values.
- For Provisioning Method, ensure Image Based is selected.
- From the Image list, select the Azure Resource Manager image that you want to use for provisioning.
- In the Root Password field, enter the root password to authenticate with.
- Click Resolve in Provisioning templates to check the new host can identify the right provisioning templates to use.
- Click the Virtual Machine tab and confirm that these settings are populated with details from the host group and compute profile. Modify these settings to suit your needs.
- Click the Parameters tab, and ensure that a parameter exists that provides an activation key. If not, add an activation key.
- Click Submit to save the host entry.
For CLI Users
Create the host with the
hammer host createcommand and include--provision-method image. Replace the values in the following example with the appropriate values for your environment.Copy to Clipboard Copied! Toggle word wrap Toggle overflow
For more information about additional host creation parameters for this compute resource, enter the hammer host create --help command.