Bare Metal Orchestrator facilitates the retrieval of OS inventory after server onboarding is complete.
- For ESXi, Ubuntu and Red Hat Enterprise Linux deployments, ensure that the
installedOsConfig
attributes (osIP
, userName
, password
) are part of the <server-id>.yaml file along with iDRAC details. For information about the supported OS versions, see Validated hardware components. - For ESXi deployment, enable SSH on the server through virtual console.
- For ESXi deployment, enable password authentication on the server. The attribute
PasswordAuthentication
value should be yes in the file /etc/ssh/sshd_config
on the server.
If PasswordAuthentication
is set as no, then follow these steps:
- Establish an SSH session with the server IP address or hostname.
- Edit the
<sshd_config>
file in Vim or a similar editor. For example, vi /etc/ssh/sshd_config
- Change the
PasswordAuthentication
attribute to yes. - Restart the
sshd
with command /etc/init.d/hostd restart
To retrieve OS inventory: - 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.
- Edit the <server-id>.yaml file with Vim or a similar editor.
For example:
vim dell_server.yaml
- Configure the
installedOsConfig
details. For attribute definitions, see OS inventory attribute definition.
---
apiVersion: mw.dell.com/v4
kind: Server
metadata:
name: dell-os-inventory
labels:
model: dell
site: gc
spec:
# Add fields here
bmcEndPoint: "https://1.2.3.4"
userName: root
password: "REPLACE_THIS"
# Managed field is applicable for brownfield onboarding only
managed: false
installedOsConfig:
osIP: "1.2.3.5"
userName: root
password: "REPLACE_THIS"
- Save the file and quit the editor.
- Retrieve the inventory details with the following command:
bmo describe server <server-name>
The data is collected as part of OS inventory and updated in the status under OSDetails section.
Table 18. OSDetails fields HostName | Host name of the Operating System. |
IP Address | IP Address of the Operating System. |
Gateway | Gateway of the Operating System. |
NTPServer | NTP servers that are configured in the server. |
DNSSearch | DNS Search URLs. |
DNSServer | DNS server IP addresses defined in the server. |
IPAddrDetails | Inband IP of the server. |
DriverDetails | Drivers that are installed in the Operating System. |
NICBonding | Names of the NIC bonds applied. This field is available only when the operating system is RHEL 8.6. |