You can provision multiple servers using a hardware profile.
Decide on your configuration requirements. For more information, see Managing server configurations.
To create a hardware profile:
- Establish a CLI session on the Bare Metal Orchestrator VM and log in. For high availability configurations, establish a CLI session using the virtual IP (VIP) of the Load Balancers for the Bare Metal Orchestrator cluster.
- Change the directory to ~/samples/hardware-profiles.
- Create a new hardware profile .yaml file by copying the sample file.
cp <sample-profile>.yaml <new-hwprofile-id>.yaml
Note: Make sure that you copy the sample file based on your configuration requirements. For example, if you are doing an ESXi operating system deployment, copy the hw_pf_esxi_install.yaml file.
- Edit the <new-hwprofile-id>.yaml file with Vim or a similar editor. For example:
vim dell_hwprofile_ntp_update.yaml
- Customize the <new-hwprofile-id>.yaml file:
- Update the metadata. For more information, see Metadata.
- For telemetry, update the fields mentioned in Server and profile telemetry field definitions.
- Update the attribute values based on the configurations you want to perform. For more information about the server configurations, see Managing server configurations.
- Target specific servers. For more information, see Hardware profile targeting.
- Add the preview attribute to check target server status before applying the hardware profile configuration, see Preview server configuration status.
For an example snapshot of the consolidated hardware profile updated with attributes for all configurations, see Sample hardware profile YAML file.
- Save the file and quit the editor.
- Create the hardware profile.
bmo create hardwareprofile -f <new-hwprofile-id>.yaml
For example:bmo create hardwareprofile -f dell_hwprofile_ntp_update.yaml