Changes between Version 11 and Version 12 of Installation/DatabaseSetup


Ignore:
Timestamp:
Apr 15, 2013 7:24:57 PM (11 years ago)
Author:
jhickey
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Installation/DatabaseSetup

    v11 v12  
    252252mysql> insert into tipservers set server='capture2digi';
    253253}}}
     254
     255== Setting up IPMI ==
     256
     257=== IPMI Nodes ===
     258
     259Each IPMI controller is treated as special node in the database.
     260
     261It must exist in the nodes table, the interfaces table, and the wires table. 
     262
     263{{{
     264insert into nodes set node_id='cpc5-ipmi', phys_nodeid='cpc5-ipmi', type='IPMI', role='powerctrl';
     265insert into interfaces set node_id='cpc5-ipmi', IP='192.168.254.5', mask='255.255.240.0', mac='002590761bf0',interface_type='fxp', iface='eth0', role='ctrl';
     266insert into wires set node_id1='cpc5-ipmi', card1=0, port1=1, node_id2='hp1', card2=1, port2=12, type='Control';
     267}}}
     268
     269
     270The node type IPMI will have to be added to /usr/local/etc/dhcpd.conf.template and then 'dhcpd_makeconf -ir' should be run.
     271
     272{{{
     273#
     274# IPMI Network
     275#
     276subnet 192.168.254.0 netmask 255.255.255.0 {
     277        option subnet-mask              255.255.255.0;
     278        option domain-name-servers      192.168.252.1;
     279        option domain-name              "isi.deterlab.net";
     280
     281        group {
     282                %%nodetype=IPMI
     283        }
     284}
     285}}}
     286
     287
     288=== IPMI Power Control ===
     289
     290In the outlets table, simply use the IPMI node for the associated testbed node.
     291
     292{{{
     293mysql> select * from outlets where node_id='cpc5';
     294+---------+-----------+--------+---------------------+
     295| node_id | power_id  | outlet | last_power          |
     296+---------+-----------+--------+---------------------+
     297| cpc5    | cpc5-ipmi |      1 | 2013-01-22 06:01:04 |
     298+---------+-----------+--------+---------------------+
     2991 row in set (0.00 sec)
     300}}}
     301
     302
     303=== IPMI Serial Console ===
     304
     305TBD.