Rocks: Adding a roll to an installed system

From Define Wiki
Jump to navigation Jump to search

Rocks 5.4

  • As root, make sure to remove any old Service Pack Rolls:
# rocks remove roll service-pack
  • Apply the new Service Pack Roll:
# rocks set host attr localhost roll_install_on_the_fly true shadow=yes
# rocks add roll service-pack*iso
# rocks enable roll service-pack
# cd /export/rocks/install
# rocks create distro
# rocks run roll service-pack | bash
# init 6

Note:

  • The following steps is critical:
# rocks set host attr localhost roll_install_on_the_fly true shadow=yes
This allows the roll to differentiate some post processing as to whether or
not the roll has been added at frontend build or after installation.    
The processing steps are critically different in these cases

Add Service Pack 5.4.2-1 Rolls to Nodes

To add the the Service Pack Roll to the nodes of your cluster, you'll need to reinstall the nodes

# rocks run host '/boot/kickstart/cluster-kickstart-pxe'

Rocks 5.1

Adding the roll to a live system

rocks add roll mlnx-ofed.iso
rocks enable roll mlnx-ofed
cd /export/rocks/install
rocks create distro
kroll mlnx-ofed | sh

Reboot your frontend to complete configuration

init 6

Reinstall your compute nodes

# cluster-fork /boot/kickstart/cluster-kickstart
or
# tentakel /boot/kickstart/cluster-kickstart

Rocks 4.3

Add the roll to the compute nodes

Mount and copy across the roll

mount -o loop sce-4.1-1.7.0_1.x86_64.disk1.iso  /mnt/cdrom/
cd /home/install
rocks-dist --install copyroll
rocks-dist dist


Show the enabled rolls

dbreport rolls 

Add the roll to the frontend

kroll sce > sce-install.sh
chmod +x sce-install.sh
./sce-install.sh