Skip to content

Instantly share code, notes, and snippets.

@magsol
Last active October 4, 2016 00:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save magsol/a1587c7d68663e2ea919b29ba643d6df to your computer and use it in GitHub Desktop.
Save magsol/a1587c7d68663e2ea919b29ba643d6df to your computer and use it in GitHub Desktop.
BlueData Worker reformat and reinstall
# Register each worker.
./bootstrap-uga-general.sh
# Make sure each worker is subscribed to the RHEL channels:
# - RHEL Server Optional
# - RHEL Server Supplementary
# - RHN Tools for RHEL
# Run on each worker.
yum -y update
# Check out the partitions on the workers:
# lsblk
# If needed, delete the partitions from the previous BlueData install.
parted /dev/sdb -- rm 2
parted /dev/sdb -- rm 1
wipefs -a /dev/sdb
blockdev --rereadpt /dev/sdb
# Check the partitions again:
# lsblk
# On controller machine:
# - /opt/bluedata/bundles/bluedata-*/scripts/common/common.sh
# - look for execute_on_worker
# - add "--force" to "local EXTRAS='—force '" variable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment