Skip to content

Migrate inventory to the admin vlan

Plan:

  • Update the inventory accordingly (new ip, depreciate the old ip)
  • infra/puppet/puppet-swh-site!473: Update the puppet configuration
  • On pergamon:
    • Stop puppet agent
  • On bojimans:
    • Stop puppet agent
    • Update the ip to the new vlan442 ip (192.168.50.60)
      • either terraform manifest if possible or directly through the proxmox ui
      • connect through ssh and adapt /etc/network/interfaces
      • also adapt hardware entry about network (proxmox ui) to change from vmbr0 to vmbr442
    • Update the hostname to bojimans.i.a.s.n
    • Remove the puppet certificates
    • Update the facts /etc/facter/facts.d/deployment.yaml to admin
    • poweroff + start back
    • Run puppet with puppet agent --test --fqdn bojimans.internal.admin.swh.network
  • on pergamon:
    • Run puppet agent
    • Decommission bojimans.i.s.o certificate
  • open firewall rule to allow traffic to the inventory node
  • Install necessary fact for cloud-init to stop tampering with /etc/hosts
  • Update inventory with reserved ip (rattach such ip to bojimans) [1]

Optionally:


Migrated from T3873 (view on Phabricator)

Edited by Antoine R. Dumont