Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
791a2d49
Commit
791a2d49
authored
May 22, 2014
by
Gary Wong
Browse files
Fixes to get monitoring support installed on racks.
parent
b50021f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
clientside/protogeni/GNUmakefile.in
View file @
791a2d49
...
...
@@ -34,7 +34,7 @@ PROGRAMS = shared-node-monitor
include $(OBJDIR)/Makeconf
all:
$(PROGRAMS)
all:
include $(TESTBED_SRCDIR)/GNUmakerules
...
...
@@ -55,6 +55,12 @@ LIBS += -levent -lcrypto
LIBS += -lm -L/usr/local/lib -lpubsub
LDFLAGS += $(LDSTATIC)
shared-node-monitor: shared-node-monitor.o $(TESTBED_LIBOBJDIR)/event/libevent.a
$(CC) $(LDFLAGS) -o $@ shared-node-monitor.o $(LIBS)
shared-node-monitor.o: shared-node-monitor.c
$(CC) $(CFLAGS) -o $@ $<
boss-install:
control-install:
...
...
install/genirack/update-racks.pl
View file @
791a2d49
...
...
@@ -257,6 +257,9 @@ if ($dofunc && !$install) {
$command
=
"
$devel
/update-shared.pl -t
$type
-f
$func
"
.
(
defined
(
$limit
)
?
"
-l
$limit
"
:
"");
}
elsif
(
1
)
{
$command
=
"
cd /tmp; wget http://www.emulab.net/downloads/ops-monitoring.tar.gz && cd /usr/local && sudo tar xf /tmp/ops-monitoring.tar.gz; mysqladmin create monitoring; cd /usr/local/ops-monitoring/local/unit-tests && python ./local_table_reset.py; sudo /usr/testbed/sbin/protogeni/mondbd
";
}
elsif
(
0
)
{
$command
=
"
mkdir /home/elabman/openvpn
"
}
...
...
@@ -405,7 +408,7 @@ if ($rsync) {
print
"
rsyncing
$rack
...
\n
";
print
"
-> rsyncing emulab-devel
\n
";
system
("
rsync -a --timeout=30 --delete
"
.
"
--exclude-from .rsyncignore
"
.
"
--exclude-from
$HOME
/
.rsyncignore
"
.
"
$HOME
/testbed-noelvin/emulab-devel
"
.
"
$HOME
/testbed-noelvin/reconfig.rack
"
.
"
elabman
\@
${rack}
:emulab-devel
");
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment