cluster:146
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| cluster:146 [2016/02/10 18:12] – [OpenLAVA 3.1.2.] hmeij | cluster:146 [2017/08/29 13:36] (current) – hmeij07 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| **[[cluster: | **[[cluster: | ||
| - | ==== OpenLAVA | + | ==== Openlava |
| Build process, switching to '' | Build process, switching to '' | ||
| + | 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 | ||
| < | < | ||
| Line 11: | Line 19: | ||
| # initialize git | # initialize git | ||
| git init | git init | ||
| + | mkdir git-latest | ||
| + | cd git-latest | ||
| # pull branch down | # pull branch down | ||
| Line 17: | Line 27: | ||
| # what's new | # what's new | ||
| - | | + | git log |
| # pull Dave's addition of rpm.sh | # pull Dave's addition of rpm.sh | ||
| - | | + | git checkout 07f740f884d9c71d |
| # build | # build | ||
| Line 29: | Line 39: | ||
| # build packages | # build packages | ||
| ./rpm.sh | ./rpm.sh | ||
| - | ls -lR / | + | find/ |
| </ | </ | ||
| + | |||
| + | Next we remove a queue and its compute nodes from the current openlava configuration and restart those services. | ||
| + | |||
| + | < | ||
| + | |||
| + | #!/bin/bash | ||
| + | |||
| + | 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 /etc/passwd | ||
| + | |||
| + | 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 / | ||
| + | |||
| \\ | \\ | ||
| **[[cluster: | **[[cluster: | ||
cluster/146.1455127960.txt.gz · Last modified: by hmeij
