Changes between Version 11 and Version 12 of Installation/Nodes


Ignore:
Timestamp:
Jul 23, 2011 8:11:02 PM (13 years ago)
Author:
jhickey
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Installation/Nodes

    v11 v12  
    3838You then refresh the DNS server by running /usr/testbed/sbin/named_setup. 
    3939
    40 
    4140For 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:
    4241
     
    5958=== Adding in your switches to the database ===
    6059
     60Using 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
    6162{{{
    62 insert into nodes set
    63       node_id='hp1',phys_nodeid='hp1',type='hp2180',role='testswitch';
     63insert into nodes set node_id='hp1',phys_nodeid='hp1',type='hp2180',role='testswitch';
    6464}}}
    6565
    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 ===
    6767
    68 You must be able to resolve node_id.  You must add it in
     68
     69
     70
     71=== Setting up Switch Stacks ===
     72
     73The 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
     75So in our mini-isi example, we need to add in two entries for our switch hp1:
     76
     77{{{
     78insert into switch_stacks (node_id,stack_id,is_primary)
     79values
     80('hp1','Experiment',1),
     81('hp1','Control',0);
     82}}}
     83
    6984
    7085== Setting up your power controller ==