... | @@ -1034,7 +1034,28 @@ address blocks reserved in the cluster. |
... | @@ -1034,7 +1034,28 @@ address blocks reserved in the cluster. |
|
|
|
|
|
ifup eth1
|
|
ifup eth1
|
|
|
|
|
|
6. allow modules to be loaded and reboot:
|
|
6. setup a bridge on the public interface, replacing the `eth0` blocks
|
|
|
|
with something like:
|
|
|
|
|
|
|
|
auto eth0
|
|
|
|
iface eth0 inet manual
|
|
|
|
|
|
|
|
auto br0
|
|
|
|
iface br0 inet static
|
|
|
|
address 38.229.82.104/24
|
|
|
|
gateway 38.229.82.1
|
|
|
|
bridge_ports eth0
|
|
|
|
bridge_stp off
|
|
|
|
bridge_fd 0
|
|
|
|
|
|
|
|
# IPv6 configuration
|
|
|
|
iface br0 inet6 static
|
|
|
|
accept_ra 0
|
|
|
|
address 2604:8800:5000:82:baca:3aff:fe5d:8774/64
|
|
|
|
gateway 2604:8800:5000:82::1
|
|
|
|
|
|
|
|
6. allow modules to be loaded, cross your fingers that you didn't
|
|
|
|
screw up the network configuration above, and reboot:
|
|
|
|
|
|
touch /etc/no_modules_disabled
|
|
touch /etc/no_modules_disabled
|
|
reboot
|
|
reboot
|
... | @@ -1076,6 +1097,7 @@ of the first Ganeti node when the `gnt-chi` cluster was setup: |
... | @@ -1076,6 +1097,7 @@ of the first Ganeti node when the `gnt-chi` cluster was setup: |
|
|
|
|
|
gnt-cluster init \
|
|
gnt-cluster init \
|
|
--master-netdev eth1 \
|
|
--master-netdev eth1 \
|
|
|
|
--nic-parameters link=br0 \
|
|
--vg-name vg_ganeti \
|
|
--vg-name vg_ganeti \
|
|
--secondary-ip 172.30.130.1 \
|
|
--secondary-ip 172.30.130.1 \
|
|
--enabled-hypervisors kvm \
|
|
--enabled-hypervisors kvm \
|
... | | ... | |