lvs2014 needs to be connected to one of our EVPN switches to enable connectivity to the new per-rack vlans configured on them in codfw rows C and D. To achieve this we will move it's primary uplink from asw-d2-codfw to lsw1-d2-codfw, and trunk the new vlans over the new port.
Additionally when doing the move we also plan to make some changes as described in the parent task:
- Change the primary IP of the host, moving from the private1-d-codfw vlan to private1-d2-codfw
- Change the BGP peering for the host, to peer with the top-of-rack switch (lsw1-d2-codfw) rather than core routers
- These two changes mean traffic for internal services behind the LVS no longer need to traverse the core routers
- Move the vlan sub-interfaces for the row A and B vlans to the host's newly-moved primary uplink
- These are currently on a separate physical port that is connected cross-row to ssw1-a8-codfw
The details steps we need to carry out are below.
Prep
Before the change netops will configure the new switchport in Netbox and push the config to the switch so it is ready.
Switch: lsw1-d2-codfw Port: xe-0/0/43 Untagged vlan: private1-d2-codfw Tagged vlans: private1-a*codfw, private1-b*codfw, priavte1-c*codfw, private1-d*codfw, public1-a*codfw, public1-b*codfw, public1-c*-codfw, public1-d*codfw
Window
- Downtime lvs2014 and lsw1-d2-codfw
- Set the 'bgp' flag for lvs2014 to false in Netbox
- Run homer against cr1-codfw and cr2-codfw to remove the BGP peering to lvs2014
- Manually update lvs2014 interface eno12399np0 in Netbox so it terminates on lsw1-d2-codfw xe-0/0/43
- Remove IPs 10.192.48.213/22 and 2620:0:860:104:10:192:48:213/64 from lvs2014 interface eno12399np0 in Netbox
- Remove DNS names for 10.192.48.213/22 and 2620:0:860:104:10:192:48:213/64 in Netbox
- Attach 10.192.37.5/24 and 2620:0:860:11c:10:192:37:5/64 to lvs2014 interface eno12399np0 in Netbox
- Make above two IPs 'primary' for lvs2014 in Netbox, and give them dns_name lvs2014.codfw.wmnet.
- Run the sre.dns.netbox cookbook to update the DNS entries for lvs2014
- Run the sre.dns.wipe-cache cookbook for lvs2014.codfw.wmnet
- Move the lvs2014 eno12399np0 physical link from asw-d2-codfw xe-2/0/44 to lsw1-d2-codfw xe-0/0/43
- Merge the puppet patch to re-define the vlan interface setup on lvs2014
- Run the sre.hosts.reimage cookbook for lvs2014
- After successful re-image check the networking looks good for primary and all vlan interfaces on lvs2014
- Change the BGP flag for lvs2014 in Netbox to 'true'
- Run Homer against lsw1-d2-codfw to add the BGP peering from switch to lvs2014.
Tidy Up
- Run PuppetDB import script for lvs2014 in Netbox
- Remove cross-rack fiber
- Default config for ssw1-a8-codfw xe-0/0/32