Changes between Version 11 and Version 12 of Installation/Nodes
- Timestamp:
- Jul 23, 2011 8:11:02 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Installation/Nodes
v11 v12 38 38 You then refresh the DNS server by running /usr/testbed/sbin/named_setup. 39 39 40 41 40 For example, on mini-isi.deterlab.net we have our switch that we will name hp1 at 192.168.254.1 on the HARDWARE_CONTROL network. So we add it to DNS as follows: 42 41 … … 59 58 === Adding in your switches to the database === 60 59 60 Using the hostname you have given your switch, insert a line in the the nodes table in the database. If you are adding a dedicated control network switch, use '''ctrlswitch''' as the role. Otherwise, the role is '''testswitch'''. 61 61 62 {{{ 62 insert into nodes set 63 node_id='hp1',phys_nodeid='hp1',type='hp2180',role='testswitch'; 63 insert into nodes set node_id='hp1',phys_nodeid='hp1',type='hp2180',role='testswitch'; 64 64 }}} 65 65 66 Some sites have separate switches for their control and experimental networks. If you are adding a dedicated control network swtich, use '''ctrlswitch''' as the role. 66 === Switch Interconnects === 67 67 68 You must be able to resolve node_id. You must add it in 68 69 70 71 === Setting up Switch Stacks === 72 73 The idea of switch stacks comes from sites that run separate control and experimental networks. In this scenario, it does not make sense to create experimental vlans on switches that function only as control network switches and vice versa. The typical DETER deployment scenario will be a switch that handles both. In this case, we add the same switch to the two different stacks ('Experiment' and 'Control'). We also make sure that is_primary is set to 1 for the Experimental stack line and 0 for the Control stack line (I assume so that we only try creating vlans once per switch). 74 75 So in our mini-isi example, we need to add in two entries for our switch hp1: 76 77 {{{ 78 insert into switch_stacks (node_id,stack_id,is_primary) 79 values 80 ('hp1','Experiment',1), 81 ('hp1','Control',0); 82 }}} 83 69 84 70 85 == Setting up your power controller ==