For nodes installing after the initial controller configuration, there are installation parameters for the host you can set, boot_device and rootfs_device.

 

For example, from the CLI:

system host-update 3 \

    boot_device=/dev/disk/by-path/pci-0000:00:0d.0-ata-1.0 \

    rootfs_device=/dev/disk/by-path/pci-0000:00:0d.0-ata-1.0

 

This can also be done via browser, by editing the host.

 

For initial installation of controller-0 from ISO, you can edit the boot cmdline by hitting tab on your selection, and modify these parameters.

 

In stx-3.0, we’ve introduced a utility called update-iso.sh that you can use to create a modified copy of the installation ISO with modified boot parameters:

https://opendev.org/starlingx/utilities/src/branch/master/utilities/platform-util/scripts/update-iso.sh

 

Example:

update-iso.sh -i bootimage.iso -o updated-bootimage.iso \

    -p boot_device=/dev/disk/by-path/pci-0000:00:0d.0-ata-1.0 \

    -p rootfs_device=/dev/disk/by-path/pci-0000:00:0d.0-ata-1.0

 

Hope this helps!

 

 

From: von Hoesslin, Volker [mailto:Volker.Hoesslin@swsn.de]
Sent: Friday, November 15, 2019 9:17 AM
To: 'starlingx-discuss@lists.starlingx.io'
Subject: [Starlingx-discuss] RC2.0 - Change install device

 

Hi,

how can i change the install device. My storage-node have some disks, but /dev/sda should not be my primary boot device. I want to install stx stuff at /dev/sdk, how can I change the destination install device for some hosts ?

 

greez & thx, Volker…