Configuration clovis lite
authorOlivier Leobal <olivier.leobal@thalesgroup.com>
Mon, 15 Jun 2015 10:56:03 +0000 (12:56 +0200)
committerLaurent Mazet <laurent.mazet@thalesgroup.com>
Mon, 15 Jun 2015 10:56:03 +0000 (12:56 +0200)
master/etc/default/snmpd
master/etc/hosts.30MHzMDF
master/etc/network/interfaces
master/etc/snmp/snmpd.conf
master/etc/webconfig/alias.csv
simple-cdd/additional_scripts/configure_fe306.sh
simple-cdd/additional_scripts/configure_matrix.tcl
simple-cdd/additional_scripts/configure_switch.tcl
simple-cdd/additional_scripts/configure_switch_bootstrap.tcl

index 9fdb321f7835dd4d995625903e9fb0fe3e98a12d..36b2d1821a78e5bbfadf3e4732a50bc294d0963a 100644 (file)
@@ -8,7 +8,7 @@ export MIBS=
 SNMPDRUN=yes
 
 # snmpd options (use syslog, close stdin/out/err).
-SNMPDOPTS="-LS4d -Lf /dev/null -I -smux -p /var/run/snmpd.pid 127.0.0.1 10.133.28.160"
+SNMPDOPTS="-LS4d -Lf /dev/null -I -smux -p /var/run/snmpd.pid 127.0.0.1 10.133.26.160 10.133.28.160"
 
 # snmptrapd control (yes means start daemon).  As of net-snmp version
 # 5.0, master agentx support must be enabled in snmpd before snmptrapd
index 7e20f7e5d264c9b70bcb958468f0c85aa8ee703f..29906591907f9b23b995d3607c0a2ad1041c800e 100644 (file)
@@ -13,49 +13,49 @@ ff02::3 ip6-allhosts
 # ===============================
 
 10.133.26.160  trc00 maitre sup fusion nfsserver
-10.133.26.161  trc01 lsu
-10.133.26.162  trc02 gon00
-10.133.26.163  trc03 gon01
-10.133.26.164  trc04 gon02
-10.133.26.165  trc05 gon03
-10.133.26.166  trc06 gon04
-10.133.26.167  trc07 gon05
-10.133.26.168  trc08 gon06
-10.133.26.169  trc09 gon07
-10.133.26.170  trc10 gon08
-10.133.26.171  trc11 gon09
-10.133.26.172  trc12 gon10
-10.133.26.173  trc13 gon11
-10.133.26.174  trc14 gon12
-10.133.26.175  trc15 gon13
-10.133.26.176  trc16 gon14
-10.133.26.177  trc17 gon15
-10.133.26.178  trc18 gon16
-10.133.26.179  trc19 gon17
-10.133.26.180  trc20 gon18
-10.133.26.181  trc21 gon19
-10.133.26.182  trc22 gon20
-10.133.26.183  trc23 gon21
-10.133.26.184  trc24 gon22
-10.133.26.185  trc25 gon23
-10.133.26.186  trc26 gon24
-10.133.26.187  trc27 gon25
-10.133.26.188  trc28 gon26
-10.133.26.189  trc29 gon27
-10.133.26.190  trc30 gon28
-10.133.26.191  trc31 gon29
-10.133.26.192  trc32 gon30
-10.133.26.193  trc33 gon31
-10.133.26.194  trc34 mon00
-10.133.26.195  trc35 mon01
+10.133.26.161  trc01
+10.133.26.162  trc02 lsu
+10.133.26.163  trc03 
+10.133.26.164  trc04 gon00
+10.133.26.165  trc05 gon01
+10.133.26.166  trc06 gon02
+10.133.26.167  trc07 gon03
+10.133.26.168  trc08 gon04
+10.133.26.169  trc09 gon05
+10.133.26.170  trc10 gon06
+10.133.26.171  trc11 gon07
+10.133.26.172  trc12 gon08
+10.133.26.173  trc13 gon09
+10.133.26.174  trc14 gon10
+10.133.26.175  trc15 gon11
+10.133.26.176  trc16 gon12
+10.133.26.177  trc17 gon13
+10.133.26.178  trc18 gon14
+10.133.26.179  trc19 gon15
+10.133.26.180  trc20 gon16
+10.133.26.181  trc21 gon17
+10.133.26.182  trc22 gon18
+10.133.26.183  trc23 gon19
+10.133.26.184  trc24 gon20
+10.133.26.185  trc25 gon21
+10.133.26.186  trc26 gon22
+10.133.26.187  trc27 gon23
+10.133.26.188  trc28 gon24
+10.133.26.189  trc29 gon25
+10.133.26.190  trc30 gon26
+10.133.26.191  trc31 gon27
+10.133.26.192  trc32 gon28
+10.133.26.193  trc33 gon29
+10.133.26.194  trc34 gon30
+10.133.26.195  trc35 gon31
+10.133.26.196  trc36 mon00
+10.133.26.197  trc37
+10.133.26.198  trc38 mon01
+10.133.26.199  trc39
 
 10.133.26.231   swg swg1
 10.133.26.232   swg2
 
-# ===============================
-# Reseau 10.133.28.0
-# ===============================
-
 # prod fe306 1 110->118
 10.133.26.110  fe306-1
 # prod fe306 2 120->128
@@ -67,10 +67,10 @@ ff02::3 ip6-allhosts
 # prod fe306 5 150->158
 10.133.26.150  fe306-5
 
-10.133.28.159  amm00
-10.133.28.158  amm01
+10.133.26.159  amm00
+10.133.26.158  amm01
 
-10.133.28.253   matrix
-10.133.28.254   gps
+10.133.26.253   matrix
+10.133.26.254   gps
 
 100.100.100.101 tmt
index 6b46af357e1f889193ec1be56e124e34bf6f7a75..ea34ae70d5674ddcc2c8b4bd81a581d368d89019 100644 (file)
@@ -15,21 +15,10 @@ iface eth0 inet static
        pre-up ip addr flush dev eth0
        post-up ip addr add 10.133.28.160/24 dev eth0
        post-up ip route add default dev eth0
-       # Sensor prod
-       post-up ip route add 225.0.0.0/8 dev eth0
-       # FE306 authentification
-       post-up ip route add 238.0.0.0/24 dev eth0
-       # FE306 pano
-       post-up ip route add 238.75.0.0/16 dev eth0
-       # FE306 WP channels
-       # Pour prod voie PV 2eme octet vaut 111X XX11 (cf. libfreqplan/freqplancommon.h)
-       # => on met val de base vaut 224 (1110 0000) et mask a 224 (1110 0000) 
-       # => 2eme octet associe aux valeurs de 224 a 255
-       post-up ip route add 238.224.0.0/11 dev eth0
-       # FE306 RF channels
-       # Pour prod voie RF 2eme octet vaut 110X XX11 (cf. libfreqplan/freqplancommon.h)
-       # => on met val de base vaut 192 (1100 0000) et mask a 224 (1110 0000) 
-       # => 2eme octet associe aux valeurs de 192 a 223
-       post-up ip route add 238.192.0.0/11 dev eth0
-       # Delay line
-       post-up ip route add 239.0.0.0/8 dev eth0
+
+
+iface eth1 inet static
+       address 10.133.26.161
+       netmask 255.255.255.0
+       network 10.133.26.0
+       broadcast 10.133.26.255
index 436f30d3de84a2cf8c98bd33523c3fe7abf231c7..7c6620d4773e238356dddaaa6d87e2c1462ea026 100644 (file)
@@ -191,7 +191,7 @@ linkUpDownNotifications  yes
                                            #  Listen for network connections (from localhost)
                                            #    rather than the default named socket /var/agentx/master
 #agentXSocket    tcp:localhost:705
-rwcommunity private  10.133.28.160
+rwcommunity private  10.133.26.160
 rocommunity readall
 rwcommunity private  localhost
 pass_persist -p 100 .1.3.6.1.4.1.50005.1 /usr/bin/perl -x/opt/trc6500/snmp/ /opt/trc6500/snmp/THALES-TRC6500.pl
index e34a3bfae166eb5575b3a008a430bc503164fd85..c15521e8aaeadce6502e921e80dcde7bf011f2e1 100644 (file)
@@ -40,15 +40,15 @@ ipmi;/usr/share/webconfig;;Configure IPMI for all Supermicro blades;sudo /opt/tr
 /dce;/usr/share/dce;/etc/dhcp/dhcpd.conf;DHCPD Configuration Editor;sudo service isc-dhcp-server restart
 ntp;/usr/share/webconfig;;Synchronize time and date on all blades;sudo /opt/trc6500/script/check_network.sh -c 'service chrony stop; ntpdate-debian; service chrony start' -o
 ;;;Internal equipements;
-http://10.133.28.160:8110;/usr/share/webconfig;;FE306-1;:goto:
-http://10.133.28.160:8120;/usr/share/webconfig;;FE306-2;:goto:
-http://10.133.28.160:8130;/usr/share/webconfig;;FE306-3;:goto:
-http://10.133.28.160:8140;/usr/share/webconfig;;FE306-4;:goto:
-http://10.133.28.160:8150;/usr/share/webconfig;;FE306-5;:goto:
-http://10.133.28.231;/usr/share/webconfig;;Switch Monitoring;:goto:
-http://10.133.28.160:8231;/usr/share/webconfig;;Switch Gonio 1;:goto:
-http://10.133.28.160:8232;/usr/share/webconfig;;Switch Gonio 2;:goto:
-http://10.133.28.254;/usr/share/webconfig;;GPS;:goto:
+http://10.133.26.160:8110;/usr/share/webconfig;;FE306-1;:goto:
+http://10.133.26.160:8120;/usr/share/webconfig;;FE306-2;:goto:
+http://10.133.26.160:8130;/usr/share/webconfig;;FE306-3;:goto:
+http://10.133.26.160:8140;/usr/share/webconfig;;FE306-4;:goto:
+http://10.133.26.160:8150;/usr/share/webconfig;;FE306-5;:goto:
+http://10.133.26.231;/usr/share/webconfig;;Switch Monitoring;:goto:
+http://10.133.26.160:8231;/usr/share/webconfig;;Switch Gonio 1;:goto:
+http://10.133.26.160:8232;/usr/share/webconfig;;Switch Gonio 2;:goto:
+http://10.133.26.254;/usr/share/webconfig;;GPS;:goto:
 ;;;TRC6500 MIB;
 /swb;/usr/share/swb;/var/cache/webconfig/snmp.tree;SNMP Web Browser;/opt/trc6500/bin/snmp-trc6500-walk|sed 's/enterprises\.thales\.//'>/var/cache/webconfig/snmp.tree
 ;;;Chassis actions;
index a9de4112acd03629a198a92b211cea8fb0a8c932..d0b685d8c1c65924e3671ffabfb8d0f5f60c1b4c 100755 (executable)
@@ -139,7 +139,7 @@ title "configure ip"
 
 configure ModeServ.cmd serv_mode MANUAL
 configure MacServ.cmd serv_mac 00.80.EE.00.$SN.01
-configure IpServ.cmd serv_ip 10.133.28.1${ID}0
+configure IpServ.cmd serv_ip 10.133.26.1${ID}0
 configure MaskServ.cmd serv_mask 255.255.255.0
 
 for i in $(seq 1 8); do
index 0473f1517bb3099e065f4efb6fce6e3c8d67a4c8..540c3d104a8a8592c7a5534314dca4f859754d94 100755 (executable)
@@ -8,8 +8,6 @@
 #   creation script de configuration de la matrice par ligne de commande
 # ============================================================================
 
-set ipmaxtrix "10.133.28.253"
-
 spawn /opt/trc6500/tools/matrix_tool
 
 set timeout 3
@@ -31,7 +29,7 @@ expect {
     "taper la commande choisie" { send "10\r" }
 }
 
-expect "nouvelle adresse" { send "010.133.028.253\r" }
+expect "nouvelle adresse" { send "010.133.026.253\r" }
 
 expect "taper la commande choisie" { send "12\r" }
 
index 8e2af2fc091571923fe89273a9ffcf64c176af52..7782906d170d5c0e73418b94fb52a1f84256b966 100755 (executable)
@@ -21,6 +21,8 @@ set tftpserver ""
 if { $host == "swg1" } { set tftpserver "10.133.26.160" }
 if { $host == "swg2" } { set tftpserver "10.133.26.160" }
 if { $host == "swm" } { set tftpserver "10.133.28.160" }
+if { $host == "sw1" } { set tftpserver "10.133.26.160" }
+if { $host == "sw2" } { set tftpserver "10.133.26.160" }
 if { $tftpserver == "" } { puts "unknown switch '$host'"; exit }
 
 set date [ exec date +%Y%m%d-%H:%m:%S ]
index 873b674e64ed7918a0afbd111d1ffab7fa4a2b9c..42fb513f6d384edc7161eab9c142a02c3e76d0a7 100755 (executable)
@@ -10,6 +10,8 @@ set ipaddress ""
 if { $host == "swg1" } { set ipaddress "10.133.26.231" }
 if { $host == "swg2" } { set ipaddress "10.133.26.232" }
 if { $host == "swm" } { set ipaddress "10.133.28.231" }
+if { $host == "sw1" } { set ipaddress "10.133.26.231" }
+if { $host == "sw2" } { set ipaddress "10.133.26.232" }
 if { $ipaddress == "" } { puts "unknown switch '$host'""; exit 1 }
 
 spawn screen -c . /dev/ttyUSB0