Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beeond 7.2 #403

Merged
merged 6 commits into from
Oct 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 1 addition & 28 deletions examples/beeond/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"install_from": "headnode",
"admin_user": "hpcadmin",
"variables": {
"hpc_image": "OpenLogic:CentOS-HPC:7.7:latest",
"hpc_image": "OpenLogic:CentOS-HPC:7.7:7.7.2020062600",
"location": "<NOT-SET>",
"resource_group": "<NOT-SET>",
"vm_type": "Standard_HC44rs",
Expand Down Expand Up @@ -33,8 +33,6 @@
"tags": [
"cndefault",
"nfsserver",
"pbsserver",
"loginnode",
"localuser",
"disable-selinux"
]
Expand All @@ -47,7 +45,6 @@
"subnet": "compute",
"tags": [
"nfsclient",
"pbsclient",
"cndefault",
"localuser",
"disable-selinux",
Expand Down Expand Up @@ -90,30 +87,6 @@
"tag": "localuser",
"sudo": true
},
{
"script": "pbsdownload.sh",
"tag": "loginnode",
"sudo": false
},
{
"script": "pbsserver.sh",
"copy": [
"pbspro_19.1.1.centos7/pbspro-server-19.1.1-0.x86_64.rpm"
],
"tag": "pbsserver",
"sudo": true
},
{
"script": "pbsclient.sh",
"args": [
"$(<hostlists/tags/pbsserver)"
],
"copy": [
"pbspro_19.1.1.centos7/pbspro-execution-19.1.1-0.x86_64.rpm"
],
"tag": "pbsclient",
"sudo": true
},
{
"script": "setupbeeond.sh",
"tag": "beeond",
Expand Down
3 changes: 3 additions & 0 deletions examples/beeond/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ variables:
# destination of scripts. Default is hpcuser@headnode:/apps
#azhpc.script_remote_dest: 'hpcadmin@jumpbox:.'

- name: azhpc.variables_matrix
value: examples/beeond/test_matrix.json

# Add the variables needed in your configuration file
# Set values below or thru pipeline variables
# - name: azhpc.variables.variable_name
Expand Down
14 changes: 14 additions & 0 deletions examples/beeond/test_matrix.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"HC44rs":
{
"azhpc.variables.vm_type": "Standard_HC44rs"
},
"HB60rs":
{
"azhpc.variables.vm_type": "Standard_HB60rs"
},
"HB120rs_v2":
{
"azhpc.variables.vm_type": "Standard_HB120rs_v2"
}
}
4 changes: 2 additions & 2 deletions scripts/setupbeeond.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ MOUNT_ROOT=${1:-/mnt/resource}
# this script needs to run without sudo
# - the keys from the user are used for the root user

sudo wget -O /etc/yum.repos.d/beegfs-rhel7.repo https://www.beegfs.io/release/beegfs_7_1/dists/beegfs-rhel7.repo
sudo wget -O /etc/yum.repos.d/beegfs-rhel7.repo https://www.beegfs.io/release/beegfs_7.2/dists/beegfs-rhel7.repo
sudo rpm --import https://www.beegfs.io/release/latest-stable/gpg/RPM-GPG-KEY-beegfs

sudo yum install -y epel-release
sudo yum install -y psmisc libbeegfs-ib beeond pdsh

sudo sed -i 's/^buildArgs=-j8/buildArgs=-j8 BEEGFS_OPENTK_IBVERBS=1 OFED_INCLUDE_PATH=\/usr\/src\/ofa_kernel\/default\/include/g' /etc/beegfs/beegfs-client-autobuild.conf

sudo /etc/init.d/beegfs-client rebuild
sudo /etc/init.d/beegfs-client rebuild || exit 1

sudo cp -r $HOME/.ssh /root/.

Expand Down