After you enable telemetry collection from a server, you can configure the telemetry metrics that Bare Metal Orchestrator will collect from the server.
Create a server telemetry instance using the server telemetry YAML file for the associated server. The YAML file contains a list of metric reports for Dell servers and the configuration attributes for each report. The server telemetry YAML file must be created with the same site label as that of the associated server. For information about the metric reports that you can generate and the attributes or fields for each of the metric reports, see Telemetry field definitions.
For information about the commands for server telemetry, see the Bare Metal Orchestrator Command Line Interface Reference Guide.
Note: The server telemetry name and the associated server name must be the same.
Complete the following steps:
- 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/servers/.
- Create a server telemetry YAML file by copying the sample file, telemetry_servertelemetry.yaml.
cp telemetry_servertelemetry.yaml <new-servertelemetry-id>.yaml
- Edit the <new-servertelemetry-id>.yaml file in Vim or a similar editor.
- Customize the <new-servertelemetry-id>.yaml file:
- Save the file and quit the editor.
- Create the server telemetry instance with the following command:
bmo create servertelemetry -f <new-servertelemetry-id>.yaml
- Onboard a server. Add the attributes, telemetryEnable and reconcileTelemetry to the server YAML file. For more information, see Create a server or multiple servers and update configurations.
The following is an example of the server YAML file:
apiVersion: mw.dell.com/v4
kind: Server
metadata:
name: dell-r740-71
labels:
site: gc
location: pune
spec:
bmcEndPoint: "https://0.0.0.0"
userName: "root"
password: "password"
telemetryEnable: Enabled
reconcileTelemetry: true
- Verify that telemetry is enabled, and metrics is configured on the server. For more information, see View servers and server status.