Hi Sreerag, Nodes can be pre-provisioned using the WRCP Bulk Add feature * https://docs.starlingx.io/deploy_install_guides/release/bare_metal/adding-ho... This can only be done after installing and provisioning the initial controller-0 because the bulk add command is run from the system CLI. The bulk add involves creating an XML file that contains the MAC addresses of each of the servers you want to auto add. The bulk add XML file content/format is described here * https://docs.starlingx.io/deploy_install_guides/release/bare_metal/bulk-host... If the bulk add is not used then the system inventory host-add command can be used before DHCP sysadmin@controller-0:~$ source /etc/platform/openrc [sysadmin@controller-0 ~(keystone_admin)]$ system host-add -n <hostname> -p <personality> -m <mac address> Refer to the following 'host-add' documentation for details. * https://docs.starlingx.io/deploy_install_guides/release/bare_metal/adding-ho... The final method is by DHCP detection. Install the server and configure the BIOS to PXEboot over the pxeboot network. System inventory will detect the DHCP from the server and add the host with new host id and a hostname of None. Use the system inventory CLI to 'update that entry to the personality you want [sysadmin@controller-0 ~(keystone_admin)]$ system host-update <host id> personality=<personality> hostname=<hostname> Cheers, Eric Macdonald, StarlingX Maintenance Developer -----Original Message----- From: sreerag.r@ortseam.com<mailto:sreerag.r@ortseam.com> <sreerag.r@ortseam.com<mailto:sreerag.r@ortseam.com>> Sent: Thursday, April 3, 2025 9:00 AM To: starlingx-discuss@lists.starlingx.io<mailto:starlingx-discuss@lists.starlingx.io> Subject: [Beginner] How to auto-assign personality based on hardware configuration during provisioning? CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. Hi everyone, I'm just getting started with StarlingX, and I'm trying to understand how node provisioning works during installation. As per the StarlingX documentation, while provisioning the nodes, we need to assign a personality (e.g., controller, worker, or storage) using: system host-update <host-id> personality=<controller|worker|storage>
From what I understand, the <host-id> is a random identifier that gets assigned to each bare metal host when it's discovered by the active controller. We then manually assign the personality to each host based on its intended role.
Now here's my actual question: Is there a way to automatically assign the personality to nodes based on their hardware configuration? Let's say I have different hardware profiles for controller, worker, and storage nodes, and all these servers are powered on at the same time. Is there any way to define a profile or use some form of hardware-based filtering so that StarlingX can automatically assign the correct personality during the provisioning process? Any tips, guidance, or references are appreciated. Thanks in advance!