Last active
October 4, 2016 00:11
-
-
Save magsol/a1587c7d68663e2ea919b29ba643d6df to your computer and use it in GitHub Desktop.
BlueData Worker reformat and reinstall
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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