1. Home
  2. Installing BCM
  3. How do I put a custom disk layout in the head node installer?

How do I put a custom disk layout in the head node installer?

This article is being updated. Please be aware the content herein, not limited to version numbers and slight syntax changes, may not match the output from the most recent versions of Bright. This notation will be removed when the content has been updated.

The head node installer stages are described in the chapter Installing Bright Cluster Manager in the Admin manual.

When several changes or major changes must be made to the XML disklayout file of the Bright head node, the disk layout editor can be inconvenient.  Using the following recipe lets you copy your own custom disk layout file (from a  USB flash drive for example) into the installation environment and makes the installer recognize the layout as an option that can be chosen in the ‘Disk Setup screen’.

This example will use the USB drive, but can be adapted to any other similar storage device.

1. Plug the USB device into a USB slot on the to-be installed head node.

2. Boot from the Bright DVD.

3. Switch to a console using Ctrl+Alt+F2. (After DVD loads, but before the disk layout screen displays). The installer does not automount the USB device, so it has to be mounted manually. For example, if the USB device is identified as /dev/sdc (this can be verified on the Hardware Info screen in the installer, or perhaps with an fdisk -l). Then mount the usb device.

Example:
mount /dev/sdc /media/my_usb_device

4. a. For head node layouts:
Copy the disk layout file from where it is on the usb to these directories in the installer.

Example:
cp /media/my_usb_device/custom-disklayout.xml /cm/masterdisklayouts/
cp /media/my_usb_device/custom-        
disklayout.xml /var/www/htdocs/content/masterdisklayouts/

4. b. For compute node layouts:
Copy the disk layout file from where it is on the usb to these directories in the installer. 

Example:
cp /media/my_usb_device/custom-disklayout.xml /cm/slavedisklayouts/
cp /media/my_usb_device/custom-   
disklayout.xml /var/www/htdocs/content/slavedisklayouts/

Compute node layouts do not actually need to be done during the installation of the head node. They can always be set up later, after the head node is installed, as
described in the section on Disk Layouts in the chapter on Configuring The Cluster
of the Admin Manual.

5. Switch back to the installer GUI (using Ctrl+Alt+F9)
Proceed to disk setup screen
Select drive(s) for installation
Choose your custom-layout.xml from the head node or compute node disk layouts         
drop down list 

6. Make any further modifications if required (by clicking the Edit button), save and then proceed

Updated on August 19, 2020

Related Articles

Leave a Comment