Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pdbe-neo4j-aws
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sreenath Sasidharan Nair
pdbe-neo4j-aws
Commits
07b74a73
Commit
07b74a73
authored
5 years ago
by
Sreenath Sasidharan Nair
Browse files
Options
Downloads
Patches
Plain Diff
more fixes
parent
e1efc40f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
call_get_db.sh
+1
-1
1 addition, 1 deletion
call_get_db.sh
highspec/startup.sh
+8
-0
8 additions, 0 deletions
highspec/startup.sh
with
9 additions
and
1 deletion
call_get_db.sh
+
1
−
1
View file @
07b74a73
for
machine
in
$(
aws ec2 describe-instances
--region
us-east-2
--instance-ids
--query
Reservations[].Instances[].PublicIpAddress
--filters
"Name=tag:Name,Values=high-spec"
--output
=
text
)
;
do
echo
"Invoking graph DB setup in
$machine
- STARTED"
ssh
-i
"pdbe-kp.pem"
ec2-user@
$machine
"nohup ./
usr/local/bin/
get_db.sh > nohup.out 2>&1 &"
ssh
-i
"
$HOME
/
pdbe-kp.pem"
ec2-user@
$machine
"nohup ./get_db.sh > nohup.out 2>&1 &"
echo
"Invoking graph DB setup in
$machine
- ENDED"
done
This diff is collapsed.
Click to expand it.
highspec/startup.sh
+
8
−
0
View file @
07b74a73
#!/bin/bash
# update yum
yum update
-y
# install dependencies
wget
$PBZIP_BASE_URL
/
$PBZIP_PACKAGE
yum
install
$PBZIP_PACKAGE
-y
rm
$PBZIP_PACKAGE
# get the SSD device name
device
=
$(
lsblk |
grep
nvme0n1 |
cut
-d
' '
-f1
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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