This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
cluster:146 [2016/02/10 18:07] 127.0.0.1 external edit |
cluster:146 [2017/08/29 13:36] (current) hmeij07 |
||
---|---|---|---|
Line 2: | Line 2: | ||
**[[cluster: | **[[cluster: | ||
- | ==== Brief Guide to HPCC ==== | + | ==== Openlava 3.1.2 ==== |
- | This page will be maintained and provide information | + | Build process, switching |
- | ===== Description ===== | + | Prequisites (for rpm.sh) |
+ | |||
+ | * yum install git | ||
+ | * yum install rpm-build | ||
+ | * yum install rpmdevtools | ||
+ | * yum install tcl tcl-devel | ||
+ | * yum install ncurses ncurses-devel | ||
+ | * yum install automake libtool | ||
+ | |||
+ | < | ||
+ | |||
+ | # initialize git | ||
+ | git init | ||
+ | mkdir git-latest | ||
+ | cd git-latest | ||
+ | |||
+ | # pull branch down | ||
+ | git clone git:// | ||
+ | cd openlava/ | ||
+ | |||
+ | # what's new | ||
+ | git log | ||
+ | |||
+ | # pull Dave's addition of rpm.sh | ||
+ | git checkout 07f740f884d9c71d | ||
+ | |||
+ | # build | ||
+ | ./ | ||
+ | ./configure --prefix=/ | ||
+ | make | ||
+ | |||
+ | # build packages | ||
+ | ./rpm.sh | ||
+ | find/ | ||
+ | |||
+ | </ | ||
+ | |||
+ | Next we remove a queue and its compute nodes from the current openlava configuration and restart those services. | ||
+ | |||
+ | < | ||
+ | |||
+ | # | ||
+ | |||
+ | cd / | ||
+ | |||
+ | service openlava stop | ||
+ | chkconfig openlava off | ||
+ | |||
+ | # remove and clean, use rpm -ql list too | ||
+ | yum erase openlava -y --disablerepo=* | ||
+ | rm -rf / | ||
+ | rm -rf / | ||
+ | # not needed # ./ | ||
+ | # still there # grep openlava / | ||
+ | |||
+ | foo=`rpm -qa | grep tcl-devel | wc -l` | ||
+ | if [ $foo -eq 1 ]; then | ||
+ | echo " | ||
+ | else | ||
+ | echo " | ||
+ | yum localinstall --nogpgcheck -y tcl-devel-8.5.7-6.el6.x86_64.rpm | ||
+ | fi | ||
+ | |||
+ | yum localinstall --disablerepo=* --nogpgcheck -y ./ | ||
+ | scp / | ||
+ | scp ./ | ||
+ | scp / | ||
+ | |||
+ | foo=`grep ' | ||
+ | if [ $foo -eq 1 ]; then | ||
+ | echo " | ||
+ | else | ||
+ | echo " | ||
+ | echo -e "# for ulimit -l -hmeij\nsession | ||
+ | fi | ||
+ | |||
+ | foo=`grep ' | ||
+ | if [ $foo -eq 1 ]; then | ||
+ | echo " | ||
+ | else | ||
+ | echo " | ||
+ | echo -e "# added for RLIMIT_MEMLOCK warnings with libibverbs -hmeij\n* | ||
+ | fi | ||
+ | |||
+ | scp / | ||
+ | scp ./ | ||
+ | chkconfig postfix on | ||
+ | |||
+ | chkconfig openlava --list | ||
+ | chkconfig postfix --list | ||
+ | |||
+ | #etc | ||
+ | mv / | ||
+ | scp -r ./etc / | ||
+ | |||
+ | #last for usage reporting | ||
+ | ln -s / | ||
+ | chown -R openlava: | ||
+ | |||
+ | echo reboot | ||
+ | reboot | ||
+ | |||
+ | </ | ||
+ | |||
+ | and now deploy from command line | ||
+ | |||
+ | < | ||
+ | |||
+ | for i in `seq 4 32`; do echo n$i; ssh n$i / | ||
+ | |||
+ | </ | ||
+ | |||
+ | During the final roll out, copy the / | ||
- | The High Performance Compute Cluster (HPCC) is comprised of two login nodes (greentail.wesleyan.edu and swallowtail.wesleyan.edu, | ||
\\ | \\ | ||
**[[cluster: | **[[cluster: | ||