From eb8f0a3347d2ca417d6695bd47098e1653ebe8fe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20P=C3=A9rennou=20=28Viveris=20Technologie=29?= Date: Tue, 29 Jul 2014 16:57:54 +0200 Subject: [PATCH] Change of address map --- install/cluster/bin/init_pxe_repository.sh | 4 ++-- install/cluster/master/etc/dhcp/dhcpd.conf.gamma | 4 ++-- install/cluster/master/etc/hosts.8MHz | 6 ++++-- install/cluster/master/etc/network/interfaces | 4 ++-- install/tftp/pxelinux.cfg/{0A851A50 => 0A851AF0} | 0 install/tftp/pxelinux.cfg/{0A851C50 => 0A851CF0} | 0 6 files changed, 10 insertions(+), 8 deletions(-) rename install/tftp/pxelinux.cfg/{0A851A50 => 0A851AF0} (100%) rename install/tftp/pxelinux.cfg/{0A851C50 => 0A851CF0} (100%) diff --git a/install/cluster/bin/init_pxe_repository.sh b/install/cluster/bin/init_pxe_repository.sh index d255914..0049448 100755 --- a/install/cluster/bin/init_pxe_repository.sh +++ b/install/cluster/bin/init_pxe_repository.sh @@ -169,13 +169,13 @@ tarballs="root.tgz,slave.tgz" check pxeconfig -a $tarballs -s $tftpserver $subnetwork # standard boot for rec blade -subnetwork=$(echo $ETH0MASTER | sed 's/\.[0-9]*$/.80/') +subnetwork=$(echo $ETH0MASTER | sed 's/\.[0-9]*$/.240/') tftpserver=$ETH0MASTER tarballs="root.tgz,slave.tgz,rec.tgz" check pxeconfig -a $tarballs -s $tftpserver $subnetwork # second boot for rec blade -subnetwork=$(echo $ETH1MASTER | sed 's/\.[0-9]*$/.80/') +subnetwork=$(echo $ETH1MASTER | sed 's/\.[0-9]*$/.240/') tftpserver=$ETH1MASTER tarballs="root.tgz,slave.tgz,rec.tgz" check pxeconfig -a $tarballs -s $tftpserver $subnetwork diff --git a/install/cluster/master/etc/dhcp/dhcpd.conf.gamma b/install/cluster/master/etc/dhcp/dhcpd.conf.gamma index 3dfb1db..a987052 100644 --- a/install/cluster/master/etc/dhcp/dhcpd.conf.gamma +++ b/install/cluster/master/etc/dhcp/dhcpd.conf.gamma @@ -57,7 +57,7 @@ host trc01-rf { hardware ethernet 00:21:5E:98:98:C0; fixed-address 10.133.26.161 host trc02-rf { hardware ethernet 00:21:5E:98:CD:08; fixed-address 10.133.26.162;} host trc03-rf { hardware ethernet 00:21:5E:98:94:30; fixed-address 10.133.26.163;} host trc04-rf { hardware ethernet 00:21:5E:98:97:10; fixed-address 10.133.26.164;} -host trc05-rf { hardware ethernet 00:21:5E:98:96:58; fixed-address 10.133.26.165;} +host trc05-rf { hardware ethernet 00:21:5E:98:96:58; fixed-address 10.133.26.240;} host trc06-rf { hardware ethernet 00:00:00:00:00:01; fixed-address 10.133.26.166;} host trc07-rf { hardware ethernet 00:00:00:00:00:02; fixed-address 10.133.26.167;} @@ -82,7 +82,7 @@ host trc01 { hardware ethernet 00:21:5E:98:98:C2; fixed-address 10.133.28.161;} host trc02 { hardware ethernet 00:21:5E:98:CD:0A; fixed-address 10.133.28.162;} host trc03 { hardware ethernet 00:21:5E:98:94:32; fixed-address 10.133.28.163;} host trc04 { hardware ethernet 00:21:5E:98:97:12; fixed-address 10.133.28.164;} -host trc05 { hardware ethernet 00:21:5E:98:96:5A; fixed-address 10.133.28.165;} +host trc05 { hardware ethernet 00:21:5E:98:96:5A; fixed-address 10.133.28.240;} host trc06 { hardware ethernet 00:00:00:00:00:01; fixed-address 10.133.26.166;} host trc07 { hardware ethernet 00:00:00:00:00:02; fixed-address 10.133.26.167;} diff --git a/install/cluster/master/etc/hosts.8MHz b/install/cluster/master/etc/hosts.8MHz index c06d77c..9468ac6 100644 --- a/install/cluster/master/etc/hosts.8MHz +++ b/install/cluster/master/etc/hosts.8MHz @@ -28,7 +28,8 @@ ff02::3 ip6-allhosts 10.133.26.162 trc02-rf acq01-rf gon01-rf 10.133.26.163 trc03-rf acq02-rf mon00-rf 10.133.26.164 trc04-rf acq03-rf mon01-rf -10.133.26.80 trc05-rf acq04-rf enr00-rf + +10.133.26.240 trc05-rf acq04-rf enr00-rf 10.133.26.231 swg swg1 @@ -52,7 +53,8 @@ ff02::3 ip6-allhosts 10.133.28.162 trc02 acq01 gon01 10.133.28.163 trc03 acq02 mon00 10.133.28.164 trc04 acq03 mon01 -10.133.28.80 trc05 acq04 enr00 + +10.133.28.240 trc05 acq04 enr00 10.133.28.231 swm diff --git a/install/cluster/master/etc/network/interfaces b/install/cluster/master/etc/network/interfaces index 843ddaa..1ac6966 100644 --- a/install/cluster/master/etc/network/interfaces +++ b/install/cluster/master/etc/network/interfaces @@ -9,8 +9,8 @@ iface lo inet loopback auto eth0 iface eth0 inet static address 10.133.26.160 - netmask 255.255.255.0 - network 10.133.26.0 + netmask 255.255.255.128 + network 10.133.26.128 broadcast 10.133.26.255 pre-up ip addr flush dev eth0 # FE306 pano diff --git a/install/tftp/pxelinux.cfg/0A851A50 b/install/tftp/pxelinux.cfg/0A851AF0 similarity index 100% rename from install/tftp/pxelinux.cfg/0A851A50 rename to install/tftp/pxelinux.cfg/0A851AF0 diff --git a/install/tftp/pxelinux.cfg/0A851C50 b/install/tftp/pxelinux.cfg/0A851CF0 similarity index 100% rename from install/tftp/pxelinux.cfg/0A851C50 rename to install/tftp/pxelinux.cfg/0A851CF0 -- 2.30.2