This section lists the default workflows available in Workflow Hub for VMware Bare Metal Automation (BMA).
Parent Workflows
BMA Host imaging
Name | Id |
---|---|
BMA Host Imaging | bma-host-imaging |
This workflow can be used to perform Host imaging via TCA WorkdlowHub using VMware Bare Metal Automation.
ESXi host imaging is the supported usecase.
Parameters | Description | Comments |
---|---|---|
authentication | Authentication to access BMA instance and APIs authorization - "Its a fixed value as supported by BMA Platform" username - BMA Username password - Password to access the BMA scope - BMA API privileges |
|
bma | BMA IP | |
custom_tag | Name to uniquely identify the Custom ISO Image name that is created for each host. This must be unique for every host presented. This parameter is not required to be presented if network_config is set to dhcp. Every block in the servers array section of the customer input specification must contain a custom_tag attribute and have a unique name assigned as value. | |
global tag | Name to uniquely identify the global Custom ISO Image name that is created. This must be unique for every workflow (batch of hosts) presented. This parameter is not required to be presented if network_config is set to static. | |
host_fqdn | Assign this attribute with complete FQDN of the host. | |
host_imaging | This section encapsulates all the attributes to be passed onto BMA for imaging | |
host_root_password | The password configured to access the host presented in the customer input specification after the imaging operation. You can access the host through SSH using this password. | |
iso_image_info | This includes the VMware ISO image details about the location of the ISO image. This includes:
|
|
network_config | The network configuration. The supported values are dhcp and static.
|
|
network_device_name | Specifies either the MAC address of the network card or the device name, in the form vmnicNN. For example, vmnic0. This option refers to the uplink device for the virtual switch. | |
password | The password.This is optional in the smtp_server_info section of the JSON file. | |
servers | It has the details of iDRAC/IMPI details and the details of the host with network configuration. It also contains raid_level attribute which is configured on the iDRAC/IPMI. | |
smtp_server_info | This section includes the:
|
|
username | The username.This is optional in the smtp_server_info section of the JSON file. | |
vlanid | An ID String. (1-4094). This is the VLAN ID number. | |
worker_group | BMA Worker Group name | |
workflow_bundle_name | Workflow Bundle name - Path of Workflow Eg:
|
|
workflow_name | Workflow name |
BMA Host Imaging |
---|
{ "bma":"<ip address of BMA>", "worker_group":"<name of BMA worker group>", "workflow_bundle_name":"<name of the BMA workflow bundle>", "workflow_name":"<name of the BMA workflow>", "authentication":{ "authorization":"<basic authentication to access BMA>", "username":"<bma username>", "password":"<bma password>", "scope":"read+write+execute" }, "host_imaging":{ "network_config":"<value of network configuration either dhcp or static>", "host_root_password":"<host root password>", "network_device_name":"<name of network device>", "global_tag":"<name of global ISO image>", "vlanid":0, "servers":[ { "ipmi_ip":"<ip address of bare metal server>", "ipmi_username":"<username of bare metal server>", "ipmi_password":"<password of bare metal server>", "raid_level":0 }, { "ipmi_ip":"<ip address of bare metal server>", "ipmi_username":"<username of bare metal server>", "ipmi_password":"<password of bare metal server>", "raid_level":1 } ], "iso_image_info":{ "server_ip":"<ip address of web server>", "image_location":"<ip address of web server>", "image_url_scheme":"<URL scheme of web server>", "image_url_path":"<ISO image URL short path>", "image_name":"<ISO image name>", "username":"<username of web server>", "password":"<password of web server>", "os_type":"<type of operating system to be installed>" }, "smtp_server_info":{ "server_ip":"<ip address of SMTP server>", "port":"<port number of SMTP server>", "sender_address":"<email address of sender>", "recipient_mail_addresses":[ "<email addresses of recipients>" ] } } } |