Mgmt02 sparkle configuration - SomethingGeneric/sparkle.local GitHub Wiki

Mgmt02-sparkle Networking

  • Change Network Adapter to LAN

Set up mgmt02-sparkle as controller

Mgmt02-sparkle will be used as the controller in deploying ansible playbooks to the nodes. The nodes will be all systems with an exception for the Windows Workstations and the Firewall.

Create a Named sudo user

Login to the ubuntu server as the default credentials

THIS USERNAME HAS TO BE THE SAME AS THE NODES YOU WILL BE COMMUNICATING WITH

sudo -i
adduser sparkle-deployer
usermod -aG sudo sparkle-deployer

Change hostname

  • Change host name of controller to mgmt02-sparkle
    • vi /etc/hostname
    • Preserve hostname in vi /etc/cloud/cloud.cfg
    • reboot

Configure IP address via netplan

  • sudo vi /etc/netplan/00-installer-config.yaml
  • change the yaml config file to include
    • change dhcp4 status to false
    • include addresses with IP address for the machine
    • include route so the machine knows the default gateway
    • include nameservers so that the machine can search the domain

image

you will see two addresses under nameservers because we have redundant ADDS, so if one DC fails the other DC is still able to reach the machine.

  • sudo netplan apply

Check for Internet Connectivity

image

Make sure DNS is working

  • nslookup of mgmt02-sparkle (host machine) to make sure the record is working
  • nslookup of mgmt01-sparkle to make sure machine can look up other hostnames

image