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
e9eba919
Commit
e9eba919
authored
Apr 19, 2004
by
Leigh B. Stoller
Browse files
Add node_hostkeys table to store ssh/sfs keys.
parent
422ab906
Changes
2
Hide whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
e9eba919
...
...
@@ -750,6 +750,19 @@ CREATE TABLE node_features (
PRIMARY
KEY
(
node_id
,
feature
)
)
TYPE
=
MyISAM
;
--
-- Table structure for table `node_hostkeys`
--
CREATE
TABLE
node_hostkeys
(
node_id
varchar
(
32
)
NOT
NULL
default
''
,
sshrsa_v1
mediumtext
,
sshrsa_v2
mediumtext
,
sshdsa_v2
mediumtext
,
sfshostid
varchar
(
128
)
default
NULL
,
PRIMARY
KEY
(
node_id
)
)
TYPE
=
MyISAM
;
--
-- Table structure for table `node_idlestats`
--
...
...
sql/database-migrate.txt
View file @
e9eba919
...
...
@@ -1478,3 +1478,19 @@ last_net_act,last_cpu_act,last_ext_act);
alter table experiment_resources add
wirelesslans smallint(5) unsigned default '0' after shapedlans;
1.240: Add node_hostkeys table for recording sfs/ssh keys.
CREATE TABLE node_hostkeys (
node_id varchar(32) NOT NULL default '',
sshrsa_v1 mediumtext,
sshrsa_v2 mediumtext,
sshdsa_v2 mediumtext,
sfshostid varchar(128) default NULL,
PRIMARY KEY (node_id)
) TYPE=MyISAM;
insert into node_hostkeys (node_id, sfshostid) \
select node_id,sfshostid from nodes;
Be sure to restart tmcd after you make these changes.
\ No newline at end of file
Write
Preview
Markdown
is supported
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