Skip to content
GitLab
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
510448b7
Commit
510448b7
authored
Dec 22, 2004
by
Robert Ricci
Browse files
Finish up the instructions for the last revision.
parent
81ca0334
Changes
1
Hide whitespace changes
Inline
Side-by-side
sql/database-migrate.txt
View file @
510448b7
...
...
@@ -2224,14 +2224,21 @@ last_net_act,last_cpu_act,last_ext_act);
Then, determine the name of the experimental net stack like so:
select distinct stack_id from nodes as n left join switch_stacks as \
s on n.node_id=s.node_id where n.role='
ctrl
switch';
s on n.node_id=s.node_id where n.role='
test
switch';
You can then set the name of the experimental stack like this
(substituting in the name of the stack you just found):
update switch_stacks set stack_id='
Control
' where \
update switch_stacks set stack_id='
Experiment
' where \
stack_id='<stackid>';
update switch_stack_types set stack_id='
Control
' where \
update switch_stack_types set stack_id='
Experiment
' where \
stack_id='<stackid>';
Then, do the same with the control net:
select distinct stack_id from nodes as n left join switch_stacks as \
s on n.node_id=s.node_id where n.role='ctrlswitch';
update switch_stacks set stack_id='Control' where \
stack_id='<stackid>';
update switch_stack_types set stack_id='Control' where \
stack_id='<stackid>';
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment