Day 1
Check a BMC
Make sure that one BMC answers, and find its serial number, media slots and NIC MAC addresses.
Before you start
Section titled “Before you start”- You have the
pk-metalbinary on a workstation that can reach the BMC on TCP 443. Install the operator shows how to build it. - You have the BMC user name and password. Usually these are the factory values.
- The machine can be on or off. The two commands read only. They change nothing on the machine.
-
Put the BMC password in the environment. The commands read it only from there.
Terminal window read -rs PK_METAL_BMC_PASSWORD && export PK_METAL_BMC_PASSWORD -
Check the BMC. If the BMC certificate comes from your own CA, give the CA file with
--bmc-ca. Use--insecureonly if the BMC has a self-signed certificate.Terminal window pk-metal check --user admin --insecure https://192.0.2.21manager: Huawei fw 6.72media: CD dialect=vmm-controlmedia: USBStick dialect=nonesystem: 1 serial=SIMHW2288V5000391 power=Oncheck: OK (read-only)This is the output for the simulated Huawei iBMC.
-
Read the inventory into a file.
Terminal window pk-metal inventory --user admin --insecure --node sim-0001 https://192.0.2.21 > sim-0001.yamlThe file has the BMC MAC, the media slots, the serial number, the NICs and the drives. If the BMC has more than one system, add
--system <id>. The command then describes that system. -
Write down the serial number and the BMC MAC. You need them for the Asset.
-
Write down the MAC of the NIC that the node uses, and the serial of the install disk. You need them for the TalosNode.
Read the result
Section titled “Read the result”media:lines- One line for each virtual media slot. Count the lines that do not show
dialect=none. One such line means a one-slot BMC. The example above has two lines, but only one usable slot. dialect=none- The slot cannot mount an image. The operator does not use it.
- One usable slot
- Add the media store to your overlay before the install. See One-slot BMCs and One-slot BMC.
- More than one
system:line - The BMC controls more than one machine. pk-metal inventory needs
--system, and your HostClaim must setspec.systemRef. serial=-- The system has no serial. The inventory file then shows the board serial of the chassis.
Verify
Section titled “Verify”The last line of pk-metal check is check: OK (read-only).
If it fails
Section titled “If it fails”| What you see | Go to |
|---|---|
check failed: with a timeout or a TLS error |
BMC unreachable |
401 or 403 in the error |
Check the user name and the password. |
No media: line |
Media slot busy or missing |
The check passes with --insecure, but the endpoint is Unreachable later |
The manager checks the certificate. See BMC certificates. |
Related
Section titled “Related”- pk-metal inventory, pk-metal check
- Enroll hosts is the next step.
- Network checklist