Last active
August 29, 2015 14:20
-
-
Save wesfloyd/c62726789903dd5a08dc to your computer and use it in GitHub Desktop.
This file contains 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
wget -qO- --no-check-certificate https://github.com/hortonworks/HDP-Public-Utilities/raw/master/Installation/install_tools.sh | bash | |
cd hdp | |
# add FQDNs, one per line | |
vim Hostdetail.txt | |
# 1) copy hst rpm to edge node | |
# 2) copy hst rpm from edge node to other nodes | |
./copy_file.sh ../hst-1.0.3.x86_64.rpm /root/ | |
./drun_command.sh 'yum install -y wget sysstat dstat lsof' | |
./drun_command.sh 'rpm -ivh hst-1.0.3.x86_64.rpm' | |
#Setup HST server | |
hst setup | |
#Setup HST agents and point to HST server | |
./drun_command.sh 'hst setup-agent --server=seregiondev-edge.cloud.hortonworks.com' | |
#Run patch script on all hosts | |
./drun_command.sh '/usr/hdp/share/hst/patches/hdp-select-patchST37.sh' | |
# Login to Web UI | |
# http://seregiondev-edge.cloud.hortonworks.com:9000/#/login | |
# username/password: admin/admin | |
#Run capture process on all nodes | |
./drun_command.sh 'hst capture all 00001’ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment