Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ohpc_vagrant
Manage
Activity
Members
Labels
Plan
Issues
6
Issue boards
Milestones
Wiki
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
John-Paul Robinson
ohpc_vagrant
Commits
0bff4270
Commit
0bff4270
authored
6 years ago
by
John-Paul Robinson
Browse files
Options
Downloads
Patches
Plain Diff
initial commit
parents
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
README.md
+14
-0
14 additions, 0 deletions
README.md
Vagrantfile
+29
-0
29 additions, 0 deletions
Vagrantfile
with
44 additions
and
0 deletions
.gitignore
0 → 100644
+
1
−
0
View file @
0bff4270
.vagrant
This diff is collapsed.
Click to expand it.
README.md
0 → 100644
+
14
−
0
View file @
0bff4270
Project to provision an OpenHPC cluster via Vagrant using the
CRI_XCBC (XSEDE basic cluster) Ansible provisioning framework.
The Vagrantfile takes inspiration from the
[
vagrantcluster
](
https://github.com/cluening/vagrantcluster
)
project but is oriented toward deploying only a master node
and using standard OHPC tools to provision the cluster, and
therfore favors the CRI_XCBC approach to ansible scripts just
for the master.
The Vagrantfile is stripped to the core (rather that carry all
the cruft of a vagrant init). It leverages work from a
[
pilot project
](
https://gitlab.rc.uab.edu/ravi89/ohpc_vagrant
)
(primaryly the development of an updated centos 7.5 image)
but prefers a clean repo slate.
This diff is collapsed.
Click to expand it.
Vagrantfile
0 → 100644
+
29
−
0
View file @
0bff4270
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant
.
configure
(
"2"
)
do
|
config
|
config
.
vm
.
define
"ohpc"
do
|
ohpc
|
ohpc
.
vm
.
box
=
"ravi89/centos7.5"
ohpc
.
vm
.
box_version
=
"1"
ohpc
.
vm
.
hostname
=
"ohpc"
ohpc
.
vm
.
network
"private_network"
,
ip:
"10.1.1.1"
,
virtualbox__intnet:
"compute"
#ohpc.vm.customize ["modifyvm", :id, "--name", "ohpc"]
end
config
.
vm
.
provider
:virtualbox
do
|
vb
|
vb
.
customize
[
"modifyvm"
,
:id
,
"--natdnshostresolver1"
,
"on"
]
vb
.
memory
=
"2048"
end
config
.
vm
.
provision
"shell"
,
inline:
<<-
SHELL
if [ -f /vagrant/localenv.sh ]; then
. /vagrant/localenv.sh
fi
yum install -y ansible git vim bash-completion
ansible-playbook -c local -i /vagrant/CRI_XCBC/hosts -l `hostname` /vagrant/CRI_XCBC/site.yaml
SHELL
end
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment