Verified Commit b241959c authored by Jérôme Charaoui's avatar Jérôme Charaoui 🕯️
Browse files

howto/ganeti: add command to open fw to gnt-fsn nodes

parent 137784dd
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1742,6 +1742,10 @@ migrate a VM. In this example, we migrate a VM named
        ssh chi-node-01 gnt-cluster command "iptables-legacy -I ganeti-cluster -j ACCEPT -s 204.8.99.96/27"
        ssh dal-node-01 gnt-cluster command "iptables-legacy -I ganeti-cluster -j ACCEPT -s 38.229.82.104/27"

    to open up to nodes in the gnt-fsn cluster, the command would be:

        for n in fsn-node-0{1..8}; do nodeip=$(dig +short ${n}.torproject.org); gnt-cluster command "iptables-legacy -I ganeti-cluster -j ACCEPT -s ${nodeip}/32"; done

### Actual VM migration

Once the above configuration is completed, the following procedure